/* ============================================================================
   Leverine landing page — hand-written CSS, no framework, no webfont fetch.
   Direction: dark, high contrast, ONE accent (amber #f5a524 — the product's own
   accent), sharp 2–4px radii, hairline borders, mono labels, subtle grain.
   ========================================================================== */

:root {
  /* Shipping palette — `frost`, the winter coat: cool, light, and the one dress that
     is not warm. Chosen 2026-11-06 from the preview rig (`?themes=1`); the other
     eight palettes below are overrides of exactly these tokens. */
  --void: #e8eef1; /* backdrop behind everything; image edges */
  --bg: #f6fafb;
  --bg-2: #e9f0f3;
  --bg-3: #dde7eb;
  --panel: #ffffff;
  --line: rgba(12, 32, 44, 0.12);
  --line-2: rgba(12, 32, 44, 0.22);

  --ink: #0f1a20;
  --ink-2: #3b4b53;
  --ink-3: #54646c; /* hints, captions, figcaptions — 5.3:1 on --bg-2 */

  --aim-300: #08596f; /* focus rings — on a light theme the strong end is the dark end */
  --aim-400: #0a6379; /* hover */
  --aim: #0d6d8c; /* the accent: primary buttons, one emphasis per screen */
  --aim-ink: #f6fafb;
  --aim-soft: rgba(13, 109, 140, 0.1);
  --aim-faint: rgba(13, 109, 140, 0.05);
  --aim-line: rgba(13, 109, 140, 0.4);
  --sheen: rgba(255, 255, 255, 0.55);
  --wash: rgba(12, 32, 44, 0.02);
  --deep: #cfdde3; /* shadows, on a light ground */

  /* The one shape that stays dark: the supplied mark is warm tan on a transparent
     ground, and tan needs a dark tile to read against a light page. */
  --mark-tile: #12141a;

  --ok: #10704e;
  --warn: #6b5300;
  --deny: #a32323;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* --void as the page, surfaces above it: the palette's whole premise is depth, and a
     single flat background was the one place the site did not express it. */
  background:
    radial-gradient(120% 60% at 50% 0%, var(--bg-2) 0%, var(--void) 55%),
    var(--void);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* grain: an inline SVG turbulence, no image request */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

/* the amber key light, kept to a whisper */
body::before {
  content: "";
  position: fixed;
  top: -220px;
  left: 50%;
  width: min(1100px, 120vw);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--aim-soft), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

code,
.mono {
  font-family: var(--mono);
  font-size: 0.9em;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--aim);
  color: var(--aim-ink);
  padding: 10px 14px;
  z-index: 99;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--aim-300);
  outline-offset: 3px;
}

/* ───────────────────────────── header ───────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  /* The supplied mark is warm tan/cream on transparency. Tan on a light page is ~1.8:1,
     so it sits on a small dark tile — the one shape that stays dark in the light theme. */
  background: var(--mark-tile);
  padding: 3px;
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
}

.brand-tag {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px 7px;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--aim);
}

/* ───────────────────────────── buttons ───────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 11px 18px;
  font: 600 14.5px/1 var(--font);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 13px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 22px;
  font-size: 15.5px;
}

.btn-primary {
  background: var(--aim);
  border-color: var(--aim);
  color: var(--aim-ink);
  box-shadow: 0 1px 0 var(--sheen) inset;
}

.btn-primary:hover {
  background: var(--aim-400);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--aim);
  color: var(--aim);
}

.btn-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

/* Pre-launch: the install action is a promise, not a link. A `<button disabled>` still
   reads as the primary action but cannot be clicked into a 404, and screen readers
   announce the real state instead of offering a link that goes nowhere. Muted on
   purpose — an amber "Coming soon" would look pressable and lie. */
.btn-soon,
.btn-soon:disabled {
  background: var(--bg-3);
  border-color: var(--line-2);
  color: var(--ink-2);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-soon:disabled:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  color: var(--ink-2);
  transform: none;
}

.btn-soon .btn-icon {
  opacity: 0.55;
}

.cta-note {
  max-width: 52ch;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.cta-center {
  justify-content: center;
}

/* ───────────────────────────── hero ───────────────────────────── */

.hero {
  padding: 76px 0 84px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aim);
  box-shadow: 0 0 12px var(--aim);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 660;
}

.aim {
  color: var(--aim);
}

.lede {
  margin: 0;
  max-width: 34em;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font: 500 12.5px/1.4 var(--mono);
  color: var(--ink-3);
}

.hero-facts li {
  position: relative;
  padding-left: 14px;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--aim);
  border-radius: 1px;
}

