/* Onuri Labs — site styles.
   Same language as the Onuri Antivirus app: JetBrains Mono, square pixels,
   the green "contribution" ramp for healthy, the severity ramp for findings. */

@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 800; font-display: swap; src: url("fonts/jetbrains-mono-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #07090b;
  --bg-1: #0b0e12;
  --bg-2: #11151a;
  --bg-3: #171c23;
  --line: #1c222a;
  --line-2: #29313b;

  --fg: #e3e8ed;
  --fg-1: #aeb8c3;
  --fg-2: #737e8a;
  --fg-3: #47505b;

  --px-0: #141a21;
  --px-1: #0e4429;
  --px-2: #006d32;
  --px-3: #26a641;
  --px-4: #39d353;

  --accent: #39d353;
  --accent-hover: #55e46c;
  --accent-fg: #04130a;
  --accent-dim: rgba(57, 211, 83, 0.1);
  --accent-glow: rgba(57, 211, 83, 0.22);

  --crit: #ff5c5c;
  --high: #ff9447;
  --med: #e3b341;
  --low: #6cb6ff;

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;

  --radius: 3px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header: 60px;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fbfbfa;
  --bg-1: #f4f5f4;
  --bg-2: #eceeed;
  --bg-3: #e3e6e5;
  --line: #e1e4e3;
  --line-2: #cfd4d2;
  --fg: #14191e;
  --fg-1: #3d4650;
  --fg-2: #66707c;
  --fg-3: #9da5ae;
  --px-0: #ebedf0;
  --px-1: #9be9a8;
  --px-2: #40c463;
  --px-3: #30a14e;
  --px-4: #216e39;
  --accent: #1f883d;
  --accent-hover: #1a7f37;
  --accent-fg: #ffffff;
  --accent-dim: rgba(31, 136, 61, 0.08);
  --accent-glow: rgba(31, 136, 61, 0.14);
  --crit: #cf222e;
  --high: #bc4c00;
  --med: #9a6700;
  --low: #0969da;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--accent-fg); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--low); outline-offset: 3px; border-radius: 2px; }
code, pre, kbd, .mono { font-family: var(--mono); font-feature-settings: "calt" 0, "zero" 1; }
code { font-size: 0.88em; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 5px; border-radius: 2px; }
pre code { background: none; border: 0; padding: 0; font-size: inherit; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-fg); padding: 8px 12px; z-index: 100; font-family: var(--mono); font-size: 13px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

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

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-weight: 700; letter-spacing: -0.02em; font-size: 15px; flex: none; }
.brand small { color: var(--fg-3); font-weight: 400; font-size: 11px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 13px; }
.nav a { text-decoration: none; color: var(--fg-1); padding: 6px 10px; border-radius: var(--radius); transition: color 120ms, background 120ms; }
.nav a:hover { color: var(--fg); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::before { content: "■ "; color: var(--accent); font-size: 9px; vertical-align: 2px; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); background: transparent; color: var(--fg-1); border-radius: var(--radius); cursor: pointer; font-family: var(--mono); }
.icon-btn:hover { color: var(--fg); background: var(--bg-2); }
.menu-btn { display: none; }

@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 15px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-btn { display: grid; }
  .header-cta .btn-download { display: none; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--fg);
  border-radius: var(--radius); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 120ms, border-color 120ms, transform 120ms, box-shadow 200ms;
}
.btn:hover { background: var(--bg-3); border-color: var(--fg-3); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 14.5px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 0 0 4px var(--accent-dim), 0 8px 30px var(--accent-glow); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--fg-1); }
.btn-ghost:hover { background: var(--bg-2); border-color: transparent; color: var(--fg); }
.btn .arrow { transition: transform 160ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ───────── type ───────── */

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin: 0 0 18px; }
.eyebrow .px { width: 8px; height: 8px; }
h1, h2, h3, h4 { font-family: var(--mono); letter-spacing: -0.035em; line-height: 1.08; margin: 0; font-weight: 700; }
.h-hero { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.h-page { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -0.045em; }
.h-sec { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-1); max-width: 640px; line-height: 1.55; margin: 22px 0 0; }
.muted { color: var(--fg-2); }
.accent { color: var(--accent); }
.grad { background: linear-gradient(92deg, var(--fg) 20%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

.section { padding: 112px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .section { padding: 72px 0; } .sec-head { margin-bottom: 36px; } }

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

.hero { position: relative; padding: 96px 0 88px; overflow: hidden; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0.9; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); }
.hero-glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -200px; background: radial-gradient(circle, var(--accent-glow), transparent 62%); filter: blur(20px); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-family: var(--mono); font-size: 12.5px; color: var(--fg-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .px { width: 7px; height: 7px; background: var(--accent); }
.page-hero { padding: 88px 0 64px; position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .hero-glow { width: 560px; height: 560px; top: -300px; right: -100px; }
@media (max-width: 920px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } .hero { padding: 64px 0; } }

.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; padding: 5px 12px 5px 6px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--bg-1); color: var(--fg-1); text-decoration: none; margin-bottom: 26px; transition: border-color 150ms; }
.badge:hover { border-color: var(--fg-3); }
.badge b { background: var(--accent-dim); color: var(--accent); font-weight: 500; padding: 1px 8px; border-radius: 99px; }

