/* codecuck site styles.
   Liquid Glass (.lg, .lg-btn, .lg-tint) is used only on controls: nav, menu, buttons, tabs, the form bar, toasts.
   Content sits on plain surfaces. */

@font-face {
  font-family: 'Mona Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/mona-sans-latin-wght-normal.woff2) format('woff2');
  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: 'Mona Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/mona-sans-latin-ext-wght-normal.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2');
  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;
}

:root {
  --accent: #146c3a;
  --accent-bright: #1d8a4f;
  --lg-blur: 16px;
  --ground: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #fbfcfe;
  --line: #e2e8f0;
  --line-soft: #f0f3f7;
  --line-mid: #edf1f6;
  --line-strong: #d5dde8;
  --ink: #1b2430;
  --ink-2: #3b4555;
  --ink-3: #576274;
  --blue: #1f5fd1;
  --blue-ink: #1a4fae;
  --blue-tint: #eaf1fe;
  --green: #187a43;
  --green-ink: #14532d;
  --green-tint: #ecf8f0;
  --amber: #9a5b00;
  --red: #b42318;
  --red-tint: #fdf2f1;
  --heat-0: #e6ebf2;
  --heat-1: #c3e7cf;
  --heat-2: #86d0a2;
  --heat-3: #3fae71;
  --heat-4: #1d8a4f;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: 'Mona Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --card-shadow: 0 1px 2px rgba(27,36,48,0.04), 0 24px 48px -28px rgba(27,36,48,0.25);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ground);
  background-image: radial-gradient(rgba(27,36,48,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--blue); }
a:hover { color: #1847a3; }
::selection { background: #cfe0ff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
svg { flex: none; }
code { font-family: var(--mono); }
ins { text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #ffffff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #ffffff; }

/* Liquid Glass */
.lg {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.30));
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(190%);
  backdrop-filter: blur(var(--lg-blur)) saturate(190%);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -10px 18px -14px rgba(27,36,48,0.18),
    0 0 0 0.5px rgba(27,36,48,0.10),
    0 2px 6px rgba(27,36,48,0.06),
    0 14px 34px -10px rgba(27,36,48,0.22);
}
.lg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 15% -25%, rgba(255,255,255,0.95), rgba(255,255,255,0) 55%),
    radial-gradient(90% 70% at 100% 135%, rgba(255,255,255,0.5), rgba(255,255,255,0) 60%);
}
.lg::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.15) 35%, rgba(170,190,215,0.45) 62%, rgba(255,255,255,0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.lg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
}
.lg-btn:hover { transform: translateY(-1px); filter: brightness(1.03) saturate(1.08); }
.lg-btn:active { transform: scale(0.97); }
.lg-btn:disabled { opacity: 0.6; cursor: progress; transform: none; filter: none; }
a.lg-btn.lg, a.lg-btn.lg:hover { color: var(--ink); }
.lg-tint {
  color: #ffffff;
  border: 1px solid color-mix(in oklab, var(--accent) 55%, white);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%),
    color-mix(in oklab, var(--accent) 92%, transparent);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(160%);
  backdrop-filter: blur(var(--lg-blur)) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -2px 4px rgba(0,0,0,0.16),
    0 1px 2px rgba(27,36,48,0.14),
    0 10px 24px -10px color-mix(in oklab, var(--accent) 70%, transparent);
}
a.lg-tint, a.lg-tint:hover, button.lg-tint { color: #ffffff; }

/* Nav */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px 20px;
  background: linear-gradient(180deg, rgba(246,248,251,0.7) 0%, rgba(246,248,251,0.35) 55%, rgba(246,248,251,0) 100%);
}
.nav { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-right: 6px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.badge { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 8px; background: rgba(255,255,255,0.6); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.nav-link:hover { background: rgba(255,255,255,0.75); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn:hover { background: rgba(255,255,255,0.75); }
.menu { max-width: 1120px; margin: 8px auto 0; padding: 8px; border-radius: 24px; display: flex; flex-direction: column; gap: 2px; }
.menu a:not(.lg-btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; color: var(--ink); font-weight: 500; text-decoration: none; }
.menu a:not(.lg-btn):hover { background: rgba(255,255,255,0.75); }
.menu .lg-btn { margin-top: 6px; }

/* Shared section type */
.section { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px 72px; }
.intro { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.body-lg { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 30em; text-wrap: pretty; }
.c-blue { color: var(--blue); }
.c-green { color: var(--green); }
.c-amber { color: var(--amber); }
.c-muted { color: var(--ink-3); }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; min-width: 0; }
.pill { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.live-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent-bright); }
.display { margin: 0; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-3); max-width: 33em; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks svg { color: var(--green); }
.caret { display: inline-block; width: 0.08em; height: 0.86em; margin-left: 0.08em; transform: translateY(0.1em); background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29,138,79,0.45); }
  50% { box-shadow: 0 0 0 6px rgba(29,138,79,0); }
}

