:root {
  --canvas: #0F1418;
  --canvas-deep: #0B0E11;
  --ink: #1B2228;
  --slate: #2E3A42;
  --cream: #F4F0E6;
  --paper: #FFFDF8;
  --brass: #866320;
  --brass-hover: #7A5A1E;
  --brass-light: #B08A3E;
  --line-dark: rgba(244, 240, 230, 0.10);
  --line-brass: rgba(176, 138, 62, 0.35);
  --muted-dark: #E6E0D4;
  --brass-text: #C9A24F;
  --brass-ink: #614714;
  --on-slate: #D9D3C4;
  --bubble-in: #E8E2D4;
  --white: #FFFFFF;
  --muted: #5E676F;
  --line: #E3DCCB;
  --glow: rgba(176, 138, 62, 0.22);
  --glow-soft: rgba(176, 138, 62, 0.10);

  --font-display: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-h1: clamp(40px, 8vw, 96px);
  --lh-h1: 0.96;
  --track-h1: -0.035em;
  --text-h2: clamp(32px, 5vw, 64px);
  --lh-h2: 1.02;
  --track-h2: -0.03em;
  --text-statement: clamp(32px, 6vw, 72px);
  --lh-statement: 0.98;
  --track-statement: -0.03em;
  --text-h3: 22px;
  --lh-h3: 1.25;
  --text-body: 18px;
  --lh-body: 1.6;
  --text-lead: 18px;
  --lh-lead: 1.6;
  --text-eyebrow: 14px;
  --track-eyebrow: 0.12em;

  --wrap: 1200px;
  --wrap-reading: 720px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(40px, 5vw, 72px);
  --header-h: 64px;

  --radius-btn: 8px;
  --radius-card: 16px;
  --radius-phone: 32px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 220ms;
  --t-med: 700ms;
  --t-slow: 1100ms;
}

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/libre-franklin-700.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;
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/libre-franklin-800.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;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-400.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;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-600.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;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--cream);
}
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--lh-body);
  min-height: 100%;
  background-color: var(--canvas);
  background-image: none;
}
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
a { color: var(--brass-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }

main, header, footer, .sticky { position: relative; z-index: 2; }

.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; display: block; }
.icon-sm { width: 18px; height: 18px; }

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--reading { width: min(100%, calc(var(--wrap-reading) + 2 * var(--gutter))); }
.measure { max-width: var(--wrap-reading); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cream);
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--track-h1);
}
h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--track-h2);
}
h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { margin: 0; }

.eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--track-eyebrow);
  color: var(--brass-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--brass);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--brass-hover); color: var(--paper); }
.btn-sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 15px;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--brass);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
}
.skip:focus { top: 12px; color: var(--paper); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brass-light);
  outline-offset: 3px;
}

#how-it-works, #what-it-looks-like, #questions, #book, #who, #what-you-get, #guarantee, #work-with-us, #main {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
header.is-scrolled, header.is-solid {
  background: var(--canvas);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}
.logo { flex: 0 0 auto; text-decoration: none; }
.logo img { width: 192px; height: 32px; }
.nav {
  display: none;
  margin-left: auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--cream);
  text-decoration: none;
}
.nav a:hover { color: var(--brass-text); }
header .btn-sm { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  header .btn-sm { margin-left: 8px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .logo img { width: 148px; height: 25px; }
  .nav { gap: 12px; }
  .nav a { font-size: 14px; white-space: nowrap; }
  header .btn-sm { padding: 8px 12px; min-height: 36px; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding-top: calc(var(--header-h) + clamp(20px, 3vw, 36px));
  padding-bottom: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: flex-start;
}
.hero-light { display: none !important; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  align-items: start;
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero-grid .eyebrow { margin-bottom: 0; }
.hero-grid h1 { max-width: 18ch; }
.hero-copy .lead {
  max-width: 38em;
  margin: 0 0 20px;
  font-size: var(--text-lead);
  line-height: var(--lh-lead);
  color: var(--cream);
}
.sub-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--cream);
  font-size: 18px;
}
.sub-cta .icon { color: var(--brass-text); flex-shrink: 0; }

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    grid-template-areas:
      "eyebrow eyebrow"
      "title title"
      "copy phone";
    gap: 16px 64px;
    align-items: start;
  }
  .hero-grid .eyebrow { grid-area: eyebrow; }
  .hero-grid h1 { grid-area: title; max-width: none; }
  .hero-copy { grid-area: copy; padding-top: 0; align-self: center; }
  .phone--hero { grid-area: phone; margin-inline: 0; }
}

