@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/BricolageGrotesque-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "PL Mono"; src: url("/assets/JetBrainsMono-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #0b1024; --bg2: #11173a; --panel: #141a40; --line: #2b3266;
  --ink: #eef0ff; --muted: #9aa1c9; --volt: #c8f23c; --volt-deep: #6f9410;
  --ok: #3ee6a0; --bad: #ff5468; --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 "Bricolage Grotesque", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(900px 600px at 75% 10%, #1f2860 0%, transparent 70%), radial-gradient(700px 500px at 0% 60%, #161d4a 0%, transparent 70%); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.volt { color: var(--volt); }
.muted { color: var(--muted); }

.kicker { font: 500 13px "PL Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--volt); margin-bottom: 14px; }
h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 760px; }
h3 { font-size: 21px; letter-spacing: -.01em; font-weight: 700; margin: 10px 0 6px; }
.lead { color: #cdd2f0; font-size: 19px; max-width: 620px; margin-top: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; background: var(--volt); color: #0e1330; font-weight: 800; font-size: 17px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(200,242,60,.25); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--volt); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: 15px; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 16px clamp(16px, 4vw, 56px); background: rgba(11,16,36,.82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(43,50,102,.6); }
.brand img { height: 40px; width: auto; }
.links { display: flex; gap: 26px; margin-left: 20px; color: var(--muted); font-size: 15px; }
.links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.lang { background: transparent; color: var(--ink); border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 700 13px "PL Mono", monospace; cursor: pointer; }
.lang:hover { border-color: var(--volt); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(48px, 8vw, 110px) clamp(16px, 4vw, 56px) 60px; max-width: 1320px; margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.proof { list-style: none; display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.proof li { color: var(--muted); font-size: 15px; }
.proof b { display: block; font: 800 34px "PL Mono", monospace; color: var(--ink); letter-spacing: -.03em; }

.chat { background: #0e1330; border: 2px solid rgba(200,242,60,.35); border-radius: 26px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.chat-head b { color: var(--volt); font-size: 20px; }
.pill { margin-left: auto; font: 700 12px "PL Mono", monospace; padding: 6px 12px; border-radius: 999px; }
.pill.ok { color: var(--ok); background: rgba(62,230,160,.12); border: 1px solid rgba(62,230,160,.5); }
.bubble { border-radius: 20px; padding: 14px 18px; margin-bottom: 14px; font-size: 16px; }
.bubble.user { background: #e7e9f6; color: #0e1330; margin-left: 18%; border-bottom-right-radius: 6px; font-weight: 500; }
.bubble.ai { background: #161c44; border: 1px solid rgba(200,242,60,.35); margin-right: 8%; border-bottom-left-radius: 6px; }
.bubble.ai p { font-weight: 700; margin-bottom: 8px; }
.bubble.ai ol { list-style: none; counter-reset: s; display: grid; gap: 8px; }
.bubble.ai li { counter-increment: s; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.bubble.ai li::before { content: counter(s); background: var(--volt); color: #0e1330; font: 800 12px "PL Mono", monospace; border-radius: 6px; padding: 2px 7px; }
.bubble.ai em { font: 400 12px "PL Mono", monospace; color: var(--muted); font-style: normal; margin-left: auto; }
.typing { display: flex; gap: 6px; padding: 6px 4px; }
.typing span { width: 9px; height: 9px; border-radius: 50%; background: var(--volt); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.video { max-width: 1180px; margin: 20px auto 40px; padding: 0 clamp(16px, 4vw, 56px); }
.video video { width: 100%; border-radius: 24px; border: 2px solid var(--line); background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.5); aspect-ratio: 16 / 9; }

.section { max-width: 1320px; margin: 0 auto; padding: clamp(60px, 8vw, 110px) clamp(16px, 4vw, 56px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: linear-gradient(180deg, var(--panel), #10153a); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(200,242,60,.6); transform: translateY(-3px); }
.card p { color: var(--muted); font-size: 16px; }
.num { font: 700 13px "PL Mono", monospace; color: var(--volt); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 28px 22px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps li::before { content: "0" counter(st); display: block; font: 800 40px "PL Mono", monospace; color: var(--volt); letter-spacing: -.04em; margin-bottom: 8px; }
.steps b { display: block; font-size: 20px; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vitals { display: grid; gap: 16px; }
.vital { display: flex; gap: 20px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.vital small { font: 700 13px "PL Mono", monospace; color: var(--muted); letter-spacing: .08em; }
.vital b { display: block; font-size: 20px; }
.vital em { font: 700 15px "PL Mono", monospace; color: var(--ok); font-style: normal; }
.ring { --p: 90; flex: none; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--ok) calc(var(--p) * 1%), #232b5e 0); -webkit-mask: radial-gradient(farthest-side, transparent 68%, #000 70%); mask: radial-gradient(farthest-side, transparent 68%, #000 70%); }

.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
form { background: var(--panel); border: 2px solid rgba(200,242,60,.35); border-radius: 26px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
input, select, textarea { width: 100%; background: #0e1330; color: var(--ink); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(200,242,60,.15); }
input[aria-invalid="true"] { border-color: var(--bad); }
input[type="date"] { color-scheme: dark; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--volt); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 24px; font-size: 15px; }
.status.ok { color: var(--ok); } .status.err { color: var(--bad); }

.footer { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 34px clamp(16px, 4vw, 56px); border-top: 1px solid var(--line); font-size: 15px; }

@media (max-width: 980px) {
  .hero, .split, .demo { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .chat { transform: none; }
  .links { display: none; }
}
@media (max-width: 620px) {
  .grid, .steps, .row { grid-template-columns: 1fr; }
  .brand img { height: 32px; }
  .nav .btn-sm { display: none; }
  .proof { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.ring.p88 { --p: 88; } .ring.p92 { --p: 92; } .ring.p95 { --p: 95; }
