/* ============================================================================
   PrimeDoggy v2 — main.css
   Destination: /wp-content/themes/primedoggy-v2/assets/css/main.css
   Source of truth: Master Brief v3.0 (§3.1, §3.6, §4.2) + Execution Plan
   §3.3, §6.2, §7.2.
   Load order: third stylesheet (enqueue handle: pd-main, dep: pd-motion,
   which depends on pd-tokens). Not excluded from LiteSpeed — only
   tokens.css requires that (Plan §12).

   IMPORTANT — VERBATIM MERGE (Handoff §4 Session 1 instruction):
   The two blocks marked "MERGED VERBATIM FROM signature-effects-css-
   contracts.css" below are copied byte-for-byte from that snippet file
   (itself Plan §6.2 / §7.2 verbatim). They are NOT restyled, reorganized,
   or reformatted to match this file's conventions. The snippet file is
   now discarded — this is its only home. Do not touch these blocks when
   editing anything else in main.css; if a future session needs to change
   signature-effect visuals, edit here directly and update Plan §6.2/§7.2
   in the Corrections Log (Handoff §6), since the plan is frozen.
   ========================================================================== */

/* ---- 1. Container ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 768px) {
  .container {
    padding-inline: 16px;
  }
}

/* ---- 2. Buttons ---- */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--dur-micro) var(--ease-out-expo),
    transform var(--dur-micro) var(--ease-out-expo);
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--sage-hover);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--sage);
  color: var(--sage);
}

.btn-outline:hover {
  background: var(--sage-light);
}

/* Sage-on-dark passes contrast unchanged — no separate fill needed for
   the Morphing Connections CTA (Brief §3.1), this class only swaps
   surrounding context, not the button's own colors. */
.btn-dark-variant {
  background: var(--sage);
  color: var(--white);
}

.btn-dark-variant:hover {
  background: var(--sage-hover);
}

/* Small pill variant used in the nav (wellness pill, Start IQ pill) */
.pd-nav-pill {
  padding: 8px 18px;
  font-size: 13px;
}

/* ---- 3. Nav (Brief §3.6) ---- */
.pd-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 236, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pd-nav.is-scrolled {
  border-bottom: 1px solid var(--border);
}

.pd-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 0;
  max-width: 1800px;
  padding-inline: 48px;
}

.pd-nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-inline: 32px;
}

.pd-nav-logo {
  display: flex;
  align-items: center;
}

.pd-nav-logo-img,
.pd-nav-logo-text {
  width: 161px;
  height: auto;
}

.pd-nav-logo-text {
  font-size: 25px;
}

.pd-nav-links ul {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-nav-links a:not(.btn-outline) {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.pd-nav-links a:not(.btn-outline):hover {
  color: var(--sage);
}

.pd-nav-cta {
  margin-left: auto;
}

.pd-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.pd-nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
}

/* Mobile nav (≤768px): logo left, Start IQ pill, hamburger right — always
   visible even collapsed. Links move into the full-screen overlay. Nav is
   NOT sticky on mobile (founder request, this session) — desktop keeps
   the sticky .pd-nav rule above untouched. */
@media (max-width: 768px) {
  .pd-nav {
    position: static;
  }

  .pd-nav-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    padding-inline: 20px;
    max-width: none;
  }

  .pd-nav-bar::before {
    content: "";
    display: block;
    width: 40px;
    flex-shrink: 0;
    order: 0;
  }

  .pd-nav-logo {
    order: 1;
    flex: 1;
    justify-content: center;
  }

  .pd-nav-cta {
    display: none;
  }

  .pd-nav-toggle {
    display: flex;
    order: 2;
    flex-shrink: 0;
  }

  .pd-nav-links {
    display: none;
  }
}

.pd-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 1100;
  transform: translateY(-100%);
  transition: transform var(--dur-std) var(--ease-out-expo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-nav-overlay-close {
  position: absolute;
  top: 64px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream-dark);
  border-radius: 50%;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0;
}

.pd-nav-overlay.is-open {
  transform: none;
}

.pd-nav-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 360px;
  padding-inline: 32px;
}

.pd-nav-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.pd-nav-overlay li {
  width: 100%;
  border-bottom: 1px solid var(--cream-dark);
  opacity: 0;
}

.pd-nav-overlay li:last-child {
  border-bottom: none;
}

.pd-nav-overlay.is-open li {
  animation: pd-nav-overlay-fade 0.5s ease forwards;
}

.pd-nav-overlay.is-open li:nth-child(1) {
  animation-delay: 0.05s;
}

.pd-nav-overlay.is-open li:nth-child(2) {
  animation-delay: 0.11s;
}