/* panel mock — a static rendering of the real UI, replaceable by a GIF */















@keyframes blink {
  50% {
    opacity: 0;
  }
}




/* ───────────────────────────── bands ───────────────────────────── */

.band {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.9vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 640;
}

.body-lg {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
}

.muted {
  color: var(--ink-2);
  margin: 0;
}

.small {
  font-size: 12.5px;
}

/* ───────────────────────────── sections ───────────────────────────── */

.section {
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 44em;
  margin-bottom: 40px;
}

.section-head p.muted {
  margin-top: 12px;
}

/* capability cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-2);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.card h3 {
  margin: 16px 0 8px;
  font-size: 17.5px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.card-art {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  overflow: hidden;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  font: 500 11px/1 var(--mono);
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: 999px;
  padding: 6px 9px;
}

.chip-dim {
  color: var(--ink-3);
}

.menu-mock {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font: 500 12px/1 var(--mono);
}

.menu-mock li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 9px;
  border-radius: 2px;
  color: var(--ink-2);
}

.menu-mock li:first-child {
  background: var(--aim-soft);
  color: var(--aim);
}

.menu-mock .mono {
  color: var(--ink-3);
}

.role-strip {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.role {
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 9px;
}

.role.on {
  color: var(--aim);
  border-color: var(--aim);
  background: var(--aim-soft);
}

.flow {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 500 11.5px/1 var(--mono);
  color: var(--ink-2);
  flex-wrap: wrap;
}

.flow span:not(.arrow) {
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 7px 9px;
  background: var(--bg-3);
}

.flow .arrow {
  color: var(--aim);
}

/* ───────────────────────────── roles ───────────────────────────── */

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 26px;
}

.role-tab {
  font: 600 13px/1 var(--font);
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.role-tab:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.role-tab.is-active {
  color: var(--aim-ink);
  background: var(--aim);
  border-color: var(--aim);
}

.role-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}

.role-panel[hidden] {
  display: none;
}

.role-copy h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.role-copy > p {
  margin: 0 0 16px;
  color: var(--ink-2);
  max-width: 34em;
}

.asks {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.asks li {
  position: relative;
  padding: 11px 13px 11px 34px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--aim);
  border-radius: 2px;
  background: var(--bg);
  font-size: 14.5px;
  color: var(--ink);
}

.asks li::before {
  content: "›";
  position: absolute;
  left: 14px;
  top: 8px;
  color: var(--aim);
  font-family: var(--mono);
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-chips span {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.03em;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 6px 8px;
}

.role-shot .fake-panel {
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--panel);
  padding: 16px;
  display: grid;
  gap: 10px;
  min-height: 190px;
  align-content: start;
  font-size: 12.5px;
  color: var(--ink-2);
}

.fake-line {
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--line-2), var(--line));
}

.w40 { width: 40%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w90 { width: 90%; }

.fake-ask {
  margin-top: 6px;
  font: 600 11px/1 var(--mono);
  color: var(--aim);
}

.fake-panel.mono div {
  font: 500 11.5px/1.9 var(--mono);
  color: var(--ink-2);
}

.ok { color: var(--ok); }
.warn { color: var(--warn); }
.deny { color: var(--deny); }

/* ───────────────────────────── steps ───────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-2);
}

.step-no {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--aim);
}

.steps h3 {
  margin: 12px 0 8px;
  font-size: 17px;
}

.steps p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* connecting line between steps, desktop only */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -18px;
  width: 18px;
  height: 1px;
  background: var(--line-2);
}

/* ───────────────────────────── trust ───────────────────────────── */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.trust-item {
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}

.trust-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--wash);
}

.quote {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: var(--ink);
}

.attrib {
  margin: 0;
  font: 500 11px/1.5 var(--mono);
  color: var(--ink-3);
}

.proof-stats .stat {
  margin: 0 0 2px;
  font: 600 22px/1.2 var(--mono);
  color: var(--aim);
}

/* ───────────────────────────── pricing ───────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-card.is-highlight {
  border-color: var(--aim);
  background: linear-gradient(180deg, var(--aim-faint), var(--bg-2) 60%);
}

.price-name {
  margin: 0;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.price-amount {
  margin: 8px 0 0;
  font-size: 34px;
  font-weight: 660;
  letter-spacing: -0.03em;
}

.price-amount span {
  font-size: 15px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 2px;
}

.price-note {
  margin: 0 0 12px;
  font: 500 11.5px/1.5 var(--mono);
  color: var(--ink-3);
}

.price-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 14px;
}

.price-card li {
  position: relative;
  padding-left: 16px;
}

.price-card li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--aim);
  font-weight: 700;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ───────────────────────────── final ───────────────────────────── */

