/* ── CoreBit site — control-room dark, signal-teal, product status colours ──
   Display: Space Grotesk · Body: IBM Plex Sans · Data/mono: IBM Plex Mono   */

:root {
  /* Brand: cyan #8DD1FB (141,209,251) + periwinkle blue #465C97 (70,92,151) */
  --bg: #0a101f;
  --bg-2: #0c1426;
  --surface: #121c31;
  --surface-2: #172339;
  --elev: #1b2b46;
  --border: #24304d;
  --border-soft: #1a2540;
  --grid: rgba(141, 209, 251, 0.06);

  --ink: #eaf1fb;
  --ink-dim: #9db0cf;
  --ink-faint: #657799;

  --cyan: #8dd1fb;
  --cyan-hi: #b0e0fc;
  --blue: #465c97;
  --primary: #8dd1fb;
  --primary-2: #6f9fd6; /* cyan→blue midpoint, for gradients & borders */
  --primary-ink: #06182b; /* dark navy text on the light-cyan buttons */
  --glow: rgba(141, 209, 251, 0.15);

  --online: #3fd68a;
  --warning: #fbb93a;
  --offline: #ff6b81;
  --unknown: #6a7cae;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1160px;
  --narrow: 780px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Ambient depth: a faint teal wash top-left, cool navy bottom. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(141, 209, 251, 0.1), transparent 60%),
    radial-gradient(900px 700px at 108% 0%, rgba(70, 92, 151, 0.18), transparent 55%);
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.mono { font-family: var(--f-mono); font-variant-ligatures: none; }
.muted { color: var(--ink-faint); }

/* ── layout ── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: var(--narrow); }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section + .section { padding-top: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  padding-left: 26px;
  position: relative;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.narrow { max-width: 640px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--ink-dim); margin-top: 14px; font-size: 1.05rem; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.98rem;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 10px 30px -12px var(--primary); }
.btn-primary:hover { background: var(--cyan-hi); box-shadow: 0 14px 34px -10px var(--primary); }
.btn-primary svg { transition: transform 0.2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-outline { border-color: var(--border); color: var(--ink); background: rgba(255, 255, 255, 0.015); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--ink-dim); padding: 10px 12px; }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost svg { width: 18px; height: 18px; }
.btn-block { width: 100%; justify-content: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--primary-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

:where(a, button, input):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 17, 32, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, background 0.2s ease; }
.site-header.is-stuck { border-bottom-color: var(--border-soft); background: rgba(10, 17, 32, 0.9); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.24rem; letter-spacing: -0.02em; }
.brand-mark { height: 30px; width: auto; display: block; }
.brand-bit { color: var(--cyan); }
.nav-desktop { display: flex; gap: 4px; margin-left: 12px; }
.nav-link { padding: 8px 14px; border-radius: 999px; color: var(--ink-dim); font-size: 0.96rem; font-weight: 500; transition: color 0.18s ease, background 0.18s ease; }
.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.nav-link.is-active { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--border-soft); }
.nav-mobile a { padding: 12px 8px; color: var(--ink-dim); border-bottom: 1px solid var(--border-soft); }
.nav-mobile a:last-child { border: 0; margin-top: 10px; }

/* ── hero ── */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 700; }
.hero-lead { color: var(--ink-dim); font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin-top: 22px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.telemetry { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--border-soft); }
.telemetry-item { display: flex; flex-direction: column; gap: 2px; padding-right: 26px; }
.telemetry-item + .telemetry-item { border-left: 1px solid var(--border-soft); padding-left: 26px; }
.telemetry dt { font-size: 1.7rem; font-weight: 500; color: var(--primary); letter-spacing: -0.02em; }
.telemetry dd { margin: 0; font-size: 0.86rem; color: var(--ink-faint); max-width: 16ch; }

