:root{
  --bg:#FDFCF9; --ink:#131415; --mint:#C8F0E1; --coral:#FF7A6E; --sun:#FFD972; --line:#121212;
  --card:#FFFFFF; --muted:#4B555C;
  --shadow: 0 10px 25px rgba(0,0,0,.06); --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:Inter,'Noto Sans KR',system-ui,-apple-system,Segoe UI,Roboto;background:var(--bg);color:var(--ink)}
a{color:var(--ink);text-decoration:none}
img{max-width:100%;display:block}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:#fff;padding:.5rem 1rem;border-radius:8px;z-index:999}

/* Sticky mobile CTA */
.sticky-cta{position:fixed;left:16px;right:16px;bottom:12px;background:var(--coral);color:#fff;border:2px solid var(--line);
  border-radius:999px;text-align:center;padding:.85rem 1rem;font-weight:900;letter-spacing:.02em;box-shadow:0 12px 28px rgba(255,122,110,.35);
  display:none;z-index:50}
@media (max-width: 820px){ .sticky-cta{display:block} }

/* Topbar */
.topbar{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:.7rem 1rem;background:#ffffffd9;backdrop-filter: blur(8px);border-bottom:2px solid var(--line);z-index:10}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:900;letter-spacing:.2px}
.topbar nav a{margin:0 .6rem;font-weight:700}
.btn{display:inline-block;border:2px solid var(--line);padding:.7rem 1rem;border-radius:999px;background:#fff;color:var(--ink);box-shadow:var(--shadow);transition:transform .1s ease}
.btn:hover{transform:translateY(-1px)}
.btn--primary{background:var(--coral);color:#fff}

/* KR accent */
.kr{font-family:'Noto Sans KR', Inter, system-ui;}

/* Hero */
.hero{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:1.5rem;align-items:center;padding:3.5rem 1.25rem 2rem;border-bottom:2px solid var(--line)}
.hero-inner{max-width:680px}
.badge{display:inline-block;background:var(--mint);border:2px solid var(--line);border-radius:12px;padding:.25rem .6rem;font-weight:800;letter-spacing:.5px}
.hero h1{font-family:Montserrat,'Noto Sans KR',system-ui;font-weight:900;font-size:clamp(2.4rem,7vw,4.6rem);line-height:1.02;margin:.4rem 0}
.hero .accent{color:#FF5A3D}
.hero .line2{color:#131415}
.sub{font-size:clamp(1rem,2.5vw,1.2rem);color:var(--muted)}
.cta-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}
.hero-visual{position:relative;align-self:stretch;display:grid;place-items:center}
.hero-visual img{width:min(460px,90%);filter:drop-shadow(0 10px 20px rgba(0,0,0,.12))}
.stickers{position:absolute;inset:auto 0 0 0;display:flex;justify-content:center;gap:.5rem;transform:translateY(40%)}
.sticker{display:inline-block;background:#fff;border:2px solid var(--line);border-radius:999px;padding:.25rem .65rem;font-weight:800;box-shadow:var(--shadow)}
.sticker.spicy{background:#FFE7E4}
.sticker.balanced{background:#F1FFE9}
.sticker.fast{background:#FFF6D9}
.pattern{position:absolute;inset:auto 0 0 0;height:14px;background:repeating-linear-gradient(90deg,#000 0 24px,transparent 24px 36px)}

/* Sections */
section{padding:2.5rem 1.25rem}
h2{font-family:Montserrat,'Noto Sans KR',system-ui;font-weight:900;font-size:clamp(1.8rem,4vw,2.6rem);margin:.2rem 0 1rem}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.card{background:var(--card);border:2px solid var(--line);border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow)}
.muted{color:var(--muted)}
.disclaimer{opacity:.7;margin-top:.6rem}
.center{text-align:center}

/* Selector */
.selector .packs{display:flex;gap:.75rem;flex-wrap:wrap}
.pack{display:flex;align-items:center;gap:.5rem;border:2px solid var(--line);border-radius:14px;background:#fff;padding:.4rem .6rem;font-weight:800;cursor:pointer;box-shadow:var(--shadow)}
.pack img{width:72px;height:auto}
.pack.is-active{outline:4px solid rgba(255,122,110,.35)}

/* Menu / toggles */
.toggles label{display:flex;align-items:center;gap:.5rem;margin:.3rem 0}
.list{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.pill{display:inline-block;border:2px solid var(--line);border-radius:999px;padding:.05rem .45rem;background:#fff}
.price-note{margin-top:1rem;font-weight:800}

/* Calculator */
.calc{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff;border:2px solid var(--line);border-radius:14px;padding:.8rem 1rem;margin:1rem 0;box-shadow:var(--shadow)}
.calc-stats{display:flex;gap:1rem}
.calc .label{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#444}
.calc .value{font-family:Montserrat;font-weight:900;font-size:1.4rem}
.base-note{font-weight:800}

/* Macros */
.macros{background:#FAFEFB;border-top:2px solid var(--line);border-bottom:2px solid var(--line)}
.metric{background:#fff;border:2px solid var(--line);border-radius:14px;padding:1rem;box-shadow:var(--shadow);text-align:center}
.knum{font-family:Montserrat;font-weight:900;font-size:2rem;color:#111}
.klabel{text-transform:uppercase;letter-spacing:.08em;margin-bottom:.3rem;color:#333}

/* Schedule */
.truck-head{display:flex;align-items:center;gap:.6rem;margin-bottom:.6rem}
.schedule .card h3{margin:.2rem 0 .4rem}

/* Signup */
.signup{text-align:center}
.form{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;margin-top:.75rem}
.form input{padding:.85rem 1rem;border:2px solid var(--line);border-radius:12px;min-width:260px;background:#fff}

/* Footer */
.footer{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-top:2px solid var(--line)}

/* Responsive */
@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
  .hero-visual{order:-1}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
}

/* Bottom sheet */
.sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.4);backdrop-filter:blur(2px);z-index:80}
.sheet{position:fixed;left:0;right:0;bottom:0;max-height:85vh;background:#fff;border-top:2px solid var(--line);border-radius:20px 20px 0 0;box-shadow:0 -10px 30px rgba(0,0,0,.15);transform:translateY(100%);transition:transform .3s ease;z-index:90;display:grid;grid-template-rows:auto 1fr auto}
.sheet.open{transform:translateY(0)}
.sheet-head{display:flex;justify-content:space-between;align-items:center;padding:1rem 1rem;border-bottom:2px solid var(--line)}
.sheet-head h2{margin:0}
.sheet-close{border:2px solid var(--line);background:#fff;border-radius:12px;padding:.4rem .6rem;font-weight:900;cursor:pointer}
.sheet-body{overflow:auto;padding:1rem}
.sheet-section{margin-bottom:1rem}
.packs--sheet .pack img{width:64px}
.presets{display:flex;gap:.5rem;flex-wrap:wrap}
.preset{border:2px solid var(--line);background:#fff;border-radius:999px;padding:.45rem .8rem;font-weight:800;cursor:pointer;box-shadow:var(--shadow)}
.sheet-foot{display:flex;flex-direction:column;gap:.6rem;padding:1rem;border-top:2px solid var(--line);background:#fff;border-radius:0 0 20px 20px}
.sheet-foot .sum{font-weight:900}
.sheet-actions{display:flex;gap:.5rem;justify-content:space-between}

/* Focus visibility */
:focus-visible{outline:3px solid #0a84ff;outline-offset:2px}

/* Mobile header cleanup */
.menu-toggle{display:none;border:2px solid var(--line);background:#fff;border-radius:12px;padding:.35rem .55rem;font-weight:900;cursor:pointer}
.nav-links{display:flex;align-items:center;gap:.6rem}
@media (max-width: 900px){
  .nav-links{position:absolute;left:0;right:0;top:64px;background:#ffffff; border-bottom:none;
    flex-direction:column;align-items:flex-start;padding:.6rem 1rem;max-height:0;overflow:hidden;transition:max-height .25s ease}
  .topbar{position:sticky;top:0}
  .menu-toggle{display:inline-block}
  .nav-links.open{max-height:320px;border-bottom:2px solid var(--line)}
  .nav-links a{padding:.35rem 0}
}

/* Ladder prompt */
.prompt{font-weight:800;margin:.25rem 0 .5rem;color:#333}
.prompt .hint{display:inline-block;background:#FFF6D9;border:2px solid var(--line);border-radius:8px;padding:.15rem .5rem;margin-right:.3rem}

/* Prompt visibility & actions */
.prompt{font-weight:800;margin:.4rem 0 .7rem;color:#222}
.prompt .hint{display:inline-block;background:#FFF6D9;border:2px solid var(--line);border-radius:8px;padding:.15rem .5rem;margin-right:.3rem}
.prompt .hint-cta{display:inline-block;border:2px dashed var(--line);border-radius:8px;padding:.1rem .45rem;margin-left:.4rem;background:#fff}

/* Prompt tips styling */
.prompt .tip{display:inline-block;margin-left:.35rem;font-weight:700;opacity:.9}

/* Tip box and prompt layout (below calc) */
.tipbox{display:inline-flex;align-items:center;gap:.5rem;background:#FFF6D9;border:2px solid var(--line);border-radius:12px;
  padding:.4rem .7rem;font-weight:900;box-shadow:var(--shadow);margin:.6rem 0 .25rem}
.tipbox::before{content:"💡"; font-size:1rem; line-height:1}
/* Prompt sits under the tip box */
.prompt{font-weight:800;margin:.2rem 0 1rem;color:#222}

/* Tip row inline layout */
.tiprow{display:flex;align-items:center;gap:.6rem;margin:.6rem 0 .6rem}
.tipbox{display:inline-flex;align-items:center;gap:.5rem;background:#FFF6D9;border:2px solid var(--line);border-radius:12px;
  padding:.25rem .6rem;font-weight:900;box-shadow:var(--shadow);margin:0}
.tipbox::before{content:"💡"; font-size:1rem; line-height:1}
.prompt{font-weight:800;color:#222;margin:0}

/* Truck wheel animation */
.truck-ic #w1, .truck-ic #w2 { transform-origin: center; animation: wheel-spin 1.1s linear infinite; animation-play-state: paused; }
.truck-ic.moving #w1, .truck-ic.moving #w2 { animation-play-state: running; }
@keyframes wheel-spin { to { transform: rotate(360deg);} }
