:root {
  --paper: #f4f5f7;
  --surface: #ffffff;
  --ink: #0f1726;
  --ink-soft: #3b4557;
  --muted: #667085;
  --rule: #d8dce3;
  --accent: #223c8f;
  --accent-ink: #1a2f73;
  --night: #0f1726;
  --night-soft: #aab3c5;
  --night-rule: #2a3550;
  --ok: #1d6b4a;
  --err: #a32e2e;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { 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(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 3px solid #5b7bd9; outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; font: 500 15px/1 var(--sans); text-decoration: none;
  padding: 14px 22px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2740; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e6e9f0; }
.btn[disabled] { opacity: .6; cursor: progress; }
.nav .btn { padding: 11px 18px; color: #fff; }
.nav .btn:hover { color: #fff; }

/* Hero */
.hero { padding: 84px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 72px; align-items: center; }
h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.07; letter-spacing: -0.02em; margin: 0 0 26px; max-width: 14.5em; text-wrap: balance;
}
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 33em; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.text-link { font-size: 15px; font-weight: 500; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Product exhibit */
.exhibit { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 1px 0 rgba(15,23,38,.04), 0 18px 40px -24px rgba(15,23,38,.28); overflow: hidden; }
.exhibit-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); background: #fafbfc; }
.exhibit-body { padding: 22px 22px 8px; }
.turn { margin: 0 0 18px; padding-left: 14px; border-left: 2px solid var(--rule); font-size: 14.5px; line-height: 1.55; }
.turn.conjo { border-left-color: var(--accent); }
.turn .who { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.turn.conjo .who { color: var(--accent-ink); }
.draft { margin: 6px -22px 0; border-top: 1px solid var(--rule); padding: 18px 22px 22px; background: #fafbfc; }
.draft-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.draft-head strong { font-size: 14px; font-weight: 600; }
.status { font-size: 12.5px; color: var(--muted); border: 1px solid var(--rule); border-radius: 999px; padding: 2px 10px; background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps li { position: relative; padding: 0 0 14px 28px; font-size: 14px; line-height: 1.45; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.steps li::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: -4px; width: 1px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps small { display: block; color: var(--muted); font-size: 12.5px; }
.draft-actions { display: flex; gap: 10px; margin-top: 18px; }
.pseudo-btn { font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 4px; border: 1px solid var(--rule); background: #fff; color: var(--ink-soft); }
.pseudo-btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.exhibit-note { font-size: 13px; color: var(--muted); margin: 12px 2px 0; }

/* Sections */
section { scroll-margin-top: 16px; }
.block { padding: 96px 0; border-top: 1px solid var(--rule); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(29px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 18px; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; line-height: 1.35; }
.intro { max-width: 36em; color: var(--ink-soft); margin: 0; }

/* Process */
.process-head { margin-bottom: 56px; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; list-style: none; margin: 0; padding: 0; }
.process li { border-top: 2px solid var(--ink); padding-top: 18px; }
.process .n { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--accent); display: block; margin-bottom: 18px; }
.process p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Principles */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.facts { margin: 0; padding: 0; }
.facts > div { padding: 26px 0; border-top: 1px solid var(--rule); }
.facts > div:first-child { border-top: 0; padding-top: 4px; }
.facts dt { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Examples */
.examples { margin: 0; padding: 0; list-style: none; }
.examples li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; padding: 22px 0; border-top: 1px solid var(--rule); }
.examples li:last-child { border-bottom: 1px solid var(--rule); }
.examples strong { font-weight: 600; font-size: 17px; }
.examples span { color: var(--ink-soft); font-size: 16px; }
.examples-head { margin-bottom: 40px; }

/* Early access */
.access { background: var(--night); color: #f4f5f7; padding: 104px 0; }
.access .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.access h2 { color: #fff; }
.access .intro { color: var(--night-soft); }
.access .fine { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--night-rule); font-size: 14.5px; color: var(--night-soft); }
.form-panel { background: var(--surface); color: var(--ink); border-radius: 6px; padding: 36px; }
.field { margin-bottom: 20px; }
.field label, .legend { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #b9c0cd; border-radius: 4px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #8a94a8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,60,143,.2); }
.field .hint { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.error-text { display: none; font-size: 13.5px; color: var(--err); margin: 6px 0 0; }
.field.invalid .error-text { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 4px 0 24px; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.form-panel .btn-dark { width: 100%; padding: 16px 22px; font-size: 16px; }
.form-status { font-size: 14.5px; margin: 14px 0 0; min-height: 1.4em; color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { display: none; }
.success.show { display: block; }
.success h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
.success p { color: var(--ink-soft); margin: 0 0 12px; }
.success .check { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ok); margin-bottom: 18px; display: grid; place-items: center; }
form.hidden { display: none; }

/* FAQ */
.faq-wrap { max-width: 780px; }
details { border-top: 1px solid var(--rule); }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .18s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 24px; color: var(--ink-soft); max-width: 40em; font-size: 16px; }
.faq-head { margin-bottom: 36px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 44px 0 56px; font-size: 14.5px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: var(--ink-soft); }
.privacy { max-width: 46em; font-size: 14.5px; color: var(--muted); margin-top: 0; }

/* Page-load: one calm reveal of the exhibit only */
@media (prefers-reduced-motion: no-preference) {
  .exhibit { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .split, .access .grid, .examples li { grid-template-columns: 1fr; gap: 28px; }
  .examples li { gap: 6px; }
  .block { padding: 72px 0; }
  .access { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .nav a:not(.btn) { display: none; }
  .process { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form-panel { padding: 26px 20px; }
  .exhibit-body { padding: 18px 18px 6px; }
  .draft { margin: 6px -18px 0; padding: 16px 18px 20px; }
}

/* ---- Logo and brand ---- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 40px; width: auto; }
.brand .wordmark { font-size: 25px; }
.site-footer .brand img { height: 34px; }
.site-footer .brand .wordmark { font-size: 21px; }

/* ---- Capabilities ---- */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; margin: 0; padding: 0; list-style: none; }
.caps li { padding: 26px 0; border-top: 1px solid var(--rule); }
.caps h3 { font-size: 18px; margin-bottom: 6px; }
.caps p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.caps-head { margin-bottom: 36px; }

/* ---- Security note ---- */
.note { margin: 28px 0 0; font-size: 14.5px; color: var(--muted); max-width: 30em; }

/* ---- Status ---- */
.status-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.status-list li { border-top: 2px solid var(--ink); padding-top: 18px; }
.status-list li.current { border-top-color: var(--accent); }
.status-list h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.status-list p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---- Legal and text pages ---- */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 4.4vw, 46px); margin-bottom: 10px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 44px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 16.5px; max-width: 40em; }
.doc ul { padding-left: 20px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--accent-ink); }
.doc .callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 32px; color: var(--ink-soft); }
.back { display: inline-block; margin-bottom: 36px; font-size: 15px; color: var(--accent-ink); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.access .fine a { color: #fff; }

@media (max-width: 960px) {
  .caps { grid-template-columns: 1fr; }
  .status-list { grid-template-columns: 1fr; gap: 32px; }
  .doc { padding: 48px 0 72px; }
}
@media (max-width: 560px) {
  .brand img { height: 34px; }
  .brand .wordmark { font-size: 22px; }
}
