/* ==========================================================================
   TomorrowKit — landing site styles

   Principle: the website is the quiet frame, the product mockups are the
   personality. Structure comes from typography, thin rules and white space.
   Colour is used once per section, never mixed. Radii stay small, shadows
   are almost absent, and nothing is wrapped in a container it does not need.
   ========================================================================== */

/* --- 0. Self-hosted typefaces ----------------------------------------
   Both faces are served from this site rather than from Google Fonts, so
   they cannot silently fall back if the font host is slow or blocked, and
   the site makes no third-party requests at all.
   ---------------------------------------------------------------------- */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-700.woff2") format("woff2");
}

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  --canvas:    #F7F3EA;
  --ink:       #20352D;
  --green:     #2F604B;
  --terracotta:#C94E27;
  --terracotta-deep: #A93C1B;
  --butter:    #F5D978;
  --sky:       #D9E8EF;
  --blush:     #F4D5CB;
  --apricot:   #E99A68;
  --dark:      #342823;
  --white:     #FFFFFF;

  --ink-soft:  #41544B;
  --ink-muted: #5C6B63;
  --rule:      #DCD4C4;
  --rule-firm: #C6BCA8;

  --radius:    4px;
  --radius-sm: 3px;

  --measure: 33rem;
  --wrap: 74rem;
  --wrap-narrow: 44rem;

  --space-section: clamp(4rem, 8vw, 7rem);
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2 {
  margin: 0 0 .5em;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-weight: 700;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-wrap: balance;
}
h3 { margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; text-wrap: balance; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-deep); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* --- 3. Type ------------------------------------------------------------- */
h1 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.125rem); line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.125rem); letter-spacing: -.02em; }
h3 { font-size: 1.0625rem; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lede {
  max-width: var(--measure);
  font-size: clamp(1rem, .96rem + .25vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.note { max-width: var(--measure); font-size: .875rem; line-height: 1.65; color: var(--ink-muted); }

.disclosure {
  margin: 1rem 0 0;
  font-size: .75rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.disclosure-mark { display: none; }

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

.section { padding-block: var(--space-section); }
.section-sky     { background: var(--sky); }
.section-sky .disclosure, .section-sky .note { color: #4A5A52; }
.section-apricot { background: var(--apricot); }
.section-butter  { background: var(--butter); }
.section-dark    { background: var(--dark); color: #EFE7DF; }

section[id], main[id] { scroll-margin-top: 4.5rem; }

.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { max-width: 24ch; }
.section-head-centred { margin-inline: auto; text-align: center; }
.section-head-centred h2 { max-width: none; margin-inline: auto; }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn-primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: var(--white); }
.btn-arrow { margin-left: .5rem; font-size: 1.05em; line-height: 0; }
.btn-sm { min-height: 2.5rem; padding: .4375rem 1rem; font-size: .9375rem; }
.btn-block { width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { left: .5rem; top: .5rem; color: var(--white); }

/* --- 6. Header ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 2.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--green); }
.wordmark-logo { width: 2.125rem; height: 2.125rem; border-radius: 50%; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .375rem .25rem;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars span { display: block; height: 1.5px; background: var(--ink); }

.primary-nav { display: none; }
.primary-nav.is-open { display: block; }
.primary-nav ul { display: grid; padding-bottom: 1.25rem; }
.primary-nav li + li { border-top: 1px solid var(--rule); }
.primary-nav a { display: flex; align-items: center; min-height: 3rem; color: var(--ink); font-weight: 500; text-decoration: none; }
.primary-nav a:hover { color: var(--terracotta-deep); }
.primary-nav .btn { margin-top: 1.25rem; color: var(--white); }
.primary-nav li:has(.btn) { border-top: 0; }

@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; }
  .primary-nav ul { display: flex; align-items: center; gap: 2rem; padding: 0; }
  .primary-nav li + li { border-top: 0; }
  .primary-nav a { min-height: 2.5rem; font-size: .9375rem; }
  .primary-nav .btn { margin-top: 0; }
}
@media (max-width: 59.99rem) {
  .header-inner { position: relative; }
  .primary-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    background: var(--canvas);
    border-bottom: 1px solid var(--rule);
  }
}

/* --- 7. Product mockups: no frame, just space ---------------------------- */
.shot { margin: 0; }
.shot picture { display: block; }
.shot img { width: 100%; border-radius: var(--radius-sm); }
.shot figcaption { margin-top: 1rem; }


/* --- Planner devices ----------------------------------------------------
   Ruled lines, date tabs, checklist ticks, admin labels, marker strips and
   paper slips. Used sparingly: each appears two or three times on the page.
   ---------------------------------------------------------------------- */

/* A date tab, as on a planner divider */
.tab {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: .375rem .75rem;
  background: var(--butter);
  border: 1px solid #E0C55C;
  border-bottom: 0;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4A3A0F;
}
.tab-dark {
  background: #C97E45;
  border-color: #B36C36;
  color: #24140A;
}

/* A marker strip behind a word */
.mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.08em;
  right: -.08em;
  bottom: .04em;
  height: .42em;
  background: var(--butter);
}

/* Ruled paper, behind a mockup column only */
.ruled {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(2rem - 1px),
    #E6DECB calc(2rem - 1px),
    #E6DECB 2rem
  );
  background-position: 0 .5rem;
}

/* Checklist tick */
.tick {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: .3125rem;
  border: 1px solid var(--green);
  border-radius: 1px;
}
.tick::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: solid var(--green);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* Paper slips: school notices as they arrive */
.slips li {
  padding: .875rem 1rem;
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-top: 1px solid var(--rule-firm);
  border-radius: 1px;
}
.slips li + li { margin-top: .625rem; }
.slips li:nth-child(2) { margin-left: clamp(0px, 2vw, 1.25rem); }
.slips li:nth-child(4) { margin-left: clamp(0px, 1.2vw, .75rem); }

/* An early-access note */
.note-strip {
  height: 6px;
  margin: 0 0 1.75rem;
  background: var(--butter);
}

/* --- 8. Hero -------------------------------------------------------------
   Mobile first: label, headline, what it does, what to click, then a worked
   example, then the product itself showing through at the fold.
   ---------------------------------------------------------------------- */
.hero { padding-block: clamp(.75rem, 2vw, 1.75rem) clamp(1.75rem, 4vw, 3rem); }
.hero .wrap > .hero-grid { padding-top: clamp(1rem, 2.5vw, 1.75rem); border-top: 1px solid var(--ink); }
.hero-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }

.hero-label {
  margin: 0 0 1rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}

.hero h1 { max-width: 14ch; margin-bottom: .5em; }
.hero .lede { margin-bottom: 1.375rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  margin-bottom: .875rem;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  min-height: 2.75rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 96, 75, .35);
}
.hero-link:hover { color: var(--terracotta-ink); border-bottom-color: currentColor; }

.hero-copy .support-text { display: inline; }
.support-text { margin: 0; font-size: .8125rem; color: var(--ink-muted); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .875rem; margin: 0; }
.privacy-cue {
  margin: 0;
  padding-left: .625rem;
  border-left: 2px solid var(--green);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}

/* The worked example: a school message and what it turns into */
.hero-demo {
  position: relative;
  max-width: 26rem;
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: 6px;
  overflow: hidden;
}
.demo-in, .demo-out { padding: .8125rem 1rem; }
.demo-in { background: #FCFAF4; border-bottom: 1px solid var(--rule); }
.demo-out { padding-top: .8125rem; padding-bottom: .875rem; }
.demo-label {
  margin: 0 0 .4375rem;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.demo-label-out { color: var(--terracotta-ink); }
.demo-quote { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); }
.demo-list { display: grid; gap: .4375rem; }
.demo-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: .625rem;
  align-items: start;
  font-size: .9375rem;
  font-weight: 500;
}
.demo-list .tick { margin-top: .1875rem; }

.hero-figure figcaption { font-size: .9375rem; color: var(--ink-soft); }
.hero-disclosure {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: 1.125rem;
  border-top: 1px solid var(--rule);
}

@media (max-width: 40rem) {
  .hero { padding-block: .5rem 1.5rem; }
  .hero .wrap > .hero-grid { padding-top: .75rem; }
  .hero-grid { gap: 1rem; }
  .hero h1 { font-size: 1.9375rem; line-height: 1.04; }
  .hero .lede { margin-bottom: 1rem; font-size: 1.0625rem; }
  .hero-actions { gap: .625rem 1rem; margin-bottom: .75rem; }
  .hero-actions .btn { padding-inline: 1.375rem; }
  .hero-figure.ruled { padding-block: .5rem; }
  .hero-figure figcaption { font-size: .875rem; }
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: clamp(1.75rem, 3vw, 2.5rem);
    align-items: start;
  }
  .hero-copy   { grid-column: 1 / span 6; grid-row: 1; }
  .hero-demo   { grid-column: 1 / span 6; grid-row: 2; max-width: 27rem; }
  .hero-figure { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: center; }
  .hero h1 { font-size: clamp(2.5rem, 1.8rem + 2.2vw, 3.125rem); }
}

/* --- 9. The problem: an editorial before / after ------------------------- */
.ledger { display: grid; gap: 1.25rem; border-top: 0; }
.ledger-col {
  padding: 0;
  background: #FCFAF4;
  border: 1px solid var(--rule-firm);
  border-radius: 6px;
  overflow: hidden;
}
.ledger-col-out { background: var(--white); }
.ledger-title {
  margin: 0;
  padding: .875rem 1.125rem;
  background: rgba(32, 53, 45, .03);
  border-bottom: 1px solid var(--rule);
  border: 0;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ledger-col-out .ledger-title { background: rgba(201, 78, 39, .06); color: var(--terracotta-deep); }

.ledger-list li {
  display: grid;
  gap: .125rem .75rem;
  padding: 1rem 1.125rem;
  border-top: 1px solid var(--rule);
}
.ledger-list li:first-child { border-top: 0; }
.ledger-list-out li { grid-template-columns: 14px 1fr; align-items: start; column-gap: .875rem; }
.ledger-list-out .ledger-label { grid-column: 2; }
.ledger-list-out .ledger-text { grid-column: 2; }
.ledger-list-out .tick { grid-row: span 2; }
.ledger-col-out .ledger-label {
  display: inline-block;
  justify-self: start;
  margin-bottom: .1875rem;
  padding: .1875rem .4375rem;
  background: var(--blush);
  border-radius: 1px;
  color: #7C3113;
}
.ledger-label {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ledger-text { font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.ledger-col-out .ledger-text { font-weight: 500; color: var(--ink); }
.ledger-col-out .ledger-label { color: var(--terracotta-deep); }

.flow-caption {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: .9375rem;
  color: var(--ink-muted);
}

@media (min-width: 44rem) {
  .ledger-list-in li { grid-template-columns: 5rem 1fr; align-items: baseline; }
}
@media (min-width: 62rem) {
  .ledger { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; align-items: stretch; }

}


/* --- Notice cards -------------------------------------------------------
   Thin borders, 6px corners, no shadow. They group information that belongs
   together; everything else stays on the open canvas.
   ---------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: 6px;
}
.card-head {
  margin: 0;
  padding: .875rem 1.125rem;
  border-bottom: 1px solid var(--rule);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --- 10. Product sections ------------------------------------------------ */
.split { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); }
.split-copy > :last-child { margin-bottom: 0; }
.split-copy.rule-top { padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.split-figure { max-width: 26rem; }

@media (min-width: 62rem) {
  .split { grid-template-columns: repeat(12, 1fr); column-gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }

  .comp-a .split-copy   { grid-column: 1 / span 5; }
  .comp-a .split-figure { grid-column: 7 / span 5; justify-self: end; }

  .comp-b .split-copy   { grid-column: 8 / span 5; }
  .comp-b .split-figure { grid-column: 1 / span 5; }

  .comp-c .split-copy   { grid-column: 1 / span 5; align-self: end; }
  .comp-c .split-figure { grid-column: 7 / span 5; justify-self: end; }

  .comp-d .split-copy   { grid-column: 7 / span 5; }
  .comp-d .split-figure { grid-column: 1 / span 5; }

  .comp-e .split-copy   { grid-column: 1 / span 6; }
  .comp-e .split-figure { grid-column: 8 / span 5; justify-self: end; }
}

/* Tonight: the one warm band */
.section-apricot { color: #2B1A10; }
.section-apricot { padding-block: clamp(3rem, 6vw, 5rem); }
.section-apricot .split-figure { max-width: 22rem; }
.section-apricot .split-copy h2 { max-width: 15ch; }
.section-apricot h2 { color: #22150C; }
.section-apricot .lede { color: #3A2417; }
.section-apricot .disclosure { color: #4A3123; }

/* Calendar: a plain integration row */
.integrations {
  display: grid;
  max-width: 20rem;
  margin: 1.75rem 0 1.25rem;
  font-size: .9375rem;
  font-weight: 500;
}
.integrations li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-block: .6875rem;
  border-top: 1px solid var(--rule);
}
.integrations li:first-child { border-top: 0; padding-top: 0; }
.brand-mark { flex: 0 0 auto; color: var(--ink); opacity: .8; }
#calendar .note {
  padding: .875rem 1rem;
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: 6px;
}

/* --- 11. Privacy: a 2 x 2 ruled grid ------------------------------------ */
.section-dark h2, .section-dark h3 { color: #FBF7F0; }
.section-dark .eyebrow { color: var(--apricot); }
.section-dark .lede { color: #CFC2B7; }
.section-dark .disclosure { color: #A2938A; }

.privacy-list {
  display: grid;
  gap: .75rem;
  margin: 2.5rem 0 2rem;
}
.privacy-list li {
  padding: 1.375rem 1.375rem 1.5rem;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
}
.privacy-num {
  display: block;
  margin-bottom: .75rem;
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
  color: var(--apricot);
}
.privacy-list h3 { margin-bottom: .375rem; font-size: 1rem; font-weight: 600; letter-spacing: -.02em; color: #FBF7F0; }
.privacy-list p { margin: 0; max-width: 26rem; font-size: .9375rem; color: #CFC2B7; }
.note-dark { max-width: var(--measure); font-size: .8125rem; line-height: 1.65; color: #A2938A; }

@media (min-width: 40rem) {
  .privacy-list { grid-template-columns: 1fr 1fr; }
}

/* --- 12. How it works: a numbered timeline ------------------------------ */
.steps { display: grid; max-width: 46rem; border-top: 1px solid var(--ink); }
.step {
  display: grid;
  gap: .25rem 1.75rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--rule);
  background: none;
  border-radius: 0;
}
.step-number {
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  border-radius: 0;
  font-size: .8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
  color: var(--terracotta-deep);
}
.step h3 { margin-bottom: .25rem; font-size: 1.1875rem; font-weight: 600; }
.step p { margin: 0; max-width: 32rem; font-size: .9375rem; color: var(--ink-soft); }

@media (min-width: 44rem) {
  .step { grid-template-columns: 4rem 1fr; }
  .step-number { grid-row: span 2; padding-top: .3125rem; }
}

.howgrid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.overview-figure { max-width: 26rem; margin: 0; }

@media (min-width: 62rem) {
  .howgrid { grid-template-columns: repeat(12, 1fr); column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .steps { grid-column: 1 / span 6; max-width: none; }
  .overview-figure { grid-column: 8 / span 5; justify-self: end; }
}

/* --- 13. Waitlist -------------------------------------------------------- */
#waitlist { border-top: 1px solid var(--rule); }
#waitlist .eyebrow { color: #7C3113; }

.waitlist { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: start; }
.waitlist-copy .note { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

@media (min-width: 62rem) {
  .waitlist { grid-template-columns: repeat(12, 1fr); column-gap: clamp(2.5rem, 5vw, 4rem); }
  .waitlist-copy { grid-column: 1 / span 5; align-self: center; }
  .waitlist-form, .form-done { grid-column: 7 / span 6; }
}

.waitlist-form.note {
  max-width: none;
  color: var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-top: 0;
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: 1px;
  box-shadow: none;
  overflow: hidden;
}
.waitlist-form.note::before {
  content: "";
  display: block;
  height: 6px;
  margin: 0 calc(clamp(1.25rem, 3vw, 2rem) * -1) clamp(1.5rem, 3vw, 2rem);
  background: var(--butter);
}

.field { margin: 0 0 1.5rem; padding: 0; border: 0; }
.field > label, .field legend {
  display: block;
  margin-bottom: .625rem;
  padding: 0;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.optional { font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--ink-muted); }
.field-help { margin: .5rem 0 0; font-size: .8125rem; color: var(--ink-muted); }

input[type="email"], textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: .8125rem .875rem;
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
textarea { min-height: 6.5rem; resize: vertical; line-height: 1.55; }
input[type="email"]:focus, textarea:focus { border-color: var(--terracotta); }
input[type="email"][aria-invalid="true"] { border-color: var(--terracotta); }

.option-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.option {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.875rem;
  padding: .5rem 1rem;
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  cursor: pointer;
  transition: border-color .15s ease;
}
.option:hover { border-color: var(--ink); }
.option input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--green); }
.option:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.option:has(input:focus-visible) { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.form-privacy { margin: 1.125rem 0 0; font-size: .75rem; line-height: 1.65; color: var(--ink-muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-done {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: 6px;
}
.form-done-title { margin-bottom: .5rem; font-weight: 600; font-size: 1.0625rem; color: var(--green); }
.form-done p:last-child { margin: 0; font-size: .9375rem; color: var(--ink-soft); }

.form-status { margin: 1rem 0 0; font-size: .875rem; font-weight: 500; }
.form-status:empty { margin: 0; }
.form-status.is-error { color: #9A3A18; }
.form-status.is-success { color: var(--green); }
.form-status.is-info { color: var(--ink-soft); }

/* --- 14. FAQ ------------------------------------------------------------- */
.faq {
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: 6px;
  box-shadow: none;
  overflow: hidden;
}
.faq-item + .faq-item { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 0; }
.faq-item + .faq-item { border-top: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 3.75rem;
  padding: 1.0625rem clamp(1.125rem, 3vw, 1.5rem);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--ink), var(--ink)) center/11px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1px 11px no-repeat;
}
.faq-item[open] summary::after { background-size: 11px 1px, 0 0; }
.faq-item summary:hover { color: var(--terracotta-deep); }
.faq-answer { padding: 0 clamp(1.125rem, 3vw, 1.5rem) 1.5rem; max-width: var(--measure); }
.faq-answer p { margin: 0; font-size: .9375rem; color: var(--ink-soft); }

/* --- 15. Final CTA ------------------------------------------------------- */
.section-final { border-top: 1px solid var(--rule); }
.final-cta { max-width: 36rem; }
.final-cta h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.625rem); }
.final-cta .lede { margin-bottom: 2rem; }

/* --- 16. Footer ---------------------------------------------------------- */
.site-footer { padding-block: clamp(2.5rem, 5vw, 3.5rem) 2.5rem; border-top: 1px solid var(--rule); }
.footer-inner { display: grid; gap: 1.5rem; padding-bottom: 2rem; }
.footer-logo { width: 4rem; height: 4rem; margin-bottom: 1rem; border-radius: 50%; }
.footer-name { margin: 0 0 .25rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -.04em; }
.footer-tagline { margin: 0; font-size: .9375rem; color: var(--ink-muted); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--terracotta-deep); text-decoration: underline; }
.footer-legal { padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.footer-legal p { margin: 0 0 .5rem; max-width: 46rem; font-size: .75rem; line-height: 1.65; color: var(--ink-muted); }
.footer-small { margin-bottom: 0; }

@media (min-width: 48rem) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-nav ul { justify-content: flex-end; }
}

/* --- 17. Legal pages ----------------------------------------------------- */
.legal { padding-block: clamp(2.5rem, 5vw, 4rem) var(--space-section); }
.legal h1 { margin-bottom: .625rem; font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem); }
.legal .updated {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.legal h2 { margin-top: 2.75rem; font-size: 1.375rem; }
.legal h3 { font-family: "Instrument Sans", system-ui, sans-serif; }
.legal h3 { margin-top: 1.75rem; font-size: 1.0625rem; }
.legal p, .legal li { max-width: var(--measure); color: var(--ink-soft); }
.legal ul { margin: 0 0 1.25rem; }
.legal ul li { padding-block: .5rem; border-bottom: 1px solid var(--rule); }
.legal ul li:first-child { border-top: 1px solid var(--rule); }
.legal .callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: none;
  border: 0;
  border-left: 2px solid var(--terracotta);
  border-radius: 0;
}
.legal .callout p { margin: 0; font-size: .9375rem; }
.legal table { width: 100%; margin: 1.25rem 0 2rem; border-collapse: collapse; font-size: .9375rem; }
.legal caption {
  padding-bottom: .875rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-muted);
}
.legal th, .legal td { padding: .875rem 1rem .875rem 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal th { border-bottom-color: var(--ink); color: var(--ink); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }
.back-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 2.5rem; font-size: .9375rem; }