/* ───────── pixels ───────── */

.px { display: inline-block; width: 10px; height: 10px; border-radius: 1px; background: var(--px-0); flex: none; }
.px-pulse { animation: px-pulse 2.4s infinite var(--ease); }
@keyframes px-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.logo-svg rect.core { animation: px-pulse 2.4s infinite var(--ease); }

/* ───────── terminal ───────── */

.term {
  background: color-mix(in srgb, var(--bg-1) 92%, transparent);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  backdrop-filter: blur(8px);
}
:root[data-theme="light"] .term { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.25); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-bar span { margin-left: 10px; color: var(--fg-2); font-size: 11.5px; }
.term-body { padding: 18px 20px 20px; min-height: 340px; color: var(--fg-1); white-space: pre-wrap; word-break: break-word; overflow-x: auto; }
.term-body .p { color: var(--accent); }
.term-body .c { color: var(--fg); }
.term-body .d { color: var(--fg-3); }
.term-body .crit { color: var(--crit); }
.term-body .high { color: var(--high); }
.term-body .med { color: var(--med); }
.term-body .low { color: var(--low); }
.term-body .ok { color: var(--accent); }
.term-body .cursor { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.code { background: var(--bg-1); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin: 20px 0; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--fg-2); background: var(--bg-2); }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: var(--fg-1); }
.code .k { color: var(--accent); }
.code .s { color: var(--med); }
.code .cm { color: var(--fg-3); }
.copy { font-family: var(--mono); font-size: 11px; background: transparent; border: 1px solid var(--line-2); color: var(--fg-2); border-radius: 2px; padding: 3px 8px; cursor: pointer; }
.copy:hover { color: var(--fg); border-color: var(--fg-3); }

/* ───────── cards & grids ───────── */

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  transition: border-color 200ms, transform 200ms var(--ease), background 200ms;
  overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--accent-dim), transparent 45%); opacity: 0; transition: opacity 250ms; pointer-events: none; }
.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-2px); }
.card h3 { margin: 18px 0 8px; }
.card p { margin: 0; color: var(--fg-2); font-size: 15px; }
.card .glyph { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); color: var(--accent); font-family: var(--mono); font-size: 16px; }
.card-tag { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--fg-2); }
.card-tag.live { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-dim); }
.card-tag.soon { color: var(--med); border-color: color-mix(in srgb, var(--med) 35%, transparent); }

/* product spotlight */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
}
.product-copy { padding: 48px; display: flex; flex-direction: column; }
.product-copy ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.product-copy li { display: flex; gap: 12px; color: var(--fg-1); font-size: 15px; }
.product-copy li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--accent); flex: none; border-radius: 1px; }
.product-visual { border-left: 1px solid var(--line); background: var(--bg-1); position: relative; padding: 32px; display: flex; align-items: center; }
.product-visual .term { width: 100%; box-shadow: none; }
@media (max-width: 920px) { .product { grid-template-columns: 1fr; } .product-visual { border-left: 0; border-top: 1px solid var(--line); } .product-copy { padding: 32px 24px; } .product-visual { padding: 16px; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); background: var(--bg-1); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--mono); font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.04em; color: var(--fg); }
.stat span { font-family: var(--mono); font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); } }

/* heatmap */
.heat { display: flex; gap: 3px; flex-wrap: nowrap; overflow: hidden; }
.heat-col { display: grid; gap: 3px; }
.heat i { width: 11px; height: 11px; border-radius: 2px; background: var(--px-0); display: block; transition: background 300ms; }
.heat-legend { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-top: 12px; }
.heat-legend i { width: 10px; height: 10px; border-radius: 2px; display: block; }