/* Phone (paper face — a real text thread) */
.phone {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-phone);
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px var(--line-brass), 0 40px 80px rgba(0, 0, 0, 0.45);
}
.phone--hero {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  min-height: 0;
}
.phone--still {
  width: 100%;
  max-width: 360px;
  min-height: 0;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px rgba(27, 34, 40, 0.12);
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.phone-status-glyphs { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.phone-head {
  padding: 8px 20px 10px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.phone-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.phone-sub { font-size: 12px; color: var(--muted); }
.phone .tag, .still .tag, .summary .tag, .followup .tag, .notify .tag {
  display: inline-block;
  margin: 10px 16px 0;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.phone-thread {
  position: relative;
  flex: 1;
  padding: 12px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
.msg.out {
  align-self: flex-end;
  margin-left: auto;
  background: var(--slate);
  color: var(--on-slate);
  border-bottom-right-radius: 6px;
}
.msg.in {
  align-self: flex-start;
  background: var(--bubble-in);
  border-bottom-left-radius: 6px;
}
.typing {
  display: none;
  position: absolute;
  left: 14px;
  gap: 4px;
  padding: 10px 12px;
  background: var(--bubble-in);
  border-radius: 16px;
}
.typing.is-on { display: flex; }
.typing.out { left: auto; right: 14px; background: var(--slate); }
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: typ 1s infinite;
}
.typing.out span { background: var(--on-slate); }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typ {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* Problem */
.problem {
  padding: var(--section-y) 0;
}
.problem h2 { margin-bottom: 20px; }
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 960px) {
  .problem .measure { max-width: none; }
  .problem-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.problem-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.problem-row p { color: var(--muted-dark); }
.icon-well {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--brass-light);
  border: 1px solid var(--line-brass);
}
.island-cream .icon-well {
  background: var(--paper);
  color: var(--brass);
  border-color: var(--line);
}

/* How it works — stacked by default (mobile, no-JS, reduced motion) */
.how { padding: var(--section-y) 0 0; }
.how-track { height: auto; }
.how-pin { display: block; height: auto; padding-bottom: var(--section-y); }
.how-copy h2 { margin-bottom: 20px; }
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-step {
  display: grid;
  gap: 20px;
  min-height: 0;
  padding: 8px 0 24px;
  color: var(--cream);
}
.how-step h3 {
  font-size: 22px;
  margin: 6px 0 10px;
  color: inherit;
}
.how-step-copy p { color: var(--cream); max-width: 38em; }
.how-step .notify-title,
.how-step .notify-meta,
.how-step .notify-card,
.how-step .still-kicker,
.how-step .summary,
.how-step .summary p,
.how-step .summary strong,
.how-step .summary dt,
.how-step .summary dd {
  color: var(--ink);
}
.how-step .msg.in { color: var(--ink); }
.how-step .msg.out { color: var(--on-slate); }

.step-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass-text);
  text-transform: none;
}
.how-block-visual { max-width: 400px; width: 100%; }
.how-type-tease {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cream);
  text-wrap: balance;
}
.how-step:not(:has(.how-block-visual)) {
  grid-template-columns: 1fr;
}

.notify { max-width: 400px; width: 100%; }
.notify-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.notify .tag { display: inline-block; margin: 0 0 10px; }
.notify-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.notify-meta { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.still-reply { max-width: 400px; }

.how-stage { display: none; }

.how-step-indicator {
  display: none;
  position: sticky;
  top: var(--header-h);
  z-index: 8;
  justify-content: center;
  pointer-events: none;
}
.how-step-indicator .hsi-pill-legacy {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.still {
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 8px 14px 18px;
  border: 1px solid var(--line);
}
.still .msg { margin-top: 8px; }
.still-kicker {
  margin: 12px 16px 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

@media (min-width: 800px) {
  .how-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
    gap: 16px 40px;
    align-items: center;
  }
  .how-step:not(:has(.how-block-visual)) {
    grid-template-columns: 1fr;
  }
  .how-step-copy { min-width: 0; }
  .how-block-visual { max-width: none; }
}

/* Cream islands */
.island-cream {
  background: var(--cream);
  color: var(--ink);
  isolation: isolate;
}
.island-cream h2, .island-cream h3, .island-cream .phone-name { color: var(--ink); }
.island-cream a { color: var(--brass); }
.island-cream a:hover { color: var(--brass-hover); }

.looks { padding: var(--section-y) 0; }
.looks h2 { margin-bottom: 24px; }
.looks-grid {
  display: grid;
  gap: 16px;
  justify-items: stretch;
  justify-content: stretch;
  align-items: stretch;
}
.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 24px 24px;
  border-left: 3px solid var(--brass);
  width: 100%;
  max-width: 400px;
}
.summary--still { font-size: 17px; }
.summary--lead {
  max-width: 560px;
  padding: 28px 32px 32px;
  font-size: 19px;
  border-left-width: 5px;
}
.summary .tag, .followup .tag { margin: 0 0 12px; }
.summary p { margin-bottom: 12px; }
.summary--lead p { margin-bottom: 16px; }
.summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  margin: 0;
}
.summary--lead dl { gap: 10px 28px; }
.summary dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.summary--lead dt { font-size: 16px; }
.summary dd { margin: 0; color: var(--ink); }
.followup {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 24px 24px;
  width: 100%;
  max-width: 400px;
}
.followup-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--ink);
}
.followup-bubble .msg { max-width: 100%; }

@media (min-width: 760px) {
  .looks-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.8fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 20px;
    max-width: none;
    margin-inline: 0;
  }
  .summary--lead, .followup { max-width: none; height: 100%; }
  .followup {
    display: flex;
    flex-direction: column;
  }
  .followup .tag,
  .followup-label { align-self: flex-start; }
  .followup-bubble { flex: 1; display: flex; }
  .followup-bubble .msg { margin-top: auto; }
}

/* Features */
.features { padding: var(--section-y) 0; }
.features h2 { margin-bottom: 24px; text-align: left; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  overflow: hidden;
  min-height: 0;
  transition: border-color var(--t-fast) var(--ease);
}
.feature-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.feature-card p { color: var(--cream); margin: 0; }
.feature-card .icon-well {
  width: 36px;
  height: 36px;
  background: transparent;
  border-color: var(--line-brass);
  color: var(--brass-text);
}
.feature-copy { min-width: 0; }
.feature-visual {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px 12px;
}
.feature-visual .tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.feature-visual .msg {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}
.mini-missed {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: var(--cream);
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}
.mini-missed .icon-well {
  width: 32px;
  height: 32px;
  background: var(--paper);
  color: var(--brass);
  border-color: var(--line);
  flex-shrink: 0;
}
.mini-missed strong { display: block; font-family: var(--font-display); font-size: 14px; }
.mini-missed span { color: var(--slate); font-size: 13px; }
.feature-visual .summary {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-left: 0;
}
.feature-visual .summary p { margin-bottom: 8px; color: var(--ink); }
.feature-visual .summary dl { gap: 4px 16px; }
.feature-visual .summary dt, .feature-visual .summary dd { font-size: 14px; color: var(--ink); }
.feature-visual .followup-label { margin: 0 0 8px; font-size: 13px; color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--canvas-deep);
  border: 1px solid var(--line-brass);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover { border-color: var(--line-brass); }
}
@media (min-width: 760px) {
  .features-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .feature-card--lead { grid-column: auto; }
  .feature-card:last-child {
    grid-column: 1 / -1;
  }
  .feature-card:last-child .feature-copy {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 2px;
    align-items: center;
  }
  .feature-card:last-child .icon-well {
    grid-row: 1 / span 2;
  }
  .feature-card:last-child h3 { margin: 0; }
}
@media (min-width: 1280px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .feature-card h3 { font-size: 22px; }
}

