/* 37C public pages (landing, pricing, login) — 2026-11-17 r2
   One dark palette. The page background is a continuous gradient set by landing.js from scroll
   position; a fixed canvas draws the square lattice (from the logo frame) that lights up as you scroll. */

@font-face { font-family: "Inter37"; src: url("/assets/landing/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter37"; src: url("/assets/landing/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mono37"; src: url("/assets/landing/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800; font-display: swap; }

:root {
  --sans: "Inter37", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Mono37", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --bg: #08090b;
  --fg: #ececef; --fg2: #a3a6ae; --fg3: #7e828c;
  --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.16);
  --sc-bg: #0c0d10; --sc-bar: #08090b; --sc-line: #222227; --sc-tx: #ececef; --sc-tx2: #a1a1aa; --sc-tx3: #86868f; --redact: #1d1f24;
  --link: #5b8def; --act: #3567cf; --err: #f0506e;
  --max: 1280px; --gut: 32px; --r: 3px;
}
@media (max-width: 720px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--act); color: #fff; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.lattice { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.nav.stuck { background: color-mix(in srgb, var(--bg) 86%, transparent); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 28px; height: 28px; }
.brand .wm { font-weight: 620; font-size: 16.5px; letter-spacing: -.012em; line-height: 1; white-space: nowrap; }
.brand .wm span { font-weight: 400; color: var(--fg2); }
.nav .links { display: flex; gap: 28px; margin-left: auto; }
.nav .links a { font-size: 14px; color: var(--fg2); transition: color .15s; white-space: nowrap; }
.nav .links a:hover, .nav .links a[aria-current] { color: var(--fg); }
.nav .acts { display: flex; align-items: center; gap: 18px; }
.nav .login { font-size: 14px; color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 20px; border-radius: var(--r);
  font: 500 14.5px/1 var(--sans); white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: border-color .15s, opacity .15s, background-color .15s; }
.btn-solid { background: var(--fg); color: #0a0b0d; }
.btn-solid:hover { opacity: .88; }
.btn-line { border-color: var(--line2); color: var(--fg); }
.btn-line:hover { border-color: var(--fg2); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--fg); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.nav .links a.m-only { display: none; }
@media (max-width: 960px) {
  .nav .links, .nav .acts .login { display: none; }
  .menu-btn { display: block; }
  .nav.open { background: var(--bg); }
  .nav.open .links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; }
  .nav.open .links a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); color: var(--fg); }
  .nav.open .links a.m-only { display: block; }
}
@media (max-width: 480px) { .nav .acts { display: none; } }

/* ── type ── */
.label { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); margin: 0 0 22px; }
.display { font-weight: 600; font-size: clamp(44px, 7.2vw, 104px); line-height: .98; letter-spacing: -.042em; margin: 0; max-width: 1000px; }
.h2 { font-weight: 580; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -.032em; margin: 0; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--fg2); max-width: 640px; margin: 0; }
.body p { margin: 0 0 18px; color: var(--fg2); font-size: 17px; line-height: 1.7; max-width: 620px; }
.body p:last-child { margin-bottom: 0; }
.muted { color: var(--fg2); }

/* ── sections ── */
section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }

