/* QUAN 2.0 — showcase site. Dark, editorial, agent-product aesthetic.
   Type system: Bricolage Grotesque (display) · Hanken Grotesk (body) · JetBrains Mono (labels). */
:root {
  /* Near-black surface (chroma 0, no hidden tint); the mood lives in the amber
     accent + type, per the impeccable brand brief. OKLCH throughout. */
  --bg: oklch(0.145 0 0);
  --bg-2: oklch(0.185 0 0);
  --surface: oklch(1 0 0 / 0.03);
  --surface-2: oklch(1 0 0 / 0.05);
  --border: oklch(1 0 0 / 0.09);
  --border-2: oklch(1 0 0 / 0.15);
  --text: oklch(0.96 0 0);
  --muted: oklch(0.745 0.006 80);
  --faint: oklch(0.62 0.006 80);
  --accent: oklch(0.98 0 0);        /* monochrome: white on near-black */
  --accent-2: oklch(0.86 0 0);
  --accent-ink: oklch(0.12 0 0);
  --maxw: 1140px;
  --r: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .brand-name {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero-sub, .section-head p, .card p, .step p, .chan p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
.card-ic, .chan-ic, .sec-ic, .step-ic, .badge-ic, .brand-ver, .kicker { font-variant-emoji: text; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }
:focus:not(:focus-visible) { outline: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- background ---- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.5;
}
.bg-glow {
  position: fixed; top: -20%; left: 50%; transform: translateX(-50%); z-index: -1;
  width: 900px; max-width: 100%; height: 600px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13), transparent 60%);
  filter: blur(40px);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em;
  padding: 11px 18px; border-radius: 11px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent), oklch(0.82 0 0));
  color: var(--accent-ink); box-shadow: 0 6px 24px -8px rgba(255, 255, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.6); }
.btn-ghost { border-color: var(--border-2); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.22); }
.btn-lg { padding: 14px 24px; font-size: 15.5px; border-radius: 13px; }
.arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; transition: all 0.3s var(--ease); }
.nav.scrolled { background: rgba(8, 9, 12, 0.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: conic-gradient(from 140deg, var(--accent), var(--accent-2), var(--accent));
  box-shadow: 0 0 18px -2px rgba(255, 255, 255, 0.6); position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--bg); }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.brand-ver { color: var(--accent); margin-left: 3px; font-size: 12px; vertical-align: super; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.02em;
  color: var(--muted); text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; background: var(--surface);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { font-size: clamp(46px, 6.4vw, 82px); font-weight: 700; margin: 22px 0 20px; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 30em; line-height: 1.62; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; list-style: none; flex-wrap: wrap; }
.hero-meta li { font-size: 14px; color: var(--faint); }
.hero-meta strong { color: var(--text); font-weight: 600; }
.hero-meta li + li { padding-left: 26px; border-left: 1px solid var(--border); }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-logo { width: 100%; max-width: 400px; height: auto; filter: drop-shadow(0 14px 50px rgba(0, 0, 0, 0.55)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }

/* ---- console mockup ---- */
.console {
  border: 1px solid var(--border-2); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), #090b0f);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; background: #2b2f38; }
.console-title { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--faint); margin-left: 8px; }
.console-body { display: grid; grid-template-columns: 116px 1fr; min-height: 312px; }
.console-side { border-right: 1px solid var(--border); padding: 12px 8px; display: flex; flex-direction: column; gap: 3px; }
.agent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 8px 9px; border-radius: 8px; }
.agent.active { background: var(--surface-2); color: var(--text); }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.agent.active .ai-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.console-chat { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.msg { font-size: 13.5px; line-height: 1.5; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); padding: 9px 13px; border-radius: 12px 12px 4px 12px; max-width: 84%; font-weight: 500; }
.msg.agent-line { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; display: flex; gap: 8px; align-items: center; }
.msg .tool { color: var(--accent-2); background: rgba(255, 255, 255, 0.1); padding: 2px 7px; border-radius: 6px; font-size: 11px; }
.msg .tool.ok { color: var(--accent); background: oklch(0.98 0 0 / 0.14); }
.msg.plan { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin: 1px 0; }
.plan-label { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--faint); margin-right: 3px; }
.plan-step { font-size: 10.5px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--border); color: var(--faint); white-space: nowrap; }
.plan-step.done { color: var(--accent); border-color: oklch(0.98 0 0 / 0.32); background: oklch(0.98 0 0 / 0.07); }
.plan-step.done::before { content: "\2713 "; }
.plan-step.doing { color: var(--text); border-color: var(--border-2); }
.approval { margin-top: 4px; border: 1px solid var(--border-2); border-radius: 12px; padding: 12px; background: var(--surface); }
.approval-head { font-size: 12px; font-weight: 600; color: var(--text); display: flex; gap: 6px; align-items: center; }
.approval-body { font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; }
.approval-actions { display: flex; gap: 8px; }
.approval-actions span { font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 8px; }
.approval-actions .ok { background: var(--accent); color: var(--accent-ink); }
.approval-actions .no { border: 1px solid var(--border-2); color: var(--muted); }

