/* Lockstock marketing site. Same brand as the app: Ledger, Rev. 05 "Mist & Ink". */
:root {
  --action: #2F66F2;
  --action-hi: #4B7BFF;
  --canvas: #0E1320;
  --panel: #161C2B;
  --sunken: #1B2233;
  --line: #262E42;
  --ink: #E9EEF6;
  --ink-soft: #AEB7C6;
  --ink-muted: #94A0B4;
  --ink-faint: #6E7789;
  --green: #3DD68C;
  --amber: #F0BE3E;
  --red: #E0685E;
  --r-lg: 12px;
  --r-md: 8px;
  --wrap: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.6 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--action-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 1em; }
.mono, .num { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 640px; }
.dim { color: var(--ink-muted); }
.eyebrow {
  display: inline-block; font: 600 13px/1 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase;
  color: var(--action-hi); margin-bottom: 18px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: var(--r-md); font: 600 16px/1 'IBM Plex Sans', sans-serif; border: 1px solid var(--line);
  color: var(--ink); background: var(--panel); cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; border-color: #3a4560; }
.btn-primary { background: var(--action); border-color: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hi); border-color: var(--action-hi); }

/* ── Header ──────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14, 19, 32, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 20px 'Space Grotesk', sans-serif; }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 28px; }
.nav .links { display: flex; gap: 24px; margin-left: auto; }
.nav .links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav .links a:hover, .nav .links a[aria-current] { color: var(--ink); text-decoration: none; }
.nav .cta .btn { height: 40px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-md); width: 42px; height: 40px; cursor: pointer; }
.mobnav { display: none; }
@media (max-width: 820px) {
  .nav .links, .nav .cta { display: none; }
  .menu-btn { display: block; }
  .mobnav.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: var(--canvas); }
  .mobnav a { color: var(--ink); padding: 10px 0; font-weight: 500; }
  .mobnav .btn { margin-top: 8px; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; background: radial-gradient(1100px 600px at 15% -10%, #1c2a55 0%, transparent 60%); }
.hero .grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.hero .grid > div:first-child { max-width: 760px; }
.hero-visual { margin-bottom: 0; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.hero .note { font-size: 14px; color: var(--ink-muted); }
.hero-visual { position: relative; }
.hero-visual .photo { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.hero-visual .result {
  position: absolute; right: -28px; bottom: -120px; width: 54%; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.result .lbl { font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .1em; color: var(--ink-muted); text-transform: uppercase; }
.result .big { font: 700 34px 'IBM Plex Mono', monospace; color: var(--ink); margin: 2px 0 8px; }
.result .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); padding: 6px 0; }
.result .row b { font-family: 'IBM Plex Mono', monospace; font-weight: 600; color: var(--ink); }
.result .ok { color: var(--green); font-size: 13px; margin-top: 6px; }
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero-visual { margin-bottom: 0; }
  .hero-visual .result { position: static; width: 100%; margin-top: 14px; }
}

/* ── Strip of what it covers ─────────────────────────────────────────── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 72px; background: var(--panel); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 18px 24px; font: 500 14px 'IBM Plex Mono', monospace; color: var(--ink-soft); }

/* ── Feature rows ────────────────────────────────────────────────────── */
section.block { padding: 96px 0; }
section.block + section.block { padding-top: 24px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.row2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.row2.flip { grid-template-columns: 1.25fr 1fr; }
.row2.flip .copy { order: 2; }
.row2:last-child { margin-bottom: 0; }
.copy .step { font: 600 13px 'IBM Plex Mono', monospace; color: var(--action-hi); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.copy h3 { font-size: 30px; }
.copy ul { list-style: none; padding: 0; margin: 16px 0 0; }
.copy li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-soft); }
.copy li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 10px; height: 10px; border-radius: 3px; background: var(--action); }
.shot { margin: 0; }
.shot img, .shots img { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.shot figcaption { font-size: 13px; color: var(--ink-faint); margin-top: 10px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) {
  .row2, .row2.flip { grid-template-columns: 1fr; gap: 24px; margin-bottom: 72px; }
  .row2.flip .copy { order: 0; }
  section.block { padding: 64px 0; }
}

/* ── Beta ────────────────────────────────────────────────────────────── */
.beta { background: linear-gradient(180deg, var(--canvas), #121a30); border-top: 1px solid var(--line); }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 36px 0 56px; }
.who .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.who .card h3 { font-size: 19px; margin-bottom: 8px; }
.who .card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.who .card .tag { display: inline-block; font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .08em; color: var(--amber); text-transform: uppercase; margin-bottom: 10px; }
.ask { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .ask { grid-template-columns: 1fr; } }

/* ── Waitlist form ───────────────────────────────────────────────────── */
.waitlist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.waitlist label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--ink-soft); }
.waitlist input, .waitlist select, .waitlist textarea {
  width: 100%; background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink);
  font: 400 16px 'IBM Plex Sans', sans-serif; padding: 11px 12px; margin-bottom: 16px;
}
.waitlist textarea { min-height: 84px; resize: vertical; }
.waitlist input:focus, .waitlist select:focus, .waitlist textarea:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.waitlist .btn { width: 100%; }
.waitlist .msg { margin-top: 12px; font-size: 15px; }
.waitlist .msg.ok { color: var(--green); }
.waitlist .msg.err { color: var(--red); }

/* ── Feature grid (features page) ────────────────────────────────────── */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.fcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.fcard h3 { font-size: 18px; }
.fcard p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink-soft); background: var(--panel); }
.toc a:hover { color: var(--ink); text-decoration: none; border-color: var(--action); }
.fsection { padding: 64px 0 8px; scroll-margin-top: 80px; }
.fsection > .wrap > h2 { margin-bottom: 8px; }
.fsection .intro { color: var(--ink-soft); max-width: 720px; margin-bottom: 28px; }
.fsection .shot { margin-bottom: 20px; }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.callout { background: var(--panel); border: 1px solid var(--action); border-radius: var(--r-lg); padding: 26px 28px; margin: 32px 0; }
.callout h2 { font-size: 28px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table.plans { width: 100%; border-collapse: collapse; min-width: 560px; }
table.plans th, table.plans td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.plans th { font: 600 12px 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: var(--panel); }
table.plans td.num { font-family: 'IBM Plex Mono', monospace; }
table.plans tr:last-child td { border-bottom: 0; }

/* ── Prose (about, legal) ────────────────────────────────────────────── */
.prose { max-width: 760px; padding: 64px 0 96px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { color: var(--ink-soft); margin: 10px 0 0; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--ink-muted); font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font: 600 12px 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.foot a { display: block; color: var(--ink-muted); margin-bottom: 8px; }
.foot a:hover { color: var(--ink); }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
