:root {
  --paper: #fbfaf7;
  --card: #ffffff;
  --ink: #10151f;
  --muted: #566070;
  --line: #e5e1d8;
  --accent: #0e5f52;
  --accent-dark: #0a463d;
  --accent-soft: #e2f1ec;
  --pilot-bg: #fcf1d4;
  --pilot-ink: #6f5200;
  --night: #0d1512;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 650; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 620; }
h3 { font-size: 1.2rem; font-weight: 620; letter-spacing: -0.01em; }
p { margin: 0; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40em; }

/* header */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
header.site { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; flex: none; }
nav.main { display: flex; gap: 22px; margin-left: auto; align-items: center; }
nav.main a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff !important; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid var(--accent); cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.small { padding: 9px 16px; font-size: 0.92rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 0.92rem; color: var(--ink); cursor: pointer; }

/* hero */
.hero { padding: 76px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero.plain .hero-grid { grid-template-columns: 1fr; }
.hero h1 { margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.status-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 0.95rem; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #1f9d7a; box-shadow: 0 0 0 4px rgba(31, 157, 122, 0.18); flex: none; }

/* timeline card */
.timeline { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 24px 60px -34px rgba(16, 21, 31, 0.35); }
.timeline .cap { font-family: "Geist Mono", monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; justify-content: space-between; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.97rem; }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline time { font-family: "Geist Mono", monospace; font-size: 0.85rem; color: var(--accent); padding-top: 2px; }
.timeline b { display: block; font-weight: 620; }
.timeline span { color: var(--muted); font-size: 0.92rem; }

/* sections */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
section.block.tint { background: #f4f1ea; }
section.block.night { background: var(--night); color: #f3f1ea; border-top: 0; }
section.block.night .lede, section.block.night p { color: #b6c2bc; }
section.block.night .eyebrow, section.block.night .serif { color: #7fd6bf; }
.head { max-width: 46em; margin-bottom: 40px; }
.head h2 { margin-bottom: 16px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.four .cardx { padding: 20px; }
.cardx { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
a.cardx { color: inherit; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
a.cardx:hover { border-color: var(--accent); transform: translateY(-2px); }
.cardx p { color: var(--muted); font-size: 0.98rem; }
.cardx .more { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; font-size: 0.93rem; }
.night .cardx { background: #142019; border-color: #24362e; }
.night .cardx p { color: #b6c2bc; }
.badge { align-self: flex-start; font-family: "Geist Mono", monospace; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.badge.live { background: var(--accent-soft); color: var(--accent-dark); }
.badge.pilot { background: var(--pilot-bg); color: var(--pilot-ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; max-width: 46em; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: "Geist Mono", monospace; font-size: 0.9rem; color: var(--accent); padding-top: 4px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }
.prose { max-width: 44em; display: grid; gap: 16px; }
.prose p { color: var(--muted); }
.prose ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
table.t { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.97rem; }
table.t th, table.t td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.t thead th { border-top: 0; font-family: "Geist Mono", monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: #f4f1ea; }
table.t td:first-child { font-weight: 600; width: 34%; }
.tscroll { overflow-x: auto; }
details.faq { border-top: 1px solid var(--line); padding: 18px 0; max-width: 46em; }
details.faq summary { cursor: pointer; font-weight: 620; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-family: "Geist Mono", monospace; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin-top: 10px; }
.cta-band { text-align: left; }
.cta-band h2 { max-width: 18em; margin-bottom: 14px; }

/* form */
form.demo { display: grid; gap: 16px; max-width: 34em; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
form.demo label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
form.demo input, form.demo select, form.demo textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfcabd; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
form.demo input:focus, form.demo select:focus, form.demo textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.note { background: var(--pilot-bg); color: var(--pilot-ink); border-radius: 10px; padding: 12px 14px; font-size: 0.93rem; }
.fine { font-size: 0.86rem; color: var(--muted); }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 52px 0 40px; font-size: 0.94rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; font-family: "Geist Mono", monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.86rem; }

@media (max-width: 1100px) and (min-width: 901px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid, .grid.two, .grid.four { grid-template-columns: 1fr; }
  section.block { padding: 52px 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-flex; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; margin: 0; z-index: 30; }
  nav.main.open { display: flex; }
  nav.main a { padding: 13px 0; border-top: 1px solid var(--line); font-size: 1.02rem; }
  nav.main a.btn { margin-top: 14px; border-top: 1px solid var(--accent); padding: 13px 22px; }
  table.t td:first-child { width: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note.ok { background: var(--accent-soft); color: var(--accent-dark); }