/* fade-up on load */
.hero-copy > *, .hero-visual { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.26s; }
.hero-visual { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ── signature topology ── */
.topo {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: hidden;
}
.topo::after { /* soft vignette + top scan sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(141, 209, 251, 0.09), transparent 55%);
}
.topo svg { width: 100%; height: auto; }

.link { stroke: var(--border); stroke-width: 2; }
.link--flow { stroke: color-mix(in srgb, var(--primary) 60%, transparent); stroke-dasharray: 5 9; animation: flow 1.1s linear infinite; }
.link--warn { stroke: color-mix(in srgb, var(--warning) 55%, transparent); stroke-dasharray: 5 9; animation: flow 2s linear infinite; }
.link--down { stroke: color-mix(in srgb, var(--offline) 48%, transparent); stroke-dasharray: 3 7; opacity: 0.7; }
@keyframes flow { to { stroke-dashoffset: -14; } }

.node { color: var(--unknown); }
.node--online { color: var(--online); }
.node--warning { color: var(--warning); }
.node--offline { color: var(--offline); }
.node--unknown { color: var(--unknown); }
.node-dot { fill: var(--bg-2); stroke: currentColor; stroke-width: 2.5; }
.node-core { fill: currentColor; }
.node-halo { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0.4; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(0.62); opacity: 0.55; } 100% { transform: scale(1.3); opacity: 0; } }
.node-label { fill: var(--ink-dim); font-size: 11.5px; text-anchor: middle; }
.chip { fill: var(--surface-2); stroke: var(--border); }
.chip-text { fill: var(--primary); font-size: 11.5px; text-anchor: middle; }

/* ── status dots + legend ── */
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; }
.dot--online { background: var(--online); box-shadow: 0 0 0 4px color-mix(in srgb, var(--online) 22%, transparent); }
.dot--warning { background: var(--warning); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warning) 22%, transparent); }
.dot--offline { background: var(--offline); box-shadow: 0 0 0 4px color-mix(in srgb, var(--offline) 22%, transparent); }
.dot--unknown { background: var(--unknown); box-shadow: 0 0 0 4px color-mix(in srgb, var(--unknown) 22%, transparent); }

.legend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.legend-card { border: 1px solid var(--border-soft); border-radius: var(--r); padding: 22px; background: var(--surface); }
.legend-card h3 { font-size: 0.9rem; letter-spacing: 0.04em; margin: 14px 0 8px; font-weight: 500; }
.legend-card p { color: var(--ink-dim); font-size: 0.92rem; }

/* ── cards / highlights ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--border-soft); border-radius: var(--r); padding: 28px; background: linear-gradient(180deg, var(--surface) 0%, rgba(17, 28, 49, 0.4) 100%); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: var(--shadow); }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--glow); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent); margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--ink-dim); font-size: 0.97rem; }

/* ── protocols ── */
.proto-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.proto { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--border-soft); border-left: 2px solid var(--primary-2); border-radius: var(--r-sm); padding: 16px 20px; background: var(--surface); }
.proto-name { color: var(--ink); font-size: 0.98rem; font-weight: 500; }
.proto-detail { color: var(--ink-faint); font-size: 0.9rem; }

/* ── use cases ── */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: uc; }
.usecase { border-top: 1px solid var(--border); padding-top: 24px; }
.usecase h3 { font-size: 1.16rem; margin-bottom: 12px; }
.usecase h3::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--primary); margin-bottom: 16px; }
.usecase p { color: var(--ink-dim); font-size: 0.98rem; }

/* ── pricing ── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.tier { position: relative; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.tier--featured { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, var(--surface)) 0%, var(--surface) 60%); box-shadow: var(--shadow); }
.tier-flag { position: absolute; top: -11px; left: 30px; background: var(--primary); color: var(--primary-ink); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier-name { font-size: 1.5rem; }
.tier-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier-amount { font-family: var(--f-display); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; }
.tier-cadence { color: var(--ink-faint); font-size: 0.9rem; }
.tier-summary { color: var(--ink-dim); }
.tier-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier-features li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink-dim); }
.tier-features svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 3px; }
.tier-note { font-size: 0.84rem; color: var(--ink-faint); }
.tier .btn { justify-content: center; }

/* ── changelog teaser + timeline ── */
.teaser { display: block; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; background: var(--surface); transition: border-color 0.2s ease, transform 0.2s ease; }
.teaser:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); transform: translateY(-3px); }
.teaser-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ver { display: inline-block; background: var(--glow); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); padding: 3px 12px; border-radius: 999px; font-size: 0.86rem; }
.teaser-notes { margin: 0; padding-left: 20px; color: var(--ink-dim); display: flex; flex-direction: column; gap: 7px; }
.teaser-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); margin-top: 18px; font-size: 0.9rem; }
.teaser-more svg { width: 16px; height: 16px; }

.timeline { display: flex; flex-direction: column; }
.release { position: relative; padding: 0 0 40px 30px; border-left: 1px solid var(--border); }
.release:last-child { border-left-color: transparent; padding-bottom: 0; }
.release::before { content: ""; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--glow); }
.release-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.channel { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--ink-dim); }
.channel--stable { color: var(--online); border-color: color-mix(in srgb, var(--online) 40%, transparent); }
.release-notes { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; color: var(--ink-dim); }
.release-notes li { padding-left: 4px; }
.wiki-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--r); padding: 20px 24px; background: var(--surface); color: var(--ink-dim); transition: border-color 0.2s ease; }
.wiki-link:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.wiki-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); white-space: nowrap; }
.wiki-more svg { width: 15px; height: 15px; }