.pd-nav-overlay.is-open li:nth-child(3) {
  animation-delay: 0.17s;
}

.pd-nav-overlay.is-open li:nth-child(4) {
  animation-delay: 0.23s;
}

.pd-nav-overlay.is-open li:nth-child(5) {
  animation-delay: 0.29s;
}

.pd-nav-overlay.is-open li:nth-child(6) {
  animation-delay: 0.35s;
}

@keyframes pd-nav-overlay-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pd-nav-overlay ul a {
  display: block;
  padding-block: 15px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
}

.pd-nav-overlay .pd-nav-home-icon {
  width: 24px;
  height: auto;
}

.pd-nav-overlay-cta {
  width: 100%;
  margin-top: 26px;
  opacity: 0;
}

.pd-nav-overlay.is-open .pd-nav-overlay-cta {
  animation: pd-nav-overlay-fade 0.5s ease forwards;
  animation-delay: 0.42s;
}

.pd-nav-overlay-eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 12px;
}

.pd-nav-overlay-wellness {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding-block: 14px;
}

/* ---- 4. Hero (two-layer stack — Brief §3.1) ----
   Layer order: photo (z:0) → network (z:1) → cream overlay (z:2) →
   content (z:3). Network sits behind the overlay+content but reads
   *through* the translucent overlay as atmosphere while the photo stays
   dominant — this is the brief's "secondary background layer behind the
   hero photo" (Plan §3.3 note). */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 244, 236, 0.44);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 40vh;
  min-height: 92vh;
  gap: 32px;
  max-width: none;
  margin-inline: 0;
  padding-inline-start: 64px;
  padding-inline-end: 64px;
  box-sizing: border-box;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  line-height: 1.1;
  max-width: 22ch;
}

.hero-content .pd-subheadline {
  margin: 0;
  font-family: var(--font-ui);
  color: #2b2b2b;
  font-size: 1.1rem;
  max-width: 50ch;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.hero-content .btn-outline {
  background: rgba(247, 244, 236, 1);
  border-color: var(--sage-emphasis);
  color: var(--sage-emphasis);
}

.hero-content .btn-outline:hover {
  background: var(--white);
}

.hero-content .btn-primary {
  background: #7B9584;
}

.hero-content .btn-primary:hover {
  background: #6F8677;
}

.hero-content .pd-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: 92vh;
    min-height: 92dvh;
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 0;
    min-height: 92vh;
    min-height: 92dvh;
    padding-bottom: 180px;
    padding-inline-start: 24px;
    padding-inline-end: 24px;
  }

  .hero-content h1 {
    max-width: none;
    font-size: clamp(2.2rem, 6.5vw, 3.4rem);
  }

  @media (max-width: 768px) {
    .pd-subheadline {
      font-size: 1.05rem;
    }
  }

  .hero-content .pd-subheadline {
    max-width: none;
    font-size: 1.25rem;
  }
}

/* ---- MERGED VERBATIM FROM signature-effects-css-contracts.css — block 1
        (Plan §6.2, Signature Effect 1 — Progressive Clarity). Do not edit
        in place; see file header. ---- */

.hero {
  --pc-opacity: 0.12;
  --pc-blur: 8px;
  --pc-label: 0;
  --pc-draw: 1;
}

.hero-network {
  opacity: var(--pc-opacity);
  filter: blur(var(--pc-blur));
}

.hero-network text {
  opacity: var(--pc-label);
  fill: var(--sage-emphasis);
  font: 500 12px 'Inter', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: none;
}

.hero-network path {
  stroke: var(--sage);
  stroke-width: 1.25;
  fill: none;
  stroke-dashoffset: calc(var(--pc-draw) * var(--pc-len, 300));
}

.hero-network circle {
  fill: var(--sage);
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    --pc-opacity: 0.35;
    --pc-blur: 0px;
    --pc-label: 1;
    --pc-draw: 0;
  }
}

/* ---- END verbatim block 1 ---- */

