* { box-sizing: border-box; }
:root { color-scheme: light; --bg:#f7f7f5; --surface:#fff; --text:#171717; --muted:#777772; --line:#e7e7e2; --accent:#c8f169; --danger:#b64242; }
html { min-width:320px; min-height:100%; }
body { min-height:100vh; margin:0; background:var(--bg); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
.app { width:min(100% - 48px,960px); min-height:100vh; margin:auto; display:flex; flex-direction:column; }
.header { height:76px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.wordmark { color:var(--text); text-decoration:none; font-size:19px; font-weight:800; letter-spacing:-1.2px; }
.wordmark span { color:#86ad35; }
.header-label,.eyebrow { font-size:10px; font-weight:650; letter-spacing:1.35px; }
.header-label { color:#85857e; }
.generator { width:min(100%,440px); margin:82px auto 70px; }
.intro { margin-bottom:34px; }
.eyebrow { margin:0 0 17px; color:#788d4d; }
h1 { margin:0; font-size:clamp(38px,7vw,52px); line-height:1.04; font-weight:700; letter-spacing:-2.8px; }
.description { margin:16px 0 0; color:var(--muted); font-size:14px; line-height:1.6; }
.range-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field { display:flex; flex-direction:column; gap:9px; }
.field-label { font-size:12px; font-weight:600; }
.field input { width:100%; height:50px; padding:0 14px; color:var(--text); background:var(--surface); border:1px solid #deded8; border-radius:7px; outline:none; font-size:15px; }
.field input:focus { border-color:#8da94f; box-shadow:0 0 0 3px #8da94f22; }
.message { min-height:16px; margin:11px 0 17px; color:var(--muted); font-size:11px; }
.message.error { color:var(--danger); }
.generate-button { width:100%; height:51px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; border:0; border-radius:7px; background:var(--accent); color:#1b2111; font-size:13px; font-weight:700; cursor:pointer; }
.generate-button:hover { background:#b9e45b; }
.result-card { margin-top:20px; padding:17px 18px 18px; background:var(--surface); border:1px solid var(--line); border-radius:8px; }
.result-topline { display:flex; align-items:center; justify-content:space-between; }
.result-topline h2 { margin:0; color:var(--muted); font-size:11px; font-weight:600; }
.copy-button { padding:5px 7px; color:#55554f; background:transparent; border:0; border-radius:4px; font-size:11px; cursor:pointer; }
.copy-button:hover:not(:disabled) { background:#f1f1ed; }
.copy-button:disabled { opacity:.35; cursor:default; }
.result-number { display:block; margin-top:13px; overflow-wrap:anywhere; font-size:clamp(42px,9vw,58px); line-height:1.1; font-weight:700; letter-spacing:-2px; font-variant-numeric:tabular-nums; }
.result-caption { margin:8px 0 0; color:var(--muted); font-size:11px; }
.privacy-note { margin:17px 0 0; color:#85857e; font-size:10px; }
.footer { margin-top:auto; padding:19px 0; display:flex; justify-content:space-between; gap:16px; border-top:1px solid var(--line); color:#85857e; font-size:10px; }
.footer span:first-child { color:#4d4d47; font-weight:800; }
@media(max-width:520px) { .app{width:min(100% - 36px,440px)} .header{height:66px} .header-label{font-size:8px;letter-spacing:1px} .generator{margin-top:64px} h1{letter-spacing:-2.2px} }