/* Guarantee */
.statement {
  padding: var(--section-y) 0;
  text-align: left;
}
.statement h2 {
  font-size: var(--text-statement);
  line-height: var(--lh-statement);
  letter-spacing: var(--track-statement);
  max-width: 18ch;
  margin: 20px 0 20px;
}
.statement p {
  color: var(--cream);
  margin-bottom: 20px;
  font-size: var(--text-lead);
}
.icon-well--lg { width: 52px; height: 52px; }
.icon-well--lg .icon { width: 26px; height: 26px; }

/* Founder */
.founder { padding: var(--section-y) 0; }
.founder-lede {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.founder-p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 40em;
}

/* FAQ */
.faq-section { padding: var(--section-y) 0; }
.faq-section h2 { margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: none;
  border: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.faq-item button .icon {
  flex-shrink: 0;
  color: var(--muted-dark);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.faq-item button[aria-expanded="true"] .icon {
  transform: rotate(180deg);
  color: var(--brass-light);
}
.faq-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 220ms var(--ease);
}
.faq-inner { overflow: hidden; }
.faq-inner p {
  padding: 0 0 14px;
  color: var(--cream);
  max-width: 38em;
  font-size: 18px;
  line-height: 1.6;
}
html.js .faq-item button[aria-expanded="false"] + .faq-body {
  grid-template-rows: 0fr;
}

/* CTA + footer */
.cta { padding: var(--section-y) 0; text-align: left; }
.cta h2 { margin-bottom: 16px; }
.cta > .wrap > p:first-of-type,
.cta .reveal + p,
.cta p.reveal {
  color: var(--cream);
  font-size: var(--text-lead);
  margin-bottom: 20px;
}
.book-embed { min-height: 52px; margin-bottom: 20px; }
.cta-email, .footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
}
.cta-email .icon, .footer-email .icon { color: var(--brass-light); }

footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line-dark);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.footer-logo:hover { color: var(--cream); }
.footer-address { color: var(--cream); margin-top: 8px; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
}
.footer-links a:hover { color: var(--cream); }

/* Mobile sticky book bar */
.sticky { display: none; }
@media (max-width: 759px) {
  :root { --header-h: 56px; --text-body: 16px; --text-lead: 16px; --lh-body: 1.6; --lh-lead: 1.6; }
  .logo img { width: 168px; height: 28px; }
  body:has(.sticky) { padding-bottom: 76px; }
  .phone--hero { margin-bottom: 88px; }
  .sticky {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 20;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
  }
  body.is-past-hero .sticky { display: block; }
  body.is-past-hero.is-apply-in-view .sticky { display: none; }
  body.is-apply-in-view:has(.sticky) { padding-bottom: 0; }
  .sticky .btn { width: 100%; }
  footer { padding-bottom: 32px; }
}

/* Legal pages: cream document, dark header */
.legal {
  background: var(--cream);
  color: var(--ink);
  padding: calc(var(--header-h) + 28px) 0 48px;
  isolation: isolate;
  min-height: 0;
}
.legal h1, .legal h2 { color: var(--ink); }
.legal h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 16px; }
.legal h2 { font-size: clamp(22px, 3vw, 28px); margin: 24px 0 8px; }
.legal p, .legal li { margin: 0 0 12px; font-size: 18px; line-height: 1.6; }
.legal a { color: var(--brass-ink); }
.legal a:hover { color: var(--ink); }
.draft-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--ink);
}

/* Motion: hide only under html.js.motion so no-JS and reduced-motion stay visible */
html.js.motion .reveal {
  opacity: 0;
  transform: translateY(24px);
}
html.js.motion .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease-expo), transform 700ms var(--ease-expo);
}
html.js.motion .phone--float {
  opacity: 0;
  transform: translateY(56px) rotate(2.5deg);
}
html.js.motion .phone--float.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 1100ms var(--ease-expo), transform 1100ms var(--ease-expo);
}
html.js.motion [data-animate="true"] .msg {
  opacity: 0;
  transform: translateY(8px);
}
html.js.motion [data-animate="true"] .msg.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
html.js.motion .hero-late {
  opacity: 0;
  transform: translateY(12px);
  animation: rise-soft 600ms var(--ease-expo) 120ms forwards;
}
@keyframes rise-soft {
  to { opacity: 1; transform: none; }
}
html.js.motion .hero-light {
  animation: lamp-drift 22s var(--ease) infinite alternate;
}
@keyframes lamp-drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.06); }
}

