:root { color-scheme:dark; --ink:#fdfdfd; --muted:#bcb7c5; --line:#3c3645; --surface:#1e1a24; --accent:#e8ddff; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; background:#15131a; color:var(--ink); font:16px/1.6 system-ui,sans-serif; }
.shell { max-width:800px; min-height:100vh; min-height:100dvh; margin:auto; padding:0 28px; display:flex; flex-direction:column; }
header { padding:26px 0 48px; }
.brand { display:inline-flex; align-items:center; gap:4px; color:var(--ink); text-decoration:none; }
.brand img { display:block; }
.brand span { font-size:20px; font-weight:800; line-height:1; letter-spacing:-.04em; }
main { flex:1; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { line-height:1.15; font-weight:600; }
h1 { font-size:clamp(32px,6vw,54px); letter-spacing:-.045em; }
h2 { font-size:clamp(24px,5vw,30px); letter-spacing:-.025em; }
h3 { font-size:19px; }
.intro { margin:14px 0 28px; max-width:50ch; color:var(--muted); }
a { color:var(--accent); text-underline-offset:3px; }
label { display:block; margin:0 0 7px; font-size:14px; }
.input-row { display:flex; gap:10px; }
input,button { min-height:48px; border-radius:8px; font:inherit; }
input { min-width:0; width:100%; padding:10px 14px; border:1px solid #665d70; background:var(--surface); color:var(--ink); }
input::placeholder { color:#a19aaa; }
input[aria-invalid="true"] { border-color:#ffbcad; }
button { flex-shrink:0; padding:10px 20px; border:1px solid var(--accent); background:var(--accent); color:#221736; font-weight:600; font-size:14px; cursor:pointer; }
button:hover:not(:disabled) { background:#f2eaff; }
button:disabled { opacity:.6; cursor:default; }
:focus-visible { outline:2px solid #c2a8ff; outline-offset:4px; }
.note,.optional { color:var(--muted); font-size:13px; }
p.note,.error,#email-status,#check-status { margin-top:10px; }
.error { color:#ffbcad; font-size:14px; }
#check { margin-top:38px; }
.domain { color:var(--muted); margin:5px 0 0; overflow-wrap:anywhere; }
#quick-result { margin-top:14px; padding:18px 20px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
#quick-headline { font-size:clamp(20px,4vw,26px); }
#quick-note { margin-top:6px; }
.text-button { margin-top:8px; padding:0; background:none; border:none; color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.text-button:hover:not(:disabled) { background:none; }
dl,dd { margin:0; }
.targets { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0 12px; }
.targets > div,.card { padding:20px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.targets strong { display:block; font-size:26px; font-variant-numeric:tabular-nums; }
.target-status { color:var(--accent); font-size:14px; }
.targets .note { margin-top:6px; }
#load-comparison { margin:0 0 20px; }
#load-comparison .note { margin-top:2px; }
.score { margin-top:8px; color:var(--muted); }
.score strong { color:var(--ink); font-size:34px; }
.metrics { padding-top:10px; }
.metrics div { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-top:1px solid var(--line); }
.metrics dt { color:var(--muted); font-size:14px; }
.metrics dd { font-size:14px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.email { margin-top:32px; }
.email > p { margin:6px 0 15px; color:var(--muted); }
footer { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:42px; padding:16px 0 max(26px, env(safe-area-inset-bottom)); border-top:1px solid var(--line); font-size:13px; }
@media(max-width:540px) {
  .shell { padding:0 20px; }
  header { padding-bottom:30px; }
  .input-row,.targets { display:grid; grid-template-columns:minmax(0,1fr); }
}
