/* SPDX-License-Identifier: LicenseRef-GitBus-Commercial */
/* SPDX-FileCopyrightText: 2026 Giulio Napoli */
/*
 * GitBus public site (D200), on the "Linea" design system of the console
 * (docs/design-system.md): the same tokens, fonts and accent, with a larger
 * type scale for a marketing page. Fonts are served by the site itself.
 */

@font-face {
  font-family: "Instrument Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(/fonts/instrument-sans-latin.woff2) format("woff2-variations");
  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: "Instrument Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format("woff2-variations");
  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 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2-variations");
}

:root {
  --font-ui: "Instrument Sans Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --bg: #f6f5f4;
  --surface: #ffffff;
  --sunken: #ecebea;
  --fg: #1a1716;
  --fg-2: #4d4744;
  --fg-3: #6b6460;
  --line: #dfdcda;
  --line-strong: #bdb8b5;
  --accent: #d52b1e;
  --accent-strong: #a8170d;
  --accent-soft: #fde9e7;
  --on-accent: #ffffff;
  --ok: #137337;
  --ok-soft: #e3f4e8;
  --warn: #8f5500;
  --warn-soft: #fbefd9;
  --info: #3355c4;
  /* The always-dark band and code blocks. */
  --ink: #171312;
  --ink-2: #221c1b;
  --ink-line: #3a3230;
  --ink-fg: #f1edeb;
  --ink-fg-2: #b9b1ad;
  --ink-accent: #ff6a5c;
  --ink-key: #9fc2ff;
  --ink-str: #a8e1b4;
  --shadow: 0 1px 2px rgb(26 23 22 / 0.06), 0 12px 40px rgb(26 23 22 / 0.10);
  --radius: 14px;
  --radius-s: 8px;
  --wrap: 1200px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121010;
    --surface: #1a1717;
    --sunken: #0d0b0b;
    --fg: #eeeae8;
    --fg-2: #b3aca8;
    --fg-3: #948c88;
    --line: #2e2927;
    --line-strong: #443d3a;
    --accent: #ff6a5c;
    --accent-strong: #ff9a90;
    --accent-soft: #3a1512;
    --on-accent: #1a0503;
    --ok: #5fd38a;
    --ok-soft: #10291a;
    --warn: #f0b551;
    --warn-soft: #2d2210;
    --info: #8eaaff;
    --ink: #0c0a0a;
    --ink-2: #171313;
    --ink-line: #2e2927;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 40px rgb(0 0 0 / 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121010;
  --surface: #1a1717;
  --sunken: #0d0b0b;
  --fg: #eeeae8;
  --fg-2: #b3aca8;
  --fg-3: #948c88;
  --line: #2e2927;
  --line-strong: #443d3a;
  --accent: #ff6a5c;
  --accent-strong: #ff9a90;
  --accent-soft: #3a1512;
  --on-accent: #1a0503;
  --ok: #5fd38a;
  --ok-soft: #10291a;
  --warn: #f0b551;
  --warn-soft: #2d2210;
  --info: #8eaaff;
  --ink: #0c0a0a;
  --ink-2: #171313;
  --ink-line: #2e2927;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 40px rgb(0 0 0 / 0.45);
  color-scheme: dark;
}

/* Screenshots: the one that matches the theme. */
.shot .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot .on-light { display: none; }
  :root:not([data-theme="light"]) .shot .on-dark { display: block; }
}
:root[data-theme="dark"] .shot .on-light { display: none; }
:root[data-theme="dark"] .shot .on-dark { display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code, pre { font-family: var(--font-mono); }
p code, li > code, li span code, h3 code {
  font-size: 0.85em;
  background: var(--sunken);
  border-radius: 5px;
  padding: 0.1em 0.35em;
}
h1, h2, h3 { font-stretch: 90%; font-weight: 650; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 19px; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; border-radius: 4px; }

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

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface); border-color: var(--fg-3); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 8px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta.center { justify-content: center; }

.mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; }
.brand b { font-weight: 650; font-stretch: 90%; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.links { display: flex; gap: 22px; flex: 1; }
.links a, .signin { text-decoration: none; color: var(--fg-2); font-size: 15px; font-weight: 500; }
.links a:hover, .signin:hover { color: var(--fg); }
.top-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.menu { position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--fg);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute;
  right: 0;
  top: 50px;
  width: min(320px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
}
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel nav a { padding: 11px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.menu-panel nav a:hover { background: var(--sunken); }
.menu-prefs { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 4px 4px; }
@media (min-width: 1061px) {
  .menu-panel nav { display: none; }
  .menu-prefs { border-top: 0; margin-top: 0; padding: 4px; }
}
@media (max-width: 1060px) {
  .links { display: none; }
}
@media (max-width: 560px) {
  .top-actions .btn.small { display: none; }
}

.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.langs a { padding: 6px 10px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--fg-2); min-width: 40px; text-align: center; }
.langs a[aria-current] { background: var(--fg); color: var(--bg); }
.theme-switch { display: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.js .theme-switch { display: inline-flex; }
.theme-switch button { background: none; border: 0; color: var(--fg-2); padding: 7px 10px; cursor: pointer; display: grid; place-items: center; min-width: 36px; min-height: 32px; }
.theme-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--fg-2); margin-top: 24px; max-width: 620px; }
.hero-proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--fg-2); font-size: 15px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .ic, .ticks .ic, .after .ic { color: var(--ok); flex: none; }