/* ---- sections ---- */
.section { padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.reveal { }
.kicker {
  font-family: "JetBrains Mono", monospace; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--accent);
}
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 32em; }

.grid { display: grid; gap: 18px; }
.cap-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--border); border-radius: var(--r); padding: 26px;
  background: var(--surface); transition: all 0.3s var(--ease);
}
.card:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-3px); }
.card-ic {
  width: 42px; height: 42px; display: grid; place-items: center; font-size: 19px; color: var(--accent);
  border: 1px solid var(--border-2); border-radius: 11px; margin-bottom: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent);
}
.card h3 { font-size: 19px; margin-bottom: 9px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.58; }

/* ---- skills ---- */
.skill-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-auto-flow: row dense; }
.skill-cat { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.skill-cat:hover { transform: translateY(-4px); border-color: oklch(0.98 0 0 / 0.42); box-shadow: 0 20px 46px -26px oklch(0.98 0 0 / 0.55); }
.skill-cat.feature { grid-column: span 2; }
.skill-cat h3 { font-size: 16px; margin-bottom: 15px; display: flex; align-items: center; gap: 9px; }
.skill-cat h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); flex-shrink: 0; }
.skill-cat ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.skill-cat li { font-size: 14px; color: var(--muted); line-height: 1.45; padding-left: 17px; position: relative; }
.skill-cat li::before { content: "\203A"; position: absolute; left: 2px; color: var(--accent); font-weight: 600; }
.skill-cat li strong { color: var(--text); font-weight: 600; }
.accent-cat { border-color: oklch(0.98 0 0 / 0.3); background: oklch(0.98 0 0 / 0.04); }

/* ---- brand logo image ---- */
.brand-logo { height: 50px; width: auto; display: block; transition: transform 0.3s var(--ease), filter 0.3s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.06); filter: drop-shadow(0 0 12px oklch(0.98 0 0 / 0.5)); }
.footer-inner .brand-logo { height: 40px; }

/* ---- how ---- */
.how { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent); }
.steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); position: relative; }
.step-tag {
  font-family: "JetBrains Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); border: 1px solid var(--border-2); border-radius: 7px; padding: 4px 9px;
  display: inline-block; margin-bottom: 18px; background: rgba(255, 255, 255, 0.06);
}
.step h3 { font-size: 20px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---- channels ---- */
.chan-grid { grid-template-columns: repeat(4, 1fr); }
.chan { text-align: left; padding: 24px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); transition: all 0.3s var(--ease); }
.chan:hover { border-color: var(--border-2); transform: translateY(-3px); }
.chan-ic { display: grid; place-items: center; width: 40px; height: 40px; font-size: 18px; color: var(--accent-2); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 16px; }
.chan h4 { font-size: 17px; margin-bottom: 6px; }
.chan p { font-size: 14px; color: var(--muted); }

/* ---- security ---- */
.security { background: radial-gradient(ellipse 70% 100% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 60%); }
.security-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.security .section-head { margin-bottom: 0; }
.sec-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sec-list li { display: flex; gap: 13px; padding: 18px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); }
.sec-ic { color: var(--accent); font-size: 18px; flex-shrink: 0; line-height: 1.3; }
.sec-list strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.sec-list div { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---- advanced infrastructure ---- */
.infra { background: linear-gradient(180deg, transparent, oklch(0.98 0 0 / 0.02), transparent); }
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.infra-card { padding: 28px 26px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.infra-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.infra-tag { font-family: "JetBrains Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); }
.infra-card h3 { font-size: 20px; margin: 12px 0 10px; }
.infra-card p { font-size: 15px; color: var(--muted); line-height: 1.58; }

/* ---- download ---- */
.download-card { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: center; padding: 44px; border: 1px solid var(--border-2); border-radius: 24px; background: radial-gradient(ellipse 90% 130% at 0% 0%, oklch(0.98 0 0 / 0.08), var(--surface)); }
.download-info h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 12px; }
.download-info > p { color: var(--muted); font-size: 17px; max-width: 32em; margin-bottom: 18px; }
.download-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; font-size: 13px; color: var(--faint); font-family: "JetBrains Mono", monospace; }
.download-verify { margin-top: 20px; }
.download-verify .vlabel { display: block; font-family: "JetBrains Mono", monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 7px; }
.download-verify code { display: block; font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--muted); word-break: break-all; background: oklch(0 0 0 / 0.35); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; }
.download-badges { display: flex; flex-direction: column; gap: 11px; }
.badge { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--muted); padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.badge-ic { color: var(--accent); font-size: 15px; flex-shrink: 0; }

