@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--ink:#202034;--muted:#73738a;--coral:#ff684f;--purple:#7355dc;--yellow:#ffd75e;--blue:#63c8e8;--green:#a8e4bd;--paper:#fffdf9;--line:#eceaf0;--shadow:0 14px 40px rgba(40,34,70,.08)}
*{box-sizing:border-box}body{margin:0;background:#f7f5f1;color:var(--ink);font-family:"DM Sans",Arial,sans-serif}.app-shell{max-width:1080px;margin:auto;background:var(--paper);min-height:100vh;box-shadow:0 0 80px rgba(25,20,45,.04)}.topbar{height:78px;padding:0 clamp(20px,5vw,60px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink);font:800 20px "Space Grotesk",sans-serif;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--coral);color:white;border-radius:13px;font:700 23px "Space Grotesk";transform:rotate(-5deg)}.brand-accent{color:var(--coral)}.brand small{display:block;font:700 8px "DM Sans";letter-spacing:2px;color:var(--muted);margin-top:1px}.top-actions{display:flex;gap:10px;align-items:center}select,button,input{font:inherit}.top-actions select{border:1px solid var(--line);border-radius:12px;padding:9px;background:white;color:var(--ink);font-weight:700}.avatar{border:0;border-radius:50%;width:36px;height:36px;background:var(--yellow);font-weight:800;font-size:17px;cursor:pointer}
main{padding:0 clamp(20px,5vw,60px) 55px}.hero{position:relative;overflow:hidden;margin:30px 0 20px;padding:clamp(28px,5vw,52px);border-radius:28px;background:#29233f;color:white;min-height:250px;display:flex;align-items:center}.hero:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:2%;top:-55%;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 75px rgba(255,255,255,.025)}.hero-copy{position:relative;z-index:1;max-width:610px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:var(--coral)}h1,h2{font-family:"Space Grotesk",sans-serif;letter-spacing:-1.5px}h1{font-size:clamp(34px,5.5vw,57px);line-height:1.04;margin:13px 0}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{color:#d4d0df;max-width:450px;line-height:1.6;margin:0}.hero-sticker{position:absolute;right:9%;top:50%;transform:translateY(-50%) rotate(9deg);z-index:1;width:128px;height:128px;border-radius:50%;background:var(--yellow);color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 12px 0 rgba(0,0,0,.13)}.hero-sticker span{font:700 38px "Space Grotesk"}.hero-sticker b{font-size:12px;line-height:1.1;text-align:center;letter-spacing:1px}.quick-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 28px}.stat-card{border-radius:18px;padding:17px 20px;display:flex;flex-direction:column;gap:4px}.stat-card span{font-size:12px;font-weight:700}.stat-card strong{font:700 clamp(22px,3vw,30px) "Space Grotesk"}.stat-card small{font-size:11px;opacity:.7}.stat-purple{background:#eee8ff;color:#4d3b9c}.stat-yellow{background:#fff3c9;color:#765900}.tabs{display:flex;gap:7px;padding:6px;background:#f0eef3;border-radius:15px;margin-bottom:34px;overflow:auto}.tab{border:0;background:transparent;padding:12px 18px;border-radius:11px;color:var(--muted);font-weight:700;white-space:nowrap;cursor:pointer}.tab.active{background:white;color:var(--ink);box-shadow:0 3px 12px rgba(40,34,70,.08)}.page{display:none}.page.active{display:block}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 17px}.section-heading h2,.page-intro h2{font-size:clamp(25px,4vw,34px);margin:5px 0 0}.tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.tool-card{position:relative;min-height:175px;border:0;border-radius:21px;padding:22px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:8px;color:var(--ink);cursor:pointer;transition:transform .18s,box-shadow .18s}.tool-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.tool-icon{font-size:27px;margin-bottom:5px}.tool-card b{font:700 19px "Space Grotesk"}.tool-card small{font-size:12px;max-width:220px;line-height:1.45;color:#514f61}.tool-coral{background:#ffe2db}.tool-yellow{background:#fff0bd}.tool-blue{background:#dff5fb}.tool-green{background:#e0f4e6}.card-arrow{position:absolute;right:19px;top:17px;font-size:21px}.tip-card{display:flex;gap:15px;align-items:center;background:#29233f;color:white;border-radius:18px;padding:19px 22px;margin:22px 0 34px}.tip-spark{font-size:27px;color:var(--yellow)}.tip-card b{font:700 15px "Space Grotesk"}.tip-card p{font-size:12px;color:#d4d0df;margin:4px 0 0;line-height:1.5}.recent-heading{margin-top:10px}.text-button{border:0;background:transparent;color:var(--purple);font-weight:800;cursor:pointer}.history-list{display:grid;gap:9px}.history-item{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:white}.history-item b{font-size:13px}.history-item small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.history-item strong{font:700 15px "Space Grotesk"}.empty{color:var(--muted);font-size:13px;padding:10px 0}.page-intro{margin:4px 0 22px}.page-intro p{color:var(--muted);font-size:14px;line-height:1.6;max-width:620px}.form-card{background:white;border:1px solid var(--line);border-radius:22px;padding:clamp(18px,3vw,28px);box-shadow:var(--shadow);max-width:780px}.field-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-card label{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:12px;font-weight:800;color:#55536a}.field-grid label{margin:0}.form-card input,.form-card select{width:100%;border:1px solid #e7e4ed;border-radius:11px;padding:13px 12px;background:#fffefa;color:var(--ink);outline:none;min-width:0}.form-card input:focus,.form-card select:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(115,85,220,.12)}.input-with-unit{display:flex;align-items:center;border:1px solid #e7e4ed;border-radius:11px;background:#fffefa;padding-right:12px}.input-with-unit input{border:0;background:transparent;box-shadow:none!important}.input-with-unit span{font-size:12px;color:var(--muted);white-space:nowrap}.primary-btn{width:100%;border:0;border-radius:12px;padding:15px;background:var(--coral);color:white;font-weight:800;margin-top:20px;cursor:pointer;box-shadow:0 5px 0 #df4d37;transition:transform .12s}.primary-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #df4d37}.result-box{margin-top:18px;background:#f4f0ff;border-radius:15px;padding:18px;min-height:74px;color:#43347e}.result-label{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#7b6ab5}.result-main{font:700 25px "Space Grotesk";margin:7px 0}.result-detail{font-size:12px;line-height:1.55;color:#62588a}.winner{color:#257b50;font-weight:800}.result-saved{display:inline-block;background:#d8f2df;color:#226b43;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:800;margin-top:9px}footer{border-top:1px solid var(--line);padding:25px clamp(20px,5vw,60px);display:flex;gap:13px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:11px}footer small{margin-left:auto}footer a{color:var(--purple)}.footer-brand{font:800 13px "Space Grotesk";color:var(--ink)}dialog{border:0;border-radius:22px;max-width:420px;width:calc(100% - 32px);padding:0;box-shadow:0 20px 80px rgba(20,15,40,.25)}dialog::backdrop{background:rgba(22,18,40,.55)}.dialog-content{padding:30px;position:relative}.dialog-content h2{margin:14px 0 5px}.dialog-content p{font-size:13px;line-height:1.6;color:var(--muted)}.dialog-content .fine-print{font-size:11px}.dialog-close{position:absolute;right:16px;top:12px;border:0;background:#f1eef5;border-radius:50%;width:30px;height:30px;font-size:20px;cursor:pointer}
@media(max-width:620px){.topbar{height:66px}.hero{min-height:260px;padding:27px 23px;align-items:flex-start}.hero-copy{max-width:100%}.hero-sticker{width:80px;height:80px;right:18px;bottom:16px;top:auto;transform:none}.hero-sticker span{font-size:25px}.hero-sticker b{font-size:8px}.hero p{max-width:80%;font-size:13px}.quick-stats{gap:9px}.stat-card{padding:14px}.tool-grid{gap:10px}.tool-card{padding:17px;min-height:165px}.tool-card b{font-size:16px}.tool-card small{font-size:11px}.tabs{margin-bottom:27px}.tab{padding:11px 14px;font-size:12px}.field-grid{gap:12px}.field-grid label{min-width:0}.form-card{padding:17px}.form-card input,.form-card select{padding:12px 9px;font-size:14px}footer small{margin-left:0;width:100%}}
@media(min-width:800px){.tool-grid{grid-template-columns:repeat(4,1fr)}.tool-card{min-height:190px}.quick-stats{max-width:560px}.hero-sticker{right:16%}}
