/* Self-hosted fonts (SIL OFL): Fraunces + Spline Sans — no requests leave subcoach.app */
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/splinesans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/splinesans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   SubCoach — "Sanctuary"
   Warm editorial world built on the SubCoach illustration system.
   ============================================================ */

:root {
  --beige: #FFF5E9;
  --cream: #FFF9F4;
  --sand: #F3E7D0;
  --ink: #3E3428;
  --ink-soft: #6E5F4B;
  --sage: #5DBB63;
  --sage-deep: #3E7C46;
  --sage-soft: #DDEEDA;
  --terracotta: #E58B68;
  --terracotta-deep: #D77A55;
  --peach-soft: #FBE4D6;
  --shadow: #CBAE8B;
  --line: #E2D0B5;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Spline Sans", "Noto Sans", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--terracotta); color: var(--cream); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 480;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 28px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), background .25s, color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 6px 0 0 var(--sage-deep);
}
.btn--primary:hover { box-shadow: 0 9px 0 0 var(--sage-deep); background: #63c76a; }
.btn--primary:active { box-shadow: 0 2px 0 0 var(--sage-deep); }

.btn--dark {
  background: var(--ink);
  color: var(--beige);
  box-shadow: 0 6px 0 0 #241d14;
}
.btn--dark:hover { box-shadow: 0 9px 0 0 #241d14; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--shadow); background: var(--cream); }

.btn--outline-light {
  background: transparent;
  color: var(--beige);
  border-color: rgba(255, 245, 233, .45);
}
.btn--outline-light:hover { border-color: var(--beige); background: rgba(255,245,233,.08); }

.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--big { padding: 19px 38px; font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.is-scrolled {
  background: rgba(255, 245, 233, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__mark { width: 22px; height: 38px; transition: transform .6s var(--ease-spring); }
/* the mark is rotationally symmetric at 180deg, so this half-turn swaps
   the two colours without changing the shape — the handoff, on hover. */
.nav__logo:hover .nav__mark { transform: rotate(180deg); }
.nav__word {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 24px;
  letter-spacing: -.01em;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; gap: 10px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 26px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
}
.mobile-menu a.btn { font-family: var(--font-body); font-size: 17px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 44%) 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 60px);
  padding: 130px clamp(20px, 4vw, 56px) 40px;
  max-width: 1560px;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 75, "WONK" 1;
  font-weight: 460;
  font-size: clamp(52px, 6.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }

@keyframes rise { to { transform: translateY(0); } }

.accent-word {
  position: relative;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--sage-deep);
}
.underline-swash {
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: .18em;
  overflow: visible;
}
.underline-swash path {
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  animation: draw 1s var(--ease-out) .9s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__sub {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.proof { display: flex; flex-direction: column; }
.proof strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 560;
  line-height: 1;
  color: var(--terracotta-deep);
}
.proof span { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.proof__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }

.hero__scene { position: relative; will-change: transform; }
.scene-svg {
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow: 0 30px 80px -30px rgba(62, 52, 40, .35);
}

.hero__hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  animation: hint-bob 2.4s ease-in-out infinite;
}
@keyframes hint-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ----- scene animations ----- */
.sun { animation: sun-breathe 7s ease-in-out infinite; transform-origin: 600px 392px; }
@keyframes sun-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.09); }
}

.cloud--1 { animation: drift 26s linear infinite; }
.cloud--2 { animation: drift 34s linear infinite reverse; }
@keyframes drift {
  from { transform: translateX(0); }
  50% { transform: translateX(46px); }
  to { transform: translateX(0); }
}

.sway { animation: sway 6.5s ease-in-out infinite; }
.sway--slow { animation-duration: 9s; }
@keyframes sway {
  0%, 100% { transform: rotate(-2.4deg); }
  50% { transform: rotate(2.4deg); }
}