/* roadmap / timeline */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--line-2); margin-left: 6px; }
.tl { position: relative; padding: 0 0 34px 32px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -7px; top: 4px; width: 13px; height: 13px; background: var(--bg); border: 2px solid var(--line-2); border-radius: 2px; }
.tl.done::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.tl.now::before { border-color: var(--accent); animation: px-pulse 2.4s infinite var(--ease); }
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.tl-head h3 { font-size: 17px; }
.tl-head .mono { font-size: 11.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; }
.tl p { margin: 6px 0 0; color: var(--fg-2); font-size: 15px; max-width: 640px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--fg-2); }
.status.ok { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-dim); }
.status.wip { color: var(--med); border-color: color-mix(in srgb, var(--med) 35%, transparent); }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-2); font-weight: 500; background: var(--bg-1); }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }
.yes { color: var(--accent); font-family: var(--mono); }
.no { color: var(--fg-3); font-family: var(--mono); }

/* severity tags */
.sev { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.sev::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: currentColor; }
.sev.crit { color: var(--crit); } .sev.high { color: var(--high); } .sev.med { color: var(--med); } .sev.low { color: var(--low); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 22px; color: var(--fg-2); transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { margin: -6px 0 22px; color: var(--fg-1); max-width: 760px; }

/* cta band */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; padding: 72px 48px; text-align: center; background: radial-gradient(ellipse at 50% 120%, var(--accent-glow), transparent 60%), var(--bg-1); isolation: isolate; }
.cta-band .hero-grid { mask-image: radial-gradient(ellipse 60% 80% at 50% 100%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 100%, #000, transparent 70%); }
.cta-band .hero-actions { justify-content: center; }
@media (max-width: 640px) { .cta-band { padding: 48px 20px; } }

/* prose (docs, legal) */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 64px 0 112px; }
.toc { position: sticky; top: calc(var(--header) + 32px); align-self: start; font-family: var(--mono); font-size: 13px; }
.toc p { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; margin: 0 0 12px; }
.toc a { display: block; text-decoration: none; color: var(--fg-2); padding: 5px 0 5px 12px; border-left: 1px solid var(--line); }
.toc a:hover, .toc a.active { color: var(--fg); border-left-color: var(--accent); }
@media (max-width: 920px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 40px; } .toc { position: static; display: none; } }

.prose { max-width: 760px; color: var(--fg-1); }
.prose h2 { font-size: 26px; color: var(--fg); margin: 56px 0 16px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--fg); margin: 32px 0 10px; }
.prose p, .prose li { font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.prose .table-wrap { margin: 20px 0; }
.note { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--bg-1); padding: 14px 18px; border-radius: 0 4px 4px 0; margin: 20px 0; font-size: 15px; }
.note.warn { border-left-color: var(--med); }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.08em; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 11px 13px; width: 100%; transition: border-color 120ms, box-shadow 120ms; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-note { font-size: 13px; color: var(--fg-3); }

/* platform cards */
.platform { display: flex; flex-direction: column; gap: 14px; }
.platform .os { display: flex; align-items: center; justify-content: space-between; }
.platform .os h3 { margin: 0; font-size: 20px; }
.platform ul { list-style: none; padding: 0; margin: 0; font-family: var(--mono); font-size: 12.5px; color: var(--fg-2); display: grid; gap: 6px; }
.platform .btn { margin-top: auto; }

/* logo cloud / trust strip */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-family: var(--mono); font-size: 13px; color: var(--fg-3); }
.strip span { display: inline-flex; align-items: center; gap: 8px; }

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

.footer { border-top: 1px solid var(--line); background: var(--bg-1); padding: 64px 0 32px; margin-top: 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); font-weight: 500; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--fg-2); text-decoration: none; }
.footer a:hover { color: var(--fg); }
.footer-about p { color: var(--fg-2); max-width: 300px; margin: 14px 0 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.sys { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); }
.sys .px { width: 8px; height: 8px; background: var(--accent); }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ───────── reveal ───────── */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* utilities */
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.kicker-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.kicker-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kicker-list .n { font-family: var(--mono); color: var(--accent); font-size: 13px; padding-top: 2px; }
.kicker-list b { display: block; font-family: var(--mono); font-size: 15px; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 4px; }
.kicker-list span { color: var(--fg-2); font-size: 15px; }
@media (max-width: 920px) { .hero > .hero-grid, .page-hero > .hero-grid { opacity: 0.4; } }
.prose p code, .prose li code { overflow-wrap: anywhere; }
