/* =====================================================================
   Wag More Behavior Pro — Preview concept
   Design system / shared stylesheet
   Palette: cool mint base · deep pine · warm coral accent
   Type: Bricolage Grotesque (display) · Plus Jakarta Sans (body) ·
         Space Grotesk (data / instrument readouts)
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Tokens                                                          */
/* ------------------------------------------------------------------ */
:root {
  /* — Calm base — */
  --bg:            #eaf2ef;   /* page background, a whisper of mint     */
  --bg-2:          #f3f8f6;   /* lifted surfaces                        */
  --surface:       #ffffff;   /* cards                                  */
  --surface-glass: rgba(255, 255, 255, 0.9);
  --line:          rgba(16, 47, 41, 0.10);
  --line-strong:   rgba(16, 47, 41, 0.16);

  /* — Ink — */
  --ink:           #102f29;   /* deep pine, used as text                */
  --ink-soft:      #3a5651;   /* secondary text                         */
  --ink-faint:     #6b827d;   /* muted captions                         */

  /* — Calm (cool) — */
  --pine:          #14564b;
  --teal:          #1b8f7a;
  --mint:          #57c9ad;
  --mint-soft:     #a7e6d4;
  --mint-wash:     #d7f1e8;

  /* — Wag (warm accent) — */
  --coral:         #ff7a52;
  --coral-deep:    #f4623b;
  --amber:         #ffb347;
  --amber-soft:    #ffd9a0;

  /* — Gradients — */
  --grad-calm:  linear-gradient(135deg, #1b8f7a 0%, #57c9ad 100%);
  --grad-wag:   linear-gradient(135deg, #ffb347 0%, #ff7a52 100%);
  --grad-hero:  linear-gradient(135deg, #f3f8f6 0%, #e3f0eb 48%, #f6efe7 100%);
  --grad-ink:   linear-gradient(135deg, #123b33 0%, #0c2620 100%);
  --grad-text:  linear-gradient(120deg, #14564b 0%, #1b8f7a 45%, #ff7a52 110%);

  /* — Shadows (soft, layered, app-like) — */
  --sh-sm:  0 1px 2px rgba(16, 47, 41, 0.06), 0 2px 6px rgba(16, 47, 41, 0.05);
  --sh-md:  0 6px 18px -6px rgba(16, 47, 41, 0.16), 0 12px 36px -12px rgba(16, 47, 41, 0.12);
  --sh-lg:  0 18px 50px -18px rgba(16, 47, 41, 0.28), 0 6px 18px -8px rgba(16, 47, 41, 0.10);
  --sh-glow-calm: 0 18px 48px -18px rgba(27, 143, 122, 0.55);
  --sh-glow-wag:  0 18px 48px -18px rgba(255, 122, 82, 0.55);

  /* — Geometry — */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* — Type — */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-data:    "Space Grotesk", "Plus Jakarta Sans", monospace;

  /* — Motion — */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  /* — Layout — */
  --container: 1180px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
}

/* ------------------------------------------------------------------ */
/* 2. Reset & base                                                    */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: clamp(15.5px, 0.5vw + 14px, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--mint-soft); color: var(--pine); }

/* ------------------------------------------------------------------ */
/* 3. Ambient background (floating gradient orbs + grain)             */
/* ------------------------------------------------------------------ */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, #f6efe7 0%, transparent 55%),
    var(--bg);
}
.atmos__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;

}
.atmos__orb.is-1 { width: 46vw; height: 46vw; left: -8vw;  top: -6vw;
  background: radial-gradient(circle at 30% 30%, var(--mint), transparent 70%);
 }
.atmos__orb.is-2 { width: 38vw; height: 38vw; right: -6vw; top: 18vh;
  background: radial-gradient(circle at 60% 40%, var(--amber-soft), transparent 70%);
  opacity: 0.42; }
.atmos__orb.is-3 { width: 42vw; height: 42vw; left: 22vw; bottom: -16vw;
  background: radial-gradient(circle at 50% 50%, var(--mint-soft), transparent 72%);
  opacity: 0.4; }

.atmos__grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;

}

/* particle canvas (calm "paw dust") sits above atmos, behind content */
#paw-field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(4vw, 3vh); }
  66%      { transform: translate(-3vw, -2vh); }
}

