:root {
  --bg: #141717;
  --surface: #1c2120;
  --ink: #f7f1e6;
  --muted: #bcc3bc;
  --line: #495350;
  --mint: #a9eadb;
  --clay: #e8aa8e;
  --gold: #ddc394;
  --ember: #ffa688;
  --paper: #f3e8d7;
  --paper-ink: #26312e;
  --paper-muted: #47524a;
  --paper-line: #b8a994;
  --gutter: clamp(20px, 5vw, 76px);
}

html { scroll-padding-top: 24px; }
body { text-rendering: optimizeLegibility; }
main { max-width: 1440px; padding-inline: var(--gutter); }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 690;
  line-height: .98;
  margin: 0 0 22px;
}
h2 { font-weight: 620; font-size: clamp(32px, 4vw, 54px); }
h3 { font-weight: 580; }
.lead { color: var(--ink); line-height: 1.55; }
.eyebrow, .instrument-label, .examples dt {
  color: var(--gold);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.caption { font-size: .85rem; max-width: 62ch; }

.site-header {
  max-width: none;
  min-height: 79px;
  padding-block: 12px;
  padding-inline: max(var(--gutter), calc((100% - 1288px) / 2));
  column-gap: 26px;
}
.wordmark { gap: 6px; }
.wordmark img { margin-right: 3px; }
.wordmark span { color: var(--ember); margin-left: -5px; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  font-weight: 550;
}
.site-header nav a[aria-current="page"] { text-underline-offset: 6px; }
.button, .button.small {
  min-height: 48px;
  border-radius: 4px;
  padding: 11px 17px;
  line-height: 1.4;
  font-size: .9rem;
  font-weight: 650;
}
.button.primary, .site-header > .button {
  color: #26211e;
  background: var(--ember);
  border-color: var(--ember);
}
.button.primary:hover, .site-header > .button:hover {
  background: #ffbba5;
  border-color: #ffbba5;
}
.button:disabled, .button:disabled:hover {
  color: #c4cdc6;
  background: #2e3733;
  border-color: #52615b;
  opacity: 1;
}
.actions { margin: 24px 0 12px; gap: 10px; }
.text-link, .jump-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 650;
}
.skip { border-radius: 4px; }
.intro { padding: clamp(44px, 7vw, 100px) 0 clamp(22px, 4vw, 55px); }
.intro h1 { font-size: clamp(42px, 7.1vw, 100px); }
.intro h1 + .lead { margin-bottom: 12px; }
.section { padding-block: clamp(44px, 7vw, 90px); }

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(30px, 5vw, 82px);
  padding-block: clamp(42px, 7.25vw, 111px) clamp(48px, 6vw, 95px);
}
.hero h1 { font-size: clamp(56px, 8.1vw, 118px); text-wrap: initial; letter-spacing: -.076em; }
.hero .lead { max-width: 40ch; margin-bottom: 0; }
.hero .eyebrow { margin-bottom: 20px; }
.hero .caption { margin-bottom: 0; }
.signal-figure {
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.instrument {
  display: grid;
  gap: 27px;
  padding: clamp(20px, 3vw, 39px);
  background: radial-gradient(ellipse at 20% 0%, #654c38 0, #362c25 35%, transparent 75%), #1e2726;
}
.instrument img { display: block; width: min(100%, 385px); height: auto; margin-inline: auto; }
.writeout {
  min-height: 150px;
  padding: clamp(20px, 3vw, 39px);
  color: var(--paper-ink);
  background: var(--paper);
}
.writeout .instrument-label { color: var(--paper-muted); }
.writeout p {
  margin: 12px 0 0;
  color: inherit;
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.55vw, 40px);
  line-height: 1.22;
  text-wrap: pretty;
}
.signal-figure figcaption { padding: 12px clamp(20px, 3vw, 39px); font-size: .78rem; color: var(--muted); }

.steps { border-top: 1px solid var(--line); }
.steps h2 { margin-top: 0; }
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 10px;
  padding: 0;
  border: 1px solid var(--line);
  counter-reset: process;
  list-style-type: none;
}
.steps li { padding: clamp(17px, 2.7vw, 34px); counter-increment: process; }
.steps li + li { border-inline-start: 1px solid var(--line); }
.steps li::before {
  content: counter(process, decimal-leading-zero);
  color: var(--gold);
  font-family: Consolas, monospace;
  font-size: .86rem;
}
.steps h3 { margin: 12px 0 8px; }
.steps li p { margin: 0; }

