/* 도네온 랜딩 틀(2026-11-07 wkdk 식 리뉴얼, docs/web-design.md 6절 "랜딩 예외").
   색 · 글꼴은 /tokens.css. 랜딩만 쓰는 값(남색 두 가지, 내용 폭 1240, 구역 88~112)은 여기 변수로.
   계정 삭제 안내(/account-deletion/)는 옛 landing.css 를 그대로 쓴다 — 이 파일은 index.html 만. */
:root {
  --navy: #0B1220;
  --navy-2: #0A0F1E;
  --paper: #F5F6F8;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, .84, .24, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { overflow-x: clip; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: var(--fw-bold); }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 880px; }
main > section { scroll-margin-top: 72px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; transition: top .15s; }
.skip:focus { top: 12px; }

/* 맨 위 띠(44, 잉크) */
.topband { background: var(--ink); color: rgba(255, 255, 255, .88); font-size: 15px; font-weight: 600; }
.topband .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; text-align: center; }
.topband a { color: var(--gold); font-weight: 700; white-space: nowrap; }
.topband a:hover { color: #fff; }

/* 머리 줄(72, 흰 바탕, 내리면 아래 선) */
.top { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.navlink { display: inline-flex; align-items: center; white-space: nowrap; padding: 9px 14px; border-radius: 8px; color: var(--text); font-size: 16px; font-weight: 600; transition: background .2s, color .2s; }
.navlink:hover { background: var(--paper); color: var(--ink); }
.acts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* 로그인 고르기: 머리 줄 "로그인" 아래 작은 칸(흰 바탕 · 1px 선), 두 줄은 같은 무게 */
.login-pick { position: relative; }
.login-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 110; display: flex; flex-direction: column; width: 248px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 30px -18px rgba(15, 23, 41, .25); }
.lm-item { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 12px; border-radius: 8px; }
.lm-item + .lm-item { margin-top: 2px; }
.lm-item b { color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.35; }
.lm-item span { color: var(--sub); font-size: 13.5px; line-height: 1.4; }
.lm-item:hover { background: var(--paper); }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border-radius: 10px; }
.menu-btn i { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 단추(알약) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn.lg { padding: 17px 28px; font-size: 17px; font-weight: 700; }
.btn.gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn.gold:hover { background: var(--gold-hover); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2B3442; }
.btn.ghost-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .24); color: #fff; }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn.on-gold { background: rgba(25, 31, 40, .08); border-color: rgba(25, 31, 40, .24); color: var(--ink); }
.btn.on-gold:hover { background: rgba(25, 31, 40, .14); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* 구역 머리: eyebrow + h2(.mix 는 400, <b> 700) */
.eyebrow { color: var(--gold-ink); font-size: 16px; font-weight: 700; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -.03em; text-wrap: pretty; }
.h2.mix { font-weight: 400; }
.h2.mix b { font-weight: 700; }
.eyebrow + .h2 { margin-top: 14px; }
.sec-head { margin-bottom: 48px; }
.lede-s { margin-top: 16px; color: var(--sub); font-size: 18px; line-height: 1.6; }
.fine { margin-top: 20px; color: var(--sub); font-size: 14px; }
.fine a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* 등장(Reveal): JS 가 html.anim 을 붙였을 때만 숨긴다 */
html.anim .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.anim .rv.in { opacity: 1; transform: none; }

/* 바닥(잉크) */
.foot { padding: 32px 0 44px; background: var(--ink); color: rgba(255, 255, 255, .6); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.foot b { color: #fff; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { color: #fff; }
.foot .copy { margin-left: auto; }
/* 사업자 정보(D-166): 링크 줄 아래 한 줄, 좁으면 줄바꿈 */
.foot .biz { width: 100%; margin: 4px 0 0; font-size: 13px; line-height: 20px; word-break: keep-all; }

@media (max-width: 1120px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(15, 23, 41, .25); }
  .nav.open { display: flex; }
  .nav .navlink { padding: 14px 8px; font-size: 17px; }
  .menu-btn { display: flex; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .topband { font-size: 13.5px; }
  .topband .wrap { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .top .wrap { height: 64px; gap: 8px; }
  .nav { top: 64px; }
  .acts .btn { padding: 11px 16px; font-size: 14px; }
  .btn.lg { padding: 15px 22px; font-size: 16px; }
  .sec-head { margin-bottom: 32px; }
  .lede-s { font-size: 16px; }
  .foot .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 400px) {
  .logo { font-size: 19px; }
  .acts .btn { padding: 10px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.anim .rv { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}
