/* 잘자장 홍보 페이지 — 스크롤하면 해질녘 → 깊은 밤 → 아침으로 색이 바뀐다 (site.js가 변수 갱신) */

:root {
  --bg: #2B2140;
  --glowA: #F09A7A;
  --glowB: #7E5AA8;
  --acc: #F7BE8A;
  --stars: 0.15;
  --moon: 0;
  --moonX: 8%;
  --moonY: 72%;
  --ink: #F4EFE7;
  --muted: rgba(244, 239, 231, 0.76);
  --faint: rgba(244, 239, 231, 0.64);
  --line: rgba(255, 255, 255, 0.13);
  --on-acc: #17132B;
  --vinyl: #0B0A10;
  --serif: 'Gowun Batang', 'Nanum Myeongjo', serif;
  --sans: 'IBM Plex Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (max-width: 820px) { html { scroll-padding-top: 120px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #FFFFFF; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--acc); color: var(--on-acc); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── 공통 ───────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: clamp(80px, 10vw, 136px); }
.stack { display: flex; flex-direction: column; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.eyebrow { font: 13px/1.5 var(--mono); letter-spacing: 0.16em; color: var(--acc); }
.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.18; letter-spacing: -0.02em; }
.h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.3; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); }
.glass { background: rgba(255, 255, 255, 0.055); border: 1px solid var(--line); }
.blur { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nowrap { white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 24px; border-radius: 18px;
  text-decoration: none; font-weight: 600; cursor: pointer; border: 0;
}
.btn-acc { background: var(--acc); color: var(--on-acc); }
.btn-acc:hover { color: var(--on-acc); filter: brightness(1.06); }
.btn-glass { background: rgba(255, 255, 255, 0.055); border: 1px solid var(--line); color: var(--ink); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); }
.btn-store { min-height: 58px; padding: 10px 24px 10px 18px; font-weight: 400; }
.btn-store .t { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store small { font-size: 12px; opacity: 0.8; }
.btn-store strong { font-size: 17px; font-weight: 600; }
.btn-pill { min-height: 48px; padding: 10px 22px; border-radius: 999px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.24); font-size: 15px; font-weight: 400; color: var(--ink); }

/* ── 하늘 (고정 배경) ───────────────── */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; }
.glow-a { left: -25%; bottom: -50%; width: 120vmax; height: 85vmax; background: radial-gradient(closest-side, var(--glowA), transparent); opacity: 0.5; }
.glow-b { right: -30%; top: -40%; width: 95vmax; height: 75vmax; background: radial-gradient(closest-side, var(--glowB), transparent); opacity: 0.45; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--stars); }
.stars circle { fill: #FFFFFF; }
.moon {
  position: absolute; left: var(--moonX); top: var(--moonY);
  width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: #F6F1E6; opacity: calc(var(--moon) * 0.42); /* 글자와 겹쳐도 읽히도록 흐리게 */
  box-shadow: inset -16px -8px 0 0 rgba(40, 40, 70, 0.12), 0 0 40px 8px rgba(246, 241, 230, 0.32), 0 0 140px 50px rgba(246, 241, 230, 0.10);
}

/* ── 상단 메뉴 ──────────────────────── */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(20, 18, 42, 0.72); background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid var(--line); }
.hdr nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; max-width: 1200px; margin: 0 auto; padding: 10px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.hdr-links { display: flex; flex: 1 1 auto; justify-content: center; gap: 2px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 15px; }
.hdr-links::-webkit-scrollbar { display: none; }
.hdr-links a { padding: 10px 12px; color: var(--muted); text-decoration: none; }
.hdr-links a:hover { color: var(--ink); }
.hdr-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.clock { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); font: 13px var(--mono); }
.clock .phase { color: var(--muted); }
.hdr .btn { min-height: 44px; padding: 8px 18px; border-radius: 999px; font-size: 15px; }
@media (max-width: 820px) {
  .hdr-links { order: 3; flex-basis: 100%; justify-content: flex-start; margin: 0 -10px; -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent); }
  .clock .phase { display: none; }
}

