/* grugru 공식 홈페이지. 글자와 버튼은 흑백, 색은 하늘·나무·잎에만 쓴다. */
:root {
  --paper: #F7F8F2;
  --ink: #262A26;
  --body: #5A6154;
  --soft: #82877E;
  --line: #E1E5D9;
  --card: #EEF0E8;
  --chip: #E6EADF;
  --night: #080D09;
  --on-night: #E9EDE2;
  --on-night-2: #A5AE9E;
  --leaf: #A6D96A;
  --leaf-deep: #3E8E4F;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 64px);
  --nav: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
button { font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
canvas { display: block; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
::selection { background: #D5E8B4; color: var(--ink); }

.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 14px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }

/* ── 상단 메뉴 ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .45s, background-color .45s, border-color .45s, backdrop-filter .45s;
}
.nav.solid { background: rgba(247, 248, 242, .9); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-color: var(--line); }
.nav.dark { color: var(--on-night); }
.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 20px; font-weight: 600; letter-spacing: -.035em; text-decoration: none; line-height: 1; }
.mark { height: 26px; width: auto; margin-top: -4px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-size: 14.5px; }
.nav-links a { text-decoration: none; opacity: .68; transition: opacity .25s; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-get { opacity: 1; padding: 8px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; transition: background-color .3s, color .3s; }
.nav:not(.dark) .nav-get:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.nav.dark .nav-get:hover { background: var(--on-night); color: var(--night); }

/* ── 첫 장면: 같은 나무가 이어지는 스크롤 이야기 ───────── */
.story { position: relative; }
.stage { position: relative; overflow: hidden; background: var(--bg, var(--paper)); color: var(--fg, var(--ink)); }
.stage-inner { position: relative; max-width: 1320px; margin: 0 auto; padding: var(--nav) var(--pad) 0; }
.scene { display: none; }
.panel { padding: 56px 0; max-width: 560px; }

.js .story { height: 640vh; height: 640svh; }
.js .stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.js .stage-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(16px, 3vw, 56px); }
.js .panels { grid-area: 1 / 1; position: relative; }
.js .scene { display: block; grid-area: 1 / 2; position: relative; min-height: 0; }
.js .panel { position: absolute; inset: 0; padding: 0 0 4vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform; }
.js .panel.on { visibility: visible; pointer-events: auto; }

.sky {
  --sky-x: 72%; --sky-y: 46%;
  position: absolute; inset: 0; pointer-events: none; opacity: var(--sky-o, 1);
  background:
    radial-gradient(46% 54% at var(--sky-x) var(--sky-y), var(--sky, rgba(194, 213, 215, .32)), transparent 72%),
    radial-gradient(24% 28% at calc(var(--sky-x) + 11%) calc(var(--sky-y) - 16%), var(--glow, rgba(244, 231, 192, .26)), transparent 72%);
}
.scene canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 83%; }
.js #tree { opacity: 0; transform: translateY(14px); transition: opacity 1.6s var(--ease) .1s, transform 1.8s var(--ease) .1s; }
.js.ready #tree { opacity: 1; transform: none; }

.hud { position: absolute; inset: 0 0 auto; height: 19%; display: grid; place-items: end center; text-align: center; pointer-events: none; }
.hud-item { grid-area: 1 / 1; opacity: 0; will-change: opacity, transform; }
.hud-timer { font-size: clamp(46px, 6.2vw, 88px); font-weight: 200; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.hud-result strong { display: block; font-size: clamp(20px, 2.1vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; }
.hud-result span, .hud-total span { font-size: 13.5px; color: var(--fg2, var(--body)); }
.hud-total { display: grid; }
.hud-total strong { font-size: clamp(30px, 3.6vw, 52px); font-weight: 300; letter-spacing: -.04em; line-height: 1.2; font-variant-numeric: tabular-nums; }

.eyebrow, .step { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 13.5px; letter-spacing: .01em; color: var(--fg2, var(--body)); }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .55; }
.step::before { content: ""; width: 13px; height: 8px; border-radius: 0 100% 0 100% / 0 100% 0 100%; background: var(--leaf); transform: rotate(-8deg); }
h1 { font-size: clamp(42px, 6vw, 88px); font-weight: 600; line-height: 1.12; letter-spacing: -.048em; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }
.js .line > span { transform: translateY(108%); transition: transform 1.25s var(--ease) calc(var(--i) * 110ms + 120ms); }
.js.ready .line > span { transform: none; }
.js .panel-hero > :not(h1) { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease) .55s, transform 1.2s var(--ease) .55s; }
.js .panel-hero > .actions { transition-delay: .7s; }
.js.ready .panel-hero > :not(h1) { opacity: 1; transform: none; }
.panel h2 { font-size: clamp(32px, 4.1vw, 60px); font-weight: 600; line-height: 1.16; letter-spacing: -.042em; }
.panel h1 + p, .panel h2 + p { margin-top: clamp(18px, 2.2vw, 28px); max-width: 27em; font-size: clamp(16px, 1.3vw, 19px); color: var(--fg2, var(--body)); }

.actions { display: flex; align-items: center; gap: 6px; margin-top: clamp(26px, 3.2vw, 42px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 19px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .12s var(--ease), box-shadow .35s, background-color .3s; }
.btn:active { transform: scale(.965); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { box-shadow: 0 14px 32px -14px rgba(38, 42, 38, .6); }
.btn-quiet { padding: 0 20px; background: transparent; color: inherit; }
.btn-quiet::after { content: "→"; transition: transform .35s var(--ease); }
.btn-quiet:hover::after { transform: translateX(4px); }

.hint { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: none; align-items: center; gap: 10px; font-size: 12.5px; color: var(--body); white-space: nowrap; }
.js .hint { display: flex; }
.hint i { width: 1px; height: 26px; background: currentColor; transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 0; } 35% { transform: scaleY(1); opacity: .8; } 100% { transform: translateY(14px) scaleY(.2); opacity: 0; } }
.rail { position: absolute; right: max(14px, calc(var(--pad) * .4)); top: 50%; width: 1px; height: 112px; margin-top: -56px; background: color-mix(in srgb, currentColor 16%, transparent); display: none; }
.js .rail { display: block; }
.rail i { display: block; width: 100%; height: 100%; background: currentColor; transform-origin: top; transform: scaleY(0); }

/* ── 본문 공통 ─────────────────────────────────────────── */
.section { padding: clamp(96px, 14vw, 196px) 0; scroll-margin-top: var(--nav); }
.section h2 { font-size: clamp(34px, 4.8vw, 66px); font-weight: 600; line-height: 1.15; letter-spacing: -.044em; }
.section p { color: var(--body); }
.section-head { max-width: 760px; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) calc(var(--i, 0) * 90ms), transform 1.2s var(--ease) calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── 숲 ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.split .copy h2 + p { margin-top: 26px; max-width: 26em; font-size: clamp(16px, 1.3vw, 19px); }
.forest-visual { position: relative; aspect-ratio: 400 / 430; }
.forest-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tip { position: absolute; left: 0; top: 0; z-index: 2; padding: 7px 12px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.4; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 2px)); transition: opacity .25s, transform .35s var(--ease); }
.tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 10px)); }