.hero-art { display: grid; min-height: 460px; min-width: 0; }
.hero-art > * { grid-area: 1 / 1; }
.heat-card { justify-self: end; align-self: start; max-width: 100%; overflow: hidden; padding: 14px 14px 12px; border-radius: 18px; background: rgba(255,255,255,0.72); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(27,36,48,0.04); }
.heat { display: grid; grid-template-rows: repeat(7, 10px); grid-auto-flow: column; grid-auto-columns: 10px; gap: 3px; }
.heat i, .band i { display: block; border-radius: 3px; background: var(--heat-0); }
.heat i { width: 10px; height: 10px; }
.heat .l1, .band .l1 { background: var(--heat-1); }
.heat .l2, .band .l2 { background: var(--heat-2); }
.heat .l3, .band .l3 { background: var(--heat-3); }
.heat .l4, .band .l4 { background: var(--heat-4); }
.heat-legend { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

.term-card { align-self: start; min-width: 0; margin: 96px 56px 0 0; border-radius: 16px; background: var(--surface); border: 1px solid #dfe5ee; box-shadow: 0 1px 2px rgba(27,36,48,0.05), 0 24px 48px -20px rgba(27,36,48,0.28); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-mid); background: var(--surface-soft); }
.lights { display: flex; gap: 6px; }
.lights span { width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); }
.term-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.tag { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.term-body { padding: 16px 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.75; overflow-x: auto; }
.term-body p { margin: 0; white-space: nowrap; }
.term-split { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #dfe5ee; }
.term-table { border-collapse: collapse; white-space: nowrap; font: inherit; }
.term-table th { font-weight: 400; color: var(--ink-3); text-align: left; }
.term-table th, .term-table td { padding: 0 24px 0 0; vertical-align: baseline; }
.term-table th:last-child, .term-table td:last-child { padding-right: 0; }
.toast { justify-self: end; align-self: end; display: flex; align-items: center; gap: 12px; max-width: 100%; margin-bottom: 36px; padding: 10px 10px 10px 14px; border-radius: 22px; }
.toast-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.toast-text strong { font-size: 14px; font-weight: 600; }
.toast-text span { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.toast-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--ink); color: #ffffff; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.toast-link:hover { background: #2a3546; color: #ffffff; }

/* Buyers strip */
.buyers { padding-bottom: 24px; }
.buyers-in { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px 56px; align-items: start; }
.buyers-in > div { display: flex; flex-direction: column; gap: 14px; }
.buyers-in h2 { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.buyers-in > p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-ink); font-family: var(--mono); font-size: 12.5px; font-weight: 500; }

/* How it works: commit log */
.log { list-style: none; margin: 0; padding: 0 0 0 36px; display: flex; flex-direction: column; gap: 32px; background-image: linear-gradient(var(--line-strong), var(--line-strong)); background-size: 2px calc(100% - 24px); background-position: 9px 12px; background-repeat: no-repeat; }
.log li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.log li::before { content: ""; position: absolute; left: -36px; top: 3px; width: 20px; height: 20px; box-sizing: border-box; border-radius: 999px; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--ground); }
.log li.head::before { background: var(--accent); }
.log-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.log code { font-size: 13px; color: var(--blue); }
.log h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.log p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-3); text-wrap: pretty; }
.meta { align-self: flex-start; display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* Checks: glass tabs over a content card */
.checks { align-items: center; }
.lock-note { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.checks-art { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.seg-group { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; z-index: 2; margin-bottom: -26px; max-width: 100%; }
.seg { appearance: none; border: 0; background: transparent; min-height: 44px; padding: 0 16px; border-radius: 999px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-3); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.seg:hover { color: var(--ink); }
.seg[aria-selected="true"] { background: #ffffff; color: var(--ink); box-shadow: 0 1px 2px rgba(27,36,48,0.10), 0 0 0 0.5px rgba(27,36,48,0.12); }
.panel-card { width: 100%; padding: 44px 10px 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.panel-card [role="tabpanel"] { border-radius: 12px; }
.panel-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 14px; border-bottom: 1px solid var(--line-mid); }
.panel-head > div { display: flex; flex-direction: column; line-height: 1.35; }
.panel-head strong { font-size: 15px; font-weight: 600; }
.panel-head span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.panel-head .tag { align-self: center; }
.rows { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-direction: column; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 12px; }
.rows li + li { border-top: 1px solid var(--line-soft); }
.rows .name { flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.rows .val { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); text-align: right; }
.rows code { flex: 1 1 auto; font-size: 13.5px; color: var(--ink); }
.rows svg { color: var(--green); }
.reason { font-family: var(--mono); font-size: 12px; color: var(--ink-2); background: #f1f4f8; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.manifest { margin: 6px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--ground); font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--ink); overflow-x: auto; }
.manifest .k { color: var(--blue-ink); }
.manifest .s { color: var(--green); }

/* What you keep: diff */
.keep { align-items: center; }
.diff { min-width: 0; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--card-shadow); }
.diff-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-mid); background: var(--surface-soft); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.diff-bar .plus { margin-left: auto; color: var(--green); }
.diff-bar .minus { color: var(--red); }
.diff-body { margin: 0; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; }
.hunk { padding: 6px 14px; background: #f1f5fc; color: var(--blue-ink); }
.dl { display: grid; grid-template-columns: 36px 36px 22px minmax(0, 1fr); align-items: baseline; padding: 7px 14px 7px 0; }
.dl .n { text-align: right; padding-right: 8px; }
.dl .sign { font-weight: 600; }
.dl.del { background: var(--red-tint); }
.dl.del .n { color: #7d5c5c; }
.dl.del .sign { color: var(--red); }
.dl.del del { color: #7a2219; text-decoration-color: rgba(180,35,24,0.45); }
.dl.add { background: var(--green-tint); }
.dl.add .n { color: #4f6b58; }
.dl.add .sign { color: var(--green); }
.dl.add ins { color: var(--green-ink); }
.dl:last-child { padding-bottom: 9px; }

/* Who it's for: repo cards */
.who .intro { max-width: 40em; }
.repo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 32px; }
.repo { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.repo-head { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.repo h3 { margin: 0; font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--blue); }
.repo-vis { margin-left: auto; border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.repo p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-3); text-wrap: pretty; }
.repo-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.lang { width: 10px; height: 10px; border-radius: 999px; }
.lang-green { background: var(--accent-bright); }
.lang-blue { background: var(--blue); }
.lang-teal { background: #0f6e6e; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.faq { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 16px; border-radius: 16px; font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .num { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.faq .q { flex: 1 1 auto; }
.chev { color: var(--ink-3); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq[open] .chev { transform: rotate(90deg); }
.faq p { margin: 0; padding: 0 16px 16px 46px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }

/* Get started */
.start { padding-top: 24px; padding-bottom: 96px; }
.start-card { position: relative; overflow: hidden; border-radius: 32px; background: #eef3f9; border: 1px solid var(--line); padding: clamp(36px, 6vw, 72px) clamp(16px, 5vw, 64px) 156px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.start-card > :not(.band) { position: relative; }
.band { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; grid-template-rows: repeat(7, 12px); grid-auto-flow: column; grid-auto-columns: 12px; gap: 4px; opacity: 0.6; pointer-events: none; }
.band i { width: 12px; height: 12px; }
.start .h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; max-width: 14em; }
.start .body-lg { max-width: 34em; }
.lead-form {
  width: 100%;
  max-width: 760px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
}
.lead-form:focus-within {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 0 0.5px rgba(27,36,48,0.10),
    0 14px 34px -10px rgba(27,36,48,0.22),
    0 0 0 3px rgba(31,95,209,0.35);
}
.field-inline { display: flex; align-items: center; flex: 1 1 0; min-width: 0; padding-left: 16px; border-radius: 999px; }
.cmd-prefix { font-family: var(--mono); font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.cmd-input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--ink); outline: none; }
.cmd-input::placeholder { color: #6a7487; opacity: 1; }
.cmd-sep { width: 1px; align-self: stretch; margin: 8px 6px; background: rgba(27,36,48,0.14); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.err { color: var(--red); }
.sent { display: flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 10px; padding: 12px 18px 12px 14px; border-radius: 22px; text-align: left; }
.sent div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.sent strong { font-size: 15px; font-weight: 600; }
.sent span { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.form-note { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.form-note a { color: var(--ink-2); }
.note-item { display: inline-flex; align-items: center; gap: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-in { padding-top: 20px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.footer-brand { color: var(--ink); font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin-left: auto; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-3); }

/* Mobile action bar */
.mobile-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-bar span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.mobile-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Simple pages: privacy, 404, thanks */
.page-main { padding-top: 32px; padding-bottom: 96px; }
.doc { max-width: 720px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.doc h1 { margin: 8px 0 6px; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.doc h2 { margin: 32px 0 8px; font-size: 19px; letter-spacing: -0.01em; font-weight: 600; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc .updated { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.center-card { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.center-card .term-card { margin: 0; width: 100%; }
.center-card h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }

/* Responsive */
@media (min-width: 861px) {
  .menu { display: none !important; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-bar { display: flex; }
  .footer-in { padding-bottom: 96px; }
}
@media (max-width: 680px) {
  .lead-form { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; border-radius: 26px; }
  .field-inline { padding: 0 14px; background: rgba(255,255,255,0.6); border-radius: 18px; }
  .field-inline:focus-within { box-shadow: 0 0 0 2px var(--blue); }
  .cmd-sep { display: none; }
  .lead-form .lg-btn { width: 100%; }
  .form-note { flex-direction: column; gap: 6px; }
  .note-sep, .note-item svg { display: none; }
}
@media (max-width: 520px) {
  /* Stack the example: heatmap, then the terminal overlapping it, then the toast overlapping the terminal */
  .hero-art { display: flex; flex-direction: column; min-height: 0; }
  .heat-card { align-self: stretch; }
  .term-card { position: relative; margin: -52px 12px 0 0; }
  .term-body { padding: 14px; font-size: 12px; }
  .term-table, .term-table tbody { display: block; width: 100%; }
  .term-table thead { display: none; }
  .term-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  .term-table td { padding: 0; }
  .term-table td:last-child { grid-column: 1 / -1; padding: 0 0 4px 14px; color: var(--ink-2); }
  .toast { align-self: flex-end; margin: -24px 0 0; }
  /* Check rows: value under the name */
  .rows li { flex-wrap: wrap; row-gap: 2px; }
  .rows .val { flex: 1 0 100%; padding-left: 28px; text-align: left; }
}
@media (max-width: 374px) {
  .term-body { font-size: 11px; }
  .mobile-bar { padding: 6px; }
  .mobile-bar span { display: none; }
  .mobile-bar .lg-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .lg { background: rgba(255,255,255,0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