@supports (animation-timeline: view()) {
  html.js.motion .reveal-view {
    animation: rise-in 700ms var(--ease-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
    opacity: 1;
    transform: none;
  }
  html.js.motion .reveal-view.is-in {
    animation: none;
  }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Desktop how-it-works pin — motion + JS only */
@media (min-width: 900px) {
  html.js.motion .how { padding-top: 0; padding-bottom: 0; } /* compact; no 300vh pin */
  html.js.motion .how-track { height: auto; }
  html.js.motion .how-pin {
    position: static;
    height: auto;
    display: block;
    padding-top: 0;
    padding-bottom: var(--section-y);
    box-sizing: border-box;
  }
  html.js.motion .how-copy h2 { margin-bottom: 28px; }
  html.js.motion .how-step {
    min-height: 0;
    padding: 16px 0 16px 18px;
    border-left: 2px solid var(--line-dark);
    color: var(--muted-dark);
    transition: color 350ms var(--ease);
  }
  html.js.motion .how-step h3 {
    font-size: 20px;
    color: inherit;
    transition: font-size 350ms var(--ease), color 350ms var(--ease);
  }
  html.js.motion .how-step.is-active {
    color: var(--cream);
    border-left-color: var(--brass-light);
  }
  html.js.motion .how-step.is-active h3 {
    font-size: 26px;
    color: var(--cream);
  }
  html.js.motion .how-step:not(.is-active) .how-step-copy p {
    color: var(--cream);
  }
  html.js.motion .how-block-visual { display: block; }
  html.js.motion .how-stage {
    display: none;
  }
  html.js.motion .how-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 350ms var(--ease), visibility 350ms var(--ease);
  }
  html.js.motion .how-panel.is-active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 899px) {
  html.js.motion .how-step-indicator { display: flex; }
  html.js.motion .how { padding-top: 8px; }
  html.js.motion .how-track,
  html.js.motion .how-pin { height: auto; }
  html.js.motion .how-step { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-light { filter: none; transform: none; animation: none !important; }
  .reveal, .phone--float, .hero-late, [data-animate="true"] .msg {
    opacity: 1 !important;
    transform: none !important;
  }
  .how-track { height: auto !important; }
  .how-pin { position: static !important; height: auto !important; display: block !important; padding: 0 var(--gutter) var(--section-y) !important; }
  .how-stage { display: none !important; }
  .how-block-visual { display: block !important; }
  .how-step { min-height: 0; padding-bottom: 40px; }
}


/* Compact careers teaser above the footer */
.roles-band {
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
}
.roles-band p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.02em;
  color: var(--cream);
}
.roles-band a { color: var(--brass-text); white-space: nowrap; }
.roles-band a:hover { color: var(--cream); }
@media (max-width: 759px) {
  .roles-band p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Careers: form on the dark canvas, legal parts on a cream island */
.careers-top { padding: calc(var(--header-h) + 28px) 0 var(--section-y); }
.careers-top h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 8px 0 12px;
  letter-spacing: -0.03em;
}
.careers-title {
  margin: 12px 0 16px;
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--track-h2);
}
.careers-legal {
  min-height: 0;
  padding-top: 40px;
}
.careers-legal .measure--legal { max-width: var(--wrap-reading); }
.careers-top .apply-intro { color: var(--cream); }
.careers-top .apply-form { margin-top: 32px; }

/* Work with us */
.apply-section { padding: var(--section-y) 0; }
.apply-wrap { width: min(100%, calc(720px + 2 * var(--gutter))); }
.apply-intro { margin: 16px 0 28px; color: var(--cream); }
.apply-intro p + p, .apply-intro p + ul { margin-top: 16px; }
.apply-roles {
  margin: 16px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apply-roles li {
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--cream);
}
.apply-roles strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--cream);
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.apply-form[hidden] { display: none !important; }
.apply-progress {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass-light);
  min-height: 1.2em;
}
.apply-step label:not(.consent-item), .apply-step legend {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 16px;
}
.apply-step input[type="text"],
.apply-step input[type="email"],
.apply-step input[type="tel"],
.apply-step input[type="number"],
.apply-step textarea {
  width: 100%;
  background: var(--canvas-deep);
  color: var(--cream);
  border: 2px solid #C9C3B6;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
}
.apply-step textarea { resize: vertical; min-height: 8em; }
.apply-step input:focus-visible,
.apply-step textarea:focus-visible {
  outline: 3px solid var(--brass-light);
  outline-offset: 3px;
  border-color: var(--brass-light);
}
.apply-step fieldset { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; gap: 12px; flex-wrap: wrap; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid #C9C3B6;
  border-radius: 8px;
  background: var(--canvas-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--cream);
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: var(--line-brass);
  box-shadow: inset 0 0 0 1px var(--line-brass);
}
.choice input { width: 18px; height: 18px; accent-color: var(--brass-light); }
.optional { font-weight: 400; font-size: 0.55em; letter-spacing: 0; color: var(--cream); }
.field-error, .apply-form-error {
  margin-top: 10px;
  color: #E8B4A0;
  font-size: 16px;
}
.apply-privacy, .apply-noscript {
  color: var(--cream);
  font-size: 16px;
  line-height: 1.6;
}
.apply-privacy {
  border: 1px dashed var(--line-brass);
  padding: 12px 14px;
  border-radius: 8px;
}
.apply-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-dark);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--line-brass);
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.turnstile-wrap { min-height: 65px; }
.apply-success {
  background: var(--ink);
  border: 1px solid var(--line-brass);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  margin-bottom: 24px;
}
.apply-success h3 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}
.apply-success p { color: var(--cream); font-size: 18px; }

/* Stepped UI when JS is on; no-JS shows the full form. Motion adds slide/fade. */
.apply-nav { display: none; }
html.js .apply-form.is-stepped .apply-nav[hidden] { display: none; }
html.js .apply-form.is-stepped .apply-nav:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 4px;
  min-height: 52px;
}
html.js .apply-form.is-stepped.is-mid [data-apply-submit],
html.js .apply-form.is-stepped.is-start [data-apply-submit] { display: none; }
html.js .apply-form.is-stepped .apply-step { display: none; }
html.js .apply-form.is-stepped .apply-step.is-current { display: block; }

.apply-circle {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--brass-text);
  background: transparent;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.apply-circle svg { width: 22px; height: 22px; display: block; }