/* ---- 5. Social proof strip ---- */
.pd-social-proof {
  background: var(--cream-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.pd-social-proof .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}

/* ---- 6. Bento grid (pillars) ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 3px rgba(31, 36, 33, 0.06);
  transition: transform var(--dur-std) var(--ease-out-expo),
    box-shadow var(--dur-std) var(--ease-out-expo);
  padding: 28px;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 36, 33, 0.10);
}

.bento-card-media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 4px);
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}

.bento-card-media .bento-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0;
  transition: transform var(--dur-std) var(--ease-out-expo);
}

.bento-card-elevated {
  padding: 20px 20px 28px;
}

.bento-card-elevated:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 36, 33, 0.14);
}

.bento-card-elevated:hover .bento-card-img {
  transform: scale(1.08);
}

.bento-pillar-hub h3 {
  text-align: center;
  font-weight: 700;
  font-size: 1.8rem;
}

.bento-pillar-hub .btn-outline {
  display: flex;
  width: max-content;
  margin-inline: auto;
  background: rgba(123, 149, 132, 0.14);
}

.bento-pillar-hub .btn-outline:hover {
  background: #7B9584;
  color: var(--white);
}

.bento-pillar-1 {
  grid-column: span 12;
}

.bento-pillar-2,
.bento-pillar-3 {
  grid-column: span 4;
}

.bento-pillar-hub,
.bento-pillar-blog {
  grid-column: span 3;
}

.bento-pillar-blog h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.bento-pillar-blog h3 a {
  color: inherit;
  text-decoration: none;
}

.bento-pillar-blog h3 a:hover {
  color: var(--sage-emphasis);
}

.bento-blog-meta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.65;
  margin-bottom: 12px;
}

.bento-blog-link {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sage-emphasis);
  text-decoration: none;
}

.bento-blog-link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {

  .bento-pillar-2,
  .bento-pillar-3 {
    grid-column: span 6;
  }

  .bento-pillar-hub,
  .bento-pillar-blog {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-pillar-1,
  .bento-pillar-2,
  .bento-pillar-3,
  .bento-pillar-hub,
  .bento-pillar-blog {
    grid-column: span 1;
  }

  .bento-pillar-3 h3 {
    font-size: 1.3rem;
  }

  .bento-pillar-blog h3 {
    font-size: 1.35rem;
  }

  .bento-blog-meta {
    font-size: 0.95rem;
  }

  .bento-blog-link {
    font-size: 1.05rem;
  }
}

/* ---- 7. Dark section (Morphing Connections — Brief §3.1) ---- */
.mc-section {
  background: var(--charcoal-dark);
  color: var(--white);
}

.mc-card {
  background: rgba(123, 149, 132, 0.10);
  border: 1px solid rgba(123, 149, 132, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-card);
  padding: 20px;
}

.mc-card-label {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--cream);
}

.mc-card-desc {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(247, 244, 236, 0.65);
}

.mc-heading {
  color: var(--cream);
  padding-top: 72px;
  margin-bottom: 0;
}

.mc-layout {
  position: relative;
}

.mc-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Desktop card placement: 3 columns × 2 rows, per-card static translateY
   offsets for the "floating" arrangement (Plan §7.1) — offsets are plain
   CSS, not animated, so getBoundingClientRect() already includes them. */
.mc-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  padding-block: 64px;
}

.mc-card[data-node="sessions"],
.mc-card[data-node="reports"],
.mc-card[data-node="routines"] {
  --mc-float: -12px;
}

.mc-card[data-node="checkins"],
.mc-card[data-node="milestones"],
.mc-card[data-node="vet"] {
  --mc-float: 20px;
}

.mc-card {
  transform: translateY(var(--mc-float, 0px));
  cursor: default;
}

@media (max-width: 768px) {
  .mc-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 40px;
  }

  .mc-card {
    --mc-float: 0px;
    transform: none;
  }

  .mc-card-label {
    font-size: 1.05rem;
  }

  .mc-card-desc {
    font-size: 15px;
  }

  .mc-heading {
    font-size: 1.6rem;
  }
}

/* ---- MERGED VERBATIM FROM signature-effects-css-contracts.css — block 2
        (Plan §7.2, Signature Effect 2 — Morphing Connections lines). Do
        not edit in place; see file header. ---- */

.mc-lines path {
  stroke: rgba(123, 149, 132, 0.75);
  stroke-width: 2;
  fill: none;
  transition: stroke-dashoffset var(--dur-sig) var(--ease-out-expo),
    stroke 200ms, stroke-width 200ms;
}

.mc-lines path.is-drawn {
  stroke-dashoffset: 0 !important;
}

.mc-lines path.is-active {
  stroke: #a8c3b2;
  stroke-width: 2.25;
}

.mc-card {
  transition: transform var(--dur-std) var(--ease-out-expo);
}

.mc-card.is-linked {
  transform: translateY(var(--mc-float, 0px)) scale(1.02);
}

@media (hover: hover) {
  .mc-card:hover {
    transform: translateY(var(--mc-float, 0px)) scale(1.02);
  }
}

.mc-card.is-tapped {
  transform: translateY(var(--mc-float, 0px)) scale(1.02);
}

/* ---- END verbatim block 2 ---- */

/* ---- MERGED VERBATIM FROM signature-effects-css-contracts.css — block 3
        (Plan §6.3 "CSS pairing for the will-change rule"). Do not edit in
        place; see file header. ---- */

