:root{
  --bg:#f4f1e9;
  --ink:#151515;
  --muted:#4f4f4f;
  --card:#fff7ef;
  --card-strong:#ffffff;
  --accent:#ff6b35;
  --accent-2:#00a896;
  --accent-3:#ffc857;
  --ball-ink:#1b1b1b;
  --shadow:0 20px 50px rgba(25, 20, 10, 0.18);
  --radius:18px;
}
html[data-theme="dark"]{
  color-scheme: dark;
  --bg:#101418;
  --ink:#f2f3f4;
  --muted:#b9c0c9;
  --card:#171d24;
  --card-strong:#1f2730;
  --accent:#ff7a45;
  --accent-2:#4dd2b6;
  --accent-3:#ffd166;
  --ball-ink:#0f1216;
  --shadow:0 20px 50px rgba(0, 0, 0, 0.4);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:"Noto Sans KR", system-ui, sans-serif;
  background:radial-gradient(900px 500px at 10% 10%, rgba(255, 200, 87, 0.4), transparent 60%),
             radial-gradient(900px 500px at 90% 90%, rgba(0, 168, 150, 0.35), transparent 60%),
             var(--bg);
  color:var(--ink);
}
.topbar{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  padding:14px 24px;
  background:rgba(255, 247, 239, 0.92);
  border-bottom:1px solid rgba(0,0,0,0.08);
  backdrop-filter:blur(10px);
}
html[data-theme="dark"] .topbar{
  background:rgba(23, 29, 36, 0.92);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand strong{display:block; font-size:14px}
.brand small{display:block; font-size:11px; color:var(--muted)}
.brand-mark{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:0 10px 20px rgba(0,0,0,0.15);
}
.topnav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}
.topnav a{
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--card-strong);
  border:1px solid rgba(0,0,0,0.12);
  transition:transform 0.2s ease, border-color 0.2s ease;
}
.topnav a:hover{
  border-color:rgba(0,0,0,0.35);
  transform:translateY(-1px);
}
.topbar-actions{display:flex; gap:10px}
.ambient{
  position:fixed;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:-1;
}
.orb{
  position:absolute;
  width:240px;
  height:240px;
  border-radius:50%;
  filter:blur(0px);
  opacity:0.5;
  animation:float 12s ease-in-out infinite;
}
.orb-a{
  background:radial-gradient(circle at 30% 30%, #fff1d0, transparent 65%);
  top:-40px; left:-60px;
}
.orb-b{
  background:radial-gradient(circle at 30% 30%, #c8f3ef, transparent 65%);
  bottom:20%; right:-80px;
  animation-delay:2s;
}
.orb-c{
  background:radial-gradient(circle at 30% 30%, #ffe0d4, transparent 65%);
  top:50%; left:40%;
  animation-delay:4s;
}
@keyframes float{
  0%,100%{transform:translateY(0px)}
  50%{transform:translateY(-18px)}
}
.app{
  width:min(1100px, 100%);
  margin:0 auto;
  padding:24px 20px 60px;
  display:grid;
  gap:22px;
}
.hero{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  align-items:center;
}
.hero-text h1{
  font-family:"Sora", "Noto Sans KR", sans-serif;
  font-size:clamp(30px, 4vw, 46px);
  margin:8px 0 12px;
}
.hero-sub{margin:0 0 16px; color:var(--muted)}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:0.22em;
  font-size:12px;
  font-weight:700;
  color:var(--accent-2);
  margin:0;
}
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.panel, .hero-card, .contact{
  background:var(--card);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.hero-card h2{margin:0 0 16px; font-size:18px}
.status-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:16px;
}
.label{font-size:12px; color:var(--muted); margin:0 0 4px}
.value{font-size:20px; font-weight:700; margin:0}
.panel-head{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:16px;
}
.panel-head h2{margin:0; font-size:22px}
.panel-head p{margin:6px 0 0; color:var(--muted)}
.badge{
  background:linear-gradient(120deg, var(--accent), var(--accent-2));
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  height:max-content;
}
.menu-grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
}
.menu-form{
  display:grid;
  gap:14px;
}
.field{display:grid; gap:6px}
.field label{font-size:12px; font-weight:700}
.field input, .field select, .field textarea{
  font:inherit;
  border:1px solid rgba(0,0,0,0.1);
  border-radius:12px;
  padding:10px 12px;
  background:var(--card-strong);
  color:var(--ink);
}
.field small{color:var(--muted); font-size:12px}
.toggle-grid{
  display:grid;
  gap:8px;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
}
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
button{
  border:0;
  cursor:pointer;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(100deg, var(--accent), var(--accent-2));
}
button.ghost{
  background:transparent;
  color:var(--ink);
  border:1px solid rgba(0,0,0,0.2);
}
.chip{
  border-radius:999px;
  padding:10px 16px;
  border:1px solid rgba(0,0,0,0.2);
  background:var(--card-strong);
  color:var(--ink);
  font-weight:700;
}
.menu-result{
  display:grid;
  gap:14px;
}
.recommend-card{
  background:var(--card-strong);
  border-radius:16px;
  padding:18px;
  display:grid;
  gap:10px;
}
.recommend-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.desc{margin:0; color:var(--muted)}
.pill-row{display:flex; flex-wrap:wrap; gap:8px}
.pill{
  background:rgba(0,0,0,0.08);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}
.alt-list ul{margin:0; padding-left:18px; display:grid; gap:6px}
.history{
  display:grid;
  gap:8px;
}
.history.mini{background:var(--card-strong); border-radius:16px; padding:14px}
.history h4{margin:0 0 6px}
.row{
  background:var(--card-strong);
  border-radius:12px;
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  font-size:14px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.row small{opacity:.6}
.balls{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  padding:10px 0 20px;
}
.ball{
  width:64px;
  height:64px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:20px;
  color:var(--ball-ink);
  background:radial-gradient(circle at 30% 25%, #fff, var(--accent-3));
  box-shadow: inset 0 0 0 2px #fff, 0 8px 16px rgba(0,0,0,0.2);
}
.promise-grid, .policy-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}
.promise-grid h3, .policy-grid h3{margin:0 0 6px}
.contact{
  display:grid;
  gap:12px;
}
.footer{
  text-align:center;
  color:var(--muted);
  padding:20px 0 40px;
}
.reveal{opacity:0; transform:translateY(20px); animation:reveal 0.7s ease forwards}
.reveal[data-delay="0.1"]{animation-delay:0.1s}
.reveal[data-delay="0.15"]{animation-delay:0.15s}
.reveal[data-delay="0.2"]{animation-delay:0.2s}
.reveal[data-delay="0.25"]{animation-delay:0.25s}
.reveal[data-delay="0.3"]{animation-delay:0.3s}
.reveal[data-delay="0.35"]{animation-delay:0.35s}
.reveal[data-delay="0.38"]{animation-delay:0.38s}
.reveal[data-delay="0.4"]{animation-delay:0.4s}
.reveal[data-delay="0.45"]{animation-delay:0.45s}
@keyframes reveal{
  to{opacity:1; transform:translateY(0)}
}
@media (max-width: 720px){
  .topbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .topnav{justify-content:flex-start}
  .panel-head{flex-direction:column; align-items:flex-start}
  .hero{grid-template-columns:1fr}
  .actions{width:100%}
  button, .chip{width:100%}
}