.hero-visual { position: relative; padding-bottom: 40px; }
.window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--sunken);
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window-bar span { margin: 0 auto; font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); padding-right: 40px; }
.hero .window { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; width: 112%; }
.phone {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 27%;
  border-radius: 26px;
  border: 6px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 390 / 700;
}
.phone img { width: 100%; }
.route-card {
  position: absolute;
  left: -28px;
  bottom: 8px;
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  font-size: 13px;
  min-width: 230px;
}
.route-card li { position: relative; padding: 0 0 8px 24px; }
.route-card li:last-child { padding-bottom: 0; }
.route-card li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  z-index: 1;
}
.route-card li::after { content: ""; position: absolute; left: 8px; top: 12px; bottom: -4px; width: 2px; background: var(--line); }
.route-card li:last-child::after { display: none; }
.route-card li.done::before { background: var(--accent); border-color: var(--accent); }
.route-card li.done::after { background: var(--accent); }
.route-card li.here::before { border-color: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.route-card b { display: block; font-weight: 600; }
.route-card span { color: var(--fg-3); }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .window { transform: none; width: 100%; }
  .route-card { left: 12px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .lead { font-size: 17.5px; }
  .route-card { display: none; }
  .phone { width: 34%; right: 4px; border-width: 4px; border-radius: 18px; }
  .cta .btn { flex: 1 1 100%; }
}

/* Agents strip */
.agents-strip { padding: 28px 0 8px; }
.agents-strip p { text-align: center; color: var(--fg-3); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.agents-strip ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.agents-strip li { font-size: 19px; font-weight: 600; font-stretch: 90%; color: var(--fg-2); }

/* Sections */
.section { padding: 104px 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.sub { color: var(--fg-2); font-size: 18.5px; margin-top: 18px; }
.fine { color: var(--fg-3); font-size: 14.5px; margin-top: 20px; }
.fine.center { text-align: center; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.three { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.band .card { background: var(--bg); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--fg-2); font-size: 16px; }
.ic-box {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.pain .before { color: var(--fg-3); }
.pain .after { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--fg); }
.pain .after .ic { margin-top: 4px; }

/* How it works: the line */
.line { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: stop; }
.stop { position: relative; padding: 0 18px 0 0; }
.stop::before { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 3px; background: var(--accent); }
.stop:last-child::before { display: none; }
.stop-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--surface);
}
.stop-body h3 { margin: 22px 0 10px; }
.stop-body p { color: var(--fg-2); font-size: 15.5px; }
.code {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--ink-fg);
  border-radius: var(--radius-s);
  font-size: 12.5px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}
.code .k { color: var(--ink-key); }
.code .s { color: var(--ink-str); }
.code .b { color: var(--ink-accent); }
.code .c { color: var(--ink-fg-2); }
.code .p { color: var(--ink-accent); user-select: none; }
.code .ok { color: var(--ink-str); }
.stop .code { font-size: 11.5px; }
@media (max-width: 1060px) {
  .line { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stop { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding: 0 0 32px; }
  .stop::before { top: 40px; bottom: 0; left: 19px; right: auto; width: 3px; height: auto; }
  .stop-body h3 { margin-top: 8px; }
  .stop:last-child { padding-bottom: 0; }
}

/* Tour */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs { display: none; }
.js .tabs { display: flex; }
.tabs button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg-2);
  cursor: pointer;
  min-height: 44px;
}
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; margin-bottom: 56px; }
.js .panel { margin-bottom: 0; }
.js .panel[data-hidden] { display: none; }
.panel-copy h3 { font-size: 26px; margin-bottom: 14px; }
.panel-copy p { color: var(--fg-2); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks .ic { margin-top: 4px; }
@media (max-width: 900px) {
  .panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .tabs button { flex: none; }
}

/* GitHub and GitLab */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.phases { list-style: none; counter-reset: ph; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.phases li { counter-increment: ph; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.phases li::before {
  content: counter(ph);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.phases h3 { font-size: 18px; margin: 5px 0 4px; display: flex; align-items: center; gap: 10px; }
.phases p { color: var(--fg-2); font-size: 16px; }
.tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: 999px; font-stretch: 100%; }
.checks { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.checks-title { font-weight: 650; font-size: 20px; font-stretch: 90%; }
.checks-sub { color: var(--fg-3); font-size: 14px; margin-top: 4px; }
.checks ul { list-style: none; padding: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.checks li { display: grid; grid-template-columns: 18px minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.checks li:first-child { border-top: 0; }
.checks li code { font-size: 13px; font-weight: 600; }
.checks li span:last-child { color: var(--fg-2); }
.state { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); position: relative; }
.state::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid var(--surface); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wait .state { background: transparent; border: 2px solid var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.wait .state::after { display: none; }
@media (max-width: 600px) {
  .checks li { grid-template-columns: 18px minmax(0, 1fr); }
  .checks li span:last-child { grid-column: 2; }
}
.checks-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--fg-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: 999px; color: var(--warn); background: var(--warn-soft); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Features */
.features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 28px 26px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature h3 { margin: 16px 0 8px; font-size: 18px; }
.feature p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 1060px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature { padding: 24px 20px; } }

/* Compliance: an always-dark band */
.dark-band { background: var(--ink); color: var(--ink-fg); }
.dark-band .sub, .dark-band .ticks li { color: var(--ink-fg-2); }
.dark-band .ticks b { color: var(--ink-fg); font-weight: 600; }
.dark-band .kicker { color: var(--ink-accent); }
.dark-band .ticks .ic { color: var(--ink-str); }
.dark-band .fine { color: var(--ink-fg-2); }
.dark-band :focus-visible { outline-color: var(--ink-accent) !important; }
.ticks.big li { font-size: 16.5px; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--ink-line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--ink-fg); }
.attestation { margin: 0; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 20px; }
.attestation figcaption { color: var(--ink-fg-2); font-size: 13px; font-family: var(--font-mono); }
.attestation .code { background: transparent; padding: 0; font-size: 12.5px; }

/* Trust */
.trust .card h3 { font-size: 18px; }

/* Terminal */
.terminal { background: var(--ink); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-line); box-shadow: var(--shadow); }
.terminal .window-bar { background: var(--ink-2); border-color: var(--ink-line); }
.terminal .window-bar i { background: var(--ink-line); }
.terminal .window-bar span { color: var(--ink-fg-2); }
.terminal .code { margin: 0; border-radius: 0; padding: 20px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Pricing */
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--fg-3); font-size: 15px; margin-top: 6px; min-height: 2.9em; }
.plan .price { font-size: 34px; font-weight: 650; font-stretch: 90%; margin-top: 22px; line-height: 1.1; }
.plan .price-note { color: var(--fg-3); font-size: 14.5px; margin-top: 6px; }
.plan .ticks { margin: 24px 0 28px; flex: 1; }
.plan .btn { width: 100%; }

/* Enterprise */
.deploy { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.deploy li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.deploy h3 { font-size: 18px; margin: 2px 0 6px; }
.deploy p { color: var(--fg-2); font-size: 15.5px; }

/* 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;
  position: relative;
  font-size: 18.5px;
  font-weight: 600;
  font-stretch: 92%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border: solid var(--fg-3);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details div { padding: 0 0 24px; color: var(--fg-2); }

/* Final call */
.final { padding: 96px 0; text-align: center; background: linear-gradient(180deg, var(--bg), var(--accent-soft)); border-top: 1px solid var(--line); }
.final h2 { max-width: 760px; margin: 0 auto; }
.final p { color: var(--fg-2); font-size: 18.5px; margin: 18px auto 0; max-width: 620px; }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { color: var(--fg-2); margin-top: 14px; max-width: 300px; }
.foot-brand .region { color: var(--fg-3); font-size: 14px; }
.foot h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); font-stretch: 100%; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot ul a { text-decoration: none; color: var(--fg-2); display: inline-block; padding: 4px 0; }
.foot ul a:hover { color: var(--fg); }
.foot .soon { display: inline-block; padding: 4px 0; color: var(--fg-3); }
.foot .soon small { font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 14px; }
.foot-prefs { display: flex; gap: 10px; align-items: center; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