.sample-section, .privacy-band {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 4vw, 65px);
  padding: clamp(26px, 4vw, 62px);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--paper-ink);
}
.sample-section h2, .privacy-band h2 { margin-top: 0; }
.sample-section p, .sample-section dd, .privacy-band p { color: var(--paper-muted); }
.sample-section summary:focus-visible, .privacy-band a:focus-visible { outline-color: #24574a; }
.examples { min-width: 0; border-top: 1px solid var(--paper-line); }
.examples details { border-bottom: 1px solid var(--paper-line); }
.examples summary {
  min-height: 49px;
  padding: 14px 4px;
  cursor: pointer;
  font-weight: 680;
}
.examples dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 16px; gap: 14px; }
.examples dl > div { padding: 13px; background: #e8dac6; border-radius: 3px; }
.examples dl > div + div { background: #fcf6eb; }
.examples dt { color: var(--paper-muted); }
.examples dd { margin: 7px 0 0; line-height: 1.5; }
.examples details[open] dl { animation: examples-in .18s ease-out; }
@keyframes examples-in { from { opacity: .2; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
.privacy-band { margin: clamp(36px, 6vw, 84px) 0 clamp(30px, 5vw, 72px); }
.privacy-band > :last-child { align-self: center; }
.privacy-band p:last-child { margin-bottom: 0; }
.privacy-band .text-link { color: #235246; }
.split { align-items: start; }
.split h2 { margin-top: 0; }
.access-summary p { max-width: 45ch; }
.help-strip {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 34px 0;
}
.help-strip h2 { margin: 0; font-size: clamp(23px, 3vw, 35px); }
.help-strip p { margin: 8px 0 0; }

.feature-list { border-top: 1px solid var(--line); }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(17px, 5vw, 87px);
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 4vw, 59px) 0;
}
.feature-row h2 { font-size: clamp(28px, 3.6vw, 48px); margin: 0; }
.feature-row h3 { margin-bottom: 6px; font-size: 19px; }
.feature-row p + h3 { margin-top: 21px; }
.feature-row p:last-child { margin-bottom: 0; }
.grid { gap: 16px; }
.card { border-radius: 6px; }
.card h2, .plans .card h2 { white-space: normal; font-size: clamp(28px, 3.5vw, 49px); }
.plans .card h2 span { white-space: nowrap; }
.plans .card .button { align-self: start; }
.plans .featured { border-color: #b69179; background: #2d2823; }
.card .caption { margin-top: 15px; }
.availability {
  max-width: max-content;
  border-inline-start: 3px solid var(--gold);
  padding: 9px 14px;
  background: #292821;
}
.founding { max-width: 69ch; }
.faq { max-width: 100%; }
.faq h2 { margin-top: 0; }
.faq details p, .faq details ol { max-width: 70ch; color: var(--muted); }
.faq details ol { margin-inline: 14px; padding-left: 38px; line-height: 1.7; }
.faq details { padding-block: 0; }
.faq summary {
  min-height: 48px;
  padding-block: 14px;
  font-weight: 580;
}
.faq details[open] { padding-bottom: 20px; }
.faq details p { margin-top: 10px; }
main > .faq + .faq { padding-top: 0; }
.jump-links { display: flex; gap: 4px 22px; flex-wrap: wrap; margin-top: 12px; }
.brand-lock { white-space: nowrap; }
.account .shell { align-items: start; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.table-scroll table { width: 100%; border-collapse: collapse; }
.table-scroll th, .table-scroll td { padding: 9px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.account-panel { border-top-color: var(--clay); }
.account-panel .button { text-align: center; }
.account-panel input::placeholder { color: var(--muted); }
#plans { max-width: 76ch; }
footer {
  max-width: none;
  padding: 26px max(var(--gutter), calc((100% - 1288px) / 2)) 34px;
}
footer nav { margin: 10px 0; gap: 7px 24px; flex-wrap: wrap; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer .wordmark { margin-bottom: 7px; }
footer .footer-trademarks { max-width: 90ch; opacity: 1; }

@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(52px, 8.25vw, 92px); }
  .hero-break { display: none; }
  .site-header { column-gap: 12px; }
  .site-header nav { gap: 12px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 0; padding-block: 9px 5px; }
  .site-header nav { gap: 4px; flex-wrap: wrap; }
  .site-header nav a { font-size: clamp(.72rem, 2.9vw, .9rem); }
  .hero, .sample-section, .privacy-band, .feature-row { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 24px; padding-block: 31px 45px; }
  .hero h1 { font-size: clamp(51px, 11vw, 80px); margin-bottom: 14px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero .lead { font-size: 17px; }
  .hero .actions { margin-top: 16px; gap: 8px; }
  .hero .button { padding-inline: 12px; }
  .instrument { gap: 16px; }
  .writeout { min-height: 0; }
  .steps ol { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .feature-row h3 { margin-top: 0; }
}
@media (max-width: 410px) {
  .examples dl { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .examples details[open] dl { animation: none; }
  .button:hover { transform: none; }
}

.checkout-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  max-width: 65ch;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.checkout-confirmation input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--mint);
}

/* Founding offer note: shown by founding-count.js only while places remain. */
.founding-note { margin: 18px 0 0; padding: 10px 14px; max-width: 62ch; border-left: 3px solid var(--mint); border-radius: 4px; background: rgba(169, 234, 219, .08); line-height: 1.5; color: inherit; }
.founding-note[hidden] { display: none; }
.founding-note strong { font-weight: 700; }
.founding-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero .founding-note + .caption { margin-top: 12px; }