.hero-network.is-animating {
  will-change: opacity, filter;
}

/* ---- END verbatim block 3 ---- */

/* ---- 8. Sticky CTA bar (Addendum A5) ---- */
.pd-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--sage);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-inline: 20px;
  transform: translateY(100%);
  transition: transform var(--dur-std) var(--ease-out-expo);
}

@media (max-width: 768px) {
  .pd-sticky-cta {
    display: flex;
  }
}

.pd-sticky-cta.is-shown {
  transform: none;
}

.pd-sticky-cta-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.pd-cta-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

/* ---- 9. Consent banner (Addendum A4) ---- */
.pd-consent {
  position: fixed;
  z-index: 1200;
  background: var(--charcoal-dark);
  color: var(--white);
  font: 500 13px/1.5 var(--font-ui);
  transform: translateY(120%);
  transition: transform var(--dur-std) var(--ease-out-expo);
}

.pd-consent.is-shown {
  transform: none;
}

@media (max-width: 768px) {
  .pd-consent {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
  }
}

@media (min-width: 769px) {
  .pd-consent {
    bottom: 24px;
    right: 24px;
    left: auto;
    max-width: 380px;
    border-radius: 12px;
    padding: 20px;
  }
}

.pd-consent-text {
  margin: 0 0 12px;
}

.pd-consent-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pd-consent-accept {
  padding: 10px 20px;
  font-size: 13px;
}

.pd-consent-manage {
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
}

.pd-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(31, 36, 33, 0.45);
}

.pd-consent-modal.is-open {
  display: flex;
}

.pd-consent-modal-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  max-width: 380px;
  width: 90%;
}

.pd-consent-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}

.pd-consent-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.pd-consent-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--muted);
}

/* ---- 10. Subscribe form fields (email-capture.php, Plan §5.8 contract) ---- */
.pd-field {
  position: relative;
  margin-bottom: 16px;
}

.pd-field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.pd-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  background: var(--white);
}

.pd-field .pd-check {
  position: absolute;
  right: 12px;
  top: 38px;
  width: 18px;
  height: 18px;
  stroke: var(--sage);
  stroke-width: 2;
  opacity: 0;
}

.pd-field.is-valid .pd-check {
  opacity: 1;
}

.pd-form-error {
  color: #b3492f;
  font-size: 13px;
}

.pd-form-success {
  font-family: var(--font-ui);
  color: var(--sage-emphasis);
}

/* ---- 11. Footer (Brief §3.1) ---- */
.pd-footer {
  background: var(--cream-dark);
}

.pd-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-block: 64px 32px;
  max-width: 1440px;
}

@media (max-width: 768px) {
  .pd-footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pd-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pd-footer-links {
    max-width: 220px;
    margin-inline: auto;
  }

  .pd-footer-capture {
    text-align: center;
    margin-top: 32px;
  }

  .pd-subscribe-heading {
    font-size: 20px;
    margin: 0 0 20px;
  }

  .pd-field label {
    margin-bottom: 10px;
  }

  .pd-field {
    margin-bottom: 24px;
  }

  .pd-footer-social {
    justify-content: center;
    margin-top: 56px !important;
  }
}

.pd-footer-logo,
.pd-footer-logo-text {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.pd-footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  margin-top: 12px;
}

.pd-footer-copyright {
  color: var(--muted);
  font-size: 13px;
}

.pd-footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-emphasis);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.pd-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.pd-footer-links a {
  position: relative;
  display: inline-block;
  color: var(--charcoal);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 14px;
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.pd-footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--sage);
  transition: width var(--dur-std) var(--ease-out-expo);
}

.pd-footer-links a:hover {
  color: var(--sage-hover);
}

.pd-footer-links a:hover::after {
  width: 100%;
}

.pd-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.pd-social-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.pd-social-icon.is-active {
  transition: transform 200ms var(--ease-out-expo);
}

.pd-social-icon.is-active:hover {
  transform: scale(1.05);
}

.pd-social-icon.is-coming-soon {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.pd-footer-mark {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
}

.pd-footer-bottom {
  background: var(--charcoal-dark);
}

.pd-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 16px;
  font-family: var(--font-ui);
  font-size: 12px;
}

.pd-footer-bottom-inner a {
  color: var(--cream);
  text-decoration: none;
}

.pd-footer-bottom-inner .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
}

/* ---- 12. Phone frame (Addendum A2.4 — CSS device simulation) ---- */
.phone-frame {
  width: 300px;
  aspect-ratio: 9 / 19.2;
  border-radius: 36px;
  background: #111;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(31, 36, 33, 0.28);
}