.final {
  padding: 96px 0 88px;
  text-align: center;
}

.final-inner {
  max-width: 760px;
}

.final .lede {
  margin: 14px auto 0;
}

.fineprint {
  margin: 18px 0 0;
  font: 500 11.5px/1.6 var(--mono);
  color: var(--ink-3);
}

/* ───────────────────────────── footer ───────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.footer-brand {
  margin: 0;
  font-weight: 600;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap; /* six links overflow a 375px viewport if they cannot wrap */
  gap: 10px 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.site-footer nav a:hover {
  color: var(--aim);
}

.site-footer .muted {
  flex: 1 1 320px;
  min-width: 0;
}

/* ───────────────────────────── responsive ───────────────────────────── */

@media (max-width: 980px) {
  .hero-grid,
  .band-grid,
  .role-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero {
    padding: 52px 0 60px;
  }

  .steps,
  .trust-grid,
  .proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li:not(:last-child)::after {
    display: none;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 18px;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    gap: 12px;
  }

  .brand-tag {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .cta-row .btn {
    width: 100%;
  }

  .cta-center {
    justify-content: stretch;
  }

  .hero-facts {
    font-size: 11.5px;
  }
}

/* ── legal pages (privacy.html, terms.html — generated by scripts/legal-html.mjs) ──
   Long-form text needs a different measure and rhythm than the marketing sections:
   one column, ~72 characters, generous leading, tables that scroll instead of
   overflowing at 375px. */

.legal {
  max-width: 760px;
  padding: 72px 24px 96px;
}

.legal h1 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal h2 {
  font-size: 18px;
  margin: 40px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal h3 {
  font-size: 15px;
  margin: 26px 0 8px;
}

.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.72;
}

.legal p {
  margin: 0 0 14px;
}

.legal strong {
  color: var(--ink);
}

.legal a {
  color: var(--aim);
  text-decoration: none;
  border-bottom: 1px solid var(--aim-line);
}

.legal a:hover {
  border-bottom-color: var(--aim);
}

.legal code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 5px;
  color: var(--ink);
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 7px;
}

.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.legal-table {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 520px;
}

.legal th,
.legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}

.legal th {
  color: var(--ink);
  font-weight: 600;
  background: var(--bg-2);
  white-space: nowrap;
}

.legal tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .legal {
    padding: 48px 18px 72px;
  }

  .legal h2 {
    margin-top: 32px;
  }
}

/* ── real captures ───────────────────────────────────────────────────────────
   The hero and the gallery show the running extension, not a drawing of it. Every
   image carries width/height in the markup, so the page never reflows while they
   decode; below the fold they are lazy. */

.hero-demo {
  margin: 0;
  position: relative;
}

/* The captures carry their own amber accents, and a decorative glow that bleeds past
   the figure overflowed the viewport at 768px and 375px. Not worth a wrapper element. */

.hero-demo picture,
.hero-demo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
}

figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

.shots {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}

