:root{
  --bg:#0A0C12;--surface:#0F131B;--line:#1F2633;--line2:#161C27;--edge:#2A3242;
  --text:#E9ECF1;--soft:#B4BCCB;--muted:#8C95A6;--dim:#5D6678;
  --accent:#C4B5FD;--on-accent:#151027;--violet-bg:#131022;
  --red:#F87171;--amber:#FBBF24;--green:#4ADE80;
  --sans:Geist,system-ui,-apple-system,"Segoe UI",sans-serif;--mono:"Geist Mono",ui-monospace,Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.55}
a{color:inherit}
.mono{font-family:var(--mono)}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.sr{position:absolute;left:-9999px}
.accent{color:var(--accent)}

.status{border-bottom:1px solid var(--line)}
.status .wrap{display:flex;flex-wrap:wrap;gap:6px 28px;padding-top:8px;padding-bottom:8px;font-size:12px;color:var(--muted)}
.status .right{margin-left:auto}
.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:8px;vertical-align:middle}

header .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:12px 32px;padding-top:18px;padding-bottom:18px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand img{width:28px;height:28px}
.brand span{font-weight:600;font-size:22px;letter-spacing:-.03em}
.brand small{font-family:var(--mono);font-size:13px;color:var(--dim)}
nav.main{display:flex;flex-wrap:wrap;gap:4px 24px;font-size:15px;color:var(--soft)}
nav.main a{text-decoration:none}
nav.main a:hover{color:var(--text)}
.btn{display:inline-block;border-radius:6px;font-weight:600;text-decoration:none;font-size:15px;padding:11px 18px;font-family:inherit;cursor:pointer;border:0}
.btn.primary{background:var(--accent);color:var(--on-accent)}
.btn.ghost{border:1px solid var(--edge);font-weight:500;color:var(--text);background:transparent}
.btn.small{padding:8px 14px;font-size:14px}
header .btn{margin-left:auto}

.hero{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start;padding-top:64px;padding-bottom:56px}
.hero .copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:22px;padding-top:12px}
h1{margin:0;font-size:clamp(40px,6vw,60px);line-height:1.02;font-weight:600;letter-spacing:-.04em}
.lede{margin:0;color:var(--soft);font-size:18px;max-width:500px}
.ca{display:flex;border:1px solid var(--edge);border-radius:8px;background:var(--surface);max-width:560px;overflow:hidden}
.ca:focus-within{border-color:var(--accent)}
.ca .tag{display:flex;align-items:center;padding-left:16px;color:var(--dim);font-size:14px}
.ca input{flex:1;min-width:0;height:54px;padding:0 14px;border:0;background:transparent;color:var(--text);font:15px var(--mono);outline:none}
.ca button{margin:4px;padding:0 22px}
.fine{margin:0;color:var(--dim);font-size:12px}