.phone-frame-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
}

.phone-frame-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- 13. Section dividers ---- */
.pd-section-divider {
  display: flex;
  justify-content: center;
  margin-block: 72px;
}

.pd-section-divider img {
  width: 88px;
  height: 88px;
}

.pd-section-divider-tight {
  margin-block: 0 72px;
}

/* ---- 14. 404 page ---- */
.pd-404 {
  background: var(--cream);
  padding-block: 96px;
}

.pd-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.pd-404-mark {
  width: 80px;
  height: 80px;
}

.pd-404-sub {
  color: var(--muted);
  max-width: 40ch;
}

.pd-404-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pd-404-photo {
  margin-top: 40px;
  max-width: 480px;
}

.pd-404-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tier 3 organic mask fallback (Plan §13) — degrades to a simple rounded
   corner until the clip-path blob ships. */
.mask-organic {
  border-radius: 24px;
  overflow: hidden;
}

/* ---- 15. Generic content wrappers (single.php / page.php / woocommerce.php) ---- */
.pd-post-header {
  background: var(--cream-dark);
  padding-block: 56px 0;
}

.pd-post-header h1 {
  max-width: 34ch;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.15;
}

.pd-post-date {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.pd-post-thumb {
  max-width: var(--container);
  margin: 32px auto 0;
  padding-inline: 24px;
  box-sizing: border-box;
}

.pd-post-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

@media (max-width: 768px) {
  .pd-post-thumb {
    padding-inline: 16px;
  }
}

.pd-prose {
  padding-block: 48px;
  font-size: 17px;
  line-height: 1.7;
}

.pd-post-cta {
  background: var(--sage-light);
  padding: 40px 24px;
  border-radius: var(--radius-card);
  text-align: center;
  margin-bottom: 64px;
}

.pd-wc-default {
  padding-block: 48px;
}

/* ---- 16. Shop AJAX loading/empty states (Session 6 wires the JS; the
        classes exist now so shop-ajax.php's fallback markup — §9.3 — has
        somewhere to render if it's ever hit before Session 6 ships the
        grid template) ---- */
.shop-empty,
.shop-error {
  color: var(--muted);
  text-align: center;
  padding-block: 24px;
}

/* ---- 17. Pillar 1 — PrimeDoggy IQ / sticky phone (Plan §8.1, Session 2) ----
   Markup contract: <section class="pillar-iq" id="pillar-iq"> is styled
   here; internal grid is <div class="container sp-layout"> with two direct
   children, .sp-chapters and .sp-frame-col. Do not rename any of these —
   sticky-phone.js's IntersectionObserver reads .sp-chapter[data-screen]
   and #sp-frame directly (Plan §8.2). */
.pillar-iq {
  padding-block: 96px;
  background: var(--cream);
}

.pillar-iq-intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.pillar-iq-intro .pd-subheadline {
  margin-top: 12px;
}

.sp-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  /* align-items: start removed — it capped .sp-frame-col's height to the
     phone's own height, leaving position:sticky no room to travel within
     as the user scrolls past the tall .sp-chapters column. Grid's default
     (stretch) lets .sp-frame-col match the row height instead; the phone
     itself doesn't stretch, sticky elements never do — this only gives
     the sticky containing block somewhere to actually stick within. */
}

.sp-chapters {
  display: flex;
  flex-direction: column;
}

.sp-chapter {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  max-width: 42ch;
}

.sp-chapter h3 {
  font-size: 1.6rem;
  line-height: 1.2;
}

.sp-chapter p {
  font-family: var(--font-ui);
  color: var(--muted);
  font-size: 1rem;
}

.sp-chapters>.btn-primary {
  align-self: flex-start;
  margin-top: 8px;
}

/* Mobile-only inline screenshot per chapter — the "AOS-staggered sequence"
   fallback (Brief §4.6). Hidden on desktop; sticky phone column takes over. */
.sp-chapter-img {
  display: none;
}

.sp-frame-col {
  position: relative;
}

.sp-frame-col .phone-frame {
  position: sticky;
  top: calc(50vh - 310px);
}

.sp-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  opacity: 0;
  transition: opacity var(--dur-std) var(--ease-out-expo);
}

.sp-screen.is-active {
  opacity: 1;
}

@media (max-width: 768px) {
  .pillar-iq {
    padding-block: 64px 24px;
  }

  .sp-layout {
    display: block;
  }

  .sp-frame-col {
    display: none;
  }

  .sp-chapter {
    min-height: 0;
    max-width: none;
    padding-block: 28px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    text-align: center;
  }

  .sp-chapter:last-of-type {
    border-bottom: none;
  }

  .sp-chapter-img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(31, 36, 33, 0.16);
  }

  .sp-chapter h3 {
    font-size: 1.8rem;
  }

  .sp-chapter p {
    font-size: 1.1rem;
  }

  .sp-chapters>.btn-primary {
    align-self: center;
  }
}

