/* Fernway: landing page styles */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F6F3EA;
  --paper-2: #EDE8D9;
  --card: #FFFDF7;
  --ink: #16271F;
  --ink-soft: #4A5B52;
  --line: #DCD5C3;
  --forest: #1D5A45;
  --forest-deep: #143F31;
  --fern: #2F8F68;
  --fern-text: #26775A;
  --sprout: #D7E8CF;
  --amber: #C2702F;
  --amber-soft: #F6E2CD;
  --error: #B3261E;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(22, 39, 31, .06), 0 12px 32px -12px rgba(22, 39, 31, .18);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

p { margin: 0; }

a { color: var(--forest); }
a:hover { color: var(--fern-text); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 1rem/1 var(--sans);
  color: #fff;
  background: var(--forest);
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  height: 52px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--forest-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-small { height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn-light { background: var(--sprout); color: var(--forest-deep); }
.btn-light:hover { background: #fff; color: var(--forest-deep); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 234, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo img { height: 30px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero::before {
  /* faint contour lines, a nod to a trail map */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 88% 30%, transparent 0 39%, rgba(29, 90, 69, .07) 39.2% 39.6%, transparent 39.8% 49%, rgba(29, 90, 69, .06) 49.2% 49.6%, transparent 49.8% 59%, rgba(29, 90, 69, .05) 59.2% 59.6%, transparent 59.8% 69%, rgba(29, 90, 69, .04) 69.2% 69.6%, transparent 69.8%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--sprout);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fern);
  box-shadow: 0 0 0 0 rgba(47, 143, 104, .5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 143, 104, .45); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(47, 143, 104, 0); }
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 11ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--fern-text);
}
.lede {
  margin-top: 24px;
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 34em;
}

/* ---------- Forms ---------- */
.waitlist { margin-top: 36px; }
.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #8A938C; }
.field input:hover,
.field select:hover { border-color: #C3BBA6; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--fern);
  box-shadow: 0 0 0 4px rgba(47, 143, 104, .18);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select { padding-right: 40px; cursor: pointer; }
.field select:invalid { color: #6F7871; }
.field select option { color: var(--ink); }

.field-error {
  min-height: 0;
  font-size: .875rem;
  color: var(--error);
  font-weight: 500;
}
.field-error:empty { display: none; }

/* button sits level with the inputs, below the labels */
.field-row .btn-submit { margin-top: calc(.875rem * 1.6 + 6px); }

.form-note {
  margin-top: 14px;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.form-success {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--card);
  border: 1.5px solid var(--sprout);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-success[hidden] { display: none; }
.success-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sprout);
}
.success-mark img { width: 30px; height: 30px; }
.form-success strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  margin-bottom: 4px;
}
.form-success p { color: var(--ink-soft); }
.form-success p + p { margin-top: 6px; font-size: .9375rem; }
.waitlist.is-done > :not(.form-success) { display: none; }

/* ---------- Hero preview card ---------- */
.hero-visual { margin: 0; }
.preview-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 40px 80px -40px rgba(29, 90, 69, .35);
  padding: 24px;
  transform: rotate(1.2deg);
}
.preview-stack { position: relative; isolation: isolate; }
.preview-stack::before {
  /* a second sheet peeking out behind */
  content: "";
  position: absolute;
  inset: 14px -12px -14px 12px;
  background: var(--sprout);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: rotate(-3deg);
}