/* ------------------------------------------------------------------ */
/* 4. Layout primitives                                               */
/* ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.is-narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: clamp(64px, 9vw, 132px); }
.section.is-tight { padding-block: clamp(48px, 6vw, 88px); }

.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure.center { margin-inline: auto; }

/* ------------------------------------------------------------------ */
/* 5. Typography                                                      */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-data);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-wag);
}
.eyebrow.is-plain::before { display: none; }

h1, .h1, h2, .h2, h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3, .h3 { font-size: clamp(1.3rem, 1.7vw, 1.7rem); letter-spacing: -0.02em; }
.kicker { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--ink-soft); font-weight: 500; }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-faint); }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.underline-wag {
  background-image: var(--grad-wag);
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.28em;
  padding-inline: 0.04em;
}

/* ------------------------------------------------------------------ */
/* 6. Buttons                                                         */
/* ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--grad-wag);
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.92em 1.5em; border: 0; border-radius: var(--r-pill);
  color: #fff; background: var(--btn-bg); background-size: 140% 140%;
  box-shadow: var(--sh-glow-wag);
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), background-position 0.6s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); background-position: 100% 0; box-shadow: 0 24px 56px -18px rgba(255,122,82,0.7); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn.is-calm { --btn-bg: var(--grad-calm); box-shadow: var(--sh-glow-calm); }
.btn.is-calm:hover { box-shadow: 0 24px 56px -18px rgba(27,143,122,0.7); }

.btn.is-ghost {
  background: var(--surface-glass); color: var(--ink); box-shadow: none;
  border: 1px solid var(--line-strong);
}
.btn.is-ghost::after { display: none; }
.btn.is-ghost:hover { background: #fff; box-shadow: var(--sh-md); transform: translateY(-3px); }

.btn.is-lg { font-size: 1.06rem; padding: 1.05em 1.8em; }
.btn.is-sm { font-size: 0.86rem; padding: 0.7em 1.15em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; color: var(--teal);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow svg { transition: transform 0.35s var(--spring); }
.link-arrow:hover { gap: 0.7em; color: var(--coral-deep); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* 7. Navigation                                                      */
/* ------------------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-stuck {
  background: rgba(244, 250, 248, 0.95);

  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(16,47,41,0.5);
}
.nav__inner { width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6em; font-family: var(--font-display);
  font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%; flex: none; position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-calm); box-shadow: 0 4px 14px -4px rgba(16, 47, 41, 0.28);
  transition: transform 0.5s var(--spring);
}
/* the WagMore "wm" logo, sitting on a soft light disc; falls back to the paw
   (via onerror in the markup) if the image is ever missing */
.brand__logo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 15%;
  background: radial-gradient(circle at 50% 32%, #ffffff, #e8f2ee);
  border-radius: 50%;
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__sub { font-family: var(--font-data); font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-faint); display: block; line-height: 1; margin-top: 2px; font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 0.08rem; }
.nav__link {
  position: relative; padding: 0.5em 0.64em; border-radius: var(--r-pill);
  font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 0.28em; width: 0; height: 2px;
  border-radius: 2px; background: var(--grad-wag);
  transform: translateX(-50%); transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 42%; }
.nav__link.is-active { color: var(--pine); background: rgba(87,201,173,0.16); }
.nav__link.is-active::after { width: 0; }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface-glass);
  position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 1rem var(--gutter) 1.6rem;
    background: rgba(244,250,248,0.96);
    box-shadow: var(--sh-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  body.menu-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: 0.8em 1em; font-size: 1.05rem; }
  .nav__burger { display: block; }
  .nav__cta .btn { display: none; }
}

/* ------------------------------------------------------------------ */
/* 8. Cards & surfaces                                                */
/* ------------------------------------------------------------------ */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--sh-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.card.is-glass { background: var(--surface-glass); }
.card.is-hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(87,201,173,0.4); }

/* subtle top gradient hairline that lights up on hover */
.card.has-edge::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--grad-calm); opacity: 0; transition: opacity 0.4s var(--ease);
}
.card.has-edge:hover::before { opacity: 1; }

.icon-tile {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: grid; place-items: center; color: var(--pine);
  background: var(--mint-wash);
  transition: transform 0.5s var(--spring), background 0.4s var(--ease), color 0.4s var(--ease);
}
.icon-tile.is-wag { background: var(--amber-soft); color: var(--coral-deep); }
.card.is-hover:hover .icon-tile { transform: rotate(-6deg) scale(1.08); }