/* ---- 18. Scroll-linked accent theming consumers (Brief §4.3 item 13 /
        Plan §8.3; JS observer added Session 2, main.js §9, per Handoff §6
        Corrections Log item 5). --accent-current defaults to --sage and is
        overwritten by main.js as homepage sections scroll through view.
        Deliberately subtle: only these two consumers read it. ---- */
:root {
  --accent-current: var(--sage);
}

.pd-section-divider img {
  transition: filter var(--dur-sig) var(--ease-out-expo);
}

.pd-prose a,
.pillar-iq-intro a {
  text-decoration-color: var(--accent-current);
  transition: text-decoration-color var(--dur-sig) var(--ease-out-expo);
}

/* ---- 19. Dog Wellness Profile feature section (Brief §3.1, Session 3) ----
   Teaser only — the quiz itself is Session 4. --cream-dark background,
   organic-masked image beside copy; stacks on mobile. */
.wellness-teaser {
  background: var(--cream-dark);
  padding-block: 88px;
}

.wellness-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.wellness-teaser-media img {
  width: 100%;
  height: auto;
  display: block;
}

.wellness-teaser-copy {
  max-width: 46ch;
}

.wellness-teaser-copy .pd-subheadline {
  margin: 14px 0 24px;
}

@media (max-width: 768px) {
  .wellness-teaser {
    padding-block: 56px;
  }

  .wellness-teaser-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wellness-teaser-media {
    order: -1;
  }

  .wellness-teaser-copy {
    text-align: center;
    margin-inline: auto;
  }
}

/* ---- 20. Morphing Connections card internals (Session 3) ----
   Section/card/line structure already exists (§7, Session 1) — this adds
   only the icon marker and CTA/complete-text grid placement, since both
   are now siblings of the six .mc-card inside the 3-col .mc-layout grid. */
.mc-card-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(123, 149, 132, 0.35);
  border: 1px solid rgba(168, 195, 178, 0.6);
  transition: background-color 200ms, border-color 200ms, box-shadow 200ms;
}

.mc-card:hover .mc-card-icon,
.mc-card.is-tapped .mc-card-icon,
.mc-card.is-linked .mc-card-icon {
  background: rgba(123, 149, 132, 0.7);
  border-color: #a8c3b2;
  box-shadow: 0 0 12px rgba(168, 195, 178, 0.45);
}

.mc-cta,
.pd-section-divider-dark {
  grid-column: 1 / -1;
  text-align: center;
}

.mc-cta {
  margin-top: 8px;
}

@media (max-width: 768px) {

  .mc-cta,
  .pd-section-divider-dark {
    grid-column: auto;
  }
}

/* ---- 21. Pillar 2 — Knowledge bento card internals (Session 3) ---- */
.pillar-knowledge {
  padding-block: 88px 24px;
  background: var(--cream);
}

.pillar-hub {
  padding-block: 88px;
  background: var(--cream);
}

.pillar-hub .container {
  max-width: 1360px;
}

.bento-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 4px);
  margin-bottom: 16px;
  display: block;
}

.bento-pillar-2 h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .bento-pillar-hub h3 {
    font-size: 1.5rem;
  }
}

.bento-pillar-2 .pd-subheadline {
  margin: 8px 0 16px;
}

.bento-course .pd-subscribe-form {
  margin-top: 12px;
}

/* ---- 22. Pillar 3 — "The Calm Dog Collection" (Session 3) ----
   Product markup is inlined this session (see page-home.php header note);
   card visuals intentionally match the future shop product-card (Plan
   §9.2) so Session 6's formalization is a drop-in, not a restyle. */
.pillar-shop {
  padding-block: 88px 64px;
  background: var(--cream-dark);
}

.pillar-shop-heading {
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .pillar-shop-heading {
    font-size: 1.9rem;
  }
}

.pillar-shop-media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-card) - 4px);
  overflow: hidden;
  margin-bottom: 16px;
}

.pillar-shop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-pillar-3 h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.bento-pillar-3 .price {
  display: block;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .bento-pillar-3 .price {
    font-size: 1.1rem;
  }
}

.bento-more-coming {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-style: dashed;
  color: var(--muted);
}

.bento-more-coming h3 {
  color: var(--muted);
}

.pillar-shop-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---- 23. Email capture section (Brief §3.1, Session 3) ----
   --sage-light background; reuses parts/email-capture.php form markup —
   only the surrounding section chrome is styled here. */
