:root {
  --ink: #19231E;
  --ink-2: #26352D;
  --paper: #F7F7F3;
  --white: #ffffff;
  --line: #E5E5DF;
  --muted: #6B6B67;
  --on-ink: #F5F5F0;
  --on-ink-muted: #AAB5AE;
  --hl: #B9D8A9;
  --brand: #1F3D2F;
  --brand-hover: #183126;
  --good: #317A53;
  --good-tint: #EAF4ED;
  --bad: #AC423D;
  --bad-tint: #F8EAEA;
  --font-head: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hl); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible { outline-color: var(--hl); }
section:not(.on-ink) :focus-visible, footer :focus-visible { outline-color: var(--ink); }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.on-ink .eyebrow { color: var(--on-ink-muted); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40em; }
.on-ink .lede { color: var(--on-ink-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 12px; border: 2px solid transparent;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
/* on dark sections */
.btn-hl { background: var(--hl); color: #14251B; box-shadow: none; }
.btn-hl:hover { background: #c8e3ba; }
.btn-brand { background: var(--brand); color: #F8F8F4; }
.btn-brand:hover { background: var(--brand-hover); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-sm { padding: 10px 16px; font-size: 14.5px; border-radius: 10px; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: #b9b9b2; }

/* Nav + hero (dark) */
.on-ink { background: var(--ink); color: var(--on-ink); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 13px/1 var(--font-head); letter-spacing: .18em; }
.brand strong { font-weight: 800; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a.signin { font-weight: 500; }

.hero { padding-block: clamp(36px, 7vw, 88px) clamp(56px, 9vw, 112px); }
.hero-grid { display: grid; gap: clamp(36px, 6vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.02fr 1fr; } }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
mark.word { background: var(--hl); color: var(--ink); padding: 0 .14em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lede { margin-top: 24px; }
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.micro { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Transcript card */
.card {
  background: var(--white); color: var(--ink); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
}
.card-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 500 12px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card-body { padding: 8px 20px 20px; }
.line { display: grid; grid-template-columns: 48px 1fr; gap: 6px 12px; padding-block: 14px; border-bottom: 1px dashed var(--line); }
.line:last-of-type { border-bottom: 0; }
.ts { font: 500 12.5px/1.8 var(--font-mono); color: var(--muted); }
.who { font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; display: block; margin-bottom: 2px; color: var(--muted); }
.line p { font-size: 16.5px; line-height: 1.55; }
.hl {
  background-image: linear-gradient(var(--hl), var(--hl));
  background-repeat: no-repeat; background-size: 0% 100%;
  animation: sweep .9s .6s ease forwards;
  padding: .08em .14em; margin-inline: -.14em; border-radius: 3px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
@keyframes sweep { to { background-size: 100% 100%; } }
.note { margin: 4px 0 14px; padding: 14px 16px; border-radius: 10px; border-left: 4px solid; font-size: 15px; line-height: 1.5; }
.note b { display: block; font: 700 12px/1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; }
.note.bad { background: var(--bad-tint); border-color: var(--bad); }
.note.bad b { color: var(--bad); }
.note.good { background: var(--good-tint); border-color: var(--good); }
.note.good b { color: var(--good); }
.note em { font-style: normal; font-weight: 600; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; padding: 14px 20px; background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; }
.goal b { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.trend { font: 600 13px/1.4 var(--font-mono); display: inline-flex; gap: 6px; align-items: center; }
.trend .m { color: var(--bad); } .trend .x { color: #8a5a00; } .trend .a { color: var(--good); } .trend i { color: var(--muted); font-style: normal; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 + p { margin-top: 18px; }

.truths { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .truths { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.truth { border-top: 3px solid var(--ink); padding-top: 18px; }
.truth h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; line-height: 1.15; }
.truth p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }

.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: s; padding: 0; margin: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num { font: 500 13px/1 var(--font-mono); color: var(--muted); letter-spacing: .08em; display: block; margin-bottom: 40px; }
.step p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
kbd { font: 500 13px/1 var(--font-mono); background: var(--paper); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 6px; }

.features { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tag { display: inline-block; font: 600 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--hl); color: var(--ink); padding: 6px 8px; border-radius: 4px; margin-bottom: 18px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16.5px; }

/* Pilot form (dark) */
.pilot-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .pilot-grid { grid-template-columns: 0.9fr 1.1fr; } }
.pilot h2 { color: var(--on-ink); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--on-ink-muted); font-size: 16.5px; }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; background: var(--hl); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.form { background: var(--ink-2); border: 1px solid rgba(242, 242, 243, .12); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .legend { font-size: 14.5px; font-weight: 600; color: var(--on-ink); }
.field small { color: var(--on-ink-muted); font-weight: 400; }
input, select, textarea {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--white);
  border: 2px solid transparent; border-radius: 10px; padding: 13px 14px;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6b7385; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--on-ink-muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--hl); }
.status { min-height: 1.5em; font-size: 15px; }
.status.ok { color: var(--hl); } .status.err { color: #ff9a96; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding-block: 4px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 700 19px/1.3 var(--font-head); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 500 28px/1 var(--font-mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 40px 22px 0; color: var(--muted); font-size: 16.5px; max-width: 46em; }

/* Footer */
footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 56px; font-size: 15px; }
footer h2 { font-size: 22px; color: var(--on-ink); font-weight: 700; margin-bottom: 14px; }
footer ul { padding-left: 20px; margin: 0 0 24px; display: grid; gap: 8px; max-width: 46em; }
footer a { color: var(--on-ink); }
.fine { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(242, 242, 243, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

@media (max-width: 640px) {
  .nav-links a:not(.btn):not(.signin) { display: none; }
  .line { grid-template-columns: 1fr; }
  .ts { line-height: 1.2; }
  .btn { width: 100%; justify-content: center; }
  .nav-links .btn { width: auto; white-space: nowrap; padding: 10px 14px; font-size: 14px; }
  .brand { font-size: 15px; }
  .form .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hl { animation: none; background-size: 100% 100%; }
  .btn, .btn:hover { transition: none; transform: none; }
}
[hidden] { display: none !important; }
