:root { --fire:#e32246; --paper:#f6f2eb; --ink:#08090d; --panel:#11121a; --muted:#aaa8b2; --line:rgba(255,255,255,.12); }
* { box-sizing:border-box; }
body { min-height:100vh; margin:0; color:var(--paper); background:radial-gradient(circle at 85% 5%, rgba(227,34,70,.2), transparent 28rem), var(--ink); font-family:Outfit,system-ui,sans-serif; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; opacity:.18; background-image:linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:34px 34px; }
.shell { width:min(1100px, calc(100% - 40px)); margin:auto; padding-bottom:56px; }
nav { min-height:84px; display:flex; justify-content:space-between; align-items:center; position:relative; z-index:1; }
.brand,.back { color:var(--paper); text-decoration:none; font-weight:800; letter-spacing:.08em; text-transform:uppercase; font-size:.78rem; }
.brand { display:flex; align-items:center; gap:10px; font-family:Orbitron,sans-serif; }.brand img { width:39px; height:39px; object-fit:contain; }.back { color:#d4d0d4; }.back:hover { color:#fff; }
.hero { max-width:760px; padding:75px 0 58px; position:relative; }.eyebrow,.step { margin:0; color:#ff8299; font-size:.75rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }.eyebrow::before { content:""; display:inline-block; width:30px; height:2px; margin:0 10px 3px 0; background:currentColor; }
h1,h2 { font-family:Syne,sans-serif; text-transform:uppercase; letter-spacing:-.055em; }h1 { margin:14px 0 20px; font-size:clamp(3.2rem,9vw,7.4rem); line-height:.83; } h1 span { color:var(--fire); } .hero > p:last-child { max-width:650px; color:#cfccd1; font-size:1.1rem; line-height:1.7; }.hero strong { color:#fff; }
.calculator { display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); border:1px solid var(--line); background:rgba(16,17,25,.78); box-shadow:0 30px 80px rgba(0,0,0,.32); position:relative; }.control-card,.results-card { min-width:0; padding:clamp(24px,4vw,46px); }.control-card { border-right:1px solid var(--line); background:linear-gradient(140deg,rgba(227,34,70,.12),transparent 55%); }h2 { margin:8px 0 28px; font-size:clamp(1.8rem,3vw,3rem); line-height:.95; overflow-wrap:anywhere; }
label { display:block; margin-bottom:10px; color:#ddd9df; font-size:.88rem; font-weight:700; }label span,.helper { color:var(--muted); font-weight:400; }.input-row { display:flex; gap:9px; }.input-row input { width:100%; min-width:0; padding:15px; color:#fff; background:#08090d; border:1px solid rgba(255,255,255,.2); border-radius:3px; font:700 1.2rem Outfit,sans-serif; }.input-row input:focus { outline:2px solid var(--fire); outline-offset:2px; }.input-row button { border:0; padding:0 20px; color:white; background:var(--fire); cursor:pointer; border-radius:3px; font:800 .76rem Outfit,sans-serif; letter-spacing:.08em; text-transform:uppercase; }.input-row button:hover { background:#fa385b; }.helper { margin:10px 0 33px; font-size:.82rem; line-height:1.5; }.spec { display:flex; justify-content:space-between; gap:15px; padding:13px 0; border-top:1px solid var(--line); font-size:.85rem; }.spec span { color:var(--muted); }.spec strong { text-align:right; }
.results-head { display:flex; justify-content:space-between; align-items:start; gap:16px; }.results-head > div { min-width:0; }.status { padding:7px 10px; border:1px solid rgba(255,132,154,.35); color:#ff9aad; border-radius:999px; font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; }.results { display:grid; min-width:0; gap:10px; }.result { width:100%; min-width:0; padding:18px; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; border:1px solid var(--line); background:rgba(0,0,0,.17); }.result.best { border-color:rgba(227,34,70,.7); background:rgba(227,34,70,.1); }.teeth { display:grid; width:51px; height:51px; place-items:center; border-radius:50%; color:#ff9aad; background:rgba(227,34,70,.16); font:800 .83rem Orbitron,sans-serif; }.result h3,.result p { margin:0; overflow-wrap:anywhere; }.result h3 { font-size:1rem; }.result p { margin-top:4px; color:var(--muted); font-size:.82rem; }.error { text-align:right; font-size:.8rem; color:#ded9dd; }.error strong { display:block; color:#fff; font-size:1rem; }.result.best .error strong { color:#8df3ad; }.notice { margin-top:18px; padding:18px 20px; color:#c7c1c6; border-left:3px solid var(--fire); background:rgba(255,255,255,.045); line-height:1.55; font-size:.9rem; }.notice strong { color:#fff; }
@media (max-width:720px) { .shell { width:min(100% - 28px,1100px); } nav { min-height:70px; }.hero { padding:45px 0; }.calculator { grid-template-columns:1fr; }.control-card { border-right:0; border-bottom:1px solid var(--line); }.result { grid-template-columns:auto 1fr; }.error { grid-column:2; text-align:left; }.results-card,.control-card { padding:26px; } }