.shot {
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.shot figcaption b {
  color: var(--ink-2);
  font-weight: 600;
}

@media (max-width: 860px) {
  .shots {
    grid-template-columns: minmax(0, 1fr);
  }

  /* one column: show the panel capture at a readable size rather than 100% of a phone */
  .shot img {
    max-width: 440px;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   THEMES — temporary, for choosing a palette. Not part of the finished site.

   Each theme overrides the colour tokens only; layout, type and spacing are shared,
   so switching themes changes the dress and nothing else. `?themes=1` reveals a
   switcher (see app.js); without it nothing here is reachable and the default theme
   is what ships.

   Every theme must clear AA — `npm run theme-audit` computes the ratios and fails the
   build if one does not. To delete all of this: remove this block, the `initThemes()`
   call in app.js, and the two lines of theme boot in index.html.

   The shipped default is `frost`, and it is the `:root` palette itself — chosen
   2026-11-06 by eye from this rig, and previewable at `/?themes=1`. Everything else
   is an override of those tokens.

   Round one — the category conventions:
     ember     warm lamp in the dark — energy; the original brand dress
     abyss     cold depth, amber scarce — "look deeper", analyst-grade, blue = trust
     cobalt    blue accent — the conventional trust signal in paid B2B software
     paper     light — daylight readability, least "hacker tool" read
     graphite  near-monochrome — gets out of the way of the screenshots

   Second round — the name is the brief. *Leverine* is coined from *leveret*, a young
   hare, so the palette should come from the animal and the hour it keeps, not from
   what other developer tools happen to look like:
     leveret   russet coat on loam — the hare itself, warm without being "warning amber"
     dusk      violet twilight — hares are crepuscular; the most distinctive on the list
     meadow    chartreuse on field-dark — the daytime coat; risks "green = success"
     frost     cool white light — the winter coat, the only non-warm light theme
               → SHIPPING DEFAULT (promoted to `:root`)
   ════════════════════════════════════════════════════════════════════════════ */

/* The original brand dress, kept for comparison. It used to be `:root` itself; when
   `frost` took that slot, every dark theme needed its hairline tokens spelled out —
   inherited from a light `:root` they would have been dark lines on a dark page. */
[data-theme='ember'] {
  --void: #06070a;
  --bg: #0b0c0f;
  --bg-2: #101218;
  --bg-3: #14171f;
  --panel: #12141a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #edebe6;
  --ink-2: #a8a6a1;
  --ink-3: #8a888d;
  --aim-300: #ffc76b;
  --aim-400: #ffb63a;
  --aim: #f5a524;
  --aim-ink: #1a1204;
  --aim-soft: rgba(245, 165, 36, 0.12);
  --aim-faint: rgba(245, 165, 36, 0.06);
  --aim-line: rgba(245, 165, 36, 0.35);
  --sheen: rgba(255, 255, 255, 0.25);
  --wash: rgba(255, 255, 255, 0.015);
  --deep: #0b1a26;
  --ok: #58c08d;
  --warn: #ffd166;
  --deny: #ef5a5a;
}

[data-theme='abyss'] {
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --sheen: rgba(255, 255, 255, 0.25);
  --wash: rgba(255, 255, 255, 0.015);
  --void: #04060a;
  --bg: #080b12;
  --bg-2: #0c1119;
  --bg-3: #101722;
  --panel: #0d131d;
  --ink: #e6ecf2;
  --ink-2: #9aa7b4;
  --ink-3: #7c8896;
  --aim-300: #ffd48a;
  --aim-400: #ffb63a;
  --aim: #f5a524;
  --aim-ink: #1a1204;
  --aim-soft: rgba(245, 165, 36, 0.1);
  --aim-faint: rgba(245, 165, 36, 0.05);
  --aim-line: rgba(245, 165, 36, 0.3);
  --deep: #0a1a2a;
  --ok: #57c99f;
  --warn: #ffd166;
  --deny: #f2635f;
}

[data-theme='cobalt'] {
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --sheen: rgba(255, 255, 255, 0.25);
  --wash: rgba(255, 255, 255, 0.015);
  --void: #05070d;
  --bg: #0a0e17;
  --bg-2: #0e141f;
  --bg-3: #131b29;
  --panel: #101724;
  --ink: #e9eef7;
  --ink-2: #a3adc0;
  --ink-3: #8592a8;
  --aim-300: #9dc0ff;
  --aim-400: #6f9dfb;
  --aim: #4c8dff;
  --aim-ink: #04122b;
  --aim-soft: rgba(76, 141, 255, 0.14);
  --aim-faint: rgba(76, 141, 255, 0.07);
  --aim-line: rgba(76, 141, 255, 0.4);
  --deep: #0a1830;
  --ok: #4fd08a;
  --warn: #e6b34a;
  --deny: #ef5a5a;
}

[data-theme='paper'] {
  --void: #f6f3ee;
  --bg: #fbf9f6;
  --bg-2: #f2eee8;
  --bg-3: #ebe6de;
  --panel: #ffffff;
  --line: rgba(20, 16, 10, 0.12);
  --line-2: rgba(20, 16, 10, 0.22);
  --ink: #191510;
  --ink-2: #4a4238;
  --ink-3: #6b6156;
  --aim-300: #a35c07;
  --aim-400: #a35c07;
  --aim: #b45309;
  --aim-ink: #fffaf2;
  --aim-soft: rgba(138, 77, 6, 0.1);
  --aim-faint: rgba(138, 77, 6, 0.05);
  --aim-line: rgba(138, 77, 6, 0.4);
  --sheen: rgba(255, 255, 255, 0.55);
  --wash: rgba(20, 16, 10, 0.02);
  --deep: #d8d2c8;
  --ok: #1c7a4d;
  --warn: #7a6a00;
  --deny: #b02a2a;
}

[data-theme='graphite'] {
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --sheen: rgba(255, 255, 255, 0.25);
  --wash: rgba(255, 255, 255, 0.015);
  --void: #0a0a0b;
  --bg: #101011;
  --bg-2: #16161a;
  --bg-3: #1c1c21;
  --panel: #131316;
  --ink: #f2f1ef;
  --ink-2: #a9a7a3;
  --ink-3: #8a8885;
  --aim-300: #d8d6d2;
  --aim-400: #c9c7c3;
  --aim: #b9b7b3;
  --aim-ink: #14140f;
  --aim-soft: rgba(255, 255, 255, 0.1);
  --aim-faint: rgba(255, 255, 255, 0.05);
  --aim-line: rgba(255, 255, 255, 0.3);
  --deep: #15151a;
  --ok: #7fb59a;
  --warn: #e0b96a;
  --deny: #cf8080;
}

/* ── second round: the palettes that come from the name itself ──────────────
   "Leverine" is coined from *leveret*, a young hare, so the colour story this
   brand actually owns is not "another dark SaaS page" — it is the animal and the
   hour it is awake. Hares are crepuscular (out at dusk and dawn), their coats run
   russet through grey, the winter coat goes white, and *-ine* is the same suffix
   as *leporine*. Each of these tests one of those instead of another shade of
   the same blue. */

[data-theme='leveret'] {
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --sheen: rgba(255, 255, 255, 0.25);
  --wash: rgba(255, 255, 255, 0.015);
  --void: #0b0907;
  --bg: #131009;
  --bg-2: #191510;
  --bg-3: #1f1912;
  --panel: #16120c;
  --ink: #f2e9dc;
  --ink-2: #b6a894;
  --ink-3: #968972;
  --aim-300: #ffb37a;
  --aim-400: #f08a45;
  --aim: #e07b3c;
  --aim-ink: #1a0e05;
  --aim-soft: rgba(224, 123, 60, 0.12);
  --aim-faint: rgba(224, 123, 60, 0.06);
  --aim-line: rgba(224, 123, 60, 0.36);
  --deep: #1a1208;
  --ok: #6cc08a;
  --warn: #ffd166;
  --deny: #ef5a5a;
}

[data-theme='dusk'] {
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --sheen: rgba(255, 255, 255, 0.25);
  --wash: rgba(255, 255, 255, 0.015);
  --void: #080611;
  --bg: #0f0b18;
  --bg-2: #150f20;
  --bg-3: #1b142a;
  --panel: #130d1c;
  --ink: #ece6f7;
  --ink-2: #b2a9c6;
  --ink-3: #958bab;
  --aim-300: #e6d1ff;
  --aim-400: #d3b3ff;
  --aim: #c39bff;
  --aim-ink: #170a2b;
  --aim-soft: rgba(195, 155, 255, 0.12);
  --aim-faint: rgba(195, 155, 255, 0.06);
  --aim-line: rgba(195, 155, 255, 0.36);
  --deep: #170f2a;
  --ok: #6cc99f;
  --warn: #ffd166;
  --deny: #ef5a5a;
}

[data-theme='meadow'] {
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --sheen: rgba(255, 255, 255, 0.25);
  --wash: rgba(255, 255, 255, 0.015);
  --void: #080b07;
  --bg: #0d120c;
  --bg-2: #121810;
  --bg-3: #182014;
  --panel: #10160e;
  --ink: #e9eee3;
  --ink-2: #aab6a0;
  --ink-3: #8d9a84;
  --aim-300: #dcf28f;
  --aim-400: #c8e765;
  --aim: #a8cc55;
  --aim-ink: #131a04;
  --aim-soft: rgba(168, 204, 85, 0.12);
  --aim-faint: rgba(168, 204, 85, 0.06);
  --aim-line: rgba(168, 204, 85, 0.36);
  --deep: #111a0b;
  --ok: #3fb98a;
  --warn: #ffd166;
  --deny: #ef5a5a;
}


/* The switcher itself — only ever present when app.js created it under ?themes. */
.theme-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  z-index: 90;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: 0 8px 30px -12px var(--deep);
  font-size: 11.5px;
  color: var(--ink-2);
  max-width: calc(100vw - 20px);
  flex-wrap: wrap;
  justify-content: center;
}

.theme-bar-label {
  padding: 0 4px 0 6px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}

.theme-bar button {
  font: inherit;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg-3);
  color: var(--ink-2);
  cursor: pointer;
}

.theme-bar button:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.theme-bar button[aria-pressed='true'] {
  background: var(--aim);
  border-color: var(--aim);
  color: var(--aim-ink);
  font-weight: 600;
}

.theme-bar-note {
  padding: 0 6px 0 2px;
  color: var(--ink-3);
  font-size: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }


  .btn,
  .card {
    transition: none;
  }
}
