:root {
  --bg:#080a0f;
  --surface:#11141b;
  --surface-2:#171b23;
  --surface-3:#1e232d;
  --text:#f5f7f2;
  --muted:#929aa8;
  --line:#292f3a;
  --accent:#d8ff68;
  --accent-ink:#111609;
  --blue:#8db5ff;
  --danger:#ff776f;
  --warning:#ffc45d;
  --success:#68dca0;
  --radius:18px;
  --shadow:0 28px 80px rgba(0,0,0,.32);
  color-scheme:dark;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-height:100vh; background:var(--bg); color:var(--text); line-height:1.55; }
body::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(circle at 78% 0,rgba(82,102,157,.16),transparent 34rem),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size:auto,64px 64px,64px 64px; mask-image:linear-gradient(to bottom,#000,transparent 72%); }
[hidden] { display:none!important; }
a { color:inherit; }
button,input,select { font:inherit; }
button,input,select,summary { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.wrap { width:min(1180px,calc(100% - 48px)); margin-inline:auto; }
.nav { height:80px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(255,255,255,.075); }
.brand { display:inline-flex; align-items:center; gap:9px; color:var(--text); font-size:18px; font-weight:800; letter-spacing:-.035em; text-decoration:none; }
.brand-mark { display:grid; place-items:center; width:30px; height:30px; border-radius:9px; color:var(--accent-ink); background:var(--accent); font-size:15px; font-weight:900; box-shadow:0 0 34px rgba(216,255,104,.18); }
.brand small { margin-left:1px; color:#646d7c; font-size:10px; font-weight:600; letter-spacing:0; }
.navlinks { display:flex; align-items:center; gap:26px; }
.navlinks a { color:#a5acb8; font-size:13px; font-weight:600; text-decoration:none; transition:color .18s ease; }
.navlinks a:hover { color:var(--text); }
.btn { min-height:43px; border:1px solid var(--line); border-radius:12px; padding:10px 16px; display:inline-flex; align-items:center; justify-content:center; gap:16px; background:var(--surface-2); color:var(--text); cursor:pointer; font-weight:750; font-size:13px; text-decoration:none; transition:transform .18s ease,border-color .18s ease,background .18s ease; }
.btn:hover { transform:translateY(-1px); border-color:#444c5a; }
.btn.primary { border-color:transparent; background:var(--accent); color:var(--accent-ink); box-shadow:0 10px 28px rgba(216,255,104,.12); }
.btn.primary:hover { background:#e2ff8c; }
.btn.ghost { background:transparent; }
.btn.compact { min-height:35px; padding:7px 12px; font-size:12px; }
.btn.wide { width:100%; }
.btn:disabled { opacity:.48; cursor:wait; transform:none; }
.card { border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(145deg,rgba(20,24,32,.96),rgba(14,17,23,.96)); padding:24px; box-shadow:0 1px 0 rgba(255,255,255,.025) inset; }
.eyebrow { display:block; color:var(--accent); font-size:10px; font-weight:850; letter-spacing:.16em; text-transform:uppercase; }
.fine { color:var(--muted); font-size:12px; }
.status { min-height:22px; margin-top:10px; color:var(--muted); font-size:12px; }
.status[data-type="error"] { color:#ff9d98; }
.status[data-type="success"] { color:var(--success); }
.status[data-type="progress"]::before { content:""; width:7px; height:7px; margin-right:8px; display:inline-block; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(216,255,104,.08); animation:pulse 1.2s ease infinite; }
@keyframes pulse { 50% { opacity:.4; } }

/* Landing */
.hero { min-height:calc(100vh - 80px); padding:92px 0 84px; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr); gap:72px; align-items:center; }
.hero h1 { max-width:780px; margin:17px 0 25px; font-size:clamp(48px,6.6vw,82px); line-height:.98; letter-spacing:-.066em; text-wrap:balance; }
.hero p { max-width:670px; margin:0; color:#aab1bc; font-size:18px; }
.scanbox { max-width:710px; margin-top:34px; padding:7px; display:flex; align-items:center; gap:6px; border:1px solid #343b47; border-radius:15px; background:#0c0f15; box-shadow:0 18px 50px rgba(0,0,0,.22); }
.scanbox input { min-width:0; width:100%; border:0; outline:0; padding:10px 11px; background:transparent; color:var(--text); }
.scanbox input::placeholder { color:#66707e; }
.visual { position:relative; border:1px solid #303744; border-radius:24px; padding:26px; overflow:hidden; background:linear-gradient(155deg,#171c25,#0e1117 68%); box-shadow:var(--shadow); transform:rotate(1.4deg); }
.visual::before { content:""; position:absolute; width:220px; height:220px; top:-120px; right:-80px; border-radius:50%; background:rgba(216,255,104,.12); filter:blur(20px); }
.scoreline { padding-bottom:23px; display:flex; align-items:flex-end; justify-content:space-between; border-bottom:1px solid var(--line); }
.score { font-size:70px; font-weight:850; line-height:1; letter-spacing:-.07em; }
.pill,.safe-badge { width:max-content; border:1px solid #343c49; border-radius:999px; padding:5px 9px; color:#a4adba; background:rgba(11,14,19,.45); font-size:10px; font-weight:700; }
.signal { padding:17px 0; display:grid; grid-template-columns:70px 1fr; gap:12px; border-bottom:1px solid var(--line); }
.signal:last-child { border:0; padding-bottom:0; }
.sev { font-size:10px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.sev.high { color:var(--danger); }
.sev.medium { color:var(--warning); }
section { padding:76px 0; }
.section-head { max-width:740px; margin-bottom:34px; }
.section-head h2 { margin:11px 0 13px; font-size:clamp(34px,4vw,48px); line-height:1.05; letter-spacing:-.05em; text-wrap:balance; }
.section-head p,.card p,.card li { color:var(--muted); }
.grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.grid3 .card { min-height:220px; }
.card h3 { margin:18px 0 10px; font-size:21px; letter-spacing:-.025em; }
.num { color:var(--accent); font-size:11px; font-weight:850; letter-spacing:.1em; }
.plans { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.plan { min-height:370px; display:flex; flex-direction:column; }
.plan.featured { border-color:#70863e; background:linear-gradient(150deg,rgba(216,255,104,.09),#11151c 46%); box-shadow:0 0 0 1px rgba(216,255,104,.12) inset; }
.price { margin:12px 0; font-size:34px; font-weight:850; letter-spacing:-.045em; }
.price small { color:var(--muted); font-size:12px; font-weight:500; }
.plan ul { flex:1; padding-left:19px; }
.notice { border:1px solid var(--line); border-radius:var(--radius); padding:24px; background:#0e1218; color:var(--muted); }
.legal-strip { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.footer { margin-top:40px; padding:40px 0 58px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:28px; }
.footer a { margin:8px 0; display:block; color:var(--muted); }

/* Forms and auth */
.app-main { min-height:calc(100vh - 80px); }
.auth-shell { min-height:calc(100vh - 80px); padding:72px 0 90px; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(380px,.72fr); gap:9vw; align-items:center; }
.auth-intro h1 { max-width:650px; margin:14px 0 20px; font-size:clamp(45px,5.5vw,70px); line-height:1; letter-spacing:-.06em; text-wrap:balance; }
.auth-intro>p { max-width:590px; color:#9ba4b1; font-size:17px; }
.auth-points { max-width:620px; margin-top:40px; display:grid; gap:0; border-top:1px solid var(--line); }
.auth-points>div { padding:16px 0; display:grid; grid-template-columns:48px 1fr; border-bottom:1px solid var(--line); }
.auth-points>div>span { color:var(--accent); font:700 10px ui-monospace,monospace; }
.auth-points p { margin:0; color:#7f8997; font-size:12px; }
.auth-points b { color:#dfe3e8; font-size:13px; }
.auth-panel { padding:10px 28px 30px; box-shadow:var(--shadow); }
.auth-tabs { margin:0 -18px 28px; padding:6px; display:grid; grid-template-columns:1fr 1fr; border-radius:12px; background:#0b0e13; }
.auth-tab { border:0; border-radius:9px; padding:10px; background:transparent; color:#747e8d; cursor:pointer; font-size:12px; font-weight:750; }
.auth-tab.active { background:var(--surface-3); color:var(--text); box-shadow:0 4px 14px rgba(0,0,0,.2); }
.form-stack { display:grid; gap:14px; }
.form-title h2 { margin:0; font-size:25px; letter-spacing:-.035em; }
.form-title p { margin:3px 0 8px; font-size:12px; }
.field { display:grid; gap:7px; }
.field>span,.field>label { color:#a1a9b5; font-size:11px; font-weight:700; }
.field small { color:#66707e; font-weight:500; }
.field input,.field select { width:100%; border:1px solid #303743; border-radius:11px; outline:0; padding:12px 13px; background:#0b0e13; color:var(--text); transition:border-color .18s ease,box-shadow .18s ease; }
.field input:focus,.field select:focus { border-color:#7d914b; box-shadow:0 0 0 3px rgba(216,255,104,.07); }
.check { display:flex; align-items:flex-start; gap:9px; color:#8c95a3; font-size:11px; }
.check input { width:15px; height:15px; margin:2px 0 0; accent-color:var(--accent); }
.check a { color:#c8ced7; }
.consents { display:grid; gap:8px; padding:2px 0; }

/* Dashboard */
#dashboard { padding:56px 0 90px; }
.dashboard-head { margin-bottom:28px; display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
.dashboard-head h1 { margin:7px 0 1px; font-size:42px; letter-spacing:-.052em; }
.dashboard-head p { margin:0; color:var(--muted); font-size:13px; }
.account-chip { max-width:340px; padding:8px 12px 8px 8px; display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:14px; background:#0c0f14; }
.avatar { width:35px; height:35px; display:grid; place-items:center; flex:none; border-radius:10px; background:#282f3a; color:var(--accent); font-size:13px; font-weight:800; }
.account-chip>span:last-child { min-width:0; display:grid; }
.account-chip b { overflow:hidden; color:#dce1e7; font-size:11px; text-overflow:ellipsis; }
.account-chip small { color:#727c89; font-size:10px; }
.metric-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.dashboard-metrics { margin-bottom:14px; }
.metric { min-height:104px; padding:20px; display:flex; align-items:center; gap:15px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(145deg,#141820,#0e1117); }
.metric-icon { width:38px; height:38px; display:grid; place-items:center; flex:none; border:1px solid #303845; border-radius:11px; color:var(--accent); background:#0c0f14; }
.metric div { display:grid; }
.metric span:not(.metric-icon) { color:#778190; font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.metric strong { font-size:23px; letter-spacing:-.04em; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:14px; align-items:start; }
.dashboard-primary { min-width:0; display:grid; gap:14px; }
.dashboard-aside { display:grid; gap:14px; position:sticky; top:18px; }
.scan-panel { padding:28px; }
.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.panel-heading h2 { margin:7px 0 4px; font-size:24px; letter-spacing:-.035em; }
.panel-heading p { margin:0; font-size:12px; }
.scan-panel .scanbox { max-width:none; margin-top:24px; }
.scan-panel .scanbox .btn { min-width:180px; justify-content:space-between; }
.url-prefix { padding-left:7px; color:#687381; }
.plan-card { background:linear-gradient(155deg,rgba(216,255,104,.095),#11151c 45%); }
.plan-card h2 { margin:7px 0 6px; font-size:34px; letter-spacing:-.05em; }
.plan-card>p { margin:0 0 20px; font-size:12px; }
.plan-card summary { list-style:none; }
.plan-card summary::-webkit-details-marker { display:none; }
.payment-form { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
#business-fields { display:grid; gap:14px; }
.help-card { position:relative; overflow:hidden; }
.help-card h3 { margin:17px 0 8px; font-size:17px; }
.help-card p { font-size:12px; }
.help-card a { color:var(--accent); font-size:11px; font-weight:700; text-decoration:none; }
.help-icon { width:30px; height:30px; display:grid; place-items:center; border:1px solid #46502f; border-radius:50%; color:var(--accent); font-weight:800; }
.history-panel { padding:25px 28px; }
.history-list { margin-top:18px; display:grid; }
.history-row { width:100%; border:0; border-top:1px solid #242a34; padding:13px 2px; display:grid; grid-template-columns:12px minmax(0,1fr) auto 20px; gap:11px; align-items:center; background:transparent; color:inherit; text-align:left; }
button.history-row { cursor:pointer; }
button.history-row:hover .history-domain b { color:var(--accent); }
.job-dot { width:7px; height:7px; border-radius:50%; background:#596270; }
.job-dot.completed { background:var(--success); }
.job-dot.running,.job-dot.queued { background:var(--warning); }
.job-dot.failed { background:var(--danger); }
.history-domain { min-width:0; display:grid; }
.history-domain b { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; transition:color .18s ease; }
.history-domain small { color:#6f7886; font-size:10px; }
.job-status { border:1px solid #343b46; border-radius:99px; padding:3px 8px; color:#929ba8; font-size:9px; font-weight:750; }
.job-status.completed { color:var(--success); border-color:#315a45; }
.job-status.failed { color:var(--danger); border-color:#633735; }
.history-arrow { color:#747e8c; }
.empty-state { padding:30px 12px; border:1px dashed #303743; border-radius:13px; color:#737d8a; font-size:12px; text-align:center; }
.success-empty { color:var(--success); border-color:#315a45; }

/* Report */
.public-result-shell { padding:55px 0 90px; }
.public-result-shell>.report-heading h1 { margin:7px 0 0; font-size:42px; letter-spacing:-.05em; }
.privacy-note { margin:18px 0; padding:12px 14px; border:1px solid #3d4653; border-radius:11px; color:#929ba8; background:#0d1117; font-size:11px; }
.status-panel { margin:12px 0; }
.report-shell { scroll-margin-top:18px; padding:10px 0 0; }
.report-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.report-heading h2 { margin:6px 0 0; font-size:27px; letter-spacing:-.04em; }
.report-target { max-width:600px; margin:2px 0 0; overflow:hidden; color:#747e8c; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.report-overview { margin-top:17px; display:grid; grid-template-columns:1.05fr .95fr; gap:12px; }
.score-card,.report-facts { min-height:205px; border:1px solid var(--line); border-radius:18px; padding:24px; background:linear-gradient(145deg,#151a22,#0e1117); }
.score-card { display:flex; align-items:center; gap:24px; }
.score-ring { --score:0; width:132px; aspect-ratio:1; display:grid; place-content:center; flex:none; border-radius:50%; background:radial-gradient(circle at center,#12161d 61%,transparent 62%),conic-gradient(var(--accent) calc(var(--score) * 1%),#2b313b 0); box-shadow:0 0 40px rgba(216,255,104,.08); text-align:center; }
.score-ring strong { font-size:39px; line-height:1; letter-spacing:-.06em; }
.score-ring span { color:#737d8b; font-size:9px; }
.score-card h3 { margin:7px 0 3px; font-size:22px; }
.score-card p { margin:0; font-size:11px; }
.score-critical .score-ring,.score-high .score-ring { background:radial-gradient(circle at center,#12161d 61%,transparent 62%),conic-gradient(var(--danger) calc(var(--score) * 1%),#2b313b 0); }
.report-facts { display:grid; gap:20px; }
.summary-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.summary-item { padding:11px; display:grid; border:1px solid #2d3440; border-radius:11px; background:#0c1016; }
.summary-item strong { font-size:21px; }
.summary-item span { color:#77818f; font-size:9px; }
.summary-item.critical strong,.summary-item.high strong { color:var(--danger); }
.summary-item.medium strong { color:var(--warning); }
.summary-item.low strong { color:var(--blue); }
.coverage-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.coverage-row>div { display:grid; }
.coverage-row strong { font-size:18px; }
.coverage-row span { color:#737d89; font-size:9px; }
.findings-section { padding:30px 0 0; }
.findings-head { margin-bottom:14px; display:flex; align-items:flex-end; justify-content:space-between; gap:18px; }
.findings-head h3 { margin:0; font-size:20px; }
.findings-head p { margin:3px 0 0; color:#737c89; font-size:10px; }
.filters { display:flex; gap:5px; flex-wrap:wrap; }
.filter { border:1px solid #303742; border-radius:99px; padding:5px 9px; background:transparent; color:#808a98; cursor:pointer; font-size:9px; font-weight:750; }
.filter.active { border-color:#687b39; background:rgba(216,255,104,.09); color:var(--accent); }
.findings-list { display:grid; gap:8px; }
.finding-card { border:1px solid var(--line); border-radius:14px; background:#10141a; overflow:hidden; }
.finding-card[hidden] { display:none; }
.finding-card summary { padding:15px 17px; display:grid; grid-template-columns:82px minmax(0,1fr) 20px; align-items:center; gap:12px; cursor:pointer; list-style:none; }
.finding-card summary::-webkit-details-marker { display:none; }
.severity-badge { width:max-content; border:1px solid #3a424e; border-radius:99px; padding:4px 7px; color:#a1aab7; font-size:8px; font-weight:850; text-transform:uppercase; }
.severity-badge.critical,.severity-badge.high { border-color:#643a38; color:#ff958f; background:#241514; }
.severity-badge.medium { border-color:#5d4b2b; color:#ffd17a; background:#211a0f; }
.severity-badge.low { border-color:#344b69; color:#9dc0ff; background:#111925; }
.finding-title { min-width:0; display:grid; }
.finding-title b { font-size:12px; }
.finding-title small { color:#66707d; font:9px ui-monospace,monospace; }
.finding-arrow { color:#697381; transition:transform .18s ease; }
.finding-card[open] .finding-arrow { transform:rotate(180deg); }
.finding-body { padding:0 17px 17px 111px; }
.finding-body>p { margin:0 0 12px; color:#9aa3af; font-size:11px; }
.recommendation { padding:12px 13px; border-left:2px solid var(--accent); background:#151a18; }
.recommendation b { color:var(--accent); font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.recommendation p { margin:3px 0 0; color:#bdc4cb; font-size:11px; }
.legal-basis { padding-top:10px; border-top:1px solid var(--line); }
.finding-meta { margin-top:12px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.finding-meta code { min-width:0; overflow:hidden; color:#6f7a88; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.confidence { flex:none; color:#707b88; font-size:9px; }

/* Legal */
.legal-page { max-width:850px; padding:65px 0; }
.legal-page h1 { font-size:46px; letter-spacing:-.04em; }
.legal-page h2 { margin-top:38px; }
.legal-page p,.legal-page li { color:#c3cad5; }
.legal-page .meta { padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--surface); color:var(--muted); }

@media(max-width:980px) {
  .hero,.auth-shell { grid-template-columns:1fr; }
  .hero { min-height:auto; gap:35px; padding-top:65px; }
  .visual { max-width:620px; transform:none; }
  .auth-shell { gap:50px; }
  .auth-intro { display:none; }
  .auth-panel { width:min(500px,100%); margin:auto; }
  .plans { grid-template-columns:repeat(2,1fr); }
  .dashboard-grid { grid-template-columns:1fr; }
  .dashboard-aside { grid-template-columns:1fr 1fr; position:static; }
}
@media(max-width:720px) {
  .wrap { width:min(100% - 28px,1180px); }
  .nav { height:68px; }
  .navlinks { gap:11px; }
  .navlinks a:not(.btn) { display:none; }
  .brand small { display:none; }
  section { padding:55px 0; }
  .hero h1 { font-size:49px; }
  .grid3,.legal-strip,.footer-grid,.metric-grid,.report-overview { grid-template-columns:1fr; }
  .dashboard-metrics { grid-template-columns:repeat(3,1fr); }
  .metric { min-height:92px; padding:15px; }
  .metric-icon { display:none; }
  .metric strong { font-size:19px; }
  .account-chip { display:none; }
  .plans { grid-template-columns:1fr; }
  .plan { min-height:310px; }
  .findings-head { align-items:flex-start; flex-direction:column; }
  .finding-body { padding-left:17px; }
}
@media(max-width:520px) {
  .hero { padding-top:52px; }
  .hero h1 { font-size:40px; }
  .hero p { font-size:15px; }
  .visual { display:none; }
  .scanbox { display:grid; grid-template-columns:1fr; }
  .scan-panel .scanbox { grid-template-columns:25px 1fr; }
  .scanbox .btn { grid-column:1/-1; width:100%; }
  .dashboard-metrics { grid-template-columns:1fr; }
  .dashboard-head h1 { font-size:35px; }
  .dashboard-aside { grid-template-columns:1fr; }
  .panel-heading .safe-badge { display:none; }
  .summary-grid { grid-template-columns:repeat(2,1fr); }
  .score-card { align-items:flex-start; flex-direction:column; }
  .score-ring { width:110px; }
  .coverage-row { gap:8px; }
  .finding-card summary { grid-template-columns:72px minmax(0,1fr) 14px; gap:8px; }
  .history-row { grid-template-columns:10px minmax(0,1fr) auto; }
  .history-arrow { display:none; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }
