:root { --bg:#0b1220; --bg2:#0d1626; --card:#0f1a2d; --line:#1f3150; --line2:#2a3b57; --ink:#e7edf5; --muted:#9fb0c6; --dim:#7f92ad; --accent:#5eead4; --accentink:#062b27; --warn:#fbbf24; --warnbg:#2a2210; --okbg:#0f2a2a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font:16px/1.55 "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased; }
.mono, .stat b, .kicker, .step-n { font-family:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wrap { max-width:1060px; margin:0 auto; padding:0 24px; }
a { color:var(--accent); }
a:hover { color:#99f6e4; }

nav.top { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; padding:20px 0; font-size:15px; border-bottom:1px solid var(--line); }
nav.top a { color:var(--muted); text-decoration:none; margin-left:24px; }
nav.top a:hover { color:var(--ink); }
nav.top a.brand { margin-left:0; color:var(--ink); font-weight:600; font-size:17px; display:inline-flex; align-items:center; gap:10px; }
nav.top a.brand::before { content:""; width:26px; height:26px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Crect x='1' y='1' width='24' height='24' rx='6' fill='none' stroke='%235eead4' stroke-width='2'/%3E%3Cpath d='M7 13.5l4 4 8-9' fill='none' stroke='%235eead4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain; }

header { padding:56px 0 28px; }
h1 { font-size:clamp(32px,5vw,52px); line-height:1.07; letter-spacing:-.03em; font-weight:700; margin:16px 0 18px; max-width:20ch; }
.lead { font-size:19px; color:var(--muted); max-width:62ch; margin:0; line-height:1.55; }
.kicker { font-size:13px; color:var(--accent); letter-spacing:.03em; }
.facts { display:flex; flex-wrap:wrap; gap:8px 24px; margin:24px 0 0; padding:0; list-style:none; font-size:14px; color:var(--muted); }
.facts li::before { content:"✓ "; color:var(--accent); font-weight:700; }
.hero { display:flex; flex-wrap:wrap; align-items:center; gap:48px; }
.hero > div:first-child { flex:1 1 440px; min-width:0; }
.hero .sample { flex:1 1 360px; min-width:0; max-width:480px; }
.sample { background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 30px 70px -30px rgba(0,0,0,.7); }
.sample .bar { display:flex; align-items:center; gap:8px; padding:12px 16px; background:#0c1627; border-bottom:1px solid var(--line); font-family:"IBM Plex Mono", ui-monospace, monospace; font-size:12px; color:var(--dim); }
.sample .bar i { width:10px; height:10px; border-radius:50%; background:var(--line2); display:block; }
.sample .body { padding:20px 22px; font-family:"IBM Plex Mono", ui-monospace, monospace; font-size:14px; display:flex; flex-direction:column; gap:12px; }
.sample .body div { display:flex; justify-content:space-between; gap:12px; }
.sample .body span:first-child { color:var(--dim); }
.sample .body .amt { color:var(--warn); }
.sample .body .big { font-size:28px; color:var(--warn); }

section.card, article { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:26px; margin:20px 0; }
h2 { font-size:21px; margin:0 0 6px; letter-spacing:-.01em; }
h3 { letter-spacing:-.005em; }
.hint { color:var(--muted); font-size:14px; margin:0 0 16px; }
.row { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; margin-bottom:14px; }
label { display:block; font-size:13px; font-weight:600; margin-bottom:5px; color:var(--muted); }
input { width:100%; padding:10px 11px; border:1px solid var(--line2); border-radius:8px; font:inherit; background:#0b1424; color:var(--ink); color-scheme:dark; }
input::placeholder { color:var(--dim); }
input:focus { outline:2px solid var(--accent); outline-offset:1px; }
.tablewrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; min-width:640px; }
th { text-align:left; font-size:12px; color:var(--dim); font-weight:600; padding:0 8px 8px 0; vertical-align:bottom; }
td { padding:0 8px 8px 0; }
td.x { width:38px; }
button { font:inherit; cursor:pointer; border-radius:8px; padding:10px 15px; border:1px solid var(--line2); background:transparent; color:var(--ink); }
button:hover { border-color:var(--accent); }
button.primary { background:var(--accent); border-color:var(--accent); color:var(--accentink); font-weight:600; padding:13px 22px; }
button.primary:hover { background:#99f6e4; border-color:#99f6e4; }
button.link { border:0; background:none; color:var(--accent); padding:0; text-decoration:underline; }
button.del { padding:7px 10px; color:var(--dim); }
.actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:10px; }
#results { display:none; }
.total { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; margin:14px 0 20px; }
.stat { background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:16px; }
.stat b { display:block; font-size:26px; line-height:1.2; font-weight:500; color:var(--warn); }
.stat span { font-size:13px; color:var(--muted); }
.finding { border-left:4px solid var(--warn); background:var(--warnbg); border-radius:0 10px 10px 0; padding:13px 15px; margin:10px 0; }
.finding.ok { border-color:var(--accent); background:var(--okbg); }
.finding h3 { margin:0 0 4px; font-size:16px; }
.finding p { margin:0; font-size:14px; color:var(--muted); }
.finding ul { margin:8px 0 0 18px; padding:0; font-size:14px; color:var(--ink); }
.cta { border:1px solid var(--accent); }
.cta .row { align-items:end; }
.note { font-size:13px; color:var(--dim); }
.err { color:var(--warn); font-size:14px; margin-top:8px; }

.sec { margin:64px 0 0; }
.sec h2 { font-size:clamp(26px,3.4vw,34px); line-height:1.15; letter-spacing:-.02em; margin:10px 0 28px; max-width:24ch; }
.grid3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.grid2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:18px; }
.tile { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:24px; }
.tile h3 { margin:8px 0 6px; font-size:18px; }
.tile p { margin:0; color:var(--muted); line-height:1.6; font-size:15px; }
.step-n { color:var(--accent); font-size:14px; }
.faq h3 { margin:0 0 6px; font-size:17px; }
.faq p { margin:0; color:var(--muted); line-height:1.6; font-size:15px; }

article h2 { margin-top:28px; } article h2:first-child { margin-top:0; }
article p, article li { max-width:68ch; color:var(--muted); line-height:1.65; }
article strong { color:var(--ink); }
.btn { display:inline-block; background:var(--accent); color:var(--accentink); font-weight:600; padding:13px 22px; border-radius:10px; text-decoration:none; }
.btn:hover { background:#99f6e4; color:var(--accentink); }
footer { margin-top:56px; padding:26px 0 56px; font-size:13px; color:var(--dim); border-top:1px solid var(--line); }
footer a { color:var(--muted); margin-right:16px; text-decoration:none; }
footer a:hover { color:var(--ink); }

.drops { grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.drop { display:flex; flex-direction:column; gap:6px; align-items:flex-start; justify-content:center; min-height:120px; padding:18px; border:1.5px dashed var(--line2); border-radius:12px; background:#0b1424; cursor:pointer; color:var(--ink); font-weight:400; margin:0; position:relative; }
.drop b { font-size:16px; color:var(--ink); }
.drop .fname { color:var(--muted); font-size:14px; word-break:break-all; }
.drop:hover, .drop.over { border-color:var(--accent); }
.drop.has { border-style:solid; border-color:var(--accent); }
.drop input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; padding:0; border:0; }
.consent { display:flex; gap:10px; align-items:flex-start; font-weight:400; font-size:14px; color:var(--muted); margin:6px 0 4px; }
.consent input { width:18px; height:18px; flex:none; margin-top:2px; accent-color:#5eead4; }
details#manual { margin:20px 0; }
details#manual > summary { cursor:pointer; color:var(--muted); padding:12px 4px; font-size:15px; }
details#manual > summary:hover { color:var(--ink); }
button:disabled { opacity:.6; cursor:wait; }
