/* z-bitco.com — technical / engineering theme.
   Dark hero bands with a signal-green accent, light content sections, monospace details.
   Fonts: Rubik (headings), Roboto (body), JetBrains Mono (code and labels). */

:root {
    /* Dark surfaces */
    --night: #0b1016;
    --night-2: #111923;
    --night-3: #17212d;
    --night-line: #243243;
    --on-night: #e6edf3;
    --on-night-muted: #9aabbb;
    --signal: #3ddc97;          /* accent on dark */
    --signal-dim: rgba(61, 220, 151, 0.14);

    /* Light surfaces */
    --paper: #ffffff;
    --paper-2: #f4f6f8;
    --line: #e1e5ea;
    --ink: #0f1419;
    --ink-muted: #56606b;
    --link: #0b7a54;            /* accent on light, 5:1 on white */

    --radius: 10px;
    --max: 1112px;              /* content width; the gutter sits outside it */
    --gutter: clamp(20px, 5vw, 64px);
    --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-head: "Rubik", var(--font-body);
    --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
code, pre, .mono { font-family: var(--font-mono); }
code { font-size: 0.88em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 0.05em 0.35em; }

.container { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 80px; }
.section-flush-bottom { padding-bottom: 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head p { color: var(--ink-muted); font-size: 1.08rem; }


/* Dark bands */
.dark { background: var(--night); color: var(--on-night); }
.dark a { color: var(--signal); }
.dark p { color: var(--on-night-muted); }
.dark h1, .dark h2, .dark h3 { color: var(--on-night); }
.dark code { background: var(--night-3); border-color: var(--night-line); color: var(--on-night); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11, 16, 22, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--night-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--on-night-muted); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav a:hover { color: var(--on-night); background: var(--night-3); }
.nav a.active { color: var(--on-night); box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
/* Products menu */
.nav-menu { position: relative; }
.nav-menu summary {
    list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 8px;
    color: var(--on-night-muted); font-weight: 500; font-size: 0.97rem; display: flex; align-items: center; gap: 6px;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.nav-menu details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu summary:hover, .nav-menu details[open] summary { color: var(--on-night); background: var(--night-3); }
.nav-menu summary.active { color: var(--on-night); box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; list-style: none; margin: 0; padding: 8px;
    background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.menu a { display: flex !important; flex-direction: column; gap: 1px; padding: 10px 12px !important; border-radius: 8px; box-shadow: none !important; }
.menu a:hover, .menu a.active { background: var(--night-3); }
.menu .menu-name { color: var(--on-night); font-weight: 500; }
.menu .menu-summary { color: var(--on-night-muted); font-size: 0.85rem; font-weight: 400; }
.menu .ext { color: var(--on-night-muted); font-size: 0.85em; margin-left: 2px; }

.nav .nav-cta a { color: var(--night); background: var(--signal); margin-left: 8px; }
.nav .nav-cta a:hover { background: #64e7ad; color: var(--night); }
/* Account slot (js/account.js): "Sign in", or Clerk's avatar menu once signed in */
.nav-account { display: flex; align-items: center; min-width: 32px; min-height: 32px; margin-left: 8px; }
.account-sign-in {
    padding: 8px 14px; border-radius: 8px; border: 0; cursor: pointer;
    font: 500 0.97rem var(--font-body); color: var(--night); background: var(--signal);
}
.account-sign-in:hover { background: #64e7ad; }
.account-sign-in[hidden] { display: none; }
.account-user { display: flex; align-items: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 96px 88px; }
.hero::before {
    /* faint engineering grid */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(var(--night-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--on-night-muted); max-width: 54ch; }
.hero-compact { padding-block: 72px 64px; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 8px; font-weight: 500; text-decoration: none;
    border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.button-primary { background: var(--signal); color: var(--night) !important; }
.button-primary:hover { background: #64e7ad; }
.button-ghost { border-color: var(--night-line); color: var(--on-night) !important; }
.button-ghost:hover { border-color: var(--signal); }
.button-dark { background: var(--ink); color: var(--paper) !important; }
.button-dark:hover { background: var(--link); }

.store-badges { align-items: center; }
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; }
.store-badge img { height: 48px; width: auto; display: block; }
.store-badge:hover img { opacity: 0.85; }

.app-shot { margin: 0; min-width: 0; }
.app-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--night-line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }

/* Terminal card */
.terminal {
    background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); overflow: hidden; min-width: 0;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--night-line); background: var(--night-3); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--night-line); }
.terminal-bar .title { margin-left: 8px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-night-muted); background: none; width: auto; height: auto; border-radius: 0; }
.terminal pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font-size: 0.8rem; line-height: 1.9; color: var(--on-night); }
.terminal .dir { color: var(--on-night-muted); }
.terminal .cmd { color: var(--signal); }
.terminal .rep { color: #7cc4ff; }
.terminal .hex { color: #c9d4de; }
.terminal .note { display: block; padding: 0 18px 14px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-night-muted); }

/* Mock virtual reader (hero) — styled after the osdp-mcp virtual reader */
.vr { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; min-width: 0; }
.vr-device { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vr-bezel {
    width: 240px; padding: 10px; border-radius: 22px;
    background: linear-gradient(150deg, #f1f3f6 0%, #c5ccd6 38%, #9aa3b0 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 6px rgba(0,0,0,.25) inset, 0 30px 60px rgba(0,0,0,.55);
}
.vr-face {
    border-radius: 14px; padding: 22px 18px 20px;
    background: radial-gradient(120% 60% at 50% -10%, #20242b 0%, #0c0e12 55%), #0a0c10;
    box-shadow: 0 2px 8px rgba(0,0,0,.6) inset, 0 0 0 1px #000 inset;
}
.vr-top { position: relative; display: flex; justify-content: center; align-items: center; margin: 2px 0 10px; }
.vr-led { width: 50%; height: 12px; border-radius: 8px; background: #11151c; box-shadow: 0 0 0 1px rgba(0,0,0,.6) inset; transition: background .12s, box-shadow .12s; }
.vr-led.lit { background: var(--c); box-shadow: 0 0 14px 2px var(--c), 0 0 32px 6px color-mix(in srgb, var(--c) 55%, transparent), 0 0 0 1px rgba(255,255,255,.25) inset; }
.vr-buzzer { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: rgba(220,226,236,.3); transition: color .08s, filter .08s; }
.vr-buzzer svg { width: 100%; height: 100%; }
.vr-buzzer.sounding { color: #ffd34d; filter: drop-shadow(0 0 8px #ffd34d); }
.vr-pin { height: 18px; margin-bottom: 8px; text-align: center; letter-spacing: 6px; color: #eef1f6; font-size: 14px; }
.vr-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; }
.vr-key {
    appearance: none; background: transparent; border: 0; border-radius: 10px; padding: 5px 0;
    font: 300 22px/1.2 var(--font-body); color: rgba(226,230,238,.8); text-shadow: 0 1px 1px rgba(0,0,0,.8);
    cursor: pointer; user-select: none; transition: background .08s, transform .05s, color .08s;
}
.vr-key:hover { background: rgba(255,255,255,.06); }
.vr-key:active, .vr-key.pressed { background: rgba(61,220,151,.18); color: #fff; transform: scale(.94); }
.vr-status { display: flex; gap: 8px; }
.vr-badge, .vr-poll { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid #1f5138; color: #6ee7a8; background: rgba(12,15,21,.65); }
.vr-poll { display: inline-flex; align-items: center; gap: 6px; }
.vr-poll::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fd27a; box-shadow: 0 0 8px #2fd27a; animation: vr-pulse 1.2s ease-in-out infinite; }
@keyframes vr-pulse { 50% { opacity: .3; } }
.vr-controls { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vr-btn { font: 500 13px var(--font-body); color: #cfd6e2; background: var(--night-3); border: 1px solid var(--night-line); border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.vr-btn:hover { border-color: var(--signal); }
.vr-btn.flash { color: #6ee7a8; border-color: #1f5138; background: rgba(110,231,168,.14); }
.vr-hint { font-size: 12px; color: var(--on-night-muted); }
.vr-hint b { color: var(--on-night); font-weight: 500; }
.vr-log { align-self: stretch; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 300px; }
.vr-log-head { padding: 9px 12px; border-bottom: 1px solid var(--night-line); background: var(--night-3); font-size: 0.75rem; color: var(--on-night-muted); }
.vr-lines { list-style: none; margin: 0; padding: 10px 12px; font-size: 0.74rem; line-height: 1.75; display: flex; flex-direction: column; justify-content: flex-end; flex: 1; }
.vr-lines li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: vr-in .25s ease-out; }
.vr-lines .dir { color: var(--on-night-muted); white-space: pre; }
.vr-lines .from-pd .msg { color: #7cc4ff; }
.vr-lines .from-acu .msg { color: var(--signal); }
.vr-lines .detail { color: #c9d4de; }
@keyframes vr-in { from { opacity: 0; transform: translateY(4px); } }
.vr-caption { grid-column: 1 / -1; font-size: 0.72rem; color: var(--on-night-muted); }

/* Credential strip */
.strip { background: var(--night-2); border-top: 1px solid var(--night-line); }
.strip ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.strip li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--signal); }
.strip strong { font-family: var(--font-head); font-weight: 500; color: var(--on-night); font-size: 1rem; }
.strip span { font-size: 0.86rem; color: var(--on-night-muted); }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
    position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 6px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover { border-color: #c5ccd4; box-shadow: 0 10px 30px rgba(15, 20, 25, 0.07); }
.card p { color: var(--ink-muted); margin-bottom: 0.6em; }
.card ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--ink-muted); }
.card ul li { margin-bottom: 4px; }
.card .icon {
    width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 10px;
    background: rgba(11, 122, 84, 0.09); color: var(--link); font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tag { font-family: var(--font-mono); font-size: 0.72rem; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-muted); }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 500; text-decoration: none; }
.card-link::after { content: " \2192"; }
.card-link.stretch::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:has(.stretch):hover { transform: translateY(-2px); }

/* Member downloads (OSDP.Net test consoles) */
.card .downloads { list-style: none; margin: auto 0 0; padding: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card .downloads li { margin: 0; }
.download {
    font: 500 0.82rem var(--font-mono); padding: 7px 12px; border-radius: 8px; cursor: pointer;
    background: var(--paper-2); border: 1px solid var(--line); color: var(--ink);
    transition: border-color 0.15s, color 0.15s;
}
.download::before { content: "\2193  "; color: var(--link); }
.download:hover { border-color: var(--link); color: var(--link); }
.download:disabled { opacity: 0.6; cursor: progress; }
.member-status { margin: 0 0 20px; color: var(--ink-muted); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }

/* Podcast feature */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.feature img { display: block; width: 260px; }
.feature p { color: var(--ink-muted); margin: 0 0 12px; font-size: 1.05rem; }

/* CTA band */
.cta-band { padding-block: 72px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; max-width: 56ch; }

/* About */
.profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; }
.portrait { width: 220px; border-radius: 14px; border: 1px solid var(--night-line); display: block; }
.role { font-family: var(--font-mono); color: var(--signal); font-size: 0.9rem; margin-bottom: 14px; }
.quote { font-size: 1.25rem; line-height: 1.5; color: var(--on-night) !important; font-family: var(--font-head); font-weight: 400; max-width: 50ch; }
.mission > * { max-width: 860px; }
.mission h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.founder { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; align-items: center; max-width: 900px; margin-bottom: 48px; }
.founder .portrait { width: 180px; border-color: var(--line); }
.founder-quote { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.founder p { color: var(--ink-muted); }
.founder .founder-quote { color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 74ch; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--line), var(--link)); }
.timeline li { position: relative; padding: 0 0 34px 40px; color: var(--ink-muted); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--link); box-sizing: border-box; }
.timeline li.now::before { background: var(--link); box-shadow: 0 0 0 5px rgba(11, 122, 84, 0.15); }
.timeline .phase { display: block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); margin-bottom: 2px; }
.timeline strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; margin-bottom: 4px; }

/* Specs / badges */

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.checks li { position: relative; padding: 16px 18px 16px 46px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-muted); }
.checks li::before { content: ""; position: absolute; left: 20px; top: 1.45em; width: 11px; height: 6px; border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg); }
.checks strong { color: var(--ink); font-weight: 500; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); background: var(--paper-2); }
td:first-child { white-space: nowrap; }
td code { background: none; border: 0; padding: 0; color: var(--link); font-weight: 500; }
.table-note { color: var(--ink-muted); margin-top: 16px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--paper); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--link); box-shadow: 0 14px 40px rgba(11, 122, 84, 0.12); }
.price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; line-height: 1; margin: 8px 0 4px; }
.price small { font-size: 0.95rem; font-weight: 400; color: var(--ink-muted); }
.terms { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0; font-size: 0.97rem; }
.terms dt { font-weight: 500; }
.terms dd { margin: 0; color: var(--ink-muted); }
.price-card .button { margin-top: auto; align-self: flex-start; }
.fine { color: var(--ink-muted); font-size: 0.95rem; max-width: 80ch; }

.code-block { background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; font-size: 0.9rem; margin: 0 0 16px; border: 1px solid var(--night-line); }
.code-block .prompt { color: var(--signal); user-select: none; }

.steps { list-style: none; counter-reset: step; margin: 0 0 24px; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--link); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-muted); margin: 0; }
.code-pair { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-bottom: 16px; }
.code-pair .code-block { margin: 0; line-height: 1.6; font-size: 0.84rem; }
.code-block .comment { color: var(--on-night-muted); }

.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.muted { color: var(--ink-muted); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); border-top: 1px solid var(--night-line); font-size: 0.95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 36px; }
.footer-inner p { margin: 4px 0; }
.site-footer a { color: var(--on-night); }
.footer-links { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; flex-wrap: wrap; }

@media (max-width: 900px) {
    .hero-grid, .profile, .founder { grid-template-columns: 1fr; gap: 28px; }
    .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .vr { grid-template-columns: 1fr; }
    .vr-log { min-height: 0; }
    .vr-lines { min-height: 150px; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .section { padding-block: 56px; }
    .hero { padding-block: 64px 56px; }
    .strip ul { grid-template-columns: 1fr; }
    .nav a { padding: 6px 9px; }
    .nav .nav-cta { display: none; }
    .nav-account { margin-left: 4px; }
    .account-sign-in { padding: 6px 10px; }
    .nav-menu summary { padding: 6px 9px; }
    .header-inner { position: relative; }
    .nav-menu { position: static; }
    .menu { left: 16px; right: 16px; top: calc(100% - 4px); min-width: 0; }
    td:first-child { white-space: normal; }
    .portrait { width: 160px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
