/* ==========================================================================
   Schoolwise brand tokens
   One accent family (sage on light, mint on dark). Shapes: buttons are pills,
   cards and frames are 20px, small chips 999px.
   ========================================================================== */
:root {
  --paper: #EFECE6;      /* Cream: main background */
  --paper-2: #E7E3DB;    /* Deeper cream: alternate sections */
  --surface: #F8F7F3;    /* Raised cards on cream */
  --ink: #1C1C1A;        /* Text */
  --ink-2: #55544F;      /* Secondary text (6.4:1 on paper) */
  --ink-3: #7B7972;      /* Tertiary, large text only */
  --line: #D6D1C6;
  --forest: #0A231D;     /* Deep green: final call, footer, dark tiles */
  --forest-2: #123229;
  --sage: #2F6B55;       /* Accent on cream */
  --mint: #9FE3C4;       /* Accent on dark */
  --mint-tint: #DDF1E7;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --radius: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --shadow: 0 1px 2px rgba(28, 40, 34, 0.06), 0 12px 32px -12px rgba(28, 40, 34, 0.18);
  --shadow-lg: 0 2px 4px rgba(10, 35, 29, 0.06), 0 40px 80px -30px rgba(10, 35, 29, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--sage);
}
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font: 500 16px/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn i { font-size: 20px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--primary { background: var(--forest); color: var(--paper); box-shadow: 0 8px 20px -10px rgba(10, 35, 29, 0.6); }
.btn--glass {
  background: rgba(248, 247, 243, 0.55); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 20px -12px rgba(10, 35, 29, 0.35);
}
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--mint { background: var(--mint); color: var(--forest); }
.btn--ghost-dark { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(239, 236, 230, 0.28); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--forest-2); }
  .btn--glass:hover { background: rgba(248, 247, 243, 0.8); }
  .btn--outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
  .btn--mint:hover { background: #B5EBD2; }
  .btn--ghost-dark:hover { box-shadow: inset 0 0 0 1px var(--mint); color: var(--mint); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.nav.is-solid {
  background: rgba(239, 236, 230, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(28, 28, 26, 0.08);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: baseline; text-decoration: none; line-height: 1; white-space: nowrap;
  font-family: var(--font); font-weight: 600; font-size: 22px; letter-spacing: -0.045em; color: var(--ink);
}
.brand__w { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -0.01em; color: var(--sage); }
.brand--light { color: var(--paper); }
.brand--light .brand__w { color: var(--mint); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--ink-2); transition: color 160ms var(--ease-out); }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 800px) { .nav__links { display: none; } }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head > p:not(.pain-line) { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 54ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center > p { margin-inline: auto; }
.pain-line {
  display: inline-block; margin-bottom: 18px; font-size: 16px; color: var(--ink-3);
  text-decoration: line-through; text-decoration-color: rgba(123, 121, 114, 0.55); text-decoration-thickness: 1px;
}

/* ---------- Features (scrollytelling) ---------- */
.features { padding: clamp(96px, 14vw, 180px) 0 clamp(64px, 10vw, 140px); }
.features .wrap { max-width: 1400px; }
.scrolly { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.scrolly__steps { padding: 6vh 0 18vh; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: 0.32; transition: opacity 500ms var(--ease-out); }
.step.is-active { opacity: 1; }
.step__shot { display: none; }
.step__pain { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-3); margin-bottom: 16px; }
.step__pain i { font-size: 18px; }
.step h3 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; }
.step h3 + p { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%232F6B55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.scrolly__frame { position: relative; }
.scrolly__sticky { position: sticky; top: calc(50vh - var(--fh, 400px) / 2); }
.frame { position: relative; }
.frame__imgs { position: relative; aspect-ratio: 16 / 10; }

.frame__ticks {
  list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 6px; justify-content: center;
}
.frame__ticks li { width: 22px; height: 3px; border-radius: 3px; background: var(--line); transition: background-color 300ms var(--ease-out), width 300ms var(--ease-out); }
.frame__ticks li.is-active { background: var(--sage); width: 40px; }

@media (max-width: 900px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly__frame { display: none; }
  .scrolly__steps { padding: 0; }
  .step { min-height: 0; opacity: 1; padding: 0 0 72px; }
  .step__shot { display: block; margin: 0 0 24px; }
}

/* ---------- Trust bento ---------- */
.trust { padding: clamp(96px, 13vw, 170px) 0; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(28, 28, 26, 0.06); display: flex; flex-direction: column;
}
.tile > i { font-size: 28px; color: var(--sage); margin-bottom: auto; padding-bottom: 28px; }
.tile h3 { font-size: 19px; }
.tile p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.tile--hero {
  grid-column: span 2; grid-row: span 2; padding: 40px;
  background: var(--forest) radial-gradient(120% 90% at 100% 0%, rgba(159, 227, 196, 0.16), transparent 60%);
  color: var(--paper); box-shadow: var(--shadow-lg);
}
.tile--hero > i { color: var(--mint); font-size: 40px; }
.tile--hero h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; font-weight: 500; line-height: 1.08; }
.tile--hero p { color: rgba(239, 236, 230, 0.75); font-size: 17px; max-width: 40ch; margin-top: 14px; }
.tile__pill {
  align-self: flex-start; margin-top: 28px; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px; background: rgba(239, 236, 230, 0.08);
  box-shadow: inset 0 0 0 1px rgba(239, 236, 230, 0.14); font-size: 14px; color: var(--paper);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(159, 227, 196, 0.18); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tile--hero { grid-row: auto; }
  .tile { min-height: 200px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .tile--hero { grid-column: auto; padding: 32px 28px; }
  .tile { min-height: 0; }
}

/* ---------- Pricing ---------- */
.pricing { padding: clamp(96px, 13vw, 170px) 0; background: var(--paper-2); }
.seg {
  margin: 32px auto 0; display: inline-flex; padding: 4px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
}
.seg button {
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 15px/1 var(--font); color: var(--ink-2);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px;
  border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(28, 28, 26, 0.06);
}
.plan h3 { font-size: 20px; }
.plan__for { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.plan__price { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.plan__price span { font-size: clamp(34px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 15px; color: var(--ink-2); }
.plan__min { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.plan .ticks { margin: 28px 0 32px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan--main {
  background: var(--forest) radial-gradient(100% 70% at 100% 0%, rgba(159, 227, 196, 0.14), transparent 60%);
  color: var(--paper); box-shadow: var(--shadow-lg); transform: translateY(-12px);
}
.plan--main .plan__for, .plan--main .plan__price small, .plan--main .plan__min { color: rgba(239, 236, 230, 0.72); }
.plan--main .ticks li::before { background-color: rgba(159, 227, 196, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%239FE3C4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__badge {
  position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px;
  background: var(--mint); color: var(--forest); font-size: 13px; font-weight: 600;
}
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--main { transform: none; order: -1; }
}

.estimate {
  margin: 48px auto 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 32px 36px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
}
.estimate label { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.estimate__row { margin-top: 18px; display: flex; align-items: center; gap: 18px; }
.estimate output { min-width: 3.5ch; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 28px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(var(--sage), var(--sage)) 0 / var(--fill, 20%) 100% no-repeat, var(--line); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--sage); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 0 0 1px rgba(28, 28, 26, 0.12), 0 4px 10px rgba(10, 35, 29, 0.2);
  transition: transform 140ms var(--ease-out);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px rgba(28, 28, 26, 0.12), 0 4px 10px rgba(10, 35, 29, 0.2); }
.estimate__plan { font-size: 15px; color: var(--sage); font-weight: 600; }
.estimate__value { margin-top: 4px; font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.estimate__note { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .estimate { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; } }

.offer {
  margin: 24px auto 0; max-width: 1000px; display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2);
}
.offer i { font-size: 22px; color: var(--sage); flex: none; }
.offer strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(96px, 13vw, 170px) 0; }
.faq__inner { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head p { margin-top: 16px; color: var(--ink-2); }
.faq__head a { color: var(--sage); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.015em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform 220ms var(--ease-out);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq__list details[open] p { animation: fade-up 260ms var(--ease-out); }
}
@media (max-width: 860px) {
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

.footer { background: var(--forest); color: rgba(239, 236, 230, 0.7); border-top: 1px solid rgba(239, 236, 230, 0.1); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 40px; font-size: 15px; }
.footer .serif { color: var(--mint); }
.footer .brand { font-size: 20px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--paper); }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}


/* ---------- App screen frame (shared) ---------- */
.screen {
  margin: 0; position: relative; overflow: hidden; border-radius: 14px; background: #F1F5FD;
  box-shadow: 0 0 0 1px rgba(15, 37, 87, 0.08), 0 2px 4px rgba(10, 35, 29, 0.05), 0 30px 70px -28px rgba(10, 35, 29, 0.4);
}
.screen__bar { display: flex; gap: 6px; align-items: center; height: 28px; padding: 0 12px; background: #E6EBF5; border-bottom: 1px solid rgba(15, 37, 87, 0.06); }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D2E3; }
.screen img { width: 100%; height: auto; }
.frame__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: scale(1.02); transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out); }
.frame__imgs img.is-active { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 104px 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(42px, 4.5vw, 72px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; white-space: nowrap; }
@media (max-width: 420px) { .hero__title .line { white-space: normal; } }
.hero__title .line > * { display: inline-block; }
.hero__title .serif { font-size: 1.08em; letter-spacing: -0.02em; }
.hero__sub { margin-top: 22px; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn i { font-size: 18px; }
.hero__for { margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.hero__visual { position: relative; padding: 0 0 12% 0; }
.hero__photo { margin: 0 0 0 10%; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__screen { position: absolute; left: -6%; bottom: 0; width: 70%; }
.hero__chip {
  position: absolute; right: 6%; top: 8%; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: rgba(248, 247, 243, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 500;
}
.hero__chip i { color: var(--sage); font-size: 18px; }
[data-depth] { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > * { animation: rise 900ms var(--ease-out) both; }
  .hero__title .line:nth-child(2) > * { animation-delay: 90ms; }
  .hero__sub, .hero__ctas, .hero__for { animation: fade-up 800ms var(--ease-out) both; }
  .hero__sub { animation-delay: 240ms; } .hero__ctas { animation-delay: 320ms; } .hero__for { animation-delay: 400ms; }
  .hero__photo { animation: fade-up 1000ms var(--ease-out) 150ms both; }
  .hero__screen { animation: fade-up 1000ms var(--ease-out) 420ms both; }
  .hero__chip { animation: chip 700ms var(--ease-out) 1100ms both; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes chip { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 16px; }
  .hero__photo { margin-left: 8%; }
}
@media (max-width: 520px) {
  .hero__ctas { flex-direction: column; } .hero__ctas .btn { width: 100%; }
  .hero__chip { font-size: 12px; padding: 8px 12px; right: 0; top: 4%; }
  .hero__screen { width: 78%; left: -2%; }
}

/* ---------- Problem ---------- */
.problem { padding: clamp(72px, 10vw, 140px) 0; background: var(--paper-2); }
.problem__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.problem__photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1.05; }
.problem__photo img { width: 100%; height: 100%; object-fit: cover; }
.problem__copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.pains { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.pains li { font-size: 15px; color: var(--ink-2); padding-left: 26px; position: relative; }
.pains li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pains strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 900px) { .problem__grid { grid-template-columns: 1fr; } .problem__photo { aspect-ratio: 3 / 2; } }
@media (max-width: 520px) { .pains { grid-template-columns: 1fr; } }

/* ---------- Story (pinned turn) ---------- */
.story { position: relative; height: 380vh; background: var(--paper); }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.story__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.beat { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); text-align: center; opacity: 0; pointer-events: none; }
.beat--low { padding-top: 150px; }
.beat__lead { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; max-width: 20ch; text-wrap: balance; }
.beat .beat__lead { padding: 4px 18px; background: var(--paper); border-radius: 16px; }
.story__reveal {
  position: absolute; inset: 0; clip-path: circle(0px at 50% 50%); will-change: clip-path;
  display: grid; place-items: center; padding: 90px var(--gutter) 110px;
  background: var(--forest) radial-gradient(90% 70% at 50% 40%, #1A4436, var(--forest) 70%);
}
.story__screen { width: min(1120px, 100%); }
.story__tag {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vh, 52px); width: fit-content; margin: 0 auto;
  font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: var(--paper); opacity: 0;
}
.story__tag .serif { color: var(--mint); }
.story__static { display: none; }

/* ---------- Who it's for ---------- */
.who { padding: clamp(96px, 13vw, 170px) 0; background: var(--paper-2); }
.people { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.person { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.person::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(transparent, rgba(10, 35, 29, 0.86)); }
.person__text { position: relative; z-index: 1; padding: 28px; color: var(--paper); }
.person__text h3 { font-size: 20px; }
.person__text p { margin-top: 8px; font-size: 15px; color: rgba(239, 236, 230, 0.82); max-width: 42ch; }
@media (hover: hover) and (pointer: fine) { .person:hover img { transform: scale(1.03); } }
.who__screen { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1080px; }
.who__screen figcaption { padding: 14px 18px; font-size: 14px; color: var(--ink-2); background: var(--surface); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .people { grid-template-columns: 1fr 1fr; } .person--wide { grid-column: span 2; } .person { min-height: 380px; } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } .person--wide { grid-column: auto; } }

/* ---------- Proof ---------- */
.proof { padding: clamp(80px, 12vw, 150px) 0; }
.proof__inner { max-width: 980px; }
.proof__quote { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.proof__body { margin-top: 24px; max-width: 58ch; font-size: 19px; color: var(--ink-2); }

.pricing__band { margin: 0 auto clamp(40px, 5vw, 64px); max-width: 1100px; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 7; box-shadow: var(--shadow); }
.pricing__band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.pricing__band figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px; width: fit-content; max-width: calc(100% - 40px);
  padding: 10px 16px; border-radius: 12px; background: rgba(248, 247, 243, 0.9); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500;
}
@media (max-width: 640px) { .pricing__band { aspect-ratio: 4 / 3; } }

/* ---------- Final call ---------- */
.final { position: relative; overflow: hidden; color: var(--paper); background: var(--forest); padding: clamp(120px, 16vw, 220px) 0; }
.final__bg { position: absolute; inset: 0; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 35, 29, 0.96) 0%, rgba(10, 35, 29, 0.88) 38%, rgba(10, 35, 29, 0.25) 75%, rgba(10, 35, 29, 0.1)); }
.final__inner { position: relative; }
.final__inner h2 { font-size: clamp(40px, 5.6vw, 80px); max-width: 13ch; line-height: 1.02; }
.final .serif { color: var(--mint); }
.final__inner p { margin-top: 24px; max-width: 44ch; color: rgba(239, 236, 230, 0.8); font-size: 19px; }
.final__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.final__dot { display: block; width: 26px; height: 26px; border-radius: 50%; margin-bottom: 32px;
  background: radial-gradient(circle at 35% 30%, #D4F5E5, var(--mint) 45%, #6FC9A3);
  box-shadow: 0 0 0 10px rgba(159, 227, 196, 0.1), 0 0 0 24px rgba(159, 227, 196, 0.05); }
@media (max-width: 760px) { .final__bg::after { background: linear-gradient(rgba(10, 35, 29, 0.78), rgba(10, 35, 29, 0.94)); } }

.link { background: none; border: 0; padding: 0; font: inherit; color: var(--sage); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer .link { color: inherit; text-decoration: none; }
.footer .link:hover { color: var(--paper); }

/* ---------- Contact dialog ---------- */
.contact { padding: 0; border: 0; background: transparent; width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.contact::backdrop { background: rgba(10, 35, 29, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.contact__box { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); }
.contact__box h2 { font-size: clamp(28px, 3vw, 38px); padding-right: 40px; }
.contact__lede { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.contact__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--paper); color: var(--ink); font-size: 18px; transition: transform 140ms var(--ease-out); }
.contact__close:active { transform: scale(0.94); }
.contact__grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #8A8880; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(47, 107, 85, 0.18); }
.field__err { display: none; font-size: 13px; color: #A23B2A; }
.field.is-bad .field__err { display: block; }
.field.is-bad input, .field.is-bad textarea { border-color: #A23B2A; }
.contact__foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact__note { font-size: 13px; color: var(--ink-2); }
.contact__done { text-align: center; padding: 24px 0 8px; }
.contact__done > i { font-size: 48px; color: var(--sage); }
.contact__done h2 { margin-top: 12px; padding: 0; }
.contact__done p { margin: 12px auto 24px; color: var(--ink-2); max-width: 44ch; }
@media (max-width: 560px) { .contact__grid { grid-template-columns: 1fr; } .contact__foot .btn { width: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .contact[open] .contact__box { animation: pop 260ms var(--ease-out); }
}
@keyframes pop { from { opacity: 0; transform: scale(0.97) translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Reduced motion: unpin the story ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story { height: auto; }
  .story__stage { display: none; }
  .story__static { display: grid; gap: 36px; justify-items: center; text-align: center; padding: clamp(80px, 12vw, 140px) var(--gutter); }
  .story__static .screen { max-width: 1080px; width: 100%; }
  .frame__imgs img, .step { transition: none; }
}