.card{flex:1 1 440px;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.card .bar{display:flex;flex-wrap:wrap;gap:6px 12px;padding:12px 18px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.card .bar .when{margin-left:auto}
.card .title{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;padding:20px 18px 8px}
.card .title b{font-size:26px;font-weight:600;letter-spacing:-.02em;word-break:break-all}
.verdict{margin-left:auto;font-family:var(--mono);font-size:13px;border:1px solid;padding:3px 10px;border-radius:4px}
.v-red{color:var(--red);border-color:#5A2228}.v-amber{color:var(--amber);border-color:#5A4512}.v-green{color:var(--green);border-color:#1E4D2E}.v-grey{color:var(--muted);border-color:var(--edge)}
.stats{display:flex;flex-wrap:wrap;padding:8px 18px 16px;font-size:13px}
.stats div{flex:1 1 110px;padding:8px 0}
.stats span{display:block;color:var(--dim)}
.stats strong{font-size:18px;font-weight:400}
.flags{border-top:1px solid var(--line);font-size:14px;margin:0;padding:0;list-style:none}
.flags li{display:flex;gap:14px;padding:12px 18px;border-bottom:1px solid var(--line2)}
.flags li:last-child{border-bottom:0}
.flags .lv{width:52px;flex:none;font:12px var(--mono);padding-top:2px}
.lv-red{color:var(--red)}.lv-amber{color:var(--amber)}.lv-info{color:var(--muted)}.lv-ok{color:var(--green)}
.card .foot{padding:10px 18px;border-top:1px solid var(--line);font-size:11px;color:var(--dim)}
.card .msg{padding:28px 18px;color:var(--soft)}
.pulse{animation:p 1.2s ease-in-out infinite}@keyframes p{50%{opacity:.4}}

.numbers{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.numbers .wrap{display:flex;flex-wrap:wrap}
.numbers .n{flex:1 1 260px;padding:28px 24px 28px 0}
.numbers .n+.n{border-left:1px solid var(--line);padding-left:24px}
.numbers b{display:block;font-size:44px;font-weight:600;letter-spacing:-.03em}
.numbers span{color:var(--muted);font-size:14px}

section.block{padding-top:96px;padding-bottom:24px}
.split{display:flex;flex-wrap:wrap;gap:48px}
.split>.head{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:12px}
.split>.body{flex:2 1 560px;min-width:0}
.eyebrow{margin:0;color:var(--dim);font:12px var(--mono)}
h2{margin:0;font-size:clamp(30px,4vw,38px);line-height:1.1;font-weight:600;letter-spacing:-.03em}
.sub{margin:0;color:var(--muted)}
.rows .row{display:flex;flex-wrap:wrap;gap:6px 16px;padding:18px 0;border-top:1px solid var(--line)}
.rows .row:last-child{border-bottom:1px solid var(--line)}
.rows .k{font:13px var(--mono);color:var(--dim);width:32px}
.rows .t{flex:1 1 200px;font-weight:500}
.rows .d{flex:2 1 260px;color:var(--muted)}

.panel{border:1px solid var(--line);border-radius:8px;overflow:hidden}
.soon{padding:32px;display:flex;flex-wrap:wrap;gap:16px 32px;align-items:center;justify-content:space-between}
.soon p{margin:0;color:var(--soft);max-width:640px}

.studio-teaser{border:1px solid #2B2445;border-radius:8px;background:linear-gradient(180deg,#131022 0%,var(--surface) 100%);padding:40px;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.studio-teaser .copy{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:14px}
.studio-teaser .demo{flex:1 1 400px;min-width:0;display:flex;flex-direction:column;gap:12px}
.prompt{border:1px solid var(--edge);border-radius:6px;background:var(--bg);padding:14px 16px;font:14px var(--mono);color:var(--soft)}
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tile{aspect-ratio:1;border-radius:6px;background:repeating-linear-gradient(45deg,#1A1530 0 10px,#161226 10px 20px)}
.chips{display:flex;flex-wrap:wrap;gap:8px;font:13px var(--mono)}
.chips span{border:1px solid var(--edge);border-radius:4px;padding:4px 10px}
.chips .on{border-color:var(--accent);color:var(--accent)}

.chat{flex:1 1 400px;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:20px;display:flex;flex-direction:column;gap:10px;font-size:14px}
.chat .me{align-self:flex-end;background:#2B2445;border-radius:10px 10px 2px 10px;padding:8px 12px;font-family:var(--mono)}
.chat .bot{align-self:flex-start;background:var(--line2);border-radius:10px 10px 10px 2px;padding:10px 12px;max-width:85%}
.chat .alert{border-left:3px solid var(--red)}

.price{overflow-x:auto}
.price table{width:100%;min-width:640px;border-collapse:collapse;font-size:14px}
.price th,.price td{padding:12px 20px;text-align:left;border-bottom:1px solid var(--line2);font-weight:400}
.price th+th,.price td+td{border-left:1px solid var(--line)}
.price thead th{padding:20px;border-bottom:1px solid var(--line);vertical-align:top}
.price thead b{display:block;font-weight:600}
.price thead strong{font-size:30px;font-weight:600;letter-spacing:-.02em}
.price thead small{font-size:14px;color:var(--muted)}
.price .pro{background:var(--violet-bg)}
.price td:first-child{color:var(--muted)}
.price tr:last-child td{border-bottom:0}
.price .btn{display:block;text-align:center}

details{padding:18px 0;border-top:1px solid var(--line)}
details:last-child{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:500}
details p{margin:10px 0 0;color:var(--muted)}

footer{border-top:1px solid var(--line);margin-top:96px}
footer .wrap{display:flex;flex-wrap:wrap;gap:32px 64px;padding-top:40px;padding-bottom:40px;font-size:14px;color:var(--muted)}
footer .about{flex:1 1 280px;display:flex;flex-direction:column;gap:10px}
footer .col{display:flex;flex-direction:column;gap:8px}
footer .col a{text-decoration:none}
footer .col a:hover{color:var(--text)}
footer .wordmark{color:var(--text);font-weight:600;font-size:18px;letter-spacing:-.03em}

/* studio page */
.studio{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start;padding-top:40px;padding-bottom:64px}
.studio form{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:22px;border:1px solid var(--line);border-radius:8px;padding:24px;background:var(--surface)}
.studio label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--soft)}
.studio textarea{resize:vertical;border:1px solid var(--edge);border-radius:6px;background:var(--bg);color:var(--text);padding:12px;font:14px var(--mono)}
.studio .out{flex:2 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}
.box{border:1px solid var(--line);border-radius:8px}
.box>p:first-child{margin:0;padding:12px 18px;border-bottom:1px solid var(--line);font:12px var(--mono);color:var(--dim)}
.note{border:1px solid #3A2F12;background:#15120A;border-radius:8px;padding:14px 18px;display:flex;gap:12px;font-size:14px;color:#E8D9A8}
.badge{align-self:flex-start;display:inline-block;font:12px var(--mono);color:var(--amber);border:1px solid #5A4512;border-radius:4px;padding:2px 8px}
button[disabled]{opacity:.5;cursor:not-allowed}

/* terms page */
.legal{max-width:760px;margin:0 auto;padding:48px 24px 24px}
.legal h1{font-size:40px;margin-bottom:8px}
.legal h2{font-size:22px;margin:40px 0 8px;letter-spacing:-.01em}
.legal p,.legal li{color:var(--soft)}
.legal strong{color:var(--text)}
.legal code{font-family:var(--mono);font-size:.9em;color:var(--accent)}

@media (max-width:640px){
  .wrap{padding:0 16px}
  .hero{padding-top:40px;gap:40px}
  .numbers .n,.numbers .n+.n{border-left:0;padding-left:0;border-top:1px solid var(--line)}
  .numbers .n:first-child{border-top:0}
  section.block{padding-top:64px}
  .studio-teaser{padding:24px}
  header .btn{margin-left:0}
  .status .right{margin-left:0}
  .verdict{margin-left:0}
  .status .opt{display:none}
}

/* ---------- motion (all of it switched off for prefers-reduced-motion) ---------- */
.brand .pelly{width:28px;height:28px;overflow:visible}
.pelly .bell{animation:bob 3.2s ease-in-out infinite;transform-origin:32px 24px}
.pelly .legs path{animation:sway 2.4s ease-in-out infinite;transform-origin:32px 37px}
.pelly .l2{animation-delay:-.8s}.pelly .l3{animation-delay:-1.6s}
.pelly .legs{animation:bob 3.2s ease-in-out infinite}
.pelly .eye{animation:blink 5s infinite;transform-origin:center;transform-box:fill-box}
@keyframes bob{50%{transform:translateY(-2.5px)}}
@keyframes sway{50%{transform:skewX(6deg)}}
@keyframes blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
.brand:hover .pelly .bell{animation-duration:1s}

.hero{position:relative}
.hero>*:not(.ambient){position:relative;z-index:1}
.ambient{position:absolute;inset:-40px 0 0;overflow:hidden;pointer-events:none;z-index:0}
.ambient .glow{position:absolute;width:560px;height:560px;right:-120px;top:-80px;border-radius:50%;
  background:radial-gradient(circle,rgba(196,181,253,.16) 0%,rgba(196,181,253,0) 65%);animation:drift 14s ease-in-out infinite}
@keyframes drift{50%{transform:translate(-80px,60px) scale(1.1)}}
.bub{position:absolute;bottom:-20px;width:8px;height:8px;border-radius:50%;border:1px solid rgba(196,181,253,.35);
  animation:rise 12s linear infinite;opacity:0}
.b1{left:8%;animation-delay:0s}.b2{left:30%;width:5px;height:5px;animation-delay:3s;animation-duration:15s}
.b3{left:52%;animation-delay:6s}.b4{left:72%;width:12px;height:12px;animation-delay:1.5s;animation-duration:17s}
.b5{left:90%;width:6px;height:6px;animation-delay:8s}
@keyframes rise{0%{transform:translateY(0);opacity:0}10%{opacity:1}100%{transform:translateY(-640px) translateX(20px);opacity:0}}

.hero .copy>*{animation:up .7s cubic-bezier(.2,.7,.2,1) both}
.hero .copy>*:nth-child(2){animation-delay:.08s}.hero .copy>*:nth-child(3){animation-delay:.16s}
.hero .copy>*:nth-child(4){animation-delay:.24s}
.hero .card{animation:up .8s .2s cubic-bezier(.2,.7,.2,1) both}
@keyframes up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.ca button{transition:transform .15s,filter .15s}
.ca button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.ca button:active{transform:translateY(1px)}
.btn{transition:filter .15s,border-color .15s,transform .15s}
.btn:hover{filter:brightness(1.08)}
.btn.ghost:hover{border-color:var(--accent)}

.card.fresh .flags li,.card.fresh .stats div{animation:up .45s cubic-bezier(.2,.7,.2,1) both}
.card.fresh .flags li:nth-child(1){animation-delay:.1s}.card.fresh .flags li:nth-child(2){animation-delay:.18s}
.card.fresh .flags li:nth-child(3){animation-delay:.26s}.card.fresh .flags li:nth-child(4){animation-delay:.34s}
.card.fresh .flags li:nth-child(5){animation-delay:.42s}.card.fresh .flags li:nth-child(n+6){animation-delay:.5s}
.card.fresh .verdict{animation:pop .5s .1s cubic-bezier(.3,1.6,.5,1) both}
@keyframes pop{from{opacity:0;transform:scale(.7)}}
.scan{position:relative;overflow:hidden}
.scan::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent);
  animation:scan 1.4s ease-in-out infinite}
@keyframes scan{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.scan .lines{display:flex;flex-direction:column;gap:10px;padding:6px 18px 24px}
.scan .lines i{display:block;height:12px;border-radius:3px;background:linear-gradient(90deg,var(--line2),#1E2433,var(--line2));
  background-size:200% 100%;animation:sheen 1.2s linear infinite}
.scan .lines i:nth-child(2){width:80%}.scan .lines i:nth-child(3){width:60%}
@keyframes sheen{to{background-position:-200% 0}}

.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}
.rows .row{transition:background .2s,padding .2s}
.rows .row:hover{background:linear-gradient(90deg,rgba(196,181,253,.05),transparent)}
.price tbody tr{transition:background .2s}
.price tbody tr:hover{background:rgba(255,255,255,.02)}

.shimmer .tile{background:linear-gradient(110deg,#161226 30%,#2A2148 50%,#161226 70%),#161226;background-size:250% 100%;animation:sheen 2.6s linear infinite}
.shimmer .tile:nth-child(2){animation-delay:.3s}.shimmer .tile:nth-child(3){animation-delay:.6s}
.prompt .accent{animation:caret 1s steps(1) infinite}
@keyframes caret{50%{opacity:0}}
.chat>div{opacity:1}
.js .chat.in>div{animation:up .5s both}.js .chat.in>div:nth-child(2){animation-delay:.6s}.js .chat.in>div:nth-child(3){animation-delay:1.4s}
.dot{box-shadow:0 0 0 0 rgba(74,222,128,.6);animation:ping 2s infinite}
@keyframes ping{70%{box-shadow:0 0 0 6px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
  .ambient .bub{display:none}
}
