/* PodHull website. Dark only, by design: it mirrors the panel. */
:root {
  color-scheme: dark;
  --bg: #07080a;
  --bg2: #0b0d10;
  --box: #111418;
  --box2: #161a1f;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #d9dde2;
  --strong: #f5f7fa;
  --muted: #9aa3ad;
  --faint: #6e7781;
  --accent: #7aa2d6;
  --accent2: #a9c6ec;
  --primary: #3a6ea5;
  --primary2: #4a83c2;
  --ok: #7cc79a;
  --warn: #e2b65f;
  --radius: 16px;
  --sans: "Inter var", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--strong); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--strong); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 650; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .88em; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; color: var(--strong); }
pre code { background: none; border: 0; padding: 0; }
::selection { background: rgba(122, 162, 214, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.narrow .btn { margin-top: 28px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--strong); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.scrolled .top, .nav-open .top { background: rgba(7, 8, 10, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--strong); font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { color: var(--strong); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--muted); font-size: 14.5px; padding: 7px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--strong); background: rgba(255, 255, 255, .05); }
.nav a[aria-current] { color: var(--strong); }
.bar-end { display: flex; align-items: center; gap: 10px; }
.gh { display: inline-flex; align-items: center; gap: 8px; color: var(--strong); font-size: 14px; font-weight: 550; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, .03); transition: background .2s, border-color .2s; }
.gh:hover { color: var(--strong); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.gh .count { font-size: 12px; color: var(--muted); padding-left: 8px; border-left: 1px solid var(--line2); }
.menu { display: none; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--strong); transition: transform .25s var(--ease); }
.menu span:first-child { top: 15px; }
.menu span:last-child { top: 23px; }
.nav-open .menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--strong); border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { color: var(--strong); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, var(--primary2), var(--primary)); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: 0 8px 30px -8px rgba(74, 131, 194, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn.primary:hover { box-shadow: 0 12px 40px -8px rgba(74, 131, 194, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.small { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.small span { color: var(--faint); font-weight: 500; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid; vertical-align: 1px; }
.tag.ok { color: var(--ok); border-color: rgba(124, 199, 154, .35); background: rgba(124, 199, 154, .08); }
.tag.warn { color: var(--warn); border-color: rgba(226, 182, 95, .35); background: rgba(226, 182, 95, .08); }
.more { font-weight: 600; font-size: 15px; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.grad { background: linear-gradient(100deg, #f5f7fa 0%, #b8d0f0 40%, #7aa2d6 75%, #5d88c2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; --mx: 50%; --my: 30%; }
.field { position: absolute; inset: 0; z-index: -2; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 40%, transparent 100%); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(74, 131, 194, .13), transparent 60%); transition: background .1s; }
.hero-glow { position: absolute; z-index: -1; left: 50%; top: -340px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(58, 110, 165, .38), rgba(58, 110, 165, .08) 60%, transparent); filter: blur(20px); pointer-events: none; }
.hero-in { padding-top: 150px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(17, 20, 24, .7); backdrop-filter: blur(8px); color: var(--text); font-size: 14px; margin-bottom: 28px; transition: border-color .2s; }
.pill:hover { color: var(--strong); border-color: rgba(122, 162, 214, .5); }
.pill-tag { background: rgba(122, 162, 214, .16); color: var(--accent2); font-weight: 650; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.pill-arrow { color: var(--muted); transition: transform .2s; }
.pill:hover .pill-arrow { transform: translateX(3px); }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.lead { max-width: 720px; margin: 26px auto 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.shot-stage { margin: 80px auto 0; max-width: 1120px; perspective: 1600px; }
.window { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: var(--box); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 160px -40px rgba(74, 131, 194, .45); }
.tilt { transform-origin: 50% 0; will-change: transform; transform: perspective(1600px) rotateX(14deg); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #0d0f12; border-bottom: 1px solid var(--line); }
.window-bar i, .term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f36; }
.window-bar span, .term-bar span { margin: 0 auto; transform: translateX(-24px); font: 12px var(--mono); color: var(--faint); }
.hero .shot-stage::after { content: ""; display: block; height: 120px; margin-top: -120px; position: relative; background: linear-gradient(transparent, var(--bg)); }

.page-hero { padding: 160px 0 90px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero.tall { min-height: 80vh; display: grid; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.chips a { font-size: 14px; color: var(--muted); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17, 20, 24, .6); }
.chips a:hover { color: var(--strong); border-color: var(--line2); }

/* ---------- built on ---------- */
.built { padding: 40px 0 10px; text-align: center; }
.built p { color: var(--faint); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.marks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; padding: 0; margin: 22px 0 0; }
.marks li { color: #7c858f; font-size: 20px; font-weight: 650; letter-spacing: -.01em; transition: color .2s; }
.marks li:hover { color: var(--strong); }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); }
.num { padding: 34px 30px; border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; }
.num b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; color: var(--strong); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.num > span { color: var(--muted); font-size: 14.5px; }

/* ---------- sections ---------- */
.section { padding: 130px 0; position: relative; }
.section-tight { padding-top: 90px; padding-bottom: 110px; }
.band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.head.left { text-align: left; margin: 0 0 36px; max-width: none; }
.head h2, .section h2, .split h2, .narrow h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.sub { color: var(--muted); font-size: 18px; margin: 20px auto 0; max-width: 640px; }
.sub.left { margin-left: 0; }
.note { color: var(--faint); font-size: 14px; margin-top: 22px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split > *, .feature > * { min-width: 0; }
.split .btn { margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: rgba(122, 162, 214, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23a9c6ec' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- tiles ---------- */
.tile { position: relative; background: linear-gradient(180deg, var(--box2), var(--box)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; isolation: isolate; }
.tile h3 { font-size: 20px; margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile .more { display: inline-block; margin-top: 18px; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(122, 162, 214, .12), transparent 45%); }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(169, 198, 236, .55), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glow:hover::before, .glow:hover::after { opacity: 1; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(180deg, rgba(122, 162, 214, .2), rgba(122, 162, 214, .06)); border: 1px solid rgba(122, 162, 214, .25); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.t-wide { grid-column: span 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding-right: 0; padding-bottom: 0; }
.t-wide .tile-text { padding-bottom: 30px; }
.tile-shot { align-self: end; border-radius: 12px 0 0 0; border: 1px solid var(--line2); border-right: 0; border-bottom: 0; box-shadow: 0 0 60px -10px rgba(74, 131, 194, .35); }
.t-wide2 { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.iso-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.iso-art .cell { position: relative; aspect-ratio: 1 / 1.1; border: 1px dashed rgba(122, 162, 214, .45); border-radius: 12px; background: rgba(58, 110, 165, .07); display: flex; flex-wrap: wrap; align-content: flex-end; gap: 6px; padding: 12px; }
.iso-art b { position: absolute; top: 10px; left: 12px; font: 600 11px var(--mono); color: var(--accent2); }
.iso-art i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #3e5c82, #24364c); border: 1px solid #557aa6; }
.iso-art .cell:nth-child(2) i { background: linear-gradient(135deg, #39414c, #21272e); border-color: #4a535f; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid3 .cmd { margin-top: 18px; }

/* ---------- architecture map (home) ---------- */
.flowmap { border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(80% 120% at 50% 0, rgba(58, 110, 165, .12), transparent), var(--box); padding: 30px 20px 10px; margin-bottom: 40px; }
.flow-svg { width: 100%; height: auto; display: block; overflow: visible; }
.lane { fill: none; stroke: rgba(122, 162, 214, .35); stroke-width: 1.5; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
.lane.thin { stroke-dasharray: 3 6; stroke: rgba(122, 162, 214, .25); }
@keyframes dash { to { stroke-dashoffset: -28; } }
.packet { fill: #cfe0f7; filter: drop-shadow(0 0 6px #7aa2d6); }
.packet.b { fill: #9ad3b0; filter: drop-shadow(0 0 6px #5bb37f); }
.node circle, .node rect { fill: #14181d; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.node.hi rect { fill: #1b2a3c; stroke: #557aa6; }
.node.app rect { fill: rgba(58, 110, 165, .08); stroke: rgba(122, 162, 214, .5); stroke-dasharray: 4 4; }
.node text { fill: var(--strong); font: 600 15px var(--sans); text-anchor: middle; }
.node text.cap { fill: var(--faint); font: 500 12px var(--sans); }
.node.app text { font: 500 13px var(--mono); fill: var(--accent2); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
.trio h3 { font-size: 19px; margin-bottom: 8px; }
.trio p { color: var(--muted); }

/* ---------- terminal and code ---------- */
.term, .code-card { border-radius: 14px; border: 1px solid var(--line2); background: #090a0c; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 100px -40px rgba(74, 131, 194, .4); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #0d0f12; }
.term pre, .code-card pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 13.5px/1.75 var(--mono); color: var(--text); min-height: 100%; }
.term .ln { white-space: pre; }
.term .ln[data-cmd]::before { content: "$ "; color: var(--accent); }
.term .ln.out { color: var(--muted); }
.term .ln.dim, .dim { color: var(--faint); }
.term .ok, .code-card .ok { color: var(--ok); font-weight: 500; }
.term .hide { visibility: hidden; }
.term .typing::after { content: "▍"; color: var(--accent2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); background: #0d0f12; }
.code-card .k { color: var(--accent2); font-weight: 600; }
.code-card .c { color: var(--faint); }
.cmd { position: relative; border: 1px solid var(--line2); border-radius: 12px; background: #090a0c; }
.cmd pre { margin: 0; padding: 16px 84px 16px 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13.5px/1.6 var(--mono); color: var(--strong); }
.copy { position: absolute; top: 9px; right: 9px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line2); background: var(--box2); color: var(--text); font: 600 12.5px var(--sans); cursor: pointer; }
.copy:hover { background: #20262d; color: var(--strong); }

/* ---------- activity ---------- */
.activity { list-style: none; padding: 0; margin: 0 auto 30px; max-width: 860px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); overflow: hidden; }
.activity.wide { max-width: none; }
.activity li + li { border-top: 1px solid var(--line); }
.activity a { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 16px 22px; color: var(--text); transition: background .2s; }
.activity a:hover { background: rgba(255, 255, 255, .03); color: var(--strong); }
.activity .repo { font: 600 12px var(--mono); color: var(--accent2); background: rgba(122, 162, 214, .1); border: 1px solid rgba(122, 162, 214, .2); padding: 3px 8px; border-radius: 6px; text-align: center; }
.activity .msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity .when { color: var(--faint); font-size: 13px; white-space: nowrap; }
.activity .when code { font-size: 12px; background: none; border: 0; padding: 0; color: var(--faint); }
.activity .none { padding: 22px; color: var(--muted); text-align: center; }
.skeleton { height: 57px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .035), transparent) var(--box); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* ---------- final call ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0; text-align: center; border-top: 1px solid var(--line); }
.final-in img { margin: 0 auto 28px; filter: drop-shadow(0 10px 40px rgba(122, 162, 214, .4)); }
.final h2 { font-size: clamp(36px, 5.5vw, 68px); font-weight: 700; letter-spacing: -.04em; }
.final p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; padding-top: 110px; padding-bottom: 20px; }
.feature.flip .feature-text { order: 2; }
.feature h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.035em; margin-bottom: 18px; }
.feature-text > p:not(.kicker) { color: var(--muted); font-size: 17px; }
.feature + .section { margin-top: 110px; }

/* ---------- architecture ---------- */
.stack { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.layer { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); }
.layer.hi { border-color: rgba(122, 162, 214, .45); background: linear-gradient(90deg, rgba(58, 110, 165, .16), var(--box) 60%); }
.layer h3 { font: 650 19px var(--mono); letter-spacing: -.01em; margin-bottom: 6px; }
.layer p { color: var(--muted); font-size: 15.5px; }
.layer-tag { font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.layer.apps { background: transparent; border-style: dashed; }
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cells span { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; padding: 12px; border: 1px dashed rgba(122, 162, 214, .4); border-radius: 10px; font: 600 12px var(--mono); color: var(--accent2); background: rgba(58, 110, 165, .06); }
.cells i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #3e5c82, #24364c); border: 1px solid #557aa6; }
.cells span { justify-content: flex-start; }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(var(--accent), rgba(122, 162, 214, .1)); }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 24px; padding: 0 0 38px; position: relative; }
.steps h3 { font-size: 20px; margin: 6px 0 8px; }
.steps p { color: var(--muted); }
.n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(180deg, var(--primary2), var(--primary)); box-shadow: 0 0 0 6px var(--bg2), 0 0 24px rgba(74, 131, 194, .6); position: relative; }
.paths { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); overflow: hidden; }
.paths div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 22px; align-items: center; flex-wrap: wrap; }
.paths div + div { border-top: 1px solid var(--line); }
.paths span { color: var(--muted); font-size: 14.5px; }

/* ---------- security ---------- */
.layers3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.layers3 .kicker { margin-bottom: 10px; }
.layers3 h3 { font-size: 22px; }
.layers3 .checks li { font-size: 15px; color: var(--muted); }
.handshake { border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); padding: 30px; display: grid; gap: 18px; }
.hs-row { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; gap: 12px; }
.hs-who { font: 600 13px var(--mono); color: var(--strong); text-align: center; }
.hs-line { position: relative; text-align: center; font: 500 13px var(--mono); color: var(--accent2); padding-bottom: 10px; }
.hs-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.hs-line.r::before, .hs-line.l::before { position: absolute; bottom: -8px; font-size: 13px; color: var(--accent); }
.hs-line.r::before { content: "▶"; right: -4px; }
.hs-line.l::before { content: "◀"; left: -4px; }
.hs-line.ok { color: var(--ok); }

/* ---------- install ---------- */
.release-box { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; max-width: 860px; margin: 40px auto 0; padding: 16px 20px; text-align: left; border: 1px solid rgba(226, 182, 95, .3); background: rgba(226, 182, 95, .06); border-radius: 14px; font-size: 15px; }
.release-box.live { border-color: rgba(124, 199, 154, .3); background: rgba(124, 199, 154, .06); }
.assets { display: flex; flex-wrap: wrap; gap: 8px; }
.req { max-width: 980px; margin: 0 auto 64px; }
.req h2 { font-size: 28px; margin-bottom: 22px; }
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); }
.req-grid div { padding: 22px; display: grid; gap: 6px; align-content: start; }
.req-grid div + div { border-left: 1px solid var(--line); }
.req-grid b { color: var(--strong); font-size: 14px; }
.req-grid span { color: var(--muted); font-size: 14.5px; }
.install { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; gap: 18px; }
.install li { border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); padding: 28px; }
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.step-head .n { box-shadow: 0 0 24px rgba(74, 131, 194, .5); }
.step-head h3 { font-size: 21px; }
.install p { color: var(--muted); margin-bottom: 16px; }
.install li:last-child p { margin-bottom: 0; }

/* ---------- changelog ---------- */
.releases { display: grid; gap: 18px; }
.empty, .release { border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); padding: 30px; }
.empty h3 { font-size: 22px; margin: 14px 0 8px; }
.empty p { color: var(--muted); }
.release { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.release-meta h3 { font-size: 22px; margin-bottom: 6px; }
.release-meta h3 a { color: var(--strong); }
.release-meta span { color: var(--faint); font-size: 14px; }
.release-notes { color: var(--muted); }
.release-notes h4 { font-size: 16px; margin: 16px 0 8px; }
.release-notes p, .release-notes ul { margin: 0 0 10px; }
.release .assets { grid-column: 2; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 70px 0 40px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 340px; }
.release-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px !important; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); flex: none; }
.foot h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-weight: 600; }
.foot-grid > div:not(.foot-brand) { display: grid; gap: 9px; align-content: start; }
.foot-grid a:not(.brand) { color: var(--muted); font-size: 14.5px; }
.foot-grid a:not(.brand):hover { color: var(--strong); }
.foot-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-legal p { color: var(--faint); font-size: 13px; }

/* ---------- reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .shot-stage.reveal { transform: translateY(40px); transition-duration: 1.2s; }
.js-reveal .shot-stage.reveal.in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-wide, .t-wide2 { grid-column: span 2; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .num:nth-child(3) { border-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-text { order: 0; }
  .grid3, .layers3, .trio { grid-template-columns: 1fr 1fr; }
  .req-grid { grid-template-columns: 1fr 1fr; }
  .req-grid div:nth-child(3) { border-left: 0; }
  .req-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu { display: block; }
  .bar { gap: 16px; justify-content: space-between; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: rgba(7, 8, 10, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav a { font-size: 17px; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .gh span:not(.count) { display: none; }
  .release { grid-template-columns: 1fr; gap: 14px; }
  .release .assets { grid-column: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero-in { padding-top: 120px; }
  .shot-stage { margin-top: 56px; }
  .window-bar { height: 26px; }
  .window-bar i { width: 8px; height: 8px; }
  .window-bar span { display: none; }
  .section { padding: 90px 0; }
  .page-hero { padding: 120px 0 64px; }
  .bento, .grid3, .layers3, .trio { grid-template-columns: 1fr; }
  .t-wide, .t-wide2 { grid-column: auto; grid-template-columns: 1fr; }
  .t-wide { padding-left: 24px; }
  .tile { padding: 24px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .num { padding: 24px 18px; }
  .layer { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .cells { grid-template-columns: 1fr 1fr; }
  .activity a { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; }
  .activity .repo { justify-self: start; }
  .activity .msg { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
  .activity .when { grid-column: 2; grid-row: 1; }
  .req-grid { grid-template-columns: 1fr; }
  .req-grid div + div { border-left: 0; border-top: 1px solid var(--line); }
  .install li { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .flowmap { padding: 16px 12px 0; overflow-x: auto; }
  .flow-svg { min-width: 760px; }
  .hs-row { grid-template-columns: 60px 1fr 60px; }
  .term pre { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tilt { transform: none; }
}