/* ── 기능 카드 ─────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(40px, 6vw, 80px); }
.card { position: relative; isolation: isolate; overflow: hidden; grid-column: span 5; display: flex; flex-direction: column; gap: 32px; padding: clamp(24px, 2.8vw, 38px); border-radius: 30px; background: var(--card); }
.card-wide { grid-column: span 7; }
.card-full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(24px, 5vw, 72px); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .8), transparent 62%); transition: opacity .5s; }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; font-size: 23px; font-weight: 600; letter-spacing: -.035em; line-height: 1.3; }
.card h3 em { margin-left: 6px; padding: 3px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px #CBD1C3; font-size: 12px; font-style: normal; font-weight: 500; letter-spacing: 0; color: var(--body); vertical-align: 3px; }
.card p { max-width: 30em; font-size: 15.5px; line-height: 1.62; }
.demo { margin-top: auto; padding: clamp(18px, 2vw, 24px); border-radius: 22px; background: var(--paper); }
.cap { font-size: 12.5px; color: var(--soft); }
.track { height: 4px; margin-top: 14px; border-radius: 2px; background: #DCE0D4; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: inherit; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .15s; }
.in .track i, html:not(.js) .track i { transform: scaleX(var(--w, 0)); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--chip); color: #5F6A56; font-size: 13.5px; cursor: pointer; transition: background-color .3s, color .3s, transform .12s var(--ease); }
.chips button:hover { background: #DCE1D3; }
.chips button:active { transform: scale(.95); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.rhythm-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.rhythm-head strong { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.rhythm-goal { font-size: 14px; color: var(--body); transition: opacity .3s; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(6px, 1vw, 12px); height: 104px; margin: 22px 0 20px; }
.days span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.days i { width: 100%; max-width: 30px; height: max(3px, calc(var(--h) * 70px)); border-radius: 5px; background: #C3C9BB; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease) calc(var(--i) * 60ms + 250ms); }
.in .days i, html:not(.js) .days i { transform: none; }
.days .now i { background: var(--ink); }
.days b { font-size: 11.5px; font-weight: 400; color: var(--soft); line-height: 1; }

.usage { display: flex; flex-direction: column; gap: 22px; }
.usage-head { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.usage-head div { display: grid; }
.usage-head strong { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.04em; line-height: 1.3; }
.usage-head .guess { color: #9AA190; }
/* 막대 높이는 하루 7시간 기준, 점선은 예상한 3시간이다. */
.usage-chart { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: clamp(6px, 1vw, 12px); height: 150px; }
.usage-chart i { height: calc(var(--h) * 100%); border-radius: 5px; background: #C3C9BB; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease) calc(var(--i) * 60ms + 250ms); }
.in .usage-chart i, html:not(.js) .usage-chart i { transform: none; }
.usage-line { position: absolute; inset: auto 0 42.9%; height: 0; border-top: 1px dashed var(--ink); opacity: 0; transition: opacity .8s .9s; }
.in .usage-line, html:not(.js) .usage-line { opacity: 1; }
.usage-line b { position: absolute; right: 6px; bottom: 6px; padding: 4px 7px; border-radius: 7px; background: var(--paper); font-size: 11.5px; font-weight: 500; line-height: 1; color: var(--ink); }

.block { display: grid; gap: 16px; }
.apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(6px, 1vw, 12px); }
.app { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 27%; background: var(--chip); color: #58604F; transition: background-color .6s var(--ease), transform .6s var(--ease); }
.app svg { width: 54%; height: 54%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s; }
.app::after { content: ""; position: absolute; inset: 0; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .6s var(--ease); background: center / 40% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9EDE2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.5' y='10.5' width='13' height='9.5' rx='2.5'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5'/%3E%3C/svg%3E"); }
.block.on .app.picked { background: var(--ink); transform: scale(.93); }
.block.on .app.picked svg { opacity: 0; }
.block.on .app.picked::after { opacity: 1; transform: none; }
.block.on .app.picked:nth-child(3) { transition-delay: .07s; }
.block.on .app.picked:nth-child(5) { transition-delay: .14s; }
.switch { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 0 8px 0 16px; border: 0; border-radius: 15px; background: var(--chip); font-size: 14.5px; font-weight: 500; cursor: pointer; }
.switch i { position: relative; width: 46px; height: 28px; border-radius: 14px; background: #C6CCBE; transition: background-color .35s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20, 26, 20, .22); transition: transform .45s var(--ease); }
.switch[aria-checked="true"] i { background: var(--ink); }
.switch[aria-checked="true"] i::after { transform: translateX(18px); }

.surfaces { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 14px; padding: 0; background: none; }
.mini { width: 100%; aspect-ratio: 400 / 440; }
.widget, .live { display: grid; align-items: center; gap: 6px; padding: 16px 18px 16px 10px; border-radius: 24px; }
.widget { grid-template-columns: 40% minmax(0, 1fr); background: var(--paper); box-shadow: 0 16px 34px -24px rgba(38, 42, 38, .4); }
.widget-text { display: grid; }
.widget-text strong { font-size: clamp(19px, 2vw, 27px); font-weight: 700; letter-spacing: -.04em; line-height: 1.3; }
.widget-text .track { margin-top: 12px; }
.live { position: relative; grid-template-columns: 44% minmax(0, 1fr); background: linear-gradient(155deg, #2C312C, #151916); color: var(--on-night); box-shadow: 0 16px 34px -22px rgba(8, 13, 9, .7); }
.live-brand { position: absolute; right: 16px; top: 11px; font-size: 10.5px; opacity: .55; }
.live-text { display: grid; justify-items: center; gap: 8px; padding-top: 8px; }
.live-text strong { font-size: clamp(23px, 2.5vw, 33px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.live.paused .live-text strong { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .38; } }
.live button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1px rgba(233, 237, 226, .55); cursor: pointer; transition: background-color .3s, transform .12s var(--ease); }
.live button:hover { background: rgba(233, 237, 226, .1); }
.live button:active { transform: scale(.92); }
.live button i { width: 10px; height: 12px; border: solid currentColor; border-width: 0 3px; }
.live button[aria-pressed="true"] i { width: 0; height: 0; margin-left: 3px; border-width: 6.5px 0 6.5px 10px; border-color: transparent transparent transparent currentColor; }

.card-full .card-copy { flex: 0 0 min(36%, 360px); }
.sound { flex: 1; min-width: 0; margin: 0; padding: 0; background: none; display: grid; gap: 20px; }
.bars { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.bars i { width: 2px; height: 100%; border-radius: 1px; background: #9BA490; transform: scaleY(.12); will-change: transform; }

/* ── 개인정보 ─────────────────────────────────────────── */
.privacy { background: var(--night); color: var(--on-night); }
.privacy .eyebrow { color: var(--on-night-2); }
.privacy h2 { font-size: clamp(46px, 8.4vw, 124px); line-height: 1.06; letter-spacing: -.052em; }
.privacy .lead { margin-top: clamp(26px, 3vw, 40px); max-width: 30em; font-size: clamp(17px, 1.45vw, 21px); color: var(--on-night-2); }
.facts { list-style: none; margin: clamp(56px, 8vw, 104px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(233, 237, 226, .16); }
.facts li { display: grid; gap: 6px; padding: 28px 24px 4px 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid rgba(233, 237, 226, .16); }
.facts strong { font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.facts span { font-size: 14.5px; color: var(--on-night-2); }
.more { display: inline-flex; gap: 8px; margin-top: clamp(40px, 5vw, 64px); padding-bottom: 4px; font-size: 15.5px; text-decoration: none; box-shadow: 0 1px 0 rgba(233, 237, 226, .4); }
.more span { transition: transform .35s var(--ease); }
.more:hover span { transform: translateX(5px); }

/* ── 받기 ─────────────────────────────────────────────── */
.cta { text-align: center; padding-bottom: clamp(88px, 11vw, 150px); }
.cta-tree { width: min(360px, 72vw); aspect-ratio: 400 / 470; margin: 0 auto 4px; }
.cta p { margin-top: 20px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.store { display: grid; min-width: 180px; padding: 12px 24px 13px; border-radius: 19px; background: var(--ink); color: var(--paper); text-align: left; text-decoration: none; transition: transform .12s var(--ease), box-shadow .35s; }
.store small { font-size: 11.5px; line-height: 1.5; opacity: .72; }
.store span { font-size: 18px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.store:not([aria-disabled="true"]):hover { box-shadow: 0 14px 32px -14px rgba(38, 42, 38, .6); }
.store:not([aria-disabled="true"]):active { transform: scale(.97); }
.store[aria-disabled="true"] { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px #CDD3C5; cursor: default; }

.footer { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--body); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer .brand { font-size: 17px; color: var(--ink); }
.footer nav { display: flex; gap: 22px; margin-right: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .business { flex-basis: 100%; min-width: 0; font-size: 12px; font-style: normal; line-height: 1.8; }

/* ── 문서 페이지(개인정보처리방침) ─────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: calc(var(--nav) + clamp(48px, 8vw, 96px)) var(--pad) clamp(72px, 10vw, 128px); }
.doc h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.042em; line-height: 1.2; }
.doc .date { margin-top: 14px; font-size: 14.5px; color: var(--soft); }
.doc h2 { margin: 56px 0 14px; font-size: 21px; font-weight: 600; letter-spacing: -.03em; line-height: 1.4; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.78; color: #454B41; }
.doc > p { margin-top: 14px; }
.doc .intro { margin-top: 36px; }
.doc ul { margin: 12px 0 0; padding-left: 1.15em; }
.doc li + li { margin-top: 10px; }
.doc strong { font-weight: 600; color: var(--ink); }
.doc .table { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.doc th, .doc td { padding: 14px 18px; text-align: left; vertical-align: top; color: #454B41; }
.doc th { font-size: 13px; font-weight: 500; color: var(--soft); background: var(--card); }
.doc tr + tr td { border-top: 1px solid var(--line); }
.doc td:last-child { white-space: nowrap; }
.doc .todo { padding: 1px 7px; border-radius: 7px; background: #F0E7C6; color: #5C4A12; font-size: .92em; }

/* ── 좁은 화면 ─────────────────────────────────────────── */
@media (max-width: 859px) {
  .nav-links a:not(.nav-get) { display: none; }
  .js .stage-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 52fr) minmax(0, 48fr); gap: 0; }
  .js .scene { grid-area: 1 / 1; }
  .js .panels { grid-area: 2 / 1; }
  .js .panel { justify-content: flex-start; padding: 6px 0 0; }
  .sky { --sky-x: 50%; --sky-y: 30%; background: radial-gradient(86% 40% at var(--sky-x) var(--sky-y), var(--sky, rgba(194, 213, 215, .32)), transparent 72%), radial-gradient(44% 22% at 74% 16%, var(--glow, rgba(244, 231, 192, .26)), transparent 72%); }
  h1 { font-size: clamp(34px, 10.2vw, 50px); }
  .panel h2 { font-size: clamp(29px, 8.4vw, 42px); }
  .eyebrow, .step { margin-bottom: 14px; }
  .panel h1 + p, .panel h2 + p { margin-top: 14px; font-size: 15.5px; line-height: 1.58; }
  .actions { margin-top: 20px; }
  .btn { min-height: 52px; padding: 0 26px; }
  .hint, .js .hint { display: none; }
  .rail { height: 72px; margin-top: -36px; right: 9px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .card, .card-wide { grid-column: 1 / -1; }
  .card-full { flex-direction: column; align-items: stretch; }
  .card-full .card-copy { flex: none; }
  .facts { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .facts li, .facts li + li { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(233, 237, 226, .16); }
}
@media (max-width: 859px) and (max-height: 620px) {
  .panel-hero .eyebrow { display: none; }
}
@media (max-width: 480px) {
  .surfaces { grid-template-columns: minmax(0, 1fr); }
  .widget, .live { grid-template-columns: 38% minmax(0, 1fr); }
  .store { min-width: 0; flex: 1 1 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .line > span, .js #tree, .js .panel-hero > :not(h1) { transform: none; }
}