main { position: relative; z-index: 1; overflow-x: clip; }

/* ── 히어로 ─────────────────────────── */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.badge { align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.badge i { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--acc); }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 6.4vw, 88px); line-height: 1.1; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero-copy .lead { max-width: 520px; font-size: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.price-line { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.price-line b { color: var(--ink); font-weight: 600; white-space: nowrap; }

.hero-art { flex: 1 1 440px; min-width: 0; position: relative; height: clamp(470px, 48vw, 620px); }
.vinyl-wrap { position: absolute; right: -4%; top: 50%; width: min(84%, 540px); aspect-ratio: 1 / 1; transform: translateY(-50%); }
.vinyl {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #15141C 0 1.5px, var(--vinyl) 1.5px 3.5px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.vinyl .label { position: absolute; left: 31%; top: 31%; width: 38%; height: 38%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--vinyl); }
.vinyl .label img { width: 100%; height: 100%; object-fit: cover; }
.vinyl .hole { position: absolute; left: 48.5%; top: 48.5%; width: 3%; height: 3%; border-radius: 50%; background: var(--vinyl); }
.vinyl-sheen { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 20deg, transparent 0deg, rgba(255, 255, 255, 0.10) 40deg, transparent 80deg, transparent 180deg, rgba(255, 255, 255, 0.07) 220deg, transparent 260deg); }
.phone { position: absolute; left: 0; top: 0; z-index: 2; width: 48%; max-width: 290px; border-radius: 40px; padding: 8px; background: #1D1B2B; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.09); }
.phone img { width: 100%; height: auto; border-radius: 32px; }
.now {
  position: absolute; left: 24%; bottom: 0; z-index: 3; width: min(330px, 76%);
  padding: 16px 18px; border-radius: 22px; background: rgba(16, 14, 34, 0.58); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column; gap: 10px;
}
.now-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.now-top .mono { font-size: 11px; letter-spacing: 0.16em; color: var(--acc); }
.eqs { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.eqs i { width: 3px; height: 16px; border-radius: 2px; background: var(--acc); transform-origin: bottom; }
.now-title { display: flex; flex-direction: column; line-height: 1.35; }
.now-title strong { font-family: var(--serif); font-size: 20px; }
.now-title span { color: var(--muted); font-size: 14px; }
.bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.bar i { display: block; width: 34%; height: 3px; border-radius: 2px; background: var(--acc); }
.times { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--faint); }

/* ── 판 제목 띠 ─────────────────────── */
.ticker { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: rgba(0, 0, 0, 0.12); }
.ticker-track { display: flex; width: max-content; }
.ticker-track span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); white-space: nowrap; }
.ticker-track span::after { content: ''; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(244, 239, 231, 0.5); background: radial-gradient(circle, var(--acc) 0 3px, transparent 3.5px); }

/* ── 숫자 ───────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; padding-top: clamp(48px, 6vw, 80px); }
.stat { border-radius: 24px; padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: var(--serif); font-size: clamp(30px, 7.5vw, 46px); line-height: 1.1; color: var(--acc); }
.stat span { color: var(--muted); font-size: 15px; }

/* ── 플레이어 ───────────────────────── */
.players { display: flex; flex-direction: column; gap: 44px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { border-radius: 30px; padding: 22px 22px 28px; display: flex; flex-direction: column; gap: 22px; }
.shot { display: flex; justify-content: center; height: 360px; padding-top: 30px; overflow: hidden; border-radius: 22px; background: rgba(0, 0, 0, 0.22); }
.shot img { width: 62%; height: auto; align-self: flex-start; border-radius: 22px 22px 0 0; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 0 6px; }
.card-body .mono { font-size: 12px; letter-spacing: 0.14em; color: var(--faint); }
.card-body p { color: var(--muted); font-size: 16px; }

/* ── 수록 판 ────────────────────────── */
.records-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.records-head > p { max-width: 360px; }
.discs { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 36px 20px; margin-top: 48px; }
.disc { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.pd { position: relative; width: 100%; max-width: 164px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--vinyl); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 44px rgba(0, 0, 0, 0.45); }
.pd img { width: 100%; height: 100%; object-fit: cover; }
.pd::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.16) 2px 3px); }
.pd::after { content: ''; position: absolute; left: 44%; top: 44%; width: 12%; height: 12%; border-radius: 50%; background: var(--vinyl); box-shadow: 0 0 0 3px rgba(244, 239, 231, 0.22); }
.disc figcaption { display: flex; flex-direction: column; line-height: 1.4; }
.disc figcaption span { font-size: 16px; font-weight: 500; }
.disc figcaption small { font-size: 13px; color: var(--faint); }