/* ---- cta ---- */
.cta { padding: 100px 0; }
.cta-inner {
  text-align: center; max-width: 680px; margin: 0 auto; padding: 56px 40px;
  border: 1px solid var(--border-2); border-radius: 26px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(255, 255, 255, 0.08), var(--surface));
}
.cta-inner h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 14px; }
.cta-inner p { color: var(--muted); font-size: 18px; max-width: 28em; margin: 0 auto 30px; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); font-size: 14.5px; }
.footer-copy { margin-left: auto; color: var(--faint); font-size: 13px; }

/* ---- about page ---- */
.about-hero { padding: 96px 0 56px; }
.about-title { font-size: clamp(44px, 6vw, 78px); font-weight: 700; margin: 22px 0 26px; }
.about-lead { font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); max-width: 30em; line-height: 1.6; }
.about-prose { max-width: 760px; }
.about-prose .kicker { display: block; margin-bottom: 14px; }
.about-prose h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 22px; }
.about-prose p { font-size: 18px; color: var(--muted); line-height: 1.68; margin-bottom: 18px; max-width: 64ch; }
.about-prose p:last-child { margin-bottom: 0; }
.labs { background: radial-gradient(ellipse 70% 100% at 100% 50%, oklch(0.98 0 0 / 0.05), transparent 60%); }
.labs h2 { color: var(--accent); }

/* ---- request-access modal ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); animation: mfade 0.25s var(--ease); }
.modal-dialog { position: relative; width: 100%; max-width: 460px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 20px; padding: 34px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9); animation: mpop 0.3s var(--ease); max-height: 90vh; overflow-y: auto; }
@keyframes mfade { from { opacity: 0; } }
@keyframes mpop { from { opacity: 0; transform: translateY(12px) scale(0.985); } }
.modal-x { position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; transition: all 0.2s var(--ease); }
.modal-x:hover { color: var(--text); border-color: var(--border-2); }
.modal h2 { font-size: 26px; margin: 10px 0 8px; }
.modal-lead { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.field { margin-bottom: 14px; text-align: left; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field .opt { color: var(--faint); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 13px; color: var(--text); font: inherit; font-size: 15px; transition: border-color 0.2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 64px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-submit { width: 100%; justify-content: center; margin-top: 6px; }
.modal-err { color: oklch(0.72 0.13 25); font-size: 13.5px; margin-top: 12px; text-align: center; }
.modal-done { text-align: center; padding: 18px 0; }
.done-mark { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.modal-done h2 { font-size: 24px; }
.modal-done p { color: var(--muted); margin: 8px 0 22px; }

/* ---- reveal animation ---- */
/* Content is visible by default; the hidden state applies only when JS is on
   (the inline <head> script adds .js), so no-JS and headless renders never ship blank. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-visual { min-width: 0; }
  .hero-logo { max-width: 340px; }
  .console { max-width: 520px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-cat.feature { grid-column: span 2; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
  .download-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .security-inner { grid-template-columns: 1fr; gap: 30px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px 24px; background: rgba(8, 9, 12, 0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
  .nav.open .nav-links a { padding: 10px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .cap-grid, .skill-grid, .steps, .chan-grid, .sec-list, .infra-grid { grid-template-columns: 1fr; }
  .skill-cat.feature { grid-column: span 1; }
  .hero-meta li + li { padding-left: 0; border-left: 0; }
  /* center all headers on mobile */
  .hero-copy, .section-head, .about-prose, .about-hero { text-align: center; }
  .hero-sub, .section-head p, .about-prose p, .about-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .eyebrow { align-self: center; }
  .hero-title { font-size: clamp(32px, 8.5vw, 54px); }
  .hero-sub { font-size: 17px; }
  .hero-logo { max-width: 300px; }
  .cta-inner { padding: 40px 22px; }
  .footer-copy { margin-left: 0; width: 100%; }
}