.pendant--1 { animation: pendulum 7s ease-in-out infinite; transform-origin: 180px 0; }
.pendant--2 { animation: pendulum 8.4s ease-in-out infinite reverse; transform-origin: 1010px 0; }
@keyframes pendulum {
  0%, 100% { transform: rotate(-1.6deg); }
  50% { transform: rotate(1.6deg); }
}
.bulb { animation: glow 4s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

.breathe { animation: body-breathe 5.4s ease-in-out infinite; }
@keyframes body-breathe {
  0%, 100% { transform: scale(1, 1); }
  45% { transform: scale(1.016, 1.035); }
  60% { transform: scale(1.016, 1.035); }
}

.float-card--1 { animation: hover-float 6s ease-in-out infinite; }
.float-card--2 { animation: hover-float 7.2s ease-in-out 1.2s infinite; }
.float-card--3 { animation: hover-float 6.6s ease-in-out .6s infinite; }
@keyframes hover-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

.hill--far { animation: hill-shift 12s ease-in-out infinite; }
@keyframes hill-shift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-9px); }
}

/* ---------- ribbon marquee ---------- */
.ribbon {
  background: var(--ink);
  color: var(--beige);
  overflow: hidden;
  padding: 17px 0;
  transform: rotate(-1.1deg) scale(1.02);
  margin: 10px 0 0;
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  font-weight: 460;
  white-space: nowrap;
}
.ribbon__track i { font-style: normal; color: var(--terracotta); font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- story / chat ---------- */
.story { padding: clamp(90px, 12vw, 170px) clamp(20px, 4vw, 56px); }
.story__inner { max-width: 760px; margin: 0 auto; text-align: center; }

.chat { margin-top: 56px; display: flex; flex-direction: column; gap: 22px; text-align: left; }

.chat__msg { display: flex; gap: 14px; align-items: flex-end; max-width: 520px; }
.chat__msg--app { align-self: flex-end; flex-direction: row-reverse; }

.chat__avatar {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-weight: 700;
  font-size: 19px;
}
.chat__avatar--app { background: var(--ink); }

.chat__bubble {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px 22px 22px 6px;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 8px 24px -14px rgba(62,52,40,.25);
  position: relative;
}
.chat__bubble strong { display: block; font-size: 13px; color: var(--terracotta-deep); margin-bottom: 4px; letter-spacing: .02em; }
.chat__bubble time { display: block; font-size: 11px; color: var(--shadow); margin-top: 7px; }
.chat__bubble--app {
  background: var(--sage-soft);
  border-color: #cfe4cb;
  border-radius: 22px 22px 6px 22px;
}
.chat__bubble--app strong { color: var(--sage-deep); }

.chat__panic {
  align-self: center;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.chat__panic span { letter-spacing: .16em; text-transform: uppercase; font-size: 11px; display: block; margin-bottom: 4px; }
.chat__panic em { text-decoration: line-through; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; }

.chat__done {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(93, 187, 99, .6);
}

/* ---------- how ---------- */
.how {
  padding: clamp(90px, 12vw, 170px) clamp(20px, 4vw, 56px);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, var(--sand), transparent),
    var(--beige);
}
.how__head { text-align: center; max-width: 700px; margin: 0 auto 70px; }

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px 26px 34px;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out);
}
.step:hover {
  transform: translateY(-8px) rotate(-.4deg);
  box-shadow: 0 26px 60px -24px rgba(62, 52, 40, .3);
}
.step__art { margin-bottom: 24px; }
.step__art svg { width: 100%; height: auto; border-radius: 20px; }
.step h3 {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.step__num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--terracotta);
}
.step p { color: var(--ink-soft); font-size: 15.5px; }

.step__pulse { animation: pulse-badge 2.6s ease-in-out infinite; transform-origin: 212px 42px; }
@keyframes pulse-badge { 0%,100% { transform: scale(1);} 50% { transform: scale(1.14);} }

