:root {
  --pm-bg: #f5f7fb;
  --pm-bg-soft: #f0f7ff;
  --pm-bg-soft-alt: #fdf7f2;
  --pm-white: #ffffff;

  --pm-primary: #1b7bff;
  --pm-primary-hover: #155fcc;
  --pm-accent: #ff8a4a;

  --pm-text-main: #111827;
  --pm-text-muted: #6b7280;

  --pm-border-subtle: #e5e7eb;

  --pm-radius-lg: 18px;
  --pm-radius-md: 12px;

  --pm-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.15);
  --pm-shadow-subtle: 0 4px 14px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--pm-bg);
  color: var(--pm-text-main);
}

/* MAIN LAYOUT */

.pm-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* GENERIC SECTIONS */

.pm-section {
  padding: 2.25rem 1.5rem;
  margin: 0 -1.5rem;
}

.pm-bg-soft {
  background: var(--pm-bg-soft);
}

.pm-bg-soft-alt {
  background: var(--pm-bg-soft-alt);
}

.pm-bg-white {
  background: var(--pm-white);
}

.pm-section-title {
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

/* HERO */

.pm-hero {
  border-radius: 24px;
  box-shadow: var(--pm-shadow-soft);
}

.pm-hero-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.pm-hero-media {
  flex: 0 1 360px;
}

.pm-hero-video {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: var(--pm-shadow-subtle);
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.pm-hero-content {
  flex: 1 1 320px;
}

.pm-hero-title {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.pm-hero-subtitle {
  margin: 0 0 1.25rem;
  color: var(--pm-text-muted);
  line-height: 1.6;
}

.pm-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pm-hero-offer {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pm-text-main);
  line-height: 1.5;
}

.pm-offer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  margin-right: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background-color: #fee2e2;
  color: #b91c1c;
}

/* BUTTONS */

.cta-button,
.cta-buttonALT,
.cta-buttonPTT {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease,
              transform 0.08s ease;
}

/* primary */
.cta-button {
  background-color: var(--pm-primary);
  color: #ffffff;
  box-shadow: var(--pm-shadow-subtle);
}

.cta-button:hover {
  background-color: var(--pm-primary-hover);
  transform: translateY(-1px);
}

/* outline */
.cta-buttonALT {
  background-color: transparent;
  color: var(--pm-primary);
  border-color: var(--pm-primary);
}

.cta-buttonALT:hover {
  background-color: rgba(27, 123, 255, 0.06);
}

/* accent */
.cta-buttonPTT {
  background-color: var(--pm-accent);
  color: #111827;
}

.cta-buttonPTT:hover {
  filter: brightness(0.95);
}

.pm-full-width-btn {
  width: 100%;
  text-align: center;
}

/* TWO COLUMN LAYOUT */

.pm-two-column {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.pm-column {
  flex: 1 1 320px;
}

/* CARD & SHARED ELEMENTS */

.roundedCorners,
.pm-card {
  border-radius: var(--pm-radius-lg);
  background-color: var(--pm-white);
  border: 1px solid var(--pm-border-subtle);
  box-shadow: var(--pm-shadow-subtle);
}

.pm-card-highlight {
  overflow: hidden;
}

.pm-card-header {
  padding: 0.8rem 1.25rem;
  color: #ffffff;
}

.pm-card-title {
  margin: 0;
  font-size: 1.25rem;
}

.pm-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.pm-card-body-split {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.pm-card-side {
  flex: 1 1 220px;
}

.pm-card-text {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  color: var(--pm-text-main);
}

/* LISTS */

.pm-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.pm-list-unstyled {
  list-style: none;
  padding-left: 0;
}

.pm-small-note {
  font-size: 0.8rem;
  color: var(--pm-text-muted);
  margin-left: 0.25rem;
}

.pm-small-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b91c1c;
  margin-bottom: 0.35rem;
}

/* EXAMPLE PROFILE */

.pm-example-card {
  padding: 0.85rem;
  text-align: left;
}

.pm-profile-image {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  display: block;
}

/* TAIL TRACKER VISUAL */

.pm-tailtracker-visual {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.pm-tailtracker-logo {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

.pm-tailtracker-qr-wrap {
  text-align: center;
}

.pm-tailtracker-qr {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.4rem;
}

.pm-tailtracker-scan {
  font-size: 0.8rem;
  color: #b91c1c;
  font-weight: 600;
}

/* PRICE CARD */

.pm-price-card {
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  text-align: center;
}

.pm-price-text {
  margin: 0;
  font-size: 0.9rem;
}

.pm-helper-link {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* PET OF THE MONTH */

.pm-pet-of-month .pm-card-large {
  padding: 1.5rem;
}

.pm-potm-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.pm-potm-image {
  flex: 0 0 260px;
}

.pm-pet-image {
  width: 100%;
  max-width: 300px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 14px;
}

.pm-potm-content {
  flex: 1 1 320px;
}

.pm-potm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.pm-potm-slogan {
  margin: 0.2rem 0 0;
  font-style: italic;
  color: var(--pm-text-muted);
}

.pm-potm-story {
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

.pm-potm-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pm-link-block {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--pm-primary);
}

.pm-link-block:hover {
  text-decoration: underline;
}

/* SOCIAL */

.pm-social-wrap {
  text-align: center;
}

.pm-paws-divider {
  max-width: 480px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.pm-social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pm-social-link {
  display: inline-flex;
}

.pm-social-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pm-tagline-bar {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--pm-border-subtle);
  background-color: #ffffff;
}

.pm-tagline-text {
  margin: 0;
  font-size: 0.95rem;
}

/* ABOUT SECTION */

.pm-about-layout {
  align-items: center;
}

.pm-about-copy p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
  color: var(--pm-text-main);
}

.pm-chip-image {
  max-width: 130px;
  max-height: 130px;
  object-fit: contain;
  float: right;
  margin: 0 0 0.75rem 0.75rem;
}

.pm-about-cta {
  margin-top: 0.75rem;
}

.pm-about-image-col {
  text-align: center;
}

.pm-lineup-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--pm-radius-lg);
  box-shadow: var(--pm-shadow-subtle);
}

/* RESOURCES */

.pm-resources-section {
  padding-top: 2rem;
}

.pm-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.pm-resource-card {
  padding: 1rem 1.2rem;
}

.pm-resource-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.pm-resource-title a {
  color: var(--pm-text-main);
  text-decoration: none;
}

.pm-resource-title a:hover {
  text-decoration: underline;
}

.pm-resource-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--pm-text-muted);
}

/* PARTNERS */

.pm-partners-intro {
  margin: 0 0 0.8rem;
  text-align: center;
}

.pm-partner-card {
  padding: 1rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .pm-section {
    padding: 1.75rem 1rem;
    margin: 0 -1rem;
  }

  .pm-hero-layout {
    flex-direction: column;
  }

  .pm-potm-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-chip-image {
    float: none;
    margin: 0 auto 0.75rem;
    display: block;
  }
}