.hero { min-height: calc(100svh - 64px); display: flex; align-items: center; padding-top: clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; gap: 34px; }
.hero .ctas { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.textlink { font-size: 15px; color: var(--fg2); border-bottom: 1px solid var(--line2); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.textlink:hover { color: var(--fg); border-color: var(--fg2); }

/* about */
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 11px/1.8 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); }
.facts dd { margin: 0; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* platform — module tabs + subscriber preview (structure only; no data leaves the product) */
.plat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.tabs { border-top: 1px solid var(--line); }
.tab { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 18px 0; color: var(--fg2); font: inherit; cursor: pointer; position: relative; transition: color .15s; }
.tab .t { display: block; font-size: 17.5px; font-weight: 520; letter-spacing: -.01em; }
.tab .d { display: none; font-size: 15px; line-height: 1.55; color: var(--fg2); padding: 8px 12px 2px 0; }
.tab:hover, .tab[aria-selected="true"] { color: var(--fg); }
.tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--fg); }
.tab[aria-selected="true"] .d { display: block; }
.screen { background: var(--sc-bg); color: var(--sc-tx); border: 1px solid #25262b; border-radius: var(--r); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7); font-size: 13px; line-height: 1.4; min-height: 430px; }
.screen .bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: var(--sc-bar); border-bottom: 1px solid var(--sc-line); }
.screen .bar .dots { display: flex; gap: 6px; } .screen .bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a30; }
.screen .bar .path { font: 500 11px/1 var(--mono); color: var(--sc-tx3); letter-spacing: .04em; }
.screen .bar .lock { margin-left: auto; display: flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--mono); color: var(--sc-tx3); letter-spacing: .08em; text-transform: uppercase; }
.screen .bar .lock svg { width: 11px; height: 11px; }
.pane { display: none; } .pane.on { display: block; }
.sc-body { padding: 20px 18px 22px; }
.sc-k { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sc-tx3); }
.sc-h { font-size: 15px; font-weight: 560; margin: 12px 0 16px; }
.rd { display: inline-block; height: 9px; border-radius: 2px; background: var(--redact); vertical-align: middle; }
.rd-lines { display: grid; gap: 9px; margin: 2px 0 20px; } .rd-lines .rd { display: block; }
table.sc { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.sc th { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sc-tx3); text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--sc-line); font-weight: 500; }
table.sc td { padding: 11px 10px; border-bottom: 1px solid #18191d; color: var(--sc-tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.sc td.m { font-family: var(--mono); font-size: 12px; color: var(--sc-tx2); }
table.sc .r { text-align: right; }
.sc-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--sc-line); border-radius: 2px; }
.sc-strip > div { padding: 13px 14px; } .sc-strip > div + div { border-left: 1px solid var(--sc-line); }
.sc-strip .rd { margin-top: 12px; display: block; height: 14px; }
.sc-chart { margin-top: 16px; height: 170px; border: 1px solid var(--sc-line); border-radius: 2px;
  background: repeating-linear-gradient(0deg, transparent 0 33px, #16171b 33px 34px), repeating-linear-gradient(90deg, transparent 0 59px, #131418 59px 60px); }
.sc-note { font: 400 11px/1.5 var(--mono); color: var(--sc-tx3); padding: 12px 18px; border-top: 1px solid var(--sc-line); }
.bars { display: grid; gap: 12px; margin-top: 14px; }
.bars > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; align-items: center; font-size: 12.5px; color: var(--sc-tx2); }
@media (max-width: 960px) { .plat { grid-template-columns: 1fr; } .screen { min-height: 0; } }
@media (max-width: 600px) { .sc-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc-strip > div:nth-child(3) { border-left: 0; }
  .sc-strip > div:nth-child(n+3) { border-top: 1px solid var(--sc-line); } table.sc .hide-s { display: none; } .bars > div { grid-template-columns: 96px minmax(0, 1fr); } }

/* coverage */
.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows .c { font-size: clamp(19px, 1.8vw, 24px); font-weight: 540; letter-spacing: -.018em; }
.rows .x { font-size: 15.5px; line-height: 1.6; color: var(--fg2); }
@media (max-width: 720px) { .rows > div { grid-template-columns: 1fr; gap: 6px; } }

/* access */
.close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.close .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .close .wrap { grid-template-columns: 1fr; } }

/* ── footer ── */
footer { border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 14px; position: relative; z-index: 1; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: 56px; }
.foot-top p { color: var(--fg2); margin: 18px 0 0; max-width: 320px; line-height: 1.6; }
.foot-col h4 { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); margin: 6px 0 18px; font-weight: 500; }
.foot-col a { display: block; color: var(--fg2); padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--fg); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 16px; }
.foot-legal .row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; color: var(--fg2); }
.foot-legal .row .sp { margin-left: auto; }
.foot-legal .row .pending { color: var(--fg3); }
.foot-legal p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--fg3); max-width: 1040px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > div:first-child { grid-column: 1 / -1; } .foot-legal .row .sp { margin-left: 0; width: 100%; } }