.ripple-rings circle { transform-origin: 150px 110px; animation: ripple 3.2s ease-out infinite; }
.ripple-rings circle:nth-child(2) { animation-delay: .5s; }
.ripple-rings circle:nth-child(3) { animation-delay: 1s; }
@keyframes ripple {
  0% { transform: scale(.55); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

.step__hire { animation: hire-pop 3.4s var(--ease-spring) infinite; transform-origin: 166px 138px; }
@keyframes hire-pop { 0%, 78%, 100% { transform: scale(1); } 86% { transform: scale(1.1); } }

.step__stars { animation: star-spin 5s ease-in-out infinite; transform-origin: 233px 86px; }
@keyframes star-spin { 0%,100% { transform: rotate(0); } 50% { transform: rotate(18deg); } }

/* ---------- splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 4vw, 56px);
}
.split__art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(62, 52, 40, .18));
}

.feature-list { list-style: none; margin: 8px 0 34px; display: flex; flex-direction: column; gap: 24px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-list__icon {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 23px;
}
.feature-list strong { display: block; font-size: 17.5px; margin-bottom: 3px; }
.feature-list p { color: var(--ink-soft); font-size: 15px; }

.jobcard--1 { animation: card-in 4.8s ease-in-out infinite; }
.jobcard--2 { animation: card-in 4.8s ease-in-out .35s infinite; }
.jobcard--3 { animation: card-in 4.8s ease-in-out .7s infinite; }
@keyframes card-in {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ---------- stats ---------- */
.stats {
  background: var(--ink);
  color: var(--beige);
  padding: clamp(70px, 8vw, 110px) clamp(20px, 4vw, 56px);
}
.stats__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1;
  margin-bottom: 10px;
}
.stat strong em { font-style: normal; font-size: .45em; color: var(--terracotta); }
.stat > span { color: rgba(255, 245, 233, .62); font-size: 15px; }

/* ---------- ornament divider ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 0 0;
}
.ornament::before, .ornament::after {
  content: "";
  width: clamp(50px, 9vw, 130px);
  height: 1.5px;
  background: var(--line);
}
.ornament svg { width: 30px; opacity: .9; animation: ornament-spin 14s linear infinite; }
@keyframes ornament-spin { to { transform: rotate(360deg); } }

/* ---------- quote ---------- */
.quote { padding: clamp(90px, 12vw, 170px) clamp(20px, 4vw, 56px); }
.quote__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.quote__mark { width: 56px; margin: 0 auto 30px; }
.quote blockquote {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-weight: 440;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.28;
  letter-spacing: -.01em;
}
.quote cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  color: var(--beige);
  overflow: hidden;
  text-align: center;
}
.cta__wave {
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  z-index: 2;
}
.cta__scene { position: absolute; inset: 0; }
.cta__scene svg { width: 100%; height: 100%; }
.cta__content {
  position: relative;
  padding: clamp(90px, 11vw, 150px) clamp(20px, 4vw, 56px) clamp(100px, 12vw, 170px);
  max-width: 760px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-weight: 450;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.05;
  margin: 40px 0 18px;
}
.cta__sub { color: rgba(255,245,233,.75); font-size: 18px; margin-bottom: 40px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

.twinkle circle { animation: twinkle 3.4s ease-in-out infinite; }
.twinkle circle:nth-child(2n) { animation-delay: 1.1s; }
.twinkle circle:nth-child(3n) { animation-delay: 2.2s; }
@keyframes twinkle { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
.cta-moon { animation: glow 6s ease-in-out infinite; }

/* breathe widget */
.breathe-widget {
  position: relative;
  width: 130px; height: 130px;
  margin: 0 auto;
  cursor: pointer;
  display: grid;
  place-items: center;
  outline: none;
}
.breathe-widget__circle {
  position: absolute;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F5A07C, var(--terracotta-deep));
  transition: transform 4s cubic-bezier(.45, 0, .55, 1);
  transform: scale(.72);
}
.breathe-widget__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,245,233,.4);
  animation: ring-rotate 26s linear infinite;
}
@keyframes ring-rotate { to { transform: rotate(360deg); } }
.breathe-widget__label {
  position: absolute;
  bottom: -30px;
  width: 200px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,245,233,.7);
  transition: opacity .4s;
}
.breathe-widget.is-breathing .breathe-widget__circle { transform: scale(1.35); }
.breathe-widget.is-exhaling .breathe-widget__circle { transform: scale(.72); }

