:root{
  --bg:#fafaf7; --surface:#ffffff; --fg:#17171c; --muted:#6b6b76;
  --accent:#ff5a3c; --accent-ink:#fff; --line:#e9e9e4; --good:#1f9d55; --warn:#e8a005;
  --radius:18px; --shadow:0 6px 24px rgba(20,20,30,.08);
  --display:"Pretendard",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0e0e12; --surface:#191921; --fg:#f3f3f0; --muted:#a0a0ad; --line:#2a2a34; --shadow:0 6px 24px rgba(0,0,0,.4); color-scheme:dark;
}}
:root[data-theme="dark"]{--bg:#0e0e12;--surface:#191921;--fg:#f3f3f0;--muted:#a0a0ad;--line:#2a2a34;color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--display);line-height:1.5}
.wrap{max-width:560px;margin:0 auto;padding-inline:max(16px,env(safe-area-inset-left)) ;padding-block:12px 64px}
.hero{background:linear-gradient(135deg,var(--accent),#ff8a5c);color:var(--accent-ink);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow)}
.hero .eyebrow{font-size:13px;font-weight:700;letter-spacing:.06em;opacity:.9}
.hero h1{font-size:23px;font-weight:800;margin:.2em 0 .15em;text-wrap:balance;line-height:1.15}
.hero p{margin:0;font-weight:500;opacity:.95}
.cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.btn{appearance:none;border:0;border-radius:999px;padding:13px 18px;font-weight:700;font-size:15px;cursor:pointer;background:var(--fg);color:var(--bg);text-decoration:none;display:inline-block;font-family:inherit}
.btn.primary{background:#111;color:#fff}
.btn.on-hero{background:#fff;color:#d8381f}
.btn:focus-visible{outline:3px solid #000;outline-offset:2px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:8px;text-align:center}
.stat b{display:block;font-size:20px;font-variant-numeric:tabular-nums}
.stat span{font-size:12px;color:var(--muted)}
.section-title{font-size:15px;font-weight:800;margin:22px 4px 10px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);margin-bottom:12px}
.card h3{margin:0 0 4px;font-size:17px}
.card p{margin:0;color:var(--muted);font-size:14px}
.pill{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent)}
.tabbar{position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:6px 0 max(6px, calc(env(safe-area-inset-bottom,0px) - 16px))}
.tabbar a{color:var(--muted);text-decoration:none;font-size:11px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:0;line-height:1.15;font-size:10px}
.tabbar a[hidden]{display:none}
.tabbar a[aria-current]{color:var(--accent)}

@media (prefers-reduced-motion:no-preference){.btn{transition:transform .08s}.btn:active{transform:scale(.96)}}
.tabbar[hidden]{display:none}