.apply-circle:hover,
.apply-circle:focus-visible {
  background: var(--brass-text);
  color: var(--canvas);
  border-color: var(--brass-text);
}
.apply-circle:focus-visible {
  outline: 3px solid var(--brass-light);
  outline-offset: 3px;
}
.apply-circle:disabled,
.apply-circle[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  background: transparent;
  color: var(--cream);
  border-color: var(--line-dark);
  transform: none;
}
.apply-nav-mid {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.apply-dots {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}
.apply-dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #8A8578;
  padding: 0;
}
.apply-dots li.is-done {
  background: var(--brass-text);
  border-color: var(--brass-text);
  opacity: 0.55;
}
.apply-dots li.is-current {
  width: 10px;
  height: 10px;
  background: var(--brass-text);
  border-color: var(--brass-text);
  opacity: 1;
}

.apply-section--home { padding-top: 48px; }
.apply-section--home h2 {
  margin-bottom: 12px;
  text-wrap: balance;
}
.apply-home-lead {
  margin: 0 0 28px;
  color: var(--cream);
  font-size: 18px;
  line-height: 1.6;
}
.apply-home-lead a {
  color: var(--brass-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.apply-home-lead a:hover { color: var(--cream); }
@media (max-width: 759px) {
  .apply-home-lead { font-size: 16px; }
  .apply-section--home { padding-bottom: 32px; }
}
.apply-form.is-stepped { gap: 20px; }
.apply-form.is-stepped .apply-stage { min-height: 0; }
.apply-form.is-stepped .apply-step textarea { min-height: 7em; }
.apply-progress {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .apply-circle { transition: none; }
}

/* Animated step transitions: only the current step sets height */
html.js.motion .apply-form.is-stepped .apply-stage {
  position: relative;
  overflow: hidden;
}
html.js.motion .apply-form.is-stepped .apply-step {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(28px, 0, 0);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 0.68, 0, 1),
    visibility 0s linear 0.42s;
}
html.js.motion .apply-form.is-stepped .apply-step.is-current {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
  z-index: 2;
}
html.js.motion .apply-form.is-stepped .apply-step.is-pre-fwd,
html.js.motion .apply-form.is-stepped .apply-step.is-pre-back {
  position: absolute;
  opacity: 0;
  visibility: visible;
  transition: none;
}
html.js.motion .apply-form.is-stepped .apply-step.is-pre-fwd {
  transform: translate3d(28px, 0, 0);
}
html.js.motion .apply-form.is-stepped .apply-step.is-pre-back {
  transform: translate3d(-28px, 0, 0);
}
html.js.motion .apply-form.is-stepped .apply-step.is-leave-fwd,
html.js.motion .apply-form.is-stepped .apply-step.is-leave-back {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
html.js.motion .apply-form.is-stepped .apply-step.is-leave-fwd {
  transform: translate3d(-28px, 0, 0);
}
html.js.motion .apply-form.is-stepped .apply-step.is-leave-back {
  transform: translate3d(28px, 0, 0);
}

.apply-form.apply-busy { opacity: 0.7; pointer-events: none; }


.apply-intro h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 0 0 16px;
}
.apply-disclaimer {
  margin-top: 24px !important;
  color: var(--cream);
}
.apply-careers-link { margin-top: 16px !important; }
.apply-careers-link a, .apply-privacy a, .apply-helper a, .consent-item a {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.apply-careers-link a:hover, .apply-privacy a:hover, .consent-item a:hover {
  color: var(--cream);
}
.apply-consent {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}
.consent-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  color: var(--cream);
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}
.consent-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brass-light);
  flex-shrink: 0;
}
.apply-helper {
  color: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
}

.legal blockquote.draft-note { margin: 0 0 24px; }
.legal blockquote.draft-note p { margin: 0 0 8px; }
.legal blockquote.draft-note p:last-child { margin-bottom: 0; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.legal ul { margin: 0 0 16px; padding-left: 1.25em; }
.legal li { margin: 0 0 8px; }
.legal em { font-style: italic; }

/* Expandable legal / role details */
.read-details {
  margin: 16px 0 20px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 8px 16px 8px;
  background: var(--ink);
}
.read-details summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--cream);
  padding: 10px 0;
  list-style: none;
}
.read-details summary::-webkit-details-marker { display: none; }
.read-details summary::after {
  content: " +";
  color: var(--brass-text);
  font-weight: 800;
}
.read-details[open] summary::after { content: " −"; }
.read-details summary:focus-visible {
  outline: 3px solid var(--brass-text);
  outline-offset: 3px;
}
.read-details > *:not(summary) { margin-top: 8px; }
.legal .read-details {
  background: var(--paper);
  border-color: var(--line);
}
.legal .read-details summary { color: var(--ink); }
.legal .read-details summary::after { color: var(--brass); }

@media (max-width: 759px) {
  .feature-card--lead { display: flex; grid-template-columns: none; }
  .consent-item, .apply-helper, .apply-privacy { font-size: 16px; }
}


/* Service pages */
.service-top {
  padding: calc(var(--header-h) + 28px) 0 36px;
}
.service-top h1 {
  font-size: clamp(36px, 6.5vw, 68px);
  line-height: var(--lh-h2);
  letter-spacing: var(--track-h2);
  max-width: 16ch;
  margin: 8px 0 16px;
}
.service-top .lead {
  max-width: var(--wrap-reading);
  margin: 0 0 20px;
  color: var(--cream);
  font-size: var(--text-lead);
  line-height: var(--lh-lead);
}
.service-block {
  padding: 8px 0 36px;
}
.service-block h2 {
  margin: 0 0 12px;
}
.service-block p,
.service-block li {
  color: var(--cream);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  margin: 0 0 12px;
  max-width: var(--wrap-reading);
}
.service-block ol,
.service-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.service-block ol li {
  counter-increment: step;
  padding-left: 2.25rem;
  position: relative;
}
.service-block ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brass-light);
  font-family: var(--font-display);
  font-weight: 700;
}
.service-related {
  margin-top: 8px;
  color: var(--muted-dark);
}
.service-related a,
.service-more a {
  color: var(--cream);
}
.service-related--nowrap a {
  white-space: nowrap;
}
.service-more {
  margin-top: 24px;
  color: var(--muted-dark);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  max-width: var(--wrap-reading);
}
.service-heading .icon-well--lg { display: block; margin-bottom: 16px; }
.service-cta .service-copy > p:first-of-type {
  color: var(--cream);
  font-size: var(--text-lead);
  line-height: var(--lh-lead);
  margin: 0 0 20px;
}
.service-cta .service-copy .book-embed { margin-bottom: 20px; }
.nowrap { white-space: nowrap; }
@media (min-width: 960px) {
  .service-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 80px);
    row-gap: 12px;
    align-items: start;
  }
  #guarantee .service-split {
    display: block;
  }
  .service-block .service-split h2,
  .service-cta .service-split > h2 {
    margin: 0;
  }
  .service-block p,
  .service-block li {
    max-width: none;
  }
}