.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4em 0.9em; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  background: var(--mint-wash); color: var(--pine);
}
.pill.is-wag { background: var(--amber-soft); color: var(--coral-deep); }
.pill.is-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-soft); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.pill.is-wag .pill__dot { background: var(--coral); }

/* ------------------------------------------------------------------ */
/* 9. Stats                                                           */
/* ------------------------------------------------------------------ */
.stat { display: flex; flex-direction: column; gap: 0.15em; }
.stat__num { font-family: var(--font-data); font-weight: 700; line-height: 1;
  font-size: clamp(2.1rem, 3.4vw, 3rem); color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 0.06em; }
.stat__num .unit { font-size: 0.55em; color: var(--teal); }
.stat__label { font-size: 0.92rem; color: var(--ink-faint); font-weight: 500; }

.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px);
  padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg);
  background: var(--surface-glass);
  border: 1px solid var(--line); box-shadow: var(--sh-md); }
.statbar .stat { position: relative; padding-left: clamp(14px, 2vw, 26px); }
.statbar .stat + .stat::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: var(--line-strong); }
@media (max-width: 760px) { .statbar { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .statbar .stat:nth-child(odd) { padding-left: 0; }
  .statbar .stat:nth-child(odd)::before { display: none; } }

/* ------------------------------------------------------------------ */
/* 10. Calm Meter (signature gauge)                                   */
/* ------------------------------------------------------------------ */
.gauge { position: relative; width: min(420px, 86vw); aspect-ratio: 1 / 1; margin-inline: auto; }
.gauge__svg { width: 100%; height: 100%; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(16,47,41,0.10); stroke-width: 16; stroke-linecap: round; }
.gauge__fill  { fill: none; stroke: url(#calmGrad); stroke-width: 16; stroke-linecap: round;
  filter: drop-shadow(0 6px 16px rgba(27,143,122,0.4)); transition: stroke-dashoffset 0.1s linear; }
.gauge__core {
  position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #eef7f3 70%, #e2efe9 100%);
  box-shadow: inset 0 2px 14px rgba(16,47,41,0.08), var(--sh-md);
  display: grid; place-content: center; text-align: center; gap: 2px;
}
.gauge__value { font-family: var(--font-data); font-weight: 700; line-height: 1;
  font-size: clamp(3rem, 9vw, 4.4rem); color: var(--ink); font-variant-numeric: tabular-nums; }
.gauge__value .pct { font-size: 0.34em; color: var(--teal); vertical-align: super; margin-left: 2px; }
.gauge__state { font-family: var(--font-data); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-deep);
  transition: color 0.6s var(--ease); }
.gauge.is-calm .gauge__state { color: var(--teal); }
.gauge__cap { font-size: 0.74rem; color: var(--ink-faint); margin-top: 4px; }
.gauge__pip { fill: #fff; stroke: var(--teal); stroke-width: 3;
  filter: drop-shadow(0 2px 6px rgba(16,47,41,0.25)); transition: fill 0.5s var(--ease), stroke 0.5s var(--ease); }
.gauge:not(.is-calm) .gauge__pip { stroke: var(--coral); }

/* ------------------------------------------------------------------ */
/* 11. Problem ("does your dog ever…") cards                          */
/* ------------------------------------------------------------------ */
.prob {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-md); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.prob:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.prob__icon { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--amber-soft); color: var(--coral-deep); }
.prob__icon.shake:hover { animation: shake 0.5s var(--ease); }
.prob h3 { font-size: 1.08rem; }
.prob p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.2em; }
@keyframes shake { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-9deg)} 75%{transform:rotate(9deg)} }