/* ── cta band + install ── */
.cta-band .cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 8%, var(--surface)), var(--bg-2)); }
.cta-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-copy p { color: var(--ink-dim); margin-top: 12px; }

.install { border: 1px solid var(--border); border-radius: var(--r); background: #071019; overflow: hidden; box-shadow: var(--shadow); }
.install-head { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(255, 255, 255, 0.02); border-bottom: 1px solid var(--border-soft); font-size: 0.82rem; }
.install-head .dot { width: 9px; height: 9px; box-shadow: none; }
.install-title { color: var(--ink-faint); margin-left: 8px; }
.install-body { display: flex; align-items: center; gap: 14px; padding: 18px 16px; }
.install-body code { flex: 1; color: #d3ecff; font-size: 0.88rem; overflow-x: auto; white-space: nowrap; }
.install-body code::before { content: "$ "; color: var(--primary); }
.copy-btn { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--ink-dim); padding: 8px 13px; border-radius: 9px; cursor: pointer; font-family: var(--f-body); font-size: 0.85rem; transition: color 0.18s, border-color 0.18s; }
.copy-btn:hover { color: var(--primary); border-color: var(--primary); }
.copy-btn.copied { color: var(--online); border-color: var(--online); }
.copy-btn svg { width: 16px; height: 16px; }
.install-caption { margin-top: 14px; color: var(--ink-faint); font-size: 0.85rem; text-align: center; }

/* ── page head ── */
.page-head { padding: clamp(52px, 8vw, 92px) 0 clamp(20px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-head p { color: var(--ink-dim); margin-top: 16px; font-size: 1.1rem; max-width: 56ch; }
.page-head a { color: var(--primary); }

/* ── features page ── */
.feature-group { padding-top: clamp(36px, 5vw, 56px); }
.group-head { margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.group-head h2 { font-size: 1.42rem; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.badge { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; padding: 4px 10px; border-radius: 999px; background: var(--glow); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border: 1px solid var(--border-soft); border-radius: var(--r-sm); padding: 22px; background: var(--surface); transition: border-color 0.2s ease; }
.feature:hover { border-color: color-mix(in srgb, var(--primary) 32%, var(--border)); }
.feature h3 { font-size: 0.95rem; color: var(--ink); font-weight: 500; margin-bottom: 9px; }
.feature p { color: var(--ink-dim); font-size: 0.92rem; }

/* ── download page ── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sub { font-size: 1.15rem; margin: 0 0 16px; }
.split-grid .sub + .table-wrap { margin-top: 0; }
.split-grid div > .sub:not(:first-child) { margin-top: 34px; }
.ticks, .steps { margin: 0 0 4px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ticks li { display: flex; gap: 11px; color: var(--ink-dim); }
.ticks svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 4px; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; color: var(--ink-dim); min-height: 26px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 8px; background: var(--glow); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent); font-family: var(--f-mono); font-size: 0.82rem; display: grid; place-items: center; }
.table-wrap { border: 1px solid var(--border-soft); border-radius: var(--r); overflow: hidden; }
.flags { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.flags td { padding: 11px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.flags tr:last-child td { border-bottom: 0; }
.flags td:first-child { color: var(--primary); white-space: nowrap; width: 1%; }
.flags td:last-child { color: var(--ink-dim); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.note-card { border: 1px solid var(--border-soft); border-radius: var(--r); padding: 24px; background: var(--surface); }
.note-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.note-card p { color: var(--ink-dim); font-size: 0.94rem; margin-bottom: 16px; }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--border-soft); margin-top: clamp(40px, 6vw, 80px); padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-tag { color: var(--ink-dim); max-width: 34ch; }
.foot-addr { color: var(--ink-faint); font-size: 0.82rem; margin-top: 16px; line-height: 1.8; }
.foot-addr a { color: var(--ink-dim); }
.foot-addr a:hover { color: var(--primary); }
.foot-col h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-family: var(--f-body); font-weight: 600; margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { color: var(--ink-dim); font-size: 0.94rem; }
.foot-col a:hover { color: var(--primary); }
.foot-base { display: flex; justify-content: space-between; padding: 20px 24px; border-top: 1px solid var(--border-soft); color: var(--ink-faint); font-size: 0.82rem; }

/* ── responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-lead { max-width: none; }
  .card-grid, .feature-grid, .legend-grid, .usecase-grid, .tier-grid, .proto-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .cta-inner, .split-grid, .notes { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-mobile { display: flex; }
  .card-grid, .feature-grid, .legend-grid, .usecase-grid, .tier-grid, .proto-grid { grid-template-columns: 1fr; }
  .telemetry-item { padding-right: 16px; }
  .telemetry-item + .telemetry-item { padding-left: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
}
