/* Two Lane — shared styles.
   Palette and type mirror the app's tokens so the site and the product read
   as one thing. Cobalt is the only accent; green appears nowhere, because in
   the app green means "open" and nothing else. */

:root {
  --ground: #FAF6EF;
  --surface: #FFFFFF;
  --border: #E7E0D4;
  --border-firm: #D7CFC1;

  --ink: #17171C;
  --ink-2: #3D3A35;
  --muted: #6B6760;

  --action: #2340B8;
  --deep: #16255E;
  --gold: #FFB020;

  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --body: 'Karla', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #14131A;
    --surface: #1C1B23;
    --border: #2E2C38;
    --border-firm: #3D3A49;
    --ink: #F2EFE8;
    --ink-2: #CFCAC1;
    --muted: #948E86;
    --action: #93A9EE;
    --deep: #A9BCF0;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; letter-spacing: 0.02em; color: var(--ink); text-decoration: none;
}
.brand .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--action); }
nav.site a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px; }
nav.site a:hover { color: var(--action); }

h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 6vw, 46px); line-height: 1.05;
  letter-spacing: -0.015em; margin: 0 0 14px; text-wrap: balance;
}
h2 {
  font-family: var(--display); font-weight: 400;
  font-size: 25px; letter-spacing: -0.01em; margin: 40px 0 10px;
}
h3 { font-size: 16px; font-weight: 700; margin: 26px 0 6px; }
p { margin: 0 0 14px; max-width: 65ch; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
small, .small { font-size: 13.5px; color: var(--muted); }

a { color: var(--action); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

ul { max-width: 65ch; padding-left: 20px; }
li { margin-bottom: 8px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px; margin: 20px 0;
}
.card.deep { background: var(--deep); border-color: transparent; }
.card.deep, .card.deep p, .card.deep h3 { color: #FAF6EF; }
.card.deep .muted { color: #A9BCF0; }

.stamp {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  color: var(--muted); border: 1px solid var(--border-firm);
  border-radius: 999px; padding: 4px 11px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 22px; border-radius: 12px;
  background: var(--action); color: var(--ground);
  font-weight: 700; text-decoration: none; border: none; cursor: pointer;
  font-size: 15px; font-family: var(--body);
}
.btn.ghost { background: transparent; color: var(--action); border: 1px solid var(--border-firm); }

footer.site {
  margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  font-size: 13.5px; color: var(--muted);
}
footer.site a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: var(--action); }

table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 14px 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 700; color: var(--ink); }
.tablewrap { overflow-x: auto; }