/* ------------------------------------------------------------------ */
/* 12. Do / Don't comparison                                          */
/* ------------------------------------------------------------------ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare__col { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.compare__col.is-dont { background: linear-gradient(180deg, #fff6f1 0%, #fff 100%); border: 1px solid rgba(244,98,59,0.18); }
.compare__col.is-do   { background: linear-gradient(180deg, #ecf8f3 0%, #fff 100%); border: 1px solid rgba(27,143,122,0.2); }
.compare__head { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.compare li { display: flex; gap: 0.7em; align-items: flex-start; padding: 0.55em 0;
  border-top: 1px solid var(--line); font-size: 0.98rem; }
.compare li:first-of-type { border-top: 0; }
.mk { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; margin-top: 1px; }
.mk.is-x { background: var(--coral-deep); }
.mk.is-check { background: var(--teal); }

/* ------------------------------------------------------------------ */
/* 13. Steps / process (Five Golden Rules)                            */
/* ------------------------------------------------------------------ */
.step { position: relative; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); overflow: hidden; }
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.step__num { font-family: var(--font-data); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.04em; color: var(--coral-deep); }
.step__rail { position: absolute; right: -10px; top: -22px; font-family: var(--font-display);
  font-weight: 700; font-size: 7rem; line-height: 1; color: rgba(27,143,122,0.07); user-select: none; }
.step h3 { font-size: 1.2rem; margin-top: 0.5rem; }
.step p { color: var(--ink-soft); margin-top: 0.4rem; font-size: 0.96rem; }