/* ==========================================================
   PREVIEW p1: "simple but cool" pass (not live)
   Motion: transform/opacity only, 180-450ms, off under reduced motion.
   ========================================================== */
:root {
  --t-in: 450ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* Header: glass on scroll + scroll progress hairline */
header.is-scrolled { background: var(--canvas); }
.scroll-prog {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--brass-light), var(--brass-text));
  transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  html.motion .scroll-prog { animation: prog linear both; animation-timeline: scroll(root); }
  @keyframes prog { to { transform: scaleX(1); } }
}
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--brass-text); border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 220ms var(--ease-out);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

/* Hero ambience: faint grid that fades out + brass glow behind phone */
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-fx::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 78%, rgba(176, 138, 62, 0.24), transparent 45%);
  -webkit-mask-image: none; mask-image: none;
}
@media (min-width: 960px) {
  .hero-fx::after { background: radial-gradient(circle at 76% 52%, rgba(176, 138, 62, 0.26), transparent 32%); }
}
.h1-lines .ln { display: inline-block; }
.h1-lines .hl {
  color: var(--brass-text);
}

/* Desktop hero: phone spans the full height, no gap under the headline */
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    grid-template-areas:
      "eyebrow phone"
      "title   phone"
      "copy    phone";
    grid-template-rows: auto auto 1fr;
    gap: 16px 56px;
  }
  .hero-grid h1 { font-size: clamp(48px, 6vw, 84px); }
  .hero-copy { align-self: start; padding-top: 8px; }
  .phone--hero { align-self: center; max-width: 360px; }
}

/* System rows in the phone */
.sys {
  align-self: center; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--muted); background: var(--cream);
}
.sys .icon { width: 14px; height: 14px; }
.sys-missed { color: #9A2B1F; background: #F6E4DF; }
.sys-done { color: #2F5B3A; background: #E3EEE3; }
.phone { position: relative; }
.phone--hero .phone-thread { padding-bottom: 64px; }
.phone-replay {
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; box-sizing: border-box;
  font: 700 12px/1 var(--font-display); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 0 16px; cursor: pointer;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.phone-replay:hover { border-color: var(--brass); transform: translateY(-1px); }
.phone-replay:active { transform: scale(0.96); }
.phone-replay:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Buttons: arrow nudge, sheen, press */
.btn { position: relative; overflow: hidden; gap: 10px;
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 253, 248, 0.22), transparent);
  transform: translateX(-160%) skewX(-18deg); pointer-events: none;
}
.btn-arrow-i { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(176, 138, 62, 0.65); }
  .btn:hover::after { transform: translateX(360%) skewX(-18deg); transition: transform 650ms var(--ease-out); }
  .btn:hover .btn-arrow-i { transform: translateX(4px); }
}
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 90ms; }
.btn:focus-visible { outline: 2px solid var(--brass-text); outline-offset: 3px; }

/* Cards: lift + cursor spotlight */
.feature-card { overflow: hidden; transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.feature-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(176, 138, 62, 0.16), transparent 60%);
  transition: opacity 220ms var(--ease-out);
}
.feature-card .icon-well { transition: transform 220ms var(--ease-spring), box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover { transform: translateY(-3px); border-color: var(--line-brass); }
  .feature-card:hover::before { opacity: 1; }
  .feature-card:hover .icon-well { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 0 6px var(--glow-soft); }
}

/* How it works: real visuals for steps 2 and 3 */
.mini-thread {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px 12px; max-width: 400px;
}
.mini-thread .tag { display: inline-block; margin: 0 0 10px; }
.mini-bubble { max-width: 92%; }
.mini-meta { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: right; }
.summary--mini { max-width: 400px; }
.summary--mini dl { gap: 6px 20px; }
.how-type-tease { display: none; }
html.js.motion .how-panel { transform: translateY(10px) scale(0.98); transition: opacity 320ms var(--ease-out), transform 380ms var(--ease-out), visibility 320ms; }
html.js.motion .how-panel.is-active { transform: none; }

/* Follow-up card: fill the space */
@media (min-width: 760px) {
  .followup-bubble { flex-direction: column; gap: 8px; }
  .followup-bubble .msg { margin-top: 0; }
  .followup-bubble .msg.out { align-self: flex-end; }
  .followup-bubble .msg.in { align-self: flex-start; }
}
.followup-bubble { display: flex; flex-direction: column; gap: 8px; }
.followup-bubble .msg { max-width: 92%; }
.followup-stop {
  display: flex; align-items: center; gap: 6px; margin: 8px 0 0;
  font-size: 14px; color: #2F5B3A; font-family: var(--font-display); font-weight: 700;
}
.followup-stop .icon { width: 16px; height: 16px; }

