/* Orchadstrate — the same system as the product: flat paper, hairline rules,
   no radii, no shadows. Chivo for text, Martian Mono for labels and numbers. */

:root {
  --paper:  #f4f3f0;
  --panel:  #ece9e3;
  --card:   #fdfdfc;
  --ink:    #16181c;
  --ink-2:  #4a4e56;
  --muted:  #6b6f78;
  --faint:  #8b8f97;
  --rule:   #d6d4ce;
  --hair:   #e2e0da;
  --accent: #7f2b23;
}

* { box-sizing: border-box; }

/* Nothing may push the page wider than the screen. Wide content gets its own
   scroll container instead — the body never scrolls sideways. */
img, svg { max-width: 100%; }
.wrap { width: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Chivo, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.mono {
  font-family: 'Martian Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ---- chrome ---- */
header.site {
  border-bottom: 1px solid var(--ink);
  position: sticky; top: 0; background: var(--paper); z-index: 10;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .name { display: block; font-weight: 700; font-size: 17px; letter-spacing: -.02em; line-height: 1; }
.brand .desc {
  display: block;
  font-family: 'Martian Mono', ui-monospace, monospace; font-size: 8px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-top: 4px;
}
nav.site { display: flex; gap: 22px; align-items: center; font-size: 14px; }
nav.site a { color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-block; border: 1px solid var(--ink); background: var(--ink);
  color: var(--paper); padding: 13px 24px; font-size: 15px; font-weight: 500;
}
.btn:hover { text-decoration: none; background: #000; }
.btn.ghost { background: transparent; color: var(--ink); border-color: #b8b5ad; }
.btn.ghost:hover { background: transparent; border-color: var(--ink); }

/* ---- hero ---- */
.hero { padding: 78px 0 56px; border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-size: clamp(34px, 6vw, 58px); font-weight: 700; letter-spacing: -.032em;
  line-height: 1.04; margin: 14px 0 20px; max-width: 17ch; text-wrap: balance;
}
.hero p.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 0 0 30px; }
.hero .cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero .under { font-size: 13.5px; color: var(--faint); }

/* ---- curve figure ---- */
.figure { border-bottom: 1px solid var(--rule); padding: 40px 0 46px; }
.figure svg { display: block; width: 100%; height: auto; }
.figkeys { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 16px; }
.figkey { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.figkey i { display: block; width: 20px; height: 0; border-top: 2px solid var(--ink); }
.figkey i.dash { border-top: 2px dashed #b8b5ad; }

/* ---- sections ---- */
section { padding: 58px 0; border-bottom: 1px solid var(--rule); }
h2 { font-size: clamp(23px, 3.2vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.18; margin: 12px 0 14px; max-width: 26ch; text-wrap: balance; }
section p { font-size: 16.5px; color: var(--ink-2); max-width: 62ch; margin: 0 0 14px; }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
.three h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin: 12px 0 7px; }
.three p { font-size: 14.5px; margin: 0; }
.three .n { font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: .1em; color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); margin-top: 30px; }
.stat { padding: 22px 24px; border-right: 1px solid var(--rule); background: var(--card); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: 'Martian Mono', monospace; font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }

.rows { margin-top: 26px; border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 190px 1fr; gap: 26px; padding: 17px 0; border-bottom: 1px solid var(--hair); }
.row .k { font-weight: 500; font-size: 15px; }
.row .v { font-size: 15px; color: var(--ink-2); }

.closing { background: var(--panel); border-bottom: 0; }

/* ---- long-form pages ---- */
.doc { padding: 52px 0 76px; }
.doc .body { max-width: 68ch; }
.doc h1 { font-size: 34px; letter-spacing: -.028em; margin: 10px 0 6px; }
.doc h2 { font-size: 19px; margin: 34px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); max-width: none; }
.doc h3 { font-size: 15.5px; margin: 22px 0 6px; }
.doc p, .doc li { font-size: 15.5px; color: var(--ink-2); max-width: none; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 7px; }
.doc strong { color: var(--ink); font-weight: 500; }
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 30px; }

footer.site { padding: 34px 0 46px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: baseline; }
footer.site nav { display: flex; gap: 22px; font-size: 14px; }
footer.site a { color: var(--muted); }
footer.site .who { font-size: 13.5px; color: var(--faint); }

@media (max-width: 760px) {
  /* The figure is the one thing that genuinely needs width. Let it scroll in
     its own box rather than dragging the page with it. */
  .figure svg { min-width: 460px; }
  .figure .wrap > svg, .figscroll { overflow-x: auto; }

  .three, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  nav.site { display: none; }
  .hero { padding: 48px 0 40px; }
  section { padding: 44px 0; }
}

/* ---- pricing ---- */
.bands { border-top: 1px solid var(--ink); margin-top: 28px; }
.band {
  display: grid; grid-template-columns: 1fr auto auto; gap: 22px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--hair);
}
.band .spend { font-size: 16px; font-weight: 500; }
.band .accounts { font-size: 13.5px; color: var(--muted); }
.band .price {
  font-family: 'Martian Mono', ui-monospace, monospace; font-size: 19px;
  font-variant-numeric: tabular-nums; min-width: 96px; text-align: right;
}
.band.talk .price { font-size: 14px; color: var(--muted); }
.included { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 30px; margin-top: 26px; }
.included div { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; }
.included div::before { content: ""; flex: none; width: 9px; height: 9px; border: 1px solid var(--accent); margin-top: 5px; }

/* ---- form ---- */
form.waitlist { margin-top: 28px; max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
form.waitlist label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; }
form.waitlist .hint { font-weight: 400; color: var(--faint); font-size: 12.5px; }
form.waitlist input, form.waitlist select {
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--card);
  border: 1px solid #b8b5ad; padding: 11px 13px; border-radius: 0; width: 100%;
}
form.waitlist input:focus, form.waitlist select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
form.waitlist button {
  font-family: inherit; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 13px 26px; font-size: 15px; font-weight: 500; cursor: pointer; align-self: flex-start;
}
form.waitlist button:hover { background: #000; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 760px) {
  .band { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .band .accounts { grid-column: 1; }
  .band .price { grid-row: 1 / span 2; }
  .included { grid-template-columns: 1fr; }
}