/* ── 수면 기능 ──────────────────────── */
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; margin-top: 44px; }
.timer { flex: 1 1 340px; min-width: 0; border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.timer .mono { font-size: 13px; color: var(--acc); }
.timer h3 { font-size: 28px; }
.timer p { color: var(--muted); font-size: 16px; }
.timer .shot { height: 400px; margin-top: auto; }
.timer .shot img { width: 58%; }
.feats { flex: 1.4 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feat { border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feat h3 { font-size: 19px; font-weight: 600; }
.feat p { color: var(--muted); font-size: 15px; }
.ico { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.ico svg { stroke: var(--acc); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── 구매 ───────────────────────────── */
.buy { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; background: rgba(255, 255, 255, 0.07); box-shadow: 0 50px 140px -60px var(--acc); }
.buy::before { content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px); pointer-events: none; }
.buy-copy { position: relative; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.price b { font-family: var(--serif); font-size: clamp(52px, 6.4vw, 80px); line-height: 1; white-space: nowrap; color: var(--acc); }
.price span { color: var(--muted); font-size: 16px; }
.buy-copy .btns { margin-top: 8px; }
.checks { position: relative; flex: 1 1 320px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks svg { flex: 0 0 auto; stroke: var(--acc); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── 신보 · 제안 ────────────────────── */
.new-left { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.next { border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.next-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tag { font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--acc); color: var(--acc); }
.upcoming { display: flex; gap: 18px; align-items: center; }
.upcoming h3 { font-family: var(--serif); font-size: 22px; }
.upcoming p { color: var(--muted); font-size: 15px; }
.mini-disc { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: repeating-radial-gradient(circle at 50% 50%, #15141C 0 1.5px, var(--vinyl) 1.5px 3.5px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.mini-disc::after { content: ''; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle, var(--vinyl) 0 3.5px, var(--c) 4px); }
.yours { border: 1px dashed rgba(255, 255, 255, 0.24); border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.yours h3 { font-family: var(--serif); font-size: 22px; }
.yours p { color: var(--muted); font-size: 15px; }

/* ── 양식 ───────────────────────────── */
.panel { flex: 1 1 440px; min-width: 0; border-radius: 30px; padding: clamp(24px, 3vw, 36px); }
.panel-fb { flex: 1.15 1 460px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.form-head p { color: var(--muted); font-size: 15px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend, .lbl { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.lbl small { color: var(--faint); font-size: 15px; font-weight: 400; }
.field { display: flex; flex-direction: column; }
.field .lbl { margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(8, 8, 24, 0.35);
  color: var(--ink); font: inherit; font-size: 16px;
}
.field textarea { line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 30%, transparent); }
.field .count { margin-top: 6px; align-self: flex-end; font: 12px var(--mono); color: var(--faint); }
::placeholder { color: rgba(244, 239, 231, 0.55); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; font-size: 15px; cursor: pointer; }
.chip:hover { border-color: rgba(255, 255, 255, 0.4); }
.chip[aria-pressed="true"] { border-color: var(--acc); background: var(--acc); color: var(--on-acc); font-weight: 600; }
.chips-ink .chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); }
.stars-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.star-btns { display: flex; gap: 4px; }
.star { width: 48px; height: 48px; border: 0; padding: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.star svg { width: 32px; height: 32px; fill: none; stroke: #8C88A0; stroke-width: 1.5; stroke-linejoin: round; transition: transform .15s ease; }
.star.on svg { fill: var(--acc); stroke: var(--acc); }
.star:hover svg { transform: scale(1.12); }
.rating-text { margin-left: 10px; font-size: 15px; color: var(--muted); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--acc); }
.submit { min-height: 54px; border: 0; border-radius: 16px; background: var(--acc); color: var(--on-acc); font-size: 17px; font-weight: 600; cursor: pointer; }
.submit:disabled { opacity: 0.6; cursor: progress; }
.form-msg { min-height: 1.5em; font-size: 15px; color: #FFB4A8; }
.form-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.sent[hidden], .form[hidden] { display: none; }
.sent h3:focus { outline: none; }
.sent p { color: var(--muted); font-size: 16px; max-width: 360px; }
.sent-disc { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: repeating-radial-gradient(circle at 50% 50%, #15141C 0 1.5px, var(--vinyl) 1.5px 3.5px); }
.sent-disc::after { content: ''; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); }
.panel-fb .sent { min-height: 520px; }
.sent svg { stroke: var(--acc); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── 의견 ───────────────────────────── */
.fb { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.fb-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.promises { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.promises li { display: flex; gap: 16px; align-items: flex-start; }
.promises .ico { width: 44px; height: 44px; border-radius: 14px; }
.promises .ico svg { stroke-width: 1.8; }
.promises li > span:last-child { display: flex; flex-direction: column; }
.promises strong { font-weight: 600; }
.promises small { color: var(--muted); font-size: 15px; }

/* ── FAQ ────────────────────────────── */
.faq { max-width: 880px; display: flex; flex-direction: column; gap: 28px; }
.faq .h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.2; }
.faq-list { border-radius: 28px; padding: 6px 26px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; stroke: var(--acc); fill: none; stroke-width: 1.8; stroke-linecap: round; transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }

/* ── 푸터 ───────────────────────────── */
footer { position: relative; z-index: 1; margin-top: clamp(96px, 12vw, 168px); border-top: 1px solid var(--line); }
.foot { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 56px; display: flex; flex-direction: column; gap: 48px; }
.morning { display: flex; flex-direction: column; gap: 14px; }
.morning p:last-child { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.15; letter-spacing: -0.02em; }
.morning p:last-child span { color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--line); }
.foot-info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--faint); }
.foot-info p { max-width: 460px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.foot-brand b { font-family: var(--serif); font-size: 20px; }
.foot-brand span { color: var(--faint); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: flex-start; font-size: 15px; }
.foot-links a { padding: 10px 12px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ── 움직임 ─────────────────────────── */
@keyframes ls-spin { to { transform: rotate(360deg); } }
@keyframes ls-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes ls-tw { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes ls-marquee { to { transform: translateX(-50%); } }
@keyframes ls-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .spin { animation: ls-spin 4s linear infinite; }
  .pd { transition: transform .6s ease; }
  .disc:hover .pd { animation: ls-spin 5s linear infinite; }
  .eqs i { animation: ls-eq 1.1s ease-in-out infinite; }
  .eqs i:nth-child(1) { animation-delay: -0.2s; }
  .eqs i:nth-child(2) { animation-delay: -0.7s; }
  .eqs i:nth-child(3) { animation-delay: -0.4s; }
  .eqs i:nth-child(4) { animation-delay: -0.9s; }
  .eqs i:nth-child(5) { animation-delay: -0.1s; }
  .stars .tw { animation: ls-tw 4.5s ease-in-out infinite; }
  .ticker-track.ready { animation: ls-marquee 70s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }

  /* 스크롤에 맞춰 떠오르기: 지원 브라우저는 CSS만으로, 나머지는 site.js가 .io/.in 클래스로 */
  @supports (animation-timeline: view()) {
    .reveal { animation: ls-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
  .io .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
  .io .reveal.in { opacity: 1; transform: none; }
}
.agree a { color: var(--acc); text-underline-offset: 3px; white-space: nowrap; }