/* Guarantee: promise list fills the right side */
.promise-list { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; gap: 10px; }
.promise-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: 12px;
  background: rgba(244, 240, 230, 0.03);
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--cream);
}
.promise-list .icon { width: 20px; height: 20px; color: var(--brass-text); }
@media (min-width: 960px) {
  .statement .wrap {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    column-gap: 64px; align-items: start;
  }
  .statement .wrap > :not(.promise-list) { grid-column: 1; }
  .statement .wrap > .btn { justify-self: start; }
  .statement .promise-list { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
  .statement .wrap > .btn { grid-row: 4; }
  .statement { position: relative; }
  .statement::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(176, 138, 62, 0.10), transparent 70%);
  }
}

/* Soft section seams: brass hairline at the top of cream islands */
.island-cream { position: relative; }
.island-cream::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass-light), transparent);
  opacity: 0.6;
}

/* Faster, staggered reveals (time-based, not scroll-scrubbed) */
html.js.motion .reveal { transform: translateY(16px); }
html.js.motion .reveal.is-in {
  transition: opacity var(--t-in) var(--ease-out), transform var(--t-in) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
@supports (animation-timeline: view()) {
  html.js.motion .reveal-view { animation: none; opacity: 0; transform: translateY(16px); }
  html.js.motion .reveal-view.is-in { opacity: 1; transform: none; }
}
html.js.motion .phone--float { transform: translateY(28px) scale(0.97); }
html.js.motion .phone--float.is-in { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
html.js.motion [data-animate="true"] .msg,
html.js.motion [data-animate="true"] .sys { opacity: 0; transform: translateY(8px) scale(0.96); transform-origin: right bottom; }
html.js.motion [data-animate="true"] .msg.in { transform-origin: left bottom; }
html.js.motion [data-animate="true"] .sys { transform-origin: center; }
html.js.motion [data-animate="true"] .msg.is-in,
html.js.motion [data-animate="true"] .sys.is-in {
  opacity: 1; transform: none;
  transition: opacity 260ms var(--ease-out), transform 360ms var(--ease-spring);
}
/* Headline: transform-only rise so LCP paints immediately */
html.js.motion .h1-lines .ln { animation: ln-rise 520ms var(--ease-out) both; }
html.js.motion .h1-lines .ln:nth-of-type(2) { animation-delay: 60ms; }
html.js.motion .h1-lines .ln:nth-of-type(3) { animation-delay: 120ms; }
@keyframes ln-rise { from { transform: translateY(0.28em); } to { transform: none; } }
html.js.motion .hero-late { animation-duration: 450ms; animation-delay: 200ms; }
html.js.motion .hero-fx::after { animation: glow-in 900ms var(--ease-out) 300ms both; }
@keyframes glow-in { from { opacity: 0; } to { opacity: 1; } }
.sys-missed .icon { transform-origin: 50% 50%; }
html.js.motion .sys-missed.is-in .icon { animation: ring 600ms var(--ease-out) 1; }
@keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }

/* FAQ: open item gets a brass edge */
.faq-item { transition: border-color 220ms var(--ease-out); }
.faq-item:has(button[aria-expanded="true"]) { border-color: var(--line-brass); }

@media (prefers-reduced-motion: reduce) {
  .reveal-view, [data-animate="true"] .msg, [data-animate="true"] .sys { opacity: 1 !important; transform: none !important; }
  .h1-lines .ln { transform: none !important; }
  .phone-replay { display: none !important; }
  .scroll-prog { display: none; }
  .btn:hover, .feature-card:hover { transform: none !important; }
}
.mini-thread .tag {
  display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--muted); font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
@media (min-width: 760px) { .followup-bubble { justify-content: center; } }
.phone-replay[hidden] { display: none; }

/* ==========================================================
   p3: "Step X of 3" pill: centered, clear of the header, animated step changes
   ========================================================== */
html.js .how-step-indicator { display: flex !important; }
.how-step-indicator {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  z-index: 8;
  width: 100%;
  justify-content: center;
  margin: 0 auto 8px;
  padding: 0;
  pointer-events: none;
}
.hsi-pill {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  margin-inline: auto;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  border: 1px solid var(--line-brass);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; line-height: 1;
  color: var(--muted-dark);
  pointer-events: auto;
}
.hsi-pill::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  box-shadow: 0 0 0 3px rgba(201, 162, 79, 0.55), 0 0 22px rgba(201, 162, 79, 0.45);
  opacity: 0; pointer-events: none;
}
.hsi-text { display: inline-flex; align-items: center; gap: 0.35em; white-space: nowrap; }
.hsi-num {
  position: relative; display: inline-block; overflow: hidden;
  width: 0.75em; height: 1.15em; line-height: 1.15em; text-align: center;
  color: var(--brass-text); font-size: 16px; font-weight: 800;
}
.hsi-num > span { position: absolute; left: 0; right: 0; top: 0; }
.hsi-bar { display: inline-flex; gap: 4px; }
.hsi-bar i {
  position: relative; display: block; width: 16px; height: 4px; border-radius: 2px;
  background: rgba(244, 240, 230, 0.16); overflow: hidden;
}
.hsi-bar i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--brass-text);
  transform: scaleX(0); transform-origin: 0 50%;
}
.hsi-pill[data-step="1"] .hsi-bar i:nth-child(-n+1)::after,
.hsi-pill[data-step="2"] .hsi-bar i:nth-child(-n+2)::after,
.hsi-pill[data-step="3"] .hsi-bar i:nth-child(-n+3)::after { transform: scaleX(1); }