.pc-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  flex: none;
}
.pc-who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pc-who strong { font-size: 1rem; }
.pc-who span { font-size: .8125rem; color: var(--ink-soft); }
.pill {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-amber { background: var(--amber-soft); color: #8A4A17; }

.pc-trail {
  list-style: none;
  margin: 22px 0 6px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  font-size: .75rem;
  color: var(--ink-soft);
  text-align: center;
}
.pc-trail::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  top: 6px;
  border-top: 2px dashed var(--line);
}
.pc-trail li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pc-trail span {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--line);
}
.pc-trail .is-done span { background: var(--fern); border-color: var(--fern); }
.pc-trail .is-next span { border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.pc-trail .is-done, .pc-trail .is-next { color: var(--ink); font-weight: 600; }

.pc-label {
  margin-top: 18px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.pc-tasks { list-style: none; margin: 10px 0 0; padding: 0; }
.pc-tasks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #ECE6D6;
  font-size: .875rem;
}
.pc-tasks i {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid #BDB5A0;
  position: relative;
}
.pc-tasks .is-done i { background: var(--fern); border-color: var(--fern); }
.pc-tasks .is-done i::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pc-tasks .is-doing i { border-color: var(--amber); background: conic-gradient(var(--amber) 0 50%, transparent 50%); }
.pc-tasks .is-done .t { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: #B9B19C; }
.pc-tasks .t { flex: 1; min-width: 0; }
.pc-tasks .who {
  font-size: .75rem;
  font-weight: 600;
  color: var(--forest);
  background: #EEF4EA;
  padding: 2px 8px;
  border-radius: 6px;
}
.pc-tasks .due { font-size: .75rem; color: var(--ink-soft); min-width: 48px; text-align: right; }
.pc-tasks .is-done .who { color: var(--ink-soft); background: #F1EEE5; }

.pc-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F1F6EE;
  color: var(--forest);
  font-size: .8125rem;
  font-weight: 500;
}
.pc-foot svg { flex: none; }

.hero-visual figcaption {
  margin-top: 28px;
  font-size: .8125rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fern-text);
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
}
.section-sub {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 40em;
}

/* Problem */
.problem { background: var(--card); border-block: 1px solid var(--line); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  padding: 28px 28px 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.problem-card .when {
  font-size: .8125rem;
  font-weight: 600;
  color: #8A4A17;
  margin-bottom: 12px;
}
.problem-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.problem-card p:last-child { color: var(--ink-soft); }
.pull {
  margin: 64px auto 0;
  max-width: 820px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pull strong { font-weight: 500; font-style: italic; color: var(--fern-text); }

/* Path */
.stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.stage {
  padding: 0 20px;
  position: relative;
}
.stage + .stage { border-left: 1px dashed var(--line); }
.stage-art {
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 2px solid var(--forest);
  margin: 0 -20px 24px;
  position: relative;
}
.stage-art img { height: 180px; width: auto; }
.stage-art::after {
  /* milestone marker on the ground line */
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--forest);
  transform: translateX(-50%);
}
.stage:first-child .stage-art::after { background: var(--forest); }
.stage-when {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fern-text);
}
.stage h3 { font-size: 1.375rem; margin: 6px 0 14px; }
.stage ul { list-style: none; margin: 0; padding: 0; }
.stage ul li {
  position: relative;
  padding-left: 18px;
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.stage ul li + li { margin-top: 10px; }
.stage ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50% 0;
  background: var(--fern);
}

/* Features */
.features { background: var(--forest-deep); color: #EAF1E6; }
.features .kicker { color: #A9D3B8; }
.features h2 { color: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--forest-deep);
  padding: 36px 32px 40px;
  transition: background-color .25s ease;
}
.feature:hover { background: #18493A; }
.f-icon { width: 40px; height: 40px; color: #8FD1AE; margin-bottom: 22px; }
.feature h3 { font-size: 1.375rem; color: #fff; margin-bottom: 10px; }
.feature p { color: #BFD3C6; font-size: 1rem; }

/* Fit */
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.fit-lists { display: grid; gap: 20px; }
.fit-col {
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.fit-col h3 { font-size: 1.25rem; margin-bottom: 14px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}
.fit-col li + li { margin-top: 10px; }
.fit-col li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
}
.fit-yes li::before {
  background-color: var(--sprout);
  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.5 2.5L14 7.5' fill='none' stroke='%231D5A45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fit-no { background: transparent; border-style: dashed; }
.fit-no li::before {
  background-color: #ECE6D6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 10h7' fill='none' stroke='%234A5B52' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Beta */
.beta { padding-top: 0; }
.beta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  padding: 64px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 0% 100%, rgba(143, 209, 174, .18), transparent 45%),
    var(--forest);
  color: #EAF1E6;
  position: relative;
  overflow: hidden;
}
.beta-card::after {
  /* oversized frond watermark */
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 340px;
  height: 340px;
  background: url("../../brand/fernway-mark-white.svg") no-repeat center / contain;
  opacity: .05;
  pointer-events: none;
}
.kicker-light { color: #A9D3B8; }
.beta h2 { color: #fff; }
.beta-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.beta-points li { padding-left: 22px; position: relative; color: #C9DBCF; }
.beta-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  border-radius: 50% 0;
  background: #8FD1AE;
}
.beta-points strong { color: #fff; font-weight: 600; }

.waitlist-dark {
  margin: 0;
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.form-title { font-size: 1.625rem; color: #fff; }
.waitlist-dark .field label { color: #EAF1E6; }
.waitlist-dark .field input,
.waitlist-dark .field select { border-color: transparent; }
.waitlist-dark .field input:focus,
.waitlist-dark .field select:focus { border-color: #8FD1AE; box-shadow: 0 0 0 4px rgba(143, 209, 174, .3); }
.waitlist-dark .field [aria-invalid="true"] { border-color: #FFB4A9; }
.waitlist-dark .field-error { color: #FFC9C0; }
.waitlist-dark .btn-submit { width: 100%; margin-top: 4px; }
.waitlist-dark .form-note { margin-top: 0; color: #B6CBBE; font-size: .875rem; text-align: center; }
.waitlist-dark .form-success { color: var(--ink); }
.waitlist-dark.is-done { padding: 0; background: none; border: 0; }

/* FAQ */
.faq { padding-top: 32px; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 12px 2px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 2px 12px no-repeat;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--fern-text); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: #BFD3C6;
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
}
.footer-brand img { height: 26px; width: auto; margin-bottom: 8px; }
.footer-brand p { font-size: .9375rem; }
.site-footer nav { margin-left: auto; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #EAF1E6; text-decoration: none; font-size: .9375rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { font-size: .875rem; width: 100%; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stage.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 13ch; }
  .hero-visual { max-width: 520px; width: 100%; justify-self: center; }
  .stages { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .stage:nth-child(4) { border-left: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .beta-card { grid-template-columns: 1fr; padding: 48px; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 40px, var(--container)); }
  .header-inner { height: 64px; }
  .logo img { height: 26px; }
  .hero { padding: 40px 0 72px; }
  .lede { font-size: 1.0625rem; }
  .field-row { grid-template-columns: 1fr; }
  .field-row .btn-submit { margin-top: 4px; width: 100%; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .problem-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; row-gap: 0; }
  .stage {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 20px;
    padding: 0 0 32px;
    border-left: 0 !important;
  }
  .stage-art {
    grid-row: span 3;
    height: auto;
    margin: 0;
    border: 0;
    align-items: flex-start;
  }
  .stage-art::after { display: none; }
  .stage-art img { height: 110px; }
  .stage h3 { margin-top: 2px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px 32px; }
  .fit-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .beta-card { padding: 36px 24px; border-radius: 24px; gap: 36px; }
  .waitlist-dark { padding: 24px 20px; }
  .preview-card { transform: none; padding: 18px; }
  .preview-stack::before { inset: 10px -6px -10px 6px; }
  .pc-tasks .due { display: none; }
  .site-footer nav { margin-left: 0; }
}

@media (max-width: 420px) {
  .btn-small { padding: 0 14px; font-size: .875rem; }
  .logo img { height: 22px; }
}
