/* IPJACKET — site styles. Dark is default; light via prefers-color-scheme or the toggle. */
:root {
  --bg: #070b12;
  --bg-alt: #0a1019;
  --surface: #0e1520;
  --surface-2: #131c29;
  --border: #1d2736;
  --border-strong: #2a3648;
  --text: #e8eef6;
  --muted: #94a2b6;
  --accent: #22d3ee;
  --accent-2: #3b82f6;
  --accent-ink: #04121a;
  --accent-soft: rgba(34, 211, 238, 0.1);
  --ok: #34d399;
  --grid-line: rgba(148, 162, 182, 0.07);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f8fb; --bg-alt: #edf1f6; --surface: #ffffff; --surface-2: #f2f5f9;
    --border: #dbe2eb; --border-strong: #c5cfdb; --text: #0b1422; --muted: #4f5d70;
    --accent: #0e7490; --accent-2: #1d4ed8; --accent-ink: #ffffff; --accent-soft: rgba(14, 116, 144, 0.09);
    --ok: #059669; --grid-line: rgba(15, 30, 50, 0.06); --shadow: 0 24px 60px -30px rgba(15, 30, 50, 0.25);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f8fb; --bg-alt: #edf1f6; --surface: #ffffff; --surface-2: #f2f5f9;
  --border: #dbe2eb; --border-strong: #c5cfdb; --text: #0b1422; --muted: #4f5d70;
  --accent: #0e7490; --accent-2: #1d4ed8; --accent-ink: #ffffff; --accent-soft: rgba(14, 116, 144, 0.09);
  --ok: #059669; --grid-line: rgba(15, 30, 50, 0.06); --shadow: 0 24px 60px -30px rgba(15, 30, 50, 0.25);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3, .h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(1200px, 100% - 48px); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.2em; border-radius: 10px; font: 600 .95rem/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 88%, white); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { padding: .55em .95em; font-size: .875rem; }
.btn-lg { padding: .85em 1.4em; font-size: 1rem; }
.btn .icon { width: 1.05em; height: 1.05em; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--accent); border-color: var(--border-strong); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.15rem/1 var(--font-head); letter-spacing: .04em; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 30px; height: 30px; color: var(--text); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 550; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; } :root[data-theme="light"] .i-moon { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .i-sun { display: none; } :root:not([data-theme]) .i-moon { display: block; } }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
@media (max-width: 860px) {
  .hide-sm { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .main-nav { position: absolute; inset: 68px 0 auto 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--border); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 16px 20px; }
  .main-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.pt-0 { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h1 { margin-bottom: .35em; }
.eyebrow { font: 600 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 68ch; }
.note { margin-top: 28px; font-size: .85rem; color: var(--muted); }
.intro { font-size: 1.1rem; color: var(--muted); max-width: 75ch; margin-bottom: 40px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero-bg::after { content: ""; position: absolute; inset: -20% -10% auto 40%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); filter: blur(20px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); font: 600 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 36px 0 0; color: var(--muted); font-size: .9rem; }
.badges li { display: inline-flex; align-items: center; gap: 8px; }
.badges .icon { color: var(--accent); }
.console { margin: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.console-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); font: .78rem var(--mono); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.mesh-canvas { width: 100%; height: auto; aspect-ratio: 56 / 38; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 28px 28px; }
.console-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.console-foot div { padding: 12px 16px; display: grid; gap: 2px; }
.console-foot div + div { border-left: 1px solid var(--border); }
.console-foot .k { font: .68rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.console-foot .v { font-size: .84rem; font-weight: 600; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .console-foot { grid-template-columns: 1fr; } .console-foot div + div { border-left: 0; border-top: 1px solid var(--border); } }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.card h3, .card .h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.card-link { text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card-link:hover { color: inherit; border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.card-icon .icon { width: 22px; height: 22px; }
.card-icon.lg { width: 56px; height: 56px; border-radius: 14px; }
.card-icon.lg .icon { width: 28px; height: 28px; }
.card-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.tags li { font: .72rem/1 var(--mono); padding: 6px 8px; border-radius: 6px; border: 1px solid var(--border); color: var(--muted); background: var(--surface-2); }
.plain { list-style: none; padding: 0; margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.plain li { padding: 4px 0; border-bottom: 1px dashed var(--border); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.checklist .icon { color: var(--ok); margin-top: .22em; }

/* Tabs / capabilities */
.tab-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.tab { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 600 .92rem/1.3 var(--font); text-align: left; cursor: pointer; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.tab[aria-selected="true"] .icon { color: var(--accent); }
@media (max-width: 860px) { .tab-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tab-list { grid-template-columns: 1fr; } }
.js .cap-panel[data-inactive] { display: none; }
.cap-panel { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; padding: clamp(22px, 3.5vw, 40px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.cap-panel + .cap-panel { margin-top: 16px; }
.js .tabs .cap-panel + .cap-panel { margin-top: 0; }
.cap-main p { color: var(--muted); }
.cap-side { display: grid; gap: 16px; align-content: start; }
.metric { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); display: grid; gap: 6px; }
.metric-label { font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.metric-value { font: 700 2.4rem/1.1 var(--mono); color: var(--accent); }
.cap-icon { display: grid; place-items: center; min-height: 120px; border-radius: var(--radius); border: 1px dashed var(--border-strong); color: var(--accent); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 18px 18px; }
.cap-icon .icon { width: 48px; height: 48px; stroke-width: 1.3; }
@media (max-width: 860px) { .cap-panel { grid-template-columns: 1fr; } .cap-icon { display: none; } }

/* Split / stats */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; padding-top: 14px; border-top: 1px solid var(--border-strong); }
.stats dt { font-size: .82rem; color: var(--muted); }
.stats dd { margin: 0; font: 700 2rem/1 var(--mono); color: var(--accent); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }
.step-num { display: inline-block; font: 700 .8rem var(--mono); color: var(--accent); padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); margin-bottom: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--surface); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inner pages */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); position: relative; }
.page-hero h1 { max-width: 22ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.page-hero-grid h1 { margin-top: 22px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.panel { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.panel-h { font: 600 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 4px; }
.panel-h.mt { margin-top: 26px; }
.vertical-list { display: grid; gap: 14px; }
.vertical-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.vertical-row:hover { color: inherit; border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--shadow); }
.vertical-row h2 { font-size: 1.35rem; margin-bottom: .3em; }
.vertical-row p { color: var(--muted); margin: 0; }
.row-arrow { color: var(--accent); }
.row-arrow .icon { width: 24px; height: 24px; }
@media (max-width: 640px) { .vertical-row { grid-template-columns: 1fr; } .row-arrow { display: none; } }
.jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .92rem; }
.jump .icon { color: var(--accent); }
.cap-panel.standalone h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.nda { display: flex; gap: 20px; align-items: flex-start; }
.nda p { color: var(--muted); }
.nda strong { color: var(--text); }
.nda-icon { width: 32px; height: 32px; color: var(--accent); margin-top: 2px; }
.nda.big { padding: clamp(28px, 5vw, 52px); }
.nda.big p { max-width: 64ch; font-size: 1.05rem; }
@media (max-width: 560px) { .nda { flex-direction: column; } }
.prose { max-width: 70ch; }
.prose p { color: var(--muted); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.narrow { max-width: 760px; }
.facts { margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.case h3 { margin-top: 0; }
.notfound { min-height: 50vh; display: grid; align-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 16px; }
.rfq fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.rfq legend { font-weight: 600; margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 720px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); font-weight: 600; font-size: .9rem; cursor: pointer; height: 100%; }
.choice span .icon { color: var(--muted); width: 22px; height: 22px; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.choice input:checked + span .icon { color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 12px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #ef4444; }
.form-error { color: #ef4444; font-size: .9rem; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot p { flex: 1 1 260px; margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.contact-list .icon { color: var(--accent); margin-top: .25em; }
.mini-steps { margin: 12px 0 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; font-size: .94rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: 32px; }
.footer-brand p { color: var(--muted); margin: 16px 0; max-width: 36ch; }
.footer-h { font: 600 .72rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); }
.social { display: flex; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.made-in { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 1060px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Reveal on scroll (only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card-link:hover { transform: none; }
}
@media print { .site-header, .site-footer, .cta-band, .console { display: none; } body { background: #fff; color: #000; } }