/* Step states (all widths). Color/opacity only, so no layout shift */
/* Inactive steps stay readable (contrast > 4.5:1); the active one gets brass */
html.js .how-step:not(.is-active) .step-label { color: #A9A397; }
html.js .how-step:not(.is-active) h3 { color: #CFC9BC; }
html.js .how-step .step-label, html.js .how-step h3 { transition: color 260ms var(--ease-out); }
html.js .how-step.is-active .step-label { color: var(--brass-text); }
html.js .how-step.is-active h3 { color: var(--cream); }
@media (min-width: 900px) {
  html.js.motion .how-step h3,
  html.js.motion .how-step.is-active h3 { font-size: 24px; }
}
.how-block-visual { position: relative; }
.how-block-visual::after {
  content: ""; position: absolute; inset: -6px; border-radius: 20px;
  border: 2px solid var(--brass-text);
  opacity: 0; pointer-events: none;
  transition: opacity 260ms var(--ease-out);
}
html.js .how-step.is-active .how-block-visual::after { opacity: 0.85; }

html.js.motion .hsi-bar i::after { transition: transform 380ms var(--ease-out); }
html.js.motion .hsi-pill.is-bump { animation: hsi-pop 420ms var(--ease-spring); }
html.js.motion .hsi-pill.is-bump::after { animation: hsi-glow 650ms var(--ease-out); }
@keyframes hsi-pop { 0% { transform: scale(1); } 35% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes hsi-glow { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
html.js.motion .hsi-num .is-enter-down { animation: num-in-down 320ms var(--ease-out) both; }
html.js.motion .hsi-num .is-leave-down { animation: num-out-down 320ms var(--ease-out) both; }
html.js.motion .hsi-num .is-enter-up { animation: num-in-up 320ms var(--ease-out) both; }
html.js.motion .hsi-num .is-leave-up { animation: num-out-up 320ms var(--ease-out) both; }
@keyframes num-in-down { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes num-out-down { from { transform: none; opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
@keyframes num-in-up { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes num-out-up { from { transform: none; opacity: 1; } to { transform: translateY(100%); opacity: 0; } }
html.js.motion .how-step.is-hit h3 { animation: step-hit 420ms var(--ease-out); }
html.js.motion .how-step.is-hit .how-block-visual::after { animation: ring-flash 700ms var(--ease-out); }
@keyframes ring-flash { 0% { opacity: 0; transform: scale(1.03); } 30% { opacity: 1; } 100% { opacity: 0.85; transform: none; } }
html.js.motion .how-step.is-hit .how-block-visual > * { animation: vis-pop 420ms var(--ease-spring); }
@keyframes step-hit { 0% { transform: translateX(-6px); } 100% { transform: none; } }
@keyframes vis-pop { 0% { transform: scale(0.97); } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html.js .how-step-indicator { display: flex !important; }
  .hsi-pill, .hsi-pill::after, .hsi-num span, .how-step h3, .how-block-visual > *, .how-block-visual::after { animation: none !important; }
}

/* ==========================================================
   s1: simplified homepage. Fewer sections, calmer motion.
   ========================================================== */
/* Hero: drop the grid, keep only the soft glow */
.hero-fx--glow::before { display: none; }

/* Even rhythm: every homepage section uses the same vertical padding */
.how--simple, .features, .founder, .faq-section, .cta--guarantee { padding: var(--section-y) 0; }
html.js.motion .how.how--simple { padding: var(--section-y) 0; }
.how--simple .how-pin { padding-bottom: 0; }
.section-sub { margin: 0 0 24px; color: var(--cream); font-size: var(--text-lead); max-width: 40em; }

/* How it works: text-only steps */
.how--simple .how-steps { gap: 0; }
.how--simple .how-step { display: block; padding: 14px 0 14px 18px; border-left: 2px solid var(--line-dark); }
.how--simple .how-step.is-active { border-left-color: var(--brass-light); }
.how--simple .how-step h3 { margin: 4px 0 6px; font-size: 22px; }
.how--simple .how-step p { margin: 0; }
@media (min-width: 900px) {
  /* All three steps fit on one row, so the pill and dimming aren't needed */
  html.js .how--simple .how-step-indicator { display: none !important; }
  .how--simple .how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  html.js.motion .how--simple .how-step,
  .how--simple .how-step {
    padding: 18px 0 0; border-left: 0; border-top: 2px solid var(--brass-light);
  }
  html.js .how--simple .how-step:not(.is-active) .step-label { color: var(--brass-text); }
  html.js .how--simple .how-step:not(.is-active) h3 { color: var(--cream); }
  html.js.motion .how--simple .how-step.is-hit h3 { animation: none; }
  html.js.motion .how--simple .how-step h3 { font-size: 22px; }
}

/* What you get: three plain cards, no cursor light, tilt or lift */
.features-grid--3 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .features-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.features-grid--3 .feature-card:last-child { grid-column: auto; }
.features-grid--3 .feature-card h3 { margin: 4px 0 0; font-size: 20px; }
.feature-card::before { display: none; }
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover { transform: none; border-color: var(--line-brass); }
  .feature-card:hover .icon-well { transform: none; box-shadow: none; }
}

/* Who */
.founder h2 { margin-bottom: 16px; }
.founder .founder-p + .founder-p { margin-top: 8px; }

/* Closing: guarantee + book in one section */
.cta--guarantee h2 {
  font-size: var(--text-statement); line-height: var(--lh-statement); letter-spacing: var(--track-statement);
  max-width: 18ch; margin: 16px 0 16px;
}
.cta--guarantee .btn { margin-bottom: 20px; }

/* Careers line above the footer */
.roles-band { padding: 20px 0; }

/* One reveal style, no stagger */
html.js.motion .reveal.is-in { transition-delay: 0ms; }
/* s1 spacing: tighter, even gaps between homepage sections */
.how--simple, .features, .founder, .faq-section, .cta--guarantee { --section-y: clamp(36px, 4.5vw, 60px); }
html.js.motion .how.how--simple { padding: var(--section-y) 0; }
@media (max-width: 759px) { .phone--hero { margin-bottom: 8px; } }
.hero { padding-bottom: clamp(16px, 2.5vw, 32px); }

/* s5: guarantee full line + Terms apply link */
.cta--guarantee .guarantee-full { max-width: 56ch; }
.terms-apply { font-size: 0.875em; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.terms-apply:hover { text-decoration-thickness: 2px; }
#guarantee { scroll-margin-top: 96px; }
