/* 비루도감 웹 — 앱 토큰(constants/theme.ts) 그대로 */
:root {
  --amber: #D98A0B; --amber-bg: #FBF0DC; --amber-deep: #8A5800;
  --hero-top: #FAF6EE; --hero-bottom: #F1EADC;
  --ink: #171719; --ink-2: rgba(55,56,60,.75); --ink-3: rgba(55,56,60,.61); --ink-4: rgba(55,56,60,.4);
  --line: rgba(112,115,124,.16); --line-2: rgba(112,115,124,.22);
  --bg: #fff; --bg-soft: #FAFAFA;
  --r: 16px; --r-lg: 24px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--amber-deep); text-decoration: none; }
a:hover { color: var(--amber); }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), 100% - 48px); margin: 0 auto; }
.wm { font-weight: 900; letter-spacing: -.035em; line-height: 1; white-space: nowrap; color: var(--amber); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; height: 64px; display: flex; align-items: center; background: rgba(250,246,238,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(255,255,255,.9); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav .wm { font-size: 22px; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--amber-deep); }
.nav-links a { color: inherit; }
.nav .soon { margin-left: 8px; }

/* hero (B안 — 크림 그라데이션) */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%); }
.hero .glow-a { position: absolute; right: -160px; top: -200px; width: 820px; height: 820px; border-radius: 50%; background: var(--amber); opacity: .10; pointer-events: none; }
.hero .glow-b { position: absolute; right: 120px; bottom: -320px; width: 560px; height: 560px; border-radius: 50%; background: #C9A227; opacity: .12; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 640px) 1fr; align-items: center; min-height: 720px; padding: 56px 0 72px; gap: 32px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero .wm { font-size: clamp(56px, 6.6vw, 96px); }
.hero h1 { margin: 0; font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.hero .sub { margin: 0; font-size: 19px; line-height: 1.6; color: var(--amber-deep); max-width: 520px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--amber-deep); background: var(--amber-bg); border-radius: 999px; padding: 6px 12px 6px 8px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; }
.chip b { font-weight: 800; }
.stat { display: flex; gap: 32px; padding-top: 6px; }
.stat div { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--ink-3); }
.cans { position: relative; height: 480px; display: flex; align-items: center; justify-content: flex-end; }
.cans img { position: absolute; bottom: 20px; height: auto; filter: drop-shadow(0 24px 30px rgba(138,88,0,.22)); transition: transform .6s ease; }
.cans .c1 { right: 66%; width: 150px; transform: translateY(40px) rotate(-8deg); }
.cans .c2 { right: 40%; width: 200px; transform: translateY(-20px) rotate(-3deg); z-index: 2; filter: drop-shadow(0 30px 36px rgba(138,88,0,.25)); }
.cans .c3 { right: 16%; width: 176px; transform: translateY(20px) rotate(4deg); }
.cans .c4 { right: 0; width: 146px; transform: translateY(60px) rotate(9deg); }
.hero-foot { position: absolute; right: 0; bottom: 24px; display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--amber-deep); }
.hero-foot .dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(55,56,60,.16); }
.hero-foot .dot.on { width: 14px; background: var(--amber); }
.hero-foot span.t { margin-left: 8px; }

