:root {
  --bg: #05070f; --panel: #070a14; --ink: #dfe6f5; --ink-2: #c6d0e2; --ink-3: #a9b6ce; --ink-4: #8d9bb7;
  --blue: oklch(0.72 0.16 250); --blue-hi: oklch(0.78 0.15 250); --warm: oklch(0.72 0.16 55); --warm-hi: oklch(0.82 0.14 55);
  --line: rgba(120,160,255,0.14); --line-2: rgba(120,160,255,0.24);
  --grad: linear-gradient(100deg, oklch(0.80 0.15 250), oklch(0.80 0.15 55));
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--mono); -webkit-font-smoothing: antialiased; }
a { color: oklch(0.78 0.13 250); text-decoration: none; }
a:hover { color: oklch(0.86 0.10 250); }
::selection { background: oklch(0.72 0.16 250 / 0.35); }
::-webkit-scrollbar { width: 8px; height: 8px } ::-webkit-scrollbar-track { background: var(--bg) } ::-webkit-scrollbar-thumb { background: rgba(120,160,255,0.22); border-radius: 4px }
h1, h2, h3, p { margin: 0; }

@keyframes blink { 0%,49% { opacity: 1 } 50%,100% { opacity: 0 } }
@keyframes sweep { 0% { transform: translateY(-100%) } 100% { transform: translateY(1400%) } }
@keyframes rise { 0% { opacity: 0; transform: translateY(14px) } 100% { opacity: 1; transform: none } }
@keyframes pulse { 0%,100% { opacity: .25 } 50% { opacity: 1 } }
.pulse { animation: pulse 1.1s ease-in-out infinite; } .pulse-slow { animation: pulse 2.4s ease-in-out infinite; }

