/* deploypro.us — the product homepage. Dark, product-led: the dashboard's
   blue and IBM Plex, with the deployment line as the hero's motion. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }

:root {
  --bg: #05070d;
  --bg-2: #0a0f1a;
  --panel: #0e1422;
  --panel-2: #131b2d;
  --line: rgba(148, 163, 194, 0.14);
  --line-2: rgba(148, 163, 194, 0.24);
  --text: #eef2f8;
  --soft: #b6c0d1;
  --muted: #7d8aa1;
  --blue: #5b8cff;
  --blue-2: #2457d6;
  --violet: #a78bfa;
  --green: #4ade80;
  --red: #f87171;
  --amber: #fbbf24;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; }
.mono, code, pre { font-family: var(--mono); }
.dim { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 0.9375rem; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: #05070d; box-shadow: 0 8px 30px rgba(91, 140, 255, .25); }
.btn-white:hover { box-shadow: 0 10px 40px rgba(91, 140, 255, .4); }
.btn-outline { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: .875rem; border-radius: 8px; }

/* -------------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(5, 7, 13, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.0625rem; }
.brand img { width: 28px; height: 28px; display: block; }
.nav-links { display: flex; gap: 26px; font-size: .9375rem; color: var(--soft); }
.nav-links a:hover, .link-quiet:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: .9375rem; }
.link-quiet { color: var(--soft); }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; padding: 96px 0 40px; overflow: hidden; }
.hero-glow { position: absolute; inset: -200px 0 auto; height: 760px; background:
  radial-gradient(520px 320px at 30% 30%, rgba(36, 87, 214, .45), transparent 70%),
  radial-gradient(520px 320px at 72% 22%, rgba(167, 139, 250, .28), transparent 70%),
  radial-gradient(420px 260px at 55% 60%, rgba(74, 222, 128, .12), transparent 70%);
  filter: blur(10px); pointer-events: none; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%); opacity: .55; pointer-events: none; }
.hero-inner { position: relative; text-align: center; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); font-size: .875rem; color: var(--soft); }
.pill-link:hover { border-color: var(--soft); color: var(--text); }
.pill-new { background: var(--blue-2); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: .75rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.25rem); font-weight: 600; margin: 28px auto 0; max-width: 15ch; }
.grad { background: linear-gradient(92deg, #ffffff 0%, #9db8ff 40%, #c4b5fd 75%, #86efac 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 24px auto 0; max-width: 62ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--soft); }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* demo: terminal + dashboard window */
.demo { position: relative; margin-top: 72px; display: grid; grid-template-columns: 0.82fr 1.6fr; gap: 20px; align-items: stretch; }
.term, .window, .code { border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; }
.term-bar, .win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); font-family: var(--mono); }
.term-bar i, .win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.term-bar i:nth-child(1), .win-bar i:nth-child(1) { background: #ff5f57; }
.term-bar i:nth-child(2), .win-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3), .win-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; }
.term-body { margin: 0; padding: 18px 18px 22px; font-size: .8125rem; line-height: 1.85; color: var(--text); white-space: pre-wrap; }
.term-body span { display: block; opacity: 0; animation: appear .01s forwards; }
.t1 { animation-delay: .3s !important; } .t2 { animation-delay: 1.1s !important; } .t3 { animation-delay: 1.4s !important; } .t4 { animation-delay: 1.7s !important; }
.t5 { animation-delay: 2.4s !important; } .t6 { animation-delay: 3.6s !important; } .t7 { animation-delay: 4.5s !important; } .t8 { animation-delay: 5.2s !important; }
.p { color: var(--blue); } .ok { color: var(--green); } .live { color: var(--green); text-shadow: 0 0 10px rgba(74,222,128,.7); }
.term-body u { text-decoration-color: rgba(157, 184, 255, .5); text-underline-offset: 3px; }
@keyframes appear { to { opacity: 1; } }