/* ── pricing ── */
.p-hero { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(56px, 6vw, 88px); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: rgba(8,9,11,.35); }
.tier { padding: 32px 28px 30px; display: flex; flex-direction: column; min-height: 440px; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier .tn { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); }
.tier h3 { font-size: 30px; font-weight: 580; letter-spacing: -.03em; margin: 22px 0 8px; }
.tier .for { color: var(--fg2); font-size: 15px; min-height: 48px; }
.tier .price { margin: 28px 0 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier .price .v { font: 500 15px/1.4 var(--mono); color: var(--fg3); letter-spacing: .02em; }
.tier .pending { flex: 1; color: var(--fg3); font-size: 14.5px; margin: 0 0 28px; }
.tier.mid { background: rgba(255,255,255,.025); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); font-weight: 500; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 18%; color: var(--fg3); font-family: var(--mono); }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } .tier { min-height: 0; } .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
  .compare-wrap { overflow-x: auto; } .compare { min-width: 560px; } }

/* ── login / request access ── */
.auth { min-height: calc(100svh - 64px); display: flex; align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.auth .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.auth .intro { padding-top: 10px; }
.auth .intro .h2 { font-size: clamp(34px, 4.4vw, 60px); }
.auth .intro .lede { margin-top: 22px; }
.auth .intro .alt { margin-top: 30px; font-size: 15px; color: var(--fg2); }
.auth .intro .alt a { color: var(--fg); border-bottom: 1px solid var(--line2); cursor: pointer; }
.panel { background: rgba(10,11,13,.82); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 24px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; color: var(--fg2); margin-bottom: 8px; }
.form-input { width: 100%; height: 44px; padding: 0 13px; background: #0d0e11; border: 1px solid #2b2c32; border-radius: var(--r);
  color: var(--fg); font: 400 15px/1.4 var(--sans); outline: none; transition: border-color .15s; }
textarea.form-input { height: auto; padding: 11px 13px; line-height: 1.5; }
select.form-input { appearance: none; }
.form-input:focus { border-color: #6b6e78; }
.form-input::placeholder { color: #5a5d66; }
.login-btn { width: 100%; height: 44px; margin-top: 6px; background: var(--fg); color: #0a0b0d; border: 0; border-radius: var(--r);
  font: 500 15px/1 var(--sans); cursor: pointer; transition: opacity .15s; }
.login-btn + .login-btn { margin-top: 10px; }
.login-btn:hover { opacity: .88; }
.login-btn:disabled { opacity: .5; cursor: default; }
.login-error { display: none; margin-top: 14px; font-size: 14px; color: var(--err); }
.login-note { display: none; margin-top: 14px; font-size: 14px; color: var(--fg2); line-height: 1.55; }
.mode-switch { margin-top: 18px; font-size: 14px; color: var(--fg2); cursor: pointer; text-align: center; }
.mode-switch:hover { color: var(--fg); }
#mfaPanel { display: none; }
.login-card.mfa #loginForm { display: none; }
.login-card.mfa #mfaPanel { display: block; }
.login-trigger, #modeSwitch { display: none; }
@media (max-width: 860px) { .auth .wrap { grid-template-columns: 1fr; } .panel { padding: 24px 18px 20px; } }

/* reveal */
.js .rv { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } }

/* ── legal pages (2026-11-17) ── */
.legal-hero { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(32px, 4vw, 56px); }
.legal-updated { margin: 22px 0 0; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
section.legal-body { padding-top: clamp(40px, 5vw, 72px); }
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; font-weight: 580; letter-spacing: -.015em; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16.5px; font-weight: 560; margin: 26px 0 8px; }
.legal p { margin: 0 0 16px; color: var(--fg2); font-size: 16.5px; line-height: 1.75; }
.legal a { color: var(--fg); border-bottom: 1px solid var(--line2); }
.legal a:hover { border-color: var(--fg2); }
.legal-facts { margin: 0 0 8px; border-top: 1px solid var(--line); }
.legal-facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.legal-facts dt { font: 500 11px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); }
.legal-facts dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--fg); }
@media (max-width: 720px) { .legal-facts > div { grid-template-columns: 1fr; gap: 4px; } }
.foot-legal .row a[aria-current] { color: var(--fg); }

/* ── pricing: tier feature lists (2026-11-17) ── */
.tier .feat-lead { margin: 0 0 10px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); }
.tier ul.feat { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.tier ul.feat li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--fg); }
.tier ul.feat li:last-child { border-bottom: 0; }
.tier ul.feat li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 5px; border-left: 1.5px solid var(--fg2); border-bottom: 1.5px solid var(--fg2); transform: rotate(-45deg); }
.compare td .yes { color: var(--fg); font-family: var(--sans); }
.compare td:not(:first-child) { font-family: var(--sans); font-size: 14px; }