/* ------------------------------------------------------------------ */
/* 14. Pricing / packages                                             */
/* ------------------------------------------------------------------ */
.plan { position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.plan.is-featured { background: var(--grad-ink); color: #eaf7f2; border-color: transparent; box-shadow: var(--sh-lg); }
.plan.is-featured .plan__name,
.plan.is-featured .plan__price { color: #fff; }
.plan.is-featured .plan__feat { color: #cdeae0; }
.plan.is-featured .plan__feat .mk.is-check { background: var(--mint); }
.plan__badge { position: absolute; top: 1.4rem; right: 1.4rem; }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.plan__price { font-family: var(--font-data); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1; margin-top: 0.4rem; display: flex; align-items: baseline; gap: 0.1em; }
.plan__price .cur { font-size: 0.5em; color: var(--teal); }
.plan.is-featured .plan__price .cur { color: var(--mint); }
.plan__note { font-size: 0.9rem; color: var(--ink-faint); margin-top: 0.3rem; }
.plan.is-featured .plan__note { color: #9fc7bb; }
.plan__list { margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.plan__feat { display: flex; gap: 0.65em; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.plan__cta { margin-top: auto; }

/* ------------------------------------------------------------------ */
/* 15. Testimonials                                                   */
/* ------------------------------------------------------------------ */
.quote { display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; color: var(--mint);
  height: 1.6rem; }
.quote__text { font-size: 1.08rem; color: var(--ink); line-height: 1.55; }
.quote__who { display: flex; align-items: center; gap: 0.8em; margin-top: auto; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--grad-calm); }
.quote__name { display: block; font-weight: 700; color: var(--ink); line-height: 1.2; }
.quote__role { display: block; font-size: 0.85rem; color: var(--ink-faint); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }

/* ------------------------------------------------------------------ */
/* 16. Banner / CTA block                                             */
/* ------------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 76px); text-align: center; color: #eafaf4;
  background: var(--grad-ink); box-shadow: var(--sh-lg); }
.cta-band::before { content: ""; position: absolute; width: 60%; height: 160%; left: -10%; top: -30%;
  background: radial-gradient(circle, rgba(87,201,173,0.5), transparent 60%); filter: blur(20px); }
.cta-band::after { content: ""; position: absolute; width: 50%; height: 150%; right: -8%; bottom: -40%;
  background: radial-gradient(circle, rgba(255,122,82,0.45), transparent 60%); filter: blur(20px); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #bfe2d7; }

/* ------------------------------------------------------------------ */
/* 17. Contact form                                                   */
/* ------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 0.4em; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.field .hint { font-size: 0.78rem; color: var(--ink-faint); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.85em 1em; border-radius: var(--r-sm);
  background: var(--bg-2); border: 1.5px solid var(--line-strong);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(27,143,122,0.14);
}
.checkbox { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; accent-color: var(--teal); margin-top: 2px; flex: none; }

.form-ok { display: none; text-align: center; padding: clamp(28px, 4vw, 44px); }
.form-ok.show { display: block; animation: fadeUp 0.6s var(--ease) both; }
.form-ok__ring { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint-wash); color: var(--teal); animation: pop 0.6s var(--spring) both; }

/* ------------------------------------------------------------------ */
/* 18. Footer                                                         */
/* ------------------------------------------------------------------ */
.footer { position: relative; margin-top: clamp(40px, 6vw, 80px);
  background: var(--grad-ink); color: #cfe5dd; padding-block: clamp(48px, 6vw, 76px) 2rem; }
.footer a { color: #cfe5dd; transition: color 0.3s var(--ease); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-data); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #82b6a8; margin-bottom: 1rem; font-weight: 600; }
.footer__links { display: grid; gap: 0.55rem; font-size: 0.96rem; }
.footer .brand { color: #fff; }
.footer .brand__sub { color: #82b6a8; }
.footer__bottom { margin-top: clamp(32px, 5vw, 56px); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem; color: #82b6a8; }
.footer__contact { display: grid; gap: 0.6rem; font-size: 0.96rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.6em; }

/* ------------------------------------------------------------------ */
/* 19. Misc decorative                                                */
/* ------------------------------------------------------------------ */
.paw { display: inline-block; }
.divider-paws { display: flex; align-items: center; justify-content: center; gap: 0.8rem; color: var(--mint);
  opacity: 0.8; margin-block: 1rem; }
.divider-paws::before, .divider-paws::after { content: ""; height: 1px; flex: 1; max-width: 120px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

.float-soft { animation: floaty 6s var(--ease) infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.breathe { animation: breathe 5s var(--ease) infinite; }
@keyframes breathe { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.04);opacity:0.92} }

.badge-float { position: absolute; padding: 0.7em 1em; border-radius: var(--r-md);
  background: var(--surface-glass); border: 1px solid var(--line);
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 0.6em; font-size: 0.86rem; font-weight: 600; }
/* decorative floats sit in the side gutters on desktop; hide where they'd clip */
@media (max-width: 600px) { .badge-float { display: none; } }

/* generic chip row */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* prose helper for legal/long text pages */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }

/* ------------------------------------------------------------------ */
/* 20. Scroll-reveal                                                  */
/* ------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in { transform: none; }
/* stagger children */
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
[data-stagger].in > * { opacity: 1; transform: none; }
/* during a top-of-page replay, snap reveals back with no animation */
body.replaying [data-reveal],
body.replaying [data-stagger] > * { transition: none !important; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ------------------------------------------------------------------ */
/* 21. Accessibility & motion                                         */
/* ------------------------------------------------------------------ */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--pine); color: #fff;
  padding: 0.7em 1.1em; border-radius: 10px; transition: top 0.3s var(--ease); }
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .atmos__orb, .float-soft, .breathe { animation: none !important; }
}

/* page-load intro lift for hero content */
.intro { opacity: 0; transform: translateY(18px); animation: introUp 0.9s var(--ease-out) forwards; }
.intro.d1 { animation-delay: 0.08s; }
.intro.d2 { animation-delay: 0.18s; }
.intro.d3 { animation-delay: 0.28s; }
.intro.d4 { animation-delay: 0.4s; }
@keyframes introUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro { opacity: 1 !important; transform: none !important; animation: none !important; } }

/* hero layout used across pages */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(50px, 7vw, 100px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* page header (interior pages) */
.pagehead { position: relative; padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 72px)); padding-bottom: clamp(20px, 3vw, 40px); }

/* ------------------------------------------------------------------ */
/* 22. Calm Quiz                                                      */
/* ------------------------------------------------------------------ */
.quiz { position: relative; padding-top: calc(var(--nav-h) + clamp(22px, 4vw, 48px));
  padding-bottom: clamp(48px, 7vw, 96px); min-height: 80vh; }
.quiz__inner { width: 100%; max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); }

/* nav highlight for the quiz link */
.nav__link.is-quiz { color: var(--coral-deep); font-weight: 600; }
.nav__link.is-quiz:hover { color: var(--coral); }

/* progress */
.quiz-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(16px, 3vw, 28px); }
.quiz-progress__bar { flex: 1; height: 8px; border-radius: var(--r-pill); background: rgba(16,47,41,0.10); overflow: hidden; }
.quiz-progress__fill { height: 100%; width: 0; border-radius: var(--r-pill); background: var(--grad-calm);
  transition: width 0.55s var(--ease); }
.quiz-progress__label { font-family: var(--font-data); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

/* step transition */
.quiz-step { animation: quizIn 0.5s var(--ease-out) both; }
.quiz-step.is-leaving { animation: quizOut 0.19s var(--ease) forwards; }
@keyframes quizIn { from { opacity: 0; transform: translateY(16px) scale(0.99); } to { opacity: 1; transform: none; } }
@keyframes quizOut { to { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .quiz-step, .quiz-step.is-leaving { animation: none !important; } }

/* card shell */
.quiz-card { background: var(--surface-glass);
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  padding: clamp(24px, 4vw, 48px); }

/* intro */
.quiz-intro { text-align: center; }
.quiz-intro h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
.quiz-emoji-row { font-size: clamp(2rem, 6vw, 2.8rem); display: flex; gap: 0.35em; justify-content: center; margin-bottom: 0.6rem; }
.quiz-namefield { max-width: 360px; margin: 1.5rem auto 0.4rem; text-align: left; }

/* question */
.quiz-q { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem); margin: 0.85rem 0 1.35rem; text-wrap: balance; }
.quiz-options { display: grid; gap: 0.7rem; }
.quiz-option { display: flex; align-items: center; gap: 0.9rem; text-align: left; width: 100%;
  padding: 0.95rem 1.1rem; border-radius: var(--r-md); border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font-family: inherit; font-size: 1.02rem; font-weight: 500;
  box-shadow: var(--sh-sm); cursor: pointer;
  transition: transform 0.25s var(--spring), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease); }
.quiz-option:hover { transform: translateY(-2px) translateX(3px); border-color: var(--mint); box-shadow: var(--sh-md); }
.quiz-option.is-picked { border-color: var(--teal); background: var(--mint-wash); box-shadow: var(--sh-glow-calm); }
.quiz-option__emoji { font-size: 1.5rem; flex: none; width: 2.1rem; text-align: center; }
.quiz-option__key { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; flex: none;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  font-family: var(--font-data); font-size: 0.78rem; color: var(--ink-faint); transition: all 0.25s var(--ease); }
.quiz-option:hover .quiz-option__key { border-color: var(--teal); color: var(--teal); }
.quiz-option.is-picked .quiz-option__key { background: var(--teal); border-color: var(--teal); color: #fff; }

.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; }
.quiz-back { display: inline-flex; align-items: center; gap: 0.4em; background: none; border: 0;
  color: var(--ink-faint); font-family: inherit; font-weight: 600; font-size: 0.92rem; padding: 0.4em 0.2em;
  cursor: pointer; transition: color 0.25s var(--ease); }
.quiz-back:hover { color: var(--ink); }
.quiz-back[hidden] { display: none; }
.quiz-hint { font-size: 0.8rem; color: var(--ink-faint); }

/* results */
.quiz-result { text-align: center; }
.quiz-result .gauge { width: min(320px, 78vw); margin: 0.2rem auto 1rem; }
.quiz-result__band { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.quiz-result__sub { color: var(--ink-soft); margin-top: 0.5rem; max-width: 54ch; margin-inline: auto; }
.quiz-goal-chip { margin-top: 1rem; }
.quiz-areas { display: grid; gap: 0.8rem; margin-top: clamp(20px, 3vw, 34px); text-align: left; }
.quiz-area { display: flex; gap: 1rem; align-items: flex-start; padding: clamp(16px, 2.4vw, 22px);
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.quiz-area__emoji { font-size: 1.7rem; flex: none; line-height: 1.2; }
.quiz-area h3 { font-size: 1.06rem; }
.quiz-area p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.2rem; }
.quiz-area .anna { color: var(--teal); font-weight: 600; font-size: 0.9rem; margin-top: 0.4rem;
  display: flex; gap: 0.4em; align-items: center; }
.quiz-bright { margin-top: 1.5rem; text-align: center; }
.quiz-bright__label { font-family: var(--font-data); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.7rem; }
.quiz-cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: clamp(22px, 3vw, 34px); }
.quiz-disclaimer { font-size: 0.82rem; color: var(--ink-faint); margin-top: 1.5rem; max-width: 56ch; margin-inline: auto; }

/* prefill note on the contact form */
.quiz-prefill-note { display: flex; gap: 0.6em; align-items: flex-start; margin-bottom: 1.2rem;
  padding: 0.85em 1.1em; border-radius: var(--r-sm); font-size: 0.92rem; font-weight: 500;
  color: var(--pine); background: var(--mint-wash); border: 1px solid rgba(27,143,122,0.28); }

@media (max-width: 560px) { .quiz-option { font-size: 0.96rem; } }