/* ---------- footer ---------- */
.footer {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 7vw, 90px) clamp(20px, 4vw, 56px) 34px;
}
.footer__inner {
  max-width: 1240px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__brand span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 560;
  margin-top: 10px;
}
.footer__brand p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__col h4 {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 6px;
}
.footer__col a { color: var(--ink-soft); font-size: 15px; transition: color .25s, transform .25s; }
.footer__col a:hover { color: var(--ink); transform: translateX(4px); }
.footer__base {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.footer__om { letter-spacing: .12em; }

/* ---------- anchor offsets & ornaments ---------- */
section[id] { scroll-margin-top: 84px; }

.how__steps { position: relative; }
.how__steps::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 8%;
  right: 8%;
  border-top: 2px dashed var(--shadow);
  opacity: .4;
  z-index: -1;
}
@media (max-width: 1080px) { .how__steps::before { display: none; } }

@media (max-width: 720px) {
  .proof__dot { display: none; }
  .hero__proof { gap: 26px; }
}

/* ---------- reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- guide page ---------- */
.guide-hero {
  padding: 170px clamp(20px, 4vw, 56px) 70px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, var(--peach-soft), transparent),
    var(--beige);
}
.guide-hero h1 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-weight: 470;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.guide-hero p { color: var(--ink-soft); font-size: 18px; max-width: 56ch; margin: 0 auto; }

.guide-toc {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 34px clamp(20px, 4vw, 56px) 10px;
}
.guide-toc a {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .3s var(--ease-out);
}
.guide-toc a:hover, .guide-toc a.is-active {
  background: var(--ink);
  color: var(--beige);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.guide-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 50px clamp(20px, 4vw, 56px) 120px;
}
.guide-chapter { margin-top: 90px; scroll-margin-top: 110px; }
.guide-chapter:first-of-type { margin-top: 16px; }
.guide-chapter__head { display: flex; align-items: center; gap: 20px; margin-bottom: 34px; }
.guide-chapter__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 60px;
  font-weight: 440;
  color: var(--terracotta);
  line-height: 1;
}
.guide-chapter__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -.015em;
}
.guide-chapter > p { color: var(--ink-soft); font-size: 17px; margin-bottom: 26px; max-width: 66ch; }

.guide-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 34px;
  margin-bottom: 20px;
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px -22px rgba(62,52,40,.28); }
.guide-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 540;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.guide-card h3 .num {
  font-family: var(--font-body);
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.guide-card p { color: var(--ink-soft); font-size: 15.5px; }
.guide-card .tip {
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--peach-soft);
  font-size: 14px;
  color: var(--terracotta-deep);
  display: flex;
  gap: 10px;
}

.guide-faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}
.guide-faq summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--terracotta);
  transition: transform .35s var(--ease-out);
}
.guide-faq details[open] summary::after { transform: rotate(45deg); }
.guide-faq details p { padding-top: 14px; color: var(--ink-soft); font-size: 16px; max-width: 64ch; }