.pd-email-section {
  background: var(--sage-light);
  padding-block: 96px;
}

.pd-email-inner {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.pd-email-inner .pd-subheadline {
  margin: 14px 0 28px;
}

/* ---- 24. About section (Brief §3.1, Session 3) ----
   --cream background, condensed copy + muted social row. Coming-soon
   icons: opacity .6, pointer-events none (Addendum A2.2); Pinterest is
   the only active/clickable icon and gets the hover lift. */
.pd-about-section {
  background: var(--cream);
  padding-block: 88px;
}

.pd-about-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.pd-about-body {
  text-align: left;
  margin: 20px 0 28px;
}

@media (max-width: 768px) {
  .pd-about-inner h2 {
    font-size: 2rem;
    line-height: 1.25;
  }
}



.page-id-3879 .pd-post-header,
.page-id-2042 .pd-post-header,
.page-id-125 .pd-post-header,
.page-id-3 .pd-post-header,
.page-id-2411 .pd-post-header {
  display: none;
}

/* ---- IQ Landing Page — Hero + Trust Strip (Session 5) ---- */
.iq-hero {
  min-height: 100vh;
  background: var(--cream);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 80px;
  text-align: center;
  position: relative;
}

.iq-hero-brand-heading {
  max-width: 900px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.iq-hero-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 7vw, 58px);
  color: var(--sage);
}

.iq-hero-brand-descriptor {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 5vw, 32px);
  color: var(--charcoal);
  display: block;
  margin-top: 16px;
}

.iq-hero-brand-em-dash {
  display: none;
}

.iq-hero-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
}

.iq-hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.iq-hero h1 {
  font-size: clamp(22px, 3.8vw, 34px);
  line-height: 1.3;
  color: var(--charcoal);
  max-width: 520px;
  margin-bottom: 32px;
}

.iq-hero-promise {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 24px);
  line-height: 1.5;
  color: #4a6355;
  max-width: 480px;
  margin-bottom: 32px;
}

.iq-hero-promise strong {
  font-style: normal;
  font-weight: 600;
  color: var(--charcoal);
}

.iq-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 40px;
  text-align: center;
}

.iq-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin-bottom: 28px;
}

.iq-hero-ctas .btn-primary,
.iq-hero-ctas .btn-outline {
  display: block;
  text-align: center;
}

.iq-hero-right {
  width: 100%;
  display: flex;
  justify-content: center;
}

.iq-hero-microcopy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.iq-hero-phone {
  margin-top: 44px;
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.18));
}

.iq-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (min-width: 860px) {
  .iq-hero {
    padding: 24px 60px 100px;
  }

  .iq-hero-split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .iq-hero-left {
    align-items: flex-start;
    text-align: left;
    flex: 1.2;
    min-width: 0;
  }

  .iq-hero h1 {
    max-width: 100%;
  }

  .iq-hero-promise {
    max-width: 100%;
  }

  .iq-hero-right {
    flex: 0 0 320px;
    width: 320px;
  }

  .iq-hero-sub {
    text-align: left;
    max-width: 100%;
  }
}

.iq-trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}

.iq-trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  text-align: left;
}

.iq-trust-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  max-width: 340px;
}

.iq-trust-item strong {
  color: var(--charcoal);
  font-weight: 600;
}

.iq-trust-divider {
  display: none;
}

@media (min-width: 700px) {
  .iq-trust-strip-inner {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }

  .iq-trust-item {
    flex: 1;
    max-width: none;
    padding: 0 28px;
    text-align: center;
  }

  .iq-trust-divider {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
  }
}

/* ---- IQ Landing Page — shared section base classes (reused across every remaining section) ---- */
.iq-section {
  padding: 80px 24px;
}

.iq-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.iq-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.iq-section-h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.iq-section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

/* Why It's Different */
.why-different {
  background: var(--white);
}

.iq-pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 3vw, 25px);
  line-height: 1.55;
  color: #4a6355;
  border-left: 3px solid var(--sage);
  padding-left: 24px;
  margin-top: 36px;
  max-width: 660px;
}

/* How It Works — also reused verbatim by Dual Screenshots */
.iq-how-it-works {
  background: var(--cream);
}

.iq-screenshots-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

.iq-screenshot-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.iq-screenshot-card img {
  width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.14));
}

.iq-screenshot-caption {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  padding: 0 2px;
}

.iq-screenshot-caption strong {
  display: block;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 3px;
  font-size: 15px;
}

@media (min-width: 600px) {
  .iq-screenshots-2col {
    grid-template-columns: 1fr 1fr;
  }
}