/* store badges */
.badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.android-note { margin: 10px 0 0; font-size: 13px; color: rgba(55,56,60,.7); }
.beta-cta { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 8px; padding: 12px 20px; border-radius: 12px; background: linear-gradient(135deg,#E39A1B,#D98A0B 55%,#C67C05); color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(180,110,10,.22); }
.beta-cta b { font-size: 15px; font-weight: 800; }
.beta-cta span { font-size: 12px; opacity: .85; }
.android-note a { color: inherit; text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 12px; background: var(--ink); color: #fff; }
.badge svg { width: 24px; height: 24px; flex-shrink: 0; fill: currentColor; }
.badge .t { display: flex; flex-direction: column; line-height: 1.15; }
.badge small { font-size: 10px; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.badge b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.badge.light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.badge.disabled { cursor: default; }
.badge.light:hover { color: var(--ink); }
.badge:hover { color: #fff; }
.soon { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--amber-bg); color: var(--amber-deep); white-space: nowrap; }

/* sections */
section { padding: 88px 0; }
section.soft { background: var(--bg-soft); }
.sec-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 36px; }
.sec-head .eyebrow { font-size: 13px; font-weight: 700; color: var(--amber); letter-spacing: .02em; }
.sec-head h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 640px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-bg); color: var(--amber-deep); display: grid; place-items: center; }
.card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* limited */
.lim-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lim-group h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.lim-group h3 .n { font-weight: 600; color: var(--ink-4); }
.lim-list { display: flex; flex-direction: column; gap: 10px; }
.lim { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.lim .can { width: 56px; height: 72px; display: grid; place-items: center; }
.lim .can img { max-height: 72px; width: auto; }
.lim .name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.lim .meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.lim .date { font-size: 13px; font-weight: 700; color: var(--amber-deep); margin-top: 2px; }
.lim .tag { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag.outline { color: var(--amber-deep); box-shadow: inset 0 0 0 1px var(--amber); }
.tag.solid { color: #fff; background: var(--amber); }
.tag.soft { color: var(--amber-deep); background: var(--amber-bg); }
.lim-empty { color: var(--ink-3); font-size: 15px; padding: 16px 0; }
.lim-foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lim-foot p { margin: 0; color: var(--ink-3); font-size: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 12px; background: var(--amber); color: #fff; font-weight: 700; font-size: 15px; }
.btn:hover { color: #fff; background: #C47C08; }
.btn.ghost { background: transparent; color: var(--amber-deep); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--amber-bg); }

/* brands */
.brands { display: flex; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 15px; }
.brand .logo { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.brand .logo img { width: 28px; height: 28px; object-fit: contain; }
.brand .logo span { font-weight: 800; color: var(--amber); }

/* daily */
.daily { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.daily .steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { width: 32px; height: 32px; border-radius: 50%; background: var(--amber-bg); color: var(--amber-deep); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.step b { display: block; font-size: 16px; }
.step span { color: var(--ink-2); font-size: 14px; }

/* download / contact */
.cta { background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%); border-radius: var(--r-lg); padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta .glow { position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: var(--amber); opacity: .1; }
.cta h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.cta p { margin: 0; color: var(--amber-deep); font-size: 16px; }
.cta .badges { position: relative; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.contact .card p a { font-weight: 600; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-3); font-size: 13px; }
footer .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
footer .links { display: flex; gap: 20px; font-weight: 600; }
footer .links a { color: var(--ink-2); }
footer .wm { font-size: 18px; }
footer .fine { margin-top: 20px; line-height: 1.7; max-width: 720px; }

/* prose pages */
.page { padding: 56px 0 96px; }
.page .wrap { max-width: 760px; }
.prose h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.prose .lead { color: var(--ink-3); font-size: 15px; margin: 0 0 40px; }
.prose h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 44px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: #37383C; }
.prose ul { padding-left: 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink-3); font-size: 13px; }
.prose .table-wrap { overflow-x: auto; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--amber); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 16px; }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 0; gap: 8px; }
  .cans { height: 360px; justify-content: center; }
  .cans img { bottom: 0; }
  .cans .c1 { right: auto; left: 4%; width: 120px; }
  .cans .c2 { right: auto; left: 50%; margin-left: -80px; width: 160px; }
  .cans .c3 { right: 4%; width: 136px; }
  .cans .c4 { display: none; }
  .hero-foot { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .lim-groups { grid-template-columns: 1fr; }
  .daily { grid-template-columns: 1fr; gap: 24px; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .contact { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  section { padding: 64px 0; }
  .hero .wm { font-size: 56px; }
  .hero .sub { font-size: 15px; }
  .stat { gap: 22px; }
  .grid-4 { grid-template-columns: 1fr; }
  .badge { height: 46px; padding: 0 14px 0 12px; }
  .badge b { font-size: 14px; }
  .badge svg { width: 20px; height: 20px; }
  .lim { grid-template-columns: 48px 1fr; }
  .lim .tag { grid-column: 2; justify-self: start; }
}