.guide-cta {
  margin-top: 100px;
  text-align: center;
  background: var(--sage-soft);
  border-radius: 32px;
  padding: 60px 40px;
}
.guide-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 14px;
}
.guide-cta p { color: var(--ink-soft); margin-bottom: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions, .hero__proof { justify-content: center; }
  .hero__scene { max-width: 760px; margin: 0 auto; }
  .how__steps { grid-template-columns: 1fr; max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .split--studios .split__art { order: 2; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero { padding-top: 104px; }
  .hero__hint { display: none; }
  .chat__msg { max-width: 100%; }
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .ribbon { transform: rotate(0) scale(1); }
}

/* ---------- focus & a11y ---------- */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

/* step art inner zoom */
.step__art { overflow: hidden; border-radius: 20px; }
.step__art svg { transition: transform .8s var(--ease-out); }
.step:hover .step__art svg { transform: scale(1.05); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- contact page ---------- */
.contact-page {
  padding: 170px clamp(20px, 4vw, 56px) 90px;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, var(--sage-soft), transparent),
    var(--beige);
}
.contact-page__inner { max-width: 680px; margin: 0 auto; }
.contact-page .section-title { font-size: clamp(40px, 5.4vw, 72px); }
.contact-page__lede { color: var(--ink-soft); font-size: 18px; max-width: 58ch; margin-bottom: 44px; }
.contact-page__lede a, .form-alt a, .form-privacy a, .form-status a {
  color: var(--sage-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form { display: flex; flex-direction: column; gap: 26px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-weight: 600; font-size: 16px; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 170px; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--shadow); }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.contact-form .btn:focus-visible,
.form-status__again:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 2px;
  border-color: var(--sage-deep);
}
.form-field--err input, .form-field--err select, .form-field--err textarea { border-color: var(--terracotta-deep); }
.form-err { color: #B3542E; font-weight: 600; font-size: 15px; }

.form-privacy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
}
.contact-form .btn { align-self: flex-start; }
.form-alt { color: var(--ink-soft); font-size: 15px; }

.form-status {
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 40px;
}
.form-status h2 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 10px;
}
.form-status p { color: var(--ink-soft); max-width: 60ch; }
.form-status ul { margin: 10px 0 0 22px; }
.form-status--ok { background: var(--sage-soft); border: 2px solid var(--sage); }
.form-status--err { background: var(--peach-soft); border: 2px solid var(--terracotta); }
.form-status--err a { color: #B3542E; }
.form-status__again { color: var(--sage-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* honeypot — visually removed, still in the DOM for bots */
.hp-wrap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* legal links line in slim footers */
.footer__legal-line { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal-line a { color: var(--ink-soft); }
.footer__legal-line a:hover { color: var(--sage-deep); }

/* ---------- legal pages ---------- */
.legal-page {
  padding: 150px clamp(20px, 4vw, 56px) 90px;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, var(--peach-soft), transparent),
    var(--beige);
}
.legal-page__inner { max-width: 72ch; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.legal-page h1 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-weight: 470;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: 14px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin: 48px 0 16px;
}
.legal-page h3 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.legal-page h1, .legal-page h2, .legal-page h3 { scroll-margin-top: 110px; }
.legal-page p, .legal-page ul, .legal-page ol { margin-bottom: 16px; }
.legal-page ul, .legal-page ol { padding-left: 26px; }
.legal-page li { margin-bottom: 8px; }
.legal-page li > p { margin-bottom: 10px; }
.legal-page a { color: var(--sage-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 2px; }
.legal-page code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--sand);
  padding: 2px 6px;
  border-radius: 6px;
}
.legal-page blockquote {
  background: var(--cream);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin: 0 0 18px;
  color: var(--ink);
}
.legal-page blockquote p:last-child { margin-bottom: 0; }
.legal-page hr { border: none; border-top: 2px solid var(--line); margin: 46px 0; }
.legal-meta { color: var(--ink-soft); font-size: 15px; margin: -4px 0 20px; }

.legal-toc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 0 0 36px;
}
.legal-toc h2 { margin: 0 0 10px; font-size: 20px; }
.legal-toc ol { margin: 0; padding-left: 22px; }
.legal-toc li { margin-bottom: 4px; }

.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--sand); font-weight: 600; }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap thead:empty, .table-wrap th:empty { padding: 0; border: none; }