/* What You Get */
.what-you-get {
  background: var(--white);
}

.iq-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.iq-pillar-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px 24px;
}

.iq-pillar-num {
  font-size: 34px;
  font-weight: 600;
  color: var(--sage);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 10px;
}

.iq-pillar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.iq-pillar-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* Dual Screenshots — reuses .iq-screenshots-2col / .iq-screenshot-card from How It Works */
.dual-screenshots {
  background: var(--cream-dark);
}

/* Real Outputs — reuses .iq-screenshot-caption from How It Works */
.real-outputs {
  background: var(--cream);
}

.iq-outputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

.iq-output-item img {
  width: 100%;
  filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.16));
}

.iq-output-item .iq-screenshot-caption {
  margin-top: 14px;
}

@media (min-width: 700px) {
  .iq-outputs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Problem Statement */
.problem-statement {
  background: var(--sage);
  text-align: center;
}

.problem-statement .iq-eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.problem-statement .iq-section-h2 {
  color: var(--white);
  max-width: 660px;
  margin: 0 auto 18px;
}

.problem-statement .iq-section-body {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto;
  max-width: 640px;
}

/* Enhanced AI */
.enhanced-ai {
  background: var(--white);
  padding-bottom: 40px;
}

.iq-ai-callout {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 0 auto;
}

.iq-ai-callout-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--sage);
  text-transform: uppercase;
}

.iq-ai-callout-icon {
  font-size: 24px;
  color: var(--sage);
}

.iq-ai-callout-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 460px;
}

/* Also Included */
.also-included {
  background: var(--white);
  padding-top: 40px;
}

.also-included .iq-section-inner {
  text-align: center;
}

.iq-also-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.iq-also-item img {
  width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.14));
}

.iq-also-item .iq-screenshot-caption {
  margin-top: 12px;
  text-align: left;
}

.iq-also-footnote {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 600px) {
  .iq-also-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* What PrimeDoggy IQ Helps With — reuses .why-different background */
.helps-with {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Pricing */
.pricing {
  background: var(--cream);
  text-align: center;
}

.iq-pricing-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
  margin-top: -4px;
}

.iq-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .iq-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .iq-pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.iq-pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 22px 18px;
  border: 2px solid transparent;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(31, 36, 33, 0.06);
  transition: transform var(--dur-std) var(--ease-out-expo),
    box-shadow var(--dur-std) var(--ease-out-expo);
}

.iq-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 36, 33, 0.14);
}

.iq-pricing-card.featured {
  border-color: var(--sage);
}

.iq-popular-badge {
  background: var(--sage);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}

.iq-tier-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.iq-tier-price {
  font-size: 32px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1;
}

.iq-tier-period {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.iq-tier-annual {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}

.iq-tier-annual strong {
  color: var(--charcoal);
  font-weight: 700;
}

.iq-tier-annual .iq-annual-badge {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 5px;
  vertical-align: 1px;
}

.iq-tier-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

.iq-tier-limits {
  list-style: none;
  margin-bottom: 12px;
}

.iq-tier-limits li {
  font-size: 12px;
  color: var(--muted);
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.iq-tier-limits li::before {
  content: '\B7';
  color: var(--sage);
  font-weight: 700;
}

.iq-tier-features {
  list-style: none;
  flex: 1;
}

.iq-tier-features li {
  font-size: 12px;
  color: var(--charcoal);
  padding: 2px 0;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.iq-tier-features li::before {
  content: '\2726';
  color: var(--sage);
  font-size: 8px;
  margin-top: 3px;
  flex-shrink: 0;
}

.iq-tier-features li.iq-ai-feature {
  color: var(--sage);
  font-weight: 500;
}

.iq-tier-btn {
  margin-top: 18px;
  display: block;
  text-align: center;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.iq-tier-btn:hover {
  background: var(--sage-hover);
}

.iq-tier-btn-outline {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}

.iq-tier-btn-outline:hover {
  background: var(--sage-light);
}

/* FAQ */
.faq-section {
  background: var(--white);
}

.iq-faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.iq-faq-item {
  background: var(--cream);
  border-radius: 12px;
  padding: 22px 24px;
}

.iq-faq-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.iq-faq-a {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* Closing CTA */
.closing-cta {
  background: var(--sage);
  text-align: center;
  padding: 90px 24px;
}

.closing-cta .iq-section-h2 {
  color: var(--white);
  font-size: clamp(34px, 6vw, 54px);
  margin-bottom: 12px;
}

.closing-cta .iq-section-body {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 36px;
  max-width: 380px;
}

.iq-btn-white {
  background: var(--white);
  color: var(--sage);
  border: none;
  border-radius: 999px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.iq-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}