#bg { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .42; z-index: 0; }
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(120% 80% at 78% 8%, oklch(0.72 0.16 250 / 0.16), transparent 60%), radial-gradient(90% 70% at 6% 96%, oklch(0.72 0.16 55 / 0.10), transparent 62%); }
.grid { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 64px 64px; }
.page { position: relative; z-index: 2; }
.wrap { max-width: 1500px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* boot */
#boot { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 32px; transition: opacity .5s ease, visibility .5s; }
#boot.done { opacity: 0; visibility: hidden; }
.boot-inner { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.boot-head { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.dot-warm { width: 9px; height: 9px; border-radius: 50%; background: var(--warm); }
.boot-line { display: flex; gap: 14px; font-size: 13px; line-height: 1.7; color: #93a2c0; animation: rise .25s ease both; }
.boot-line .s { margin-left: auto; color: var(--warm); }
.chev { color: var(--blue); flex: none; }
.caret { width: 8px; height: 15px; background: var(--blue); animation: blink 1s step-end infinite; align-self: center; }
.boot-bar { margin-top: 26px; height: 2px; background: rgba(120,160,255,.14); }
#boot-pct { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--warm)); transition: width .3s ease; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 40px; border-bottom: 1px solid rgba(120,160,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(5,7,15,.72); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand svg { display: block; flex: none; }
.wordmark { position: relative; display: inline-flex; align-items: center; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-line { position: absolute; pointer-events: none; }
.wm-a { left: 0; width: 46%; top: 62%; height: 1px; background: oklch(0.76 0.16 250 / .5); }
.wm-b { left: 46%; top: 38%; width: 1px; height: 24%; background: oklch(0.76 0.16 300 / .5); }
.wm-c { left: 46%; right: 0; top: 38%; height: 1px; background: oklch(0.76 0.16 55 / .5); }
.wm-node { display: inline-flex; align-items: center; }
.wm-l, .wm-r { display: block; width: 7px; height: 1.5px; }
.wm-l { background: oklch(0.76 0.16 250); } .wm-r { background: oklch(0.76 0.16 55); }
.wm-o { display: block; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid oklch(0.76 0.16 300); background: rgba(5,7,15,.9); box-shadow: 0 0 10px oklch(0.76 0.16 55 / .55); }
.tag { white-space: nowrap; font-size: 10px; letter-spacing: .2em; color: var(--ink-4); border: 1px solid rgba(120,160,255,.2); padding: 3px 7px; border-radius: 3px; }
.links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.links a:not(.btn) { color: var(--ink-2); }
.links a:not(.btn):hover { color: #fff; }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 4px; border: none; background: var(--blue); color: var(--bg); font: 700 15px var(--mono); cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--blue-hi); color: var(--bg); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-sm { padding: 9px 16px; font-size: 13px; font-weight: 600; }
.btn-ghost { background: transparent; border: 1px solid rgba(120,160,255,.28); color: var(--ink); font-weight: 600; }
.btn-ghost:hover { background: rgba(120,160,255,.08); color: #fff; }
.btn-grad { justify-content: center; background: linear-gradient(100deg, var(--blue), var(--warm)); }
.btn-grad:hover { background: linear-gradient(100deg, var(--blue-hi), var(--warm-hi)); }
.row { display: flex; flex-wrap: wrap; gap: 12px; } .row-tight { display: flex; align-items: center; gap: 10px; }

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 30px; }
h1 { font-size: clamp(36px, 4.4vw, 66px); line-height: 1; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.lede { max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.tel { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 8px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tel > div { background: var(--panel); padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; }
.k { font-size: 10px; letter-spacing: .18em; color: var(--ink-4); }
.v { font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.warm { color: var(--warm-hi); } .warm-hi { color: var(--warm-hi); font-size: 11px; letter-spacing: .2em; }

/* console */
.console { position: relative; border: 1px solid rgba(120,160,255,.22); border-radius: 10px; background: linear-gradient(180deg, rgba(12,17,32,.94), rgba(7,10,20,.94)); box-shadow: 0 40px 120px -50px oklch(0.72 0.16 250 / .55); overflow: hidden; display: flex; flex-direction: column; height: 620px; }
.sweep-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sweep { position: absolute; left: 0; right: 0; height: 90px; background: linear-gradient(180deg, transparent, oklch(0.72 0.16 250 / .07), transparent); animation: sweep 9s linear infinite; }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid rgba(120,160,255,.16); font-size: 11px; letter-spacing: .14em; color: #9dabc6; }
.hi { color: #dbe4f3; }
.dot-blue { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.log { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: 88%; animation: rise .35s ease both; align-self: flex-start; }
.msg .who { font-size: 10px; letter-spacing: .18em; color: var(--blue); }
.msg .text { font-size: 14px; line-height: 1.65; padding: 14px 16px; border-radius: 6px; white-space: pre-wrap; background: rgba(255,255,255,.035); border: 1px solid rgba(120,160,255,.16); color: #d5deee; }
.msg.user { align-self: flex-end; }
.msg.user .who { color: var(--ink-4); text-align: right; }
.msg.user .text { background: rgba(120,160,255,.12); border-color: rgba(120,160,255,.28); color: #e8eefb; }
.msg.err .text { border-color: oklch(0.72 0.16 55 / .45); }
.thinking { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--blue); }
.thinking::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse .9s ease-in-out infinite; }
.console-foot { padding: 14px 18px 18px; border-top: 1px solid rgba(120,160,255,.16); display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line-2); background: rgba(120,160,255,.06); color: #b9c5dd; font: 11px var(--mono); padding: 8px 11px; border-radius: 3px; cursor: pointer; }
.chips button:hover { border-color: var(--blue); color: #fff; }
.prompt { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(120,160,255,.28); border-radius: 5px; background: rgba(5,7,15,.8); padding: 6px 6px 6px 14px; }
.prompt:focus-within { border-color: var(--blue); }
.prompt input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--ink); font: 13px var(--mono); padding: 10px 0; }

/* sections */
.block { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid rgba(120,160,255,.12); }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.block-head p { max-width: 42ch; font-size: 15px; line-height: 1.65; color: var(--ink-3); }
.block-head p.small { font-size: 13px; color: var(--ink-4); }
h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -.035em; max-width: 22ch; text-wrap: balance; }
h2.mb { margin-bottom: 44px; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cap-grid article { background: var(--panel); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; transition: background .2s; }
.cap-grid article:hover { background: #0a0f1d; }
.cap-grid p { font-size: 14px; line-height: 1.65; color: var(--ink-3); }
.num { font-size: 11px; color: var(--blue); letter-spacing: .16em; } .num.warm { color: var(--warm); }
.cap-grid .cap-cta { background: linear-gradient(140deg, oklch(0.72 0.16 250 / .16), oklch(0.72 0.16 55 / .10)); justify-content: space-between; }
.cap-cta p { font-size: 16px; line-height: 1.5; color: #e8eefb; }
.cap-cta a { font-size: 12px; letter-spacing: .14em; color: #fff; }
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%), 1fr)); gap: 24px; }
.phase { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--blue); }
.phase.warm { border-top-color: var(--warm); color: inherit; }
.pnode { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid oklch(0.74 0.16 250); }
.phase.warm .pnode { border-color: oklch(0.74 0.16 55); }
.phase h3 { font-size: 22px; }
.phase p { font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px,100%), 1fr)); gap: 24px; }
.case { border: 1px solid rgba(120,160,255,.16); border-radius: 8px; padding: 30px 28px; background: var(--panel); display: flex; flex-direction: column; gap: 18px; }
.case .k { font-size: 11px; letter-spacing: .16em; }
.case p { font-size: 15px; line-height: 1.65; color: #d5deee; }
.stats { display: flex; gap: 28px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats b { font-size: 28px; font-weight: 700; }
.stats span { font-size: 12px; color: var(--ink-4); }
.assess { border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(130deg, oklch(0.72 0.16 250 / .14), rgba(7,10,20,.9) 55%, oklch(0.72 0.16 55 / .12)); padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px,100%), 1fr)); gap: 44px; align-items: center; }
.assess-copy { display: flex; flex-direction: column; gap: 20px; }
.assess-copy h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.05; }
.assess-copy p { max-width: 44ch; font-size: 16px; line-height: 1.65; color: #b3bfd6; }
.lead { display: flex; flex-direction: column; gap: 12px; background: rgba(5,7,15,.7); border: 1px solid rgba(120,160,255,.22); border-radius: 8px; padding: 26px; }
.lead label { display: flex; flex-direction: column; gap: 7px; font-size: 10px; letter-spacing: .16em; color: #9dabc6; }
.lead input { background: transparent; border: 1px solid rgba(120,160,255,.26); border-radius: 4px; padding: 13px 14px; color: var(--ink); font: 13px var(--mono); outline: none; }
.lead input:focus { border-color: var(--blue); }
.lead .btn { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note { font-size: 12px; color: var(--ink-4); line-height: 1.5; }
.note.ok { color: oklch(0.82 0.14 160); } .note.bad { color: var(--warm-hi); }
.foot { padding: 40px; border-top: 1px solid rgba(120,160,255,.12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; letter-spacing: .12em; color: #6f7d99; }
.foot a { color: #8d9bb7; }

@media (max-width: 1100px) {
  .links a:not(.btn) { display: none; }
  .tag { display: none; }
}
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 48px; gap: 40px; }
  .console { height: 560px; }
  .v { font-size: 18px; }
  .tel > div { padding: 14px; }
  .block { padding-top: 64px; padding-bottom: 64px; }
  .foot { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #bg { display: none; }
}