.win-url { margin: 0 auto; padding: 3px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 6px; }
.win-body { display: grid; grid-template-columns: 150px 1fr; min-height: 330px; }
.win-side { background: #070b14; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; font-size: .75rem; color: var(--muted); }
.ws-brand { display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 600; margin: 0 0 12px 4px; }
.ws-brand b { width: 14px; height: 14px; border-radius: 4px; background: var(--blue); }
.ws-item { padding: 6px 8px; border-radius: 6px; }
.ws-item.on { background: var(--blue-2); color: #fff; }
.ws-group { margin: 12px 0 4px 8px; font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; }
.win-main { padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.wm-head { display: flex; align-items: center; gap: 12px; }
.wm-head div { display: grid; }
.wm-head b { font-size: 1.0625rem; }
.wm-sub { font-size: .75rem; color: var(--muted); font-family: var(--mono); }
.wm-icon { width: 34px; height: 34px; border-radius: 9px; background: #fff; color: #05070d; display: grid; place-items: center; font-weight: 600; }
.badge-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(74,222,128,.12); color: var(--green); font-size: .75rem; font-weight: 600; }
.badge-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.wm-tabs { display: flex; gap: 16px; font-size: .75rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.wm-tabs span { padding-bottom: 8px; }
.wm-tabs .on { color: var(--text); border-bottom: 2px solid var(--blue); }
.wm-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: rgba(255,255,255,.02); }
.wm-card-top { display: flex; justify-content: space-between; gap: 10px; font-size: .75rem; font-weight: 600; flex-wrap: wrap; }
.wm-card-top .mono { font-weight: 400; font-size: .6875rem; }
.mini-line { list-style: none; margin: 14px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.mini-line::before { content: ""; position: absolute; top: 7px; left: 12%; right: 12%; height: 2px; background: var(--line-2); }
.mini-line::after { content: ""; position: absolute; top: 7px; left: 12%; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); animation: grow 4.6s 1.6s cubic-bezier(.5,0,.2,1) forwards; }
@keyframes grow { to { width: 76%; } }
.mini-line li { display: grid; justify-items: center; gap: 6px; font-size: .6875rem; color: var(--muted); position: relative; z-index: 1; }
.mini-line i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--panel); transition: all .3s; animation: lit .3s forwards; }
.mini-line .s1 i { animation-delay: 1.6s; } .mini-line .s2 i { animation-delay: 3.2s; } .mini-line .s3 i { animation-delay: 4.6s; }
.mini-line .s4 i { animation: lit-live .3s 6.1s forwards; }
@keyframes lit { to { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 40%, var(--panel) 45%); } }
@keyframes lit-live { to { border-color: var(--green); background: radial-gradient(circle, var(--green) 40%, var(--panel) 45%); box-shadow: 0 0 0 5px rgba(74,222,128,.15); } }
.wm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; font-size: .6875rem; color: var(--muted); }
.tile b { font-size: 1rem; color: var(--text); }
.tile svg { width: 100%; height: 30px; margin-top: 4px; }
.sp { fill: none; stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.sp-b { stroke: var(--blue); } .sp-v { stroke: var(--violet); } .sp-g { stroke: var(--green); }

/* ----------------------------------------------------------------- stacks */
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.stacks { padding: 72px 0 24px; }
.stacks .eyebrow { color: var(--muted); }
.stack-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.stack-list li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: .9375rem; background: rgba(255,255,255,.02); }

/* ---------------------------------------------------------------- sections */
section h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 600; }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; }
.split, .trio, .bento-sec, .own, .install { padding: 112px 0; }
.split-row, .install-row, .own-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split-text h2, .install h2, .own h2 { margin-top: 14px; }
.split-text > p:not(.eyebrow), .install-row > div > p:not(.eyebrow) { margin-top: 18px; color: var(--soft); font-size: 1.0625rem; max-width: 52ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--soft); }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 600; }

/* PR mock */
.pr { border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5); display: grid; gap: 16px; }
.pr-head { display: flex; align-items: center; gap: 10px; }
.pr-state { background: #238636; color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pr-comment { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.pr-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-2); display: grid; place-items: center; font-weight: 600; }
.pr-bubble { border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; font-size: .875rem; background: var(--panel-2); }
.pr-who { font-size: .8125rem; }
.pr-bubble code { background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 4px; font-size: .8125rem; }
.pr-bubble table { border-collapse: collapse; font-size: .8125rem; }
.pr-bubble td { border: 1px solid var(--line-2); padding: 6px 10px; }
.pr-bubble .link { color: var(--blue); font-family: var(--mono); }
.pr-checks { border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; font-size: .875rem; }
.pr-checks button { justify-self: start; margin-top: 6px; background: #238636; color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font: 600 .8125rem var(--sans); }

/* trio */
.trio { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); padding: 26px; display: grid; gap: 10px; align-content: start; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { font-size: 1.1875rem; font-weight: 600; }
.card > p { color: var(--soft); font-size: .9375rem; }
.viz { border: 1px solid var(--line); border-radius: 10px; background: #070b14; padding: 14px; margin-bottom: 12px; min-height: 170px; }
.logs { font-family: var(--mono); font-size: .75rem; line-height: 1.9; }
.logs .err { color: var(--red); background: rgba(248,113,113,.08); margin: 0 -14px; padding: 0 14px; }
.logs .warn { color: var(--amber); }
.chart svg { width: 100%; height: 110px; display: block; }
.chart-legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: .75rem; color: var(--muted); flex-wrap: wrap; }
.deploys { display: grid; gap: 12px; font-size: .8125rem; align-content: start; }
.deploys p { display: flex; align-items: center; gap: 8px; }
.deploys i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.d-ok { background: var(--green); } .d-fail { background: var(--red); }
.deploys .tag { margin-left: auto; }
.deploys button { margin-left: auto; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--text); border-radius: 6px; padding: 3px 10px; font: 600 .6875rem var(--sans); }
.tag { font-size: .6875rem; padding: 2px 8px; border-radius: 999px; background: rgba(91,140,255,.15); color: #a9c1ff; font-weight: 600; }
.ok-tag { background: rgba(74,222,128,.12); color: var(--green); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b-wide { grid-column: span 2; }
.domains, .env { display: grid; gap: 8px; margin-top: 10px; }
.domains p, .env p { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #070b14; font-size: .875rem; font-family: var(--mono); flex-wrap: wrap; }
.domains .tag { margin-left: auto; font-family: var(--sans); }
.lock { font-size: .75rem; }
.env .dots { color: var(--muted); letter-spacing: .1em; }
.env .dim { margin-left: auto; font-family: var(--sans); font-size: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8125rem; color: var(--soft); }
.avatars { display: flex; align-items: center; margin-top: 12px; }
.avatars span:not(.role) { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .8125rem; border: 2px solid var(--bg); margin-right: -8px; background: var(--blue-2); }
.avatars span:nth-child(2) { background: #7c3aed; } .avatars span:nth-child(3) { background: #0f766e; }
.avatars .role { margin-left: 18px; font-size: .75rem; color: var(--green); border: 1px solid rgba(74,222,128,.3); border-radius: 999px; padding: 3px 10px; }
.alert-mini { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 8px; background: #070b14; font-size: .875rem; }

/* ownership */
.own { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(800px 300px at 80% 50%, rgba(36,87,214,.18), transparent 70%); }
.own-sub { margin-top: 18px; color: var(--soft); font-size: 1.0625rem; max-width: 52ch; }
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stats div { background: var(--bg); padding: 28px; }
.stats dt { color: var(--muted); font-size: .875rem; }
.stats dd { margin: 6px 0 0; font-size: 2.5rem; font-weight: 600; letter-spacing: -0.03em; }

/* install */
.install-steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
.install-steps li { counter-increment: s; padding-left: 44px; position: relative; color: var(--soft); }
.install-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 600; color: var(--text); font-size: .875rem; }
.install-steps b { color: var(--text); }
.code pre { margin: 0; padding: 20px; font-size: .8125rem; line-height: 1.8; overflow-x: auto; color: var(--text); }

/* final */
.final { position: relative; padding: 140px 0; text-align: center; overflow: hidden; }
.final-glow { position: absolute; inset: auto 0 -260px; height: 600px; background: radial-gradient(600px 300px at 50% 50%, rgba(36,87,214,.45), transparent 70%), radial-gradient(400px 200px at 40% 40%, rgba(167,139,250,.25), transparent 70%); filter: blur(10px); pointer-events: none; }
.final h2 { position: relative; font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 18ch; margin: 0 auto; }
.final p { position: relative; margin-top: 18px; color: var(--soft); }
.final .hero-cta { position: relative; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .875rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 12px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav p { color: var(--text); font-weight: 600; margin-bottom: 4px; }
.foot nav a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8125rem; }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: 3rem; }
.notfound p { margin: 16px 0 28px; color: var(--soft); }
.notfound a:not(.btn) { color: var(--blue); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .demo { grid-template-columns: 1fr; }
  .split-row, .install-row, .own-row { grid-template-columns: 1fr; gap: 40px; }
  .trio-grid, .bento { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .link-quiet { display: none; }
  .hero { padding-top: 64px; }
  .demo { margin-top: 48px; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .wm-tiles { grid-template-columns: 1fr 1fr; }
  .wm-tiles .tile:last-child { display: none; }
  .trio-grid, .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .split, .trio, .bento-sec, .own, .install { padding: 80px 0; }
  .final { padding: 100px 0; }
  .stats dd { font-size: 2rem; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition: none !important; }
}

/* fixes: pre keeps the newlines between block lines; grid children may
   shrink below their content (long code lines scroll inside their box) */
.term-body { white-space: normal; }
.term-body span { white-space: pre-wrap; }
.demo > *, .split-row > *, .install-row > *, .own-row > *, .trio-grid > *, .bento > * { min-width: 0; }
.code { max-width: 100%; }
.win-body > *, .pr-comment > *, .pr > * { min-width: 0; }
.pr-bubble td.link { word-break: break-all; }
.pr-bubble table { width: 100%; }
.wm-tabs { overflow: hidden; white-space: nowrap; }

/* ------------------------------------------------ the signature line
   DeployPro's own image: one deploy travelling the four steps, over and
   over. Production lights only once the release is healthy. */
.sig { position: relative; margin: 64px auto 0; max-width: 940px; padding: 0 12px; }
.sig-track { position: absolute; left: calc(12.5% + 12px); right: calc(12.5% + 12px); top: 21px; height: 4px; border-radius: 4px; background: rgba(148,163,194,.16); overflow: visible; }
.sig-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, #5b8cff, #8fa9ff 60%, #4ade80); box-shadow: 0 0 18px rgba(91,140,255,.55); animation: sig-fill 8s cubic-bezier(.55,.05,.35,1) infinite; }
.sig-pulse { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 0 24px 6px rgba(143,169,255,.8); animation: sig-pulse 8s cubic-bezier(.55,.05,.35,1) infinite; }
@keyframes sig-fill { 0%, 6% { width: 0; opacity: 1; } 80% { width: 100%; opacity: 1; } 94% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
@keyframes sig-pulse { 0%, 6% { left: 0; opacity: 0; } 9% { opacity: 1; } 80% { left: 100%; opacity: 1; } 84%, 100% { left: 100%; opacity: 0; } }
.sig-nodes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.sig-nodes li { display: grid; justify-items: center; gap: 6px; text-align: center; }
.sig-nodes i { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(148,163,194,.3); position: relative; animation: 8s infinite; }
.sig-nodes i::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: rgba(148,163,194,.3); animation: inherit; animation-name: inherit; }
.sig-nodes b { margin-top: 8px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.sig-nodes span { font-family: var(--mono); font-size: .8125rem; color: var(--muted); opacity: .35; animation: 8s infinite; }
.n1 i { animation-name: on1; } .n2 i { animation-name: on2; } .n3 i { animation-name: on3; } .n4 i { animation-name: live; }
.n1 span { animation-name: txt1; } .n2 span { animation-name: txt2; } .n3 span { animation-name: txt3; } .n4 span { animation-name: on4; }
@keyframes txt1 { 0%, 5% { opacity: .35; } 8%, 94% { opacity: 1; color: var(--soft); } 100% { opacity: .35; } }
@keyframes txt2 { 0%, 30% { opacity: .35; } 33%, 94% { opacity: 1; color: var(--soft); } 100% { opacity: .35; } }
@keyframes txt3 { 0%, 54% { opacity: .35; } 57%, 94% { opacity: 1; color: var(--soft); } 100% { opacity: .35; } }
@keyframes on1 { 0%, 5% { border-color: rgba(148,163,194,.3); opacity: .35; } 8%, 94% { border-color: #5b8cff; box-shadow: 0 0 0 6px rgba(91,140,255,.14); opacity: 1; } 100% { border-color: rgba(148,163,194,.3); opacity: .35; } }
@keyframes on2 { 0%, 30% { border-color: rgba(148,163,194,.3); opacity: .35; } 33%, 94% { border-color: #6f97ff; box-shadow: 0 0 0 6px rgba(91,140,255,.14); opacity: 1; } 100% { border-color: rgba(148,163,194,.3); opacity: .35; } }
@keyframes on3 { 0%, 54% { border-color: rgba(148,163,194,.3); opacity: .35; } 57%, 94% { border-color: #8fa9ff; box-shadow: 0 0 0 6px rgba(91,140,255,.14); opacity: 1; } 100% { border-color: rgba(148,163,194,.3); opacity: .35; } }
@keyframes on4 { 0%, 79% { opacity: .35; color: var(--muted); } 82%, 94% { opacity: 1; color: #4ade80; } 100% { opacity: .35; } }
@keyframes live { 0%, 79% { border-color: rgba(148,163,194,.3); box-shadow: none; } 82%, 94% { border-color: #4ade80; box-shadow: 0 0 0 8px rgba(74,222,128,.16), 0 0 36px rgba(74,222,128,.45); } 100% { border-color: rgba(148,163,194,.3); box-shadow: none; } }
.n4 i::after { animation: live-core 8s infinite; }
@keyframes live-core { 0%, 79% { background: rgba(148,163,194,.3); } 82%, 94% { background: #4ade80; } 100% { background: rgba(148,163,194,.3); } }
.n1 i::after { animation: core-1 8s infinite; } .n2 i::after { animation: core-2 8s infinite; } .n3 i::after { animation: core-3 8s infinite; }
@keyframes core-1 { 0%, 5% { background: rgba(148,163,194,.3); } 8%, 94% { background: #5b8cff; } 100% { background: rgba(148,163,194,.3); } }
@keyframes core-2 { 0%, 30% { background: rgba(148,163,194,.3); } 33%, 94% { background: #6f97ff; } 100% { background: rgba(148,163,194,.3); } }
@keyframes core-3 { 0%, 54% { background: rgba(148,163,194,.3); } 57%, 94% { background: #8fa9ff; } 100% { background: rgba(148,163,194,.3); } }

/* ------------------------------------------------------------- proof */
.proof { padding: 72px 0 0; }
.proof .eyebrow { color: var(--muted); }
.proof-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); gap: 1px; }
.proof-list li { background: var(--bg); padding: 22px 24px; display: grid; gap: 4px; }
.proof-list b { font-size: 1.25rem; letter-spacing: -0.02em; }
.proof-list span { color: var(--muted); font-size: .875rem; }
.stacks { padding-top: 56px; }

@media (max-width: 720px) {
  .sig { margin-top: 48px; }
  .sig-nodes i { width: 34px; height: 34px; } .sig-nodes i::after { inset: 9px; }
  .sig-track { top: 15px; }
  .sig-nodes b { font-size: .6875rem; letter-spacing: .06em; }
  .sig-nodes span { font-size: .6875rem; }
  .proof-list { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sig-fill { animation: none !important; width: 100%; }
  .sig-pulse { display: none; }
  .sig-nodes i, .sig-nodes span, .sig-nodes i::after { animation: none !important; opacity: 1; }
  .n4 i { border-color: #4ade80; } .n4 i::after { background: #4ade80; }
}

/* -------------------------------------------------------------- tour */
.tour { padding: 112px 0 40px; position: relative; }
.tour-sub { color: var(--soft); max-width: 60ch; margin: 4px auto 0; }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset; }
.shot img { display: block; width: 100%; height: auto; }
.shot-main { position: relative; z-index: 1; }
.shot-side { width: 58%; margin: -18% 0 0 auto; position: relative; z-index: 2; transform: translateX(4%); }
@media (max-width: 720px) { .shot-side { width: 100%; margin: 20px 0 0; transform: none; } .tour { padding-top: 80px; } }

/* -------------------------------------------------------------- changelog */
.changelog { padding: 80px 0 120px; max-width: 860px; }
.changelog h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }
.cl-sub { color: var(--soft); margin-top: 12px; }
.cl-entry { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.cl-entry time { color: var(--muted); font-size: .9375rem; padding-top: 6px; }
.cl-entry h2 { font-size: 1.5rem; }
.cl-entry h3 { font-size: 1rem; margin-top: 20px; color: var(--soft); }
.cl-entry p { color: var(--soft); margin-top: 12px; }
.cl-entry ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--soft); display: grid; gap: 8px; }
.cl-entry code { font-size: .875em; background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 4px; }
.nav-links a[aria-current="page"] { color: var(--text); }
@media (max-width: 720px) { .cl-entry { grid-template-columns: 1fr; gap: 8px; } }

/* ===================================================================
   Premium layer: hero grid and beams, spotlight cards, scroll reveal,
   the anatomy of a deploy, the AI section and the closing line.
   Everything here degrades to a still page without JavaScript or with
   reduced motion.
   =================================================================== */

/* hero: a perspective grid floor and light beams falling on the line */
.hero-grid { position: absolute; left: -10%; right: -10%; top: 380px; height: 620px; pointer-events: none;
  background-image: linear-gradient(rgba(91,140,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(91,140,255,.16) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(700px) rotateX(62deg); transform-origin: top center;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%);
  animation: grid-run 6s linear infinite; }
@keyframes grid-run { to { background-position: 0 64px, 0 0; } }
.hero-beams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-beams i { position: absolute; top: -30%; width: 1px; height: 24%; background: linear-gradient(180deg, transparent, rgba(157,184,255,.7), transparent); opacity: 0; animation: beam 7s ease-in infinite; }
.hero-beams i:nth-child(1) { left: 22%; animation-delay: .8s; }
.hero-beams i:nth-child(2) { left: 61%; animation-delay: 3.1s; background: linear-gradient(180deg, transparent, rgba(196,181,253,.7), transparent); }
.hero-beams i:nth-child(3) { left: 83%; animation-delay: 5.2s; background: linear-gradient(180deg, transparent, rgba(134,239,172,.6), transparent); }
@keyframes beam { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .75; } 60% { opacity: .5; } 100% { transform: translateY(420%); opacity: 0; } }
.grad { background-size: 200% 100%; animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero h1 { text-shadow: 0 0 80px rgba(91,140,255,.18); }

/* spotlight: a soft light follows the pointer across cards and windows */
.card, .window, .ai-card, .pr, .proof-list li { position: relative; }
.card::after, .window::after, .ai-card::after, .pr::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(91,140,255,.10), transparent 60%); }
.card::before, .ai-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(157,184,255,.65), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::after, .window:hover::after, .ai-card:hover::after, .pr:hover::after, .card:hover::before, .ai-card:hover::before { opacity: 1; }

/* reveal on scroll (only when the script runs) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* anatomy of a deploy: the line fills as you scroll past it */
.anatomy { padding: 112px 0 96px; position: relative; }
.an-rail { position: relative; }
.an-line { position: absolute; left: 12.5%; right: 12.5%; top: 11px; height: 2px; background: var(--line-2); border-radius: 2px; }
.an-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 1) * 100%); background: linear-gradient(90deg, var(--blue), var(--violet) 60%, var(--green)); box-shadow: 0 0 18px rgba(91,140,255,.6); border-radius: 2px; }
.an-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.an-step { display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; padding: 0 6px; transition: opacity .4s; }
.js .an-step { opacity: .38; }
.js .an-step.on { opacity: 1; }
.an-node { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); position: relative; z-index: 1; transition: all .4s; margin-bottom: 14px; }
.an-step.on .an-node, html:not(.js) .an-node { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 38%, var(--bg) 42%); box-shadow: 0 0 0 7px rgba(91,140,255,.14), 0 0 24px rgba(91,140,255,.5); }
.an-step.on .an-live { border-color: var(--green); background: radial-gradient(circle, var(--green) 38%, var(--bg) 42%); box-shadow: 0 0 0 7px rgba(74,222,128,.14), 0 0 26px rgba(74,222,128,.6); }
.an-k { font: 600 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.an-step.on .an-k { color: var(--blue); }
.an-step h3 { font-size: 1.375rem; font-weight: 600; }
.an-step > p:not(.an-k) { color: var(--soft); font-size: .9375rem; max-width: 30ch; }
.an-code { margin-top: 4px; font-size: .75rem; color: var(--soft); border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 999px; padding: 4px 12px; }

/* the AI section */
.ai { position: relative; padding: 120px 0; overflow: hidden; }
.ai-glow { position: absolute; right: -10%; top: 10%; width: 760px; height: 560px; pointer-events: none; filter: blur(20px);
  background: radial-gradient(closest-side, rgba(167,139,250,.22), transparent), radial-gradient(closest-side at 70% 60%, rgba(91,140,255,.18), transparent); }
.ai .split-row { position: relative; }
.ai-card { border-radius: 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(167,139,250,.08); padding: 22px; display: grid; gap: 16px; }
.ai-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .8125rem; }
.ai-fail { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; }
.ai-fail i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.ai-log { margin: 0; padding: 14px 16px; border-radius: 10px; background: #060a12; border: 1px solid var(--line); font-size: .75rem; line-height: 1.8; white-space: normal; overflow: hidden; }
.ai-log span { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-log .e { color: var(--red); }
.ai-answer { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; font-size: .9375rem; }
.ai-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.ai-spark { color: var(--violet); text-shadow: 0 0 12px rgba(167,139,250,.9); }
.ai-conf { font: .6875rem var(--mono); color: var(--green); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; }
.ai-cause { color: var(--soft); }
.ai-fixes { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text); }
.ai-fixes code, .ai-cause code { font-size: .8125rem; background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 4px; }
.ai-foot { font-size: .75rem; color: var(--muted); }
.js .ai-card:not(.in) .ai-answer { opacity: 0; }
.ai-answer { transition: opacity .4s; }
.typing::after { content: "▍"; color: var(--violet); margin-left: 1px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* the closing line: the signature, page-wide */
.final-line { position: absolute; left: 0; right: 0; top: 175px; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); pointer-events: none; }
.fl-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, transparent, var(--blue) 15%, var(--violet) 60%, var(--green)); box-shadow: 0 0 20px rgba(91,140,255,.7); animation: fl 6s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes fl { 0% { width: 0; opacity: 1; } 75% { width: 94%; opacity: 1; } 92% { width: 94%; opacity: 1; } 100% { width: 94%; opacity: 0; } }
.final-line i { position: absolute; left: var(--x); top: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); }
.final-line .fl-live { border-color: var(--green); box-shadow: 0 0 0 6px rgba(74,222,128,.12), 0 0 24px rgba(74,222,128,.7); animation: live-pulse 2.4s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 10px rgba(74,222,128,.05), 0 0 34px rgba(74,222,128,.9); } }
.final-mark { position: relative; z-index: 1; display: block; margin: 0 auto 28px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 60px rgba(36,87,214,.55); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* primary button: a slow light around its edge */
.btn-white { position: relative; isolation: isolate; }
.btn-white::before { content: ""; position: absolute; inset: -2px; border-radius: 12px; z-index: -1; opacity: .9;
  background: conic-gradient(from var(--a, 0deg), transparent 0 55%, #5b8cff 70%, #c4b5fd 82%, #86efac 92%, transparent 100%); filter: blur(.5px); animation: spin 4s linear infinite; }
.btn-white::after { content: ""; position: absolute; inset: 0; border-radius: 10px; background: #fff; z-index: -1; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }

@media (max-width: 900px) {
  .an-line { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .an-fill { inset: 0 0 auto 0; width: 2px; height: calc(var(--p, 1) * 100%); }
  .an-steps { grid-template-columns: 1fr; gap: 36px; }
  .an-step { justify-items: start; text-align: left; padding-left: 48px; position: relative; }
  .an-node { position: absolute; left: 0; top: 0; margin: 0; }
  .ai .split-row { grid-template-columns: 1fr; }
  .hero-grid { top: 520px; }

}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  .js .an-step { opacity: 1; }
  .js .ai-card:not(.in) .ai-answer { opacity: 1; }
  .fl-fill { width: 94%; }
}
@media (max-width: 720px) { .final-line { top: 135px; } }
@media (max-width: 720px) { .hero-beams { display: none; } }
