/* ─────────────────────────────────────────────────────────────────────
   한때 랜딩 — 수채 종이 위에 놓인 사진과 길 한 줄
   색은 앱에서 온다: 잎 라임 · 햇살 노랑 · 깊은 비취 (ColorTokens.swift)
   빛은 왼쪽 위에서 온다. 그림자는 모두 오른쪽 아래로 진다.
   ───────────────────────────────────────────────────────────────────── */

:root {
  color-scheme: light;
  --paper: #fbfaf5;
  --paper-deep: #f3f1e8;
  --ink: #1d2618;
  --ink-2: #5d6656;
  --ink-3: #8b9384;
  --lime: #67b825;
  --lime-hi: #8dd744;
  --sun: #fac425;
  --jade: #0b7a59;
  --rule: #e3e2d6;

  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;

  --gut: 132px;
  --measure: 600px;
  --gap: 56px;
  --side: 32px;

  --shadow-print: 0 1px 1px rgb(40 50 20 / 10%), 6px 14px 28px -10px rgb(40 50 20 / 38%);
  --shadow-soft: 0 1px 0 rgb(255 255 255 / 70%) inset, 4px 10px 30px -12px rgb(40 50 20 / 30%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:root:lang(ja) { --sans: 'Pretendard JP Variable', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', sans-serif; }
:root:lang(zh) { --sans: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif; }
:root:lang(ja) body, :root:lang(zh) body { word-break: normal; line-break: strict; }
:root:lang(en) body { word-break: normal; }

/* 수채화지 결 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .42 0 0 0 0 .26 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgb(103 184 37 / 28%); }

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

a { color: var(--jade); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.25s ease; }
a:hover { background-size: 100% 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--side); }

.grid {
  display: grid;
  grid-template-columns: var(--gut) minmax(0, var(--measure)) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: start;
}
.grid > .gut { grid-column: 1; }
.grid > .main { grid-column: 2; }
.grid > .main--wide { grid-column: 2 / -1; }
.grid > .note, .grid > .side { grid-column: 3; }
.grid > .band { grid-column: 2 / -1; }

body { position: relative; }

/* 유리 — 앱의 Liquid Glass */
.glass {
  background: rgb(255 255 255 / 62%);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgb(255 255 255 / 75%);
  box-shadow: var(--shadow-soft);
}

/* ── 머리 ───────────────────────────────────────────────────────── */

.head {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  translate: -50% 0;
  width: min(1116px, calc(100% - 24px));
  height: 52px;
  padding: 0 8px 0 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 26px;
  background: rgb(255 255 255 / 66%);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  border: 1px solid rgb(255 255 255 / 80%);
  box-shadow: var(--shadow-soft);
  font-size: 14.5px;
}
.head a { background-image: none; color: var(--ink); }
.head__brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.head__brand img { width: 28px; height: 28px; border-radius: 7px; }
.head__run { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.head__run::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lime); translate: 0 -1px; }
.head__nav { margin-left: auto; display: flex; gap: 22px; }
.head__nav a { color: var(--ink-2); }
.head__nav a:hover { color: var(--ink); }
.head__lang { position: relative; font-size: 13.5px; }
.head__lang summary { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px; list-style: none; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.head__lang summary::-webkit-details-marker { display: none; }
.head__lang summary::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='8' cy='8' r='6.3'/%3E%3Cpath d='M1.8 8h12.4M8 1.7c1.8 1.8 2.6 3.9 2.6 6.3S9.8 12.5 8 14.3M8 1.7C6.2 3.5 5.4 5.6 5.4 8s.8 4.5 2.6 6.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='8' cy='8' r='6.3'/%3E%3Cpath d='M1.8 8h12.4M8 1.7c1.8 1.8 2.6 3.9 2.6 6.3S9.8 12.5 8 14.3M8 1.7C6.2 3.5 5.4 5.6 5.4 8s.8 4.5 2.6 6.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.head__lang summary:hover, .head__lang[open] summary { color: var(--ink); background: rgb(255 255 255 / 70%); }
.head__lang nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 150px; padding: 6px; border-radius: 16px; background: rgb(255 255 255 / 92%); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow-soft), 0 0 0 0.5px rgb(0 0 0 / 10%); z-index: 30; }
.head__lang nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); }
.head__lang nav a:hover { background: var(--paper-deep); }
.head__lang nav a[aria-current] { color: #3d8a0c; font-weight: 600; }
.head__get { padding: 8px 16px; border-radius: 18px; background: var(--ink); color: #fff !important; font-weight: 600; }

/* ── 첫 화면 ─────────────────────────────────────────────────────── */

.hero { position: relative; padding: 168px 0 0; min-height: min(100vh, 900px); }
.hero__wash {
  position: absolute;
  inset: 0 0 -160px 0;
  z-index: -1;
  background: url(img/splash-wide.jpg) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }

.hero__logo {
  margin: 0 0 28px;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--ink-2);
}
.hero__logo span { color: var(--lime); font-weight: 500; margin: 0 0.5em 0 0; }
.hero__logo span:last-child { margin: 0 0 0 0.25em; }

h1 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero__lede { margin: 30px 0 0; max-width: 30em; font-size: 20px; line-height: 1.7; color: #37412f; }

.cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta__meta { color: var(--ink-2); font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 52px; padding: 0 24px;
  border-radius: 26px;
  background: var(--ink); color: #fff;
  font-weight: 650; font-size: 16.5px;
  background-image: none;
  box-shadow: 4px 10px 22px -10px rgb(29 38 24 / 60%);
}
.btn svg { width: 20px; height: 20px; }
.btn small { font-size: 13px; font-weight: 500; opacity: 0.72; padding-left: 9px; border-left: 1px solid rgb(255 255 255 / 30%); }
.btn.is-soon { cursor: default; }
.btn--line { background: rgb(255 255 255 / 70%); color: var(--ink); border: 1px solid var(--rule); box-shadow: none; }

/* 사진 더미 */
.hero__pile { position: relative; height: 520px; }
.snap {
  position: absolute; margin: 0;
  padding: 12px 12px 0;
  background: #fff;
  box-shadow: var(--shadow-print);
  border-radius: 3px;
}
.snap img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1px; }
.snap figcaption { height: 46px; display: flex; align-items: center; font-size: 13.5px; color: var(--ink-2); letter-spacing: -0.01em; }
.snap--a { width: 74%; right: 0; top: 0; rotate: 3.2deg; }
.snap--b { width: 52%; left: 0; top: 190px; rotate: -5deg; z-index: 2; }
.snap--c { width: 46%; right: 4%; top: 300px; rotate: 1.6deg; z-index: 1; }

.entry {
  position: absolute; left: 6%; top: 28px; z-index: 3; margin: 0;
  width: 190px; padding: 16px 18px 16px;
  border-radius: 20px;
  background: rgb(255 255 255 / 72%);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / 80%);
  box-shadow: var(--shadow-soft);
  font-size: 15px; line-height: 1.55;
}
.entry img { border-radius: 17px; margin-bottom: 12px; box-shadow: 2px 6px 14px -6px rgb(40 80 10 / 50%); }
.entry dt { font-weight: 800; font-size: 20px; }
.entry dt small { font-weight: 400; font-size: 12.5px; color: var(--ink-3); margin-left: 6px; }
.entry dd { margin: 4px 0 0; }
.entry .ex { color: var(--ink-2); font-size: 13.5px; }
.entry .ex::before { content: '¶ '; color: var(--lime); }

.hero__hint { position: relative; margin-top: 72px; padding-left: calc(var(--side) + 34px); color: var(--ink-2); font-size: 15px; }
.hero__hint .stop { position: absolute; left: var(--side); top: 3px; }

/* ── 길 ─────────────────────────────────────────────────────────── */

.spine { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 0; pointer-events: none; overflow: visible; }
.spine path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spine__case { stroke: #fff; stroke-width: 10; filter: drop-shadow(2px 4px 4px rgb(40 50 20 / 18%)); }
.spine__line { stroke: var(--lime); stroke-width: 5; }

.rider {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: 84px; height: 108px; margin: -106px 0 0 -42px;
  pointer-events: none;
  filter: drop-shadow(4px 10px 8px rgb(40 50 20 / 28%));
  will-change: translate;
  opacity: 0; transition: opacity 0.4s;
}
.rider.is-on { opacity: 1; }

.stop {
  display: block; width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  border: 4px solid #cfd4c6;
  box-shadow: 2px 4px 8px -2px rgb(40 50 20 / 30%);
  transition: border-color 0.3s, scale 0.3s;
  position: relative; z-index: 2;
}
.stop.is-past { border-color: var(--lime); scale: 1.12; }
.stop--end.is-past { background: var(--lime); border-color: #fff; }

.gut { position: relative; padding-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gut b { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; background: var(--paper); padding: 1px 8px; border-radius: 10px; position: relative; z-index: 2; white-space: nowrap; transition: color 0.3s; }
.gut .stop.is-past + b { color: var(--ink); }

/* ── 구간 ───────────────────────────────────────────────────────── */

.sec { padding: 150px 0 0; position: relative; }
.sec:last-of-type { padding-bottom: 150px; }

h2 { margin: 0 0 28px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.24; font-weight: 800; letter-spacing: -0.03em; }
.prose p { margin: 0 0 1em; color: #2c3526; }
.prose p.gap { margin-top: 1.6em; }
.prose strong, .sub strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, rgb(141 215 68 / 45%) 62%); }
q { quotes: '“' '”'; }

.note { padding-top: 20px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.note p { margin: 0; }
.note hr { border: 0; border-top: 1px solid var(--rule); margin: 16px 0; width: 40px; }
.note__char { margin-top: 18px; width: 110px; height: 140px; filter: drop-shadow(3px 6px 6px rgb(40 50 20 / 25%)); }

.cap { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.band { margin-top: 44px; }

/* 선 세 가지 */
.legend { list-style: none; margin: 30px 0 0; padding: 20px 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-print); display: grid; gap: 14px; }
.legend li { display: grid; grid-template-columns: 96px 64px 1fr; align-items: center; gap: 14px; font-size: 16px; }
.legend b { font-weight: 700; }
.legend span { color: var(--ink-2); }
.ln { display: block; height: 0; border-top: 5px solid var(--lime); border-radius: 3px; }
.ln--near { border-top: 0; height: 5px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--lime) 0 14px, transparent 14px 22px); }
.ln--gap { border-top: 0; height: 5px; background: radial-gradient(circle, var(--lime) 2.4px, transparent 2.8px) 0 0 / 16px 5px repeat-x; }

/* ── 폰 ─────────────────────────────────────────────────────────── */

.side { padding-top: 6px; }
.phone {
  position: relative;
  width: min(100%, 330px); aspect-ratio: 9 / 18.6;
  margin: 0 auto;
  border-radius: 46px;
  border: 9px solid #15190f;
  background: #f5f3ee;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px #3a4031, 10px 24px 50px -16px rgb(40 50 20 / 55%);
  rotate: 1.4deg;
}
.phone__map { position: absolute; inset: 0; }
.phone__map svg, .replay__map svg { width: 100%; height: 100%; display: block; }
.phone__top { position: absolute; left: 12px; top: 14px; padding: 9px 16px; border-radius: 20px; display: flex; flex-direction: column; line-height: 1.25; }
.phone__top span { font-size: 11px; color: var(--ink-2); }
.phone__top b { font-size: 19px; font-weight: 800; }
.card { position: absolute; left: 12px; right: 12px; bottom: 76px; padding: 14px 16px; border-radius: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.card b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.card b i { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 2px; }
.card small { font-size: 11px; color: var(--ink-2); }
.tabs { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 54px; border-radius: 27px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--ink-2); padding: 0 6px; }
.tabs .on { color: #3d8a0c; background: rgb(255 255 255 / 80%); border-radius: 21px; padding: 11px 0; }

/* 지도 위 핀 */
.pin-photo image { clip-path: circle(50%); }

/* ── 날들 ───────────────────────────────────────────────────────── */

.days { padding: 18px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-print); }
.days__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.days__cap { font-size: 15px; color: var(--ink-2); }
.seg { display: inline-flex; padding: 3px; border-radius: 14px; background: var(--paper-deep); }
.seg button { border: 0; background: none; min-width: 52px; height: 36px; padding: 0 12px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; font-variant-numeric: tabular-nums; }
.seg button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(40 50 20 / 22%); }
.days__grid {
  display: grid; grid-template-columns: repeat(var(--cols), 1fr);
  gap: clamp(0.5px, calc(12px / var(--cols)), 3px);
  aspect-ratio: 5 / 3; overflow: hidden; border-radius: 14px;
  align-content: start;
  background: #f0efe8;
}
.days__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ── 리플레이 ───────────────────────────────────────────────────── */

.replay__stage { position: relative; aspect-ratio: 900 / 520; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-print); background: #f5f3ee; }
.replay__map { position: absolute; inset: 0; }
.replay__title { position: absolute; left: 16px; top: 16px; padding: 10px 18px; border-radius: 22px; display: flex; flex-direction: column; line-height: 1.3; }
.replay__title b { font-size: 18px; font-weight: 800; }
.replay__title span { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.replay__pop {
  position: absolute; z-index: 3; width: 22%; min-width: 120px;
  translate: -50% calc(-100% - 26px);
  transition: opacity 0.3s, scale 0.35s cubic-bezier(0.3, 1.5, 0.5, 1);
  transform-origin: 50% 100%;
}
.replay__pop[hidden] { display: block; opacity: 0; scale: 0.6; pointer-events: none; }
.replay__pop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 4px solid #fff; border-radius: 10px; box-shadow: var(--shadow-print); }
.replay__pop img:nth-child(2) { position: absolute; left: 0; top: 0; z-index: -1; rotate: -7deg; translate: -10% -6%; }
.replay__pop img[hidden] { display: none; }
.replay__pop p { margin: 6px 0 0; padding: 4px 10px; width: max-content; max-width: 150%; border-radius: 12px; background: #fff; box-shadow: var(--shadow-print); font-size: 13px; line-height: 1.4; }
.replay__pop p:empty { display: none; }
.replay__bar { margin-top: 16px; display: flex; align-items: center; gap: 16px; }
.play { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 4px 10px 22px -10px rgb(29 38 24 / 60%); }
.play svg { width: 20px; height: 20px; fill: #fff; }
.play .i-pause, .play.is-playing .i-play { display: none; }
.play.is-playing .i-pause { display: block; }
.replay__time { flex: none; min-width: 9.5em; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type='range'] { flex: 1; min-width: 0; accent-color: var(--lime); height: 28px; }

/* ── 액자 ───────────────────────────────────────────────────────── */

.frame__screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 30px; border: 10px solid #15190f; background: #000;
  box-shadow: 0 0 0 1.5px #3a4031, 10px 24px 50px -16px rgb(40 50 20 / 55%);
}
.frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; scale: 1.06; }
.frame__img.is-on { opacity: 1; animation: drift 6s linear forwards; }
@keyframes drift { from { scale: 1.0; } to { scale: 1.06; } }
.frame__tag { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 20px; max-width: 70%; }
.frame__tag svg { width: 56px; height: 56px; flex: none; }
.frame__tag div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.frame__tag b { font-size: 16px; font-weight: 700; }
.frame__tag span { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.frame__tag em { font-style: normal; font-size: 13.5px; margin-top: 2px; }
.frame__tag em:empty { display: none; }

/* ── 포스터 ─────────────────────────────────────────────────────── */

.poster { margin: 0 auto; width: min(100%, 340px); padding: 16px 16px 0; background: #fff; border-radius: 4px; box-shadow: var(--shadow-print); rotate: -2.2deg; }
.poster img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.poster figcaption { padding: 14px 2px 18px; display: flex; flex-direction: column; line-height: 1.45; }
.poster svg { width: 120px; margin-bottom: 4px; }
.poster b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.poster span { font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.poster small { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.04em; }
.side--poster .cap { margin-top: 28px; }

/* ── 한 주 정리 ─────────────────────────────────────────────────── */

.notice { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 22px; width: min(100%, 340px); margin: 0 auto 14px; }
.notice img { border-radius: 9px; }
.notice div { display: flex; flex-direction: column; line-height: 1.4; }
.notice b { font-size: 15px; font-weight: 700; }
.notice span { font-size: 12.5px; color: var(--ink-2); }
.week { width: min(100%, 340px); margin: 0 auto; padding: 20px; border-radius: 26px; background: rgb(255 255 255 / 80%); }
.week__bars { height: 84px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; align-items: end; }
.week__bars i { height: var(--h); border-radius: 7px; background: #dfe6d3; }
.week__bars i.on { background: linear-gradient(var(--lime-hi), var(--lime)); }
.week__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }
.week dl { margin: 16px 0 0; display: grid; gap: 7px; font-size: 14.5px; }
.week dl div { display: flex; justify-content: space-between; gap: 12px; }
.week dt { color: var(--ink-2); }
.week dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.week__pics { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.week__pics img { aspect-ratio: 1; object-fit: cover; border-radius: 9px; width: 100%; }

/* ── 배터리 ─────────────────────────────────────────────────────── */

.rest { margin-top: 32px; display: flex; align-items: center; gap: 0; }
.rest__hub { flex: none; width: 92px; height: 92px; border-radius: 50%; border: 2px dashed #b9bfb0; background: rgb(255 255 255 / 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; line-height: 1.3; }
.rest small { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.rest__way { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; }
.rest__way i { display: block; width: 100%; height: 11px; border-radius: 6px; background: var(--lime); border: 3px solid #fff; box-shadow: 2px 4px 6px -2px rgb(40 50 20 / 28%); }
.rest__way small { position: absolute; top: 18px; color: #3d8a0c; font-weight: 600; }

/* ── 개인정보 ───────────────────────────────────────────────────── */

.plate { position: relative; margin-top: 150px; padding: 150px 0; }
.plate__wash {
  position: absolute; inset: 0; z-index: -1;
  background: url(img/splash.jpg) center 20% / cover no-repeat;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  opacity: 0.9;
}
.plate h2 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.16; letter-spacing: -0.035em; margin-bottom: 36px; }
.plate .sub { margin: 0 0 0.8em; font-size: 20px; color: #2c3526; }
.plate .gap { margin-top: 1.6em; font-weight: 600; }
.plate .gut b, .plate .note { background: none; }
.plate .note { color: #47513f; }

/* ── 기능 목록 ──────────────────────────────────────────────────── */

.inv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inv section { padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-print); }
.inv h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #3d8a0c; }
.inv ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
.inv li { padding: 7px 0; border-top: 1px solid var(--rule); }
.inv li:first-child { border-top: 0; }
.inv small { color: var(--ink-3); font-size: 13px; margin-left: 4px; }

/* ── 자주 묻는 질문 ─────────────────────────────────────────────── */

.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); rotate: 45deg; translate: 0 -70%; transition: rotate 0.2s, translate 0.2s; }
.faq details[open] summary::after { rotate: -135deg; translate: 0 -20%; }
.faq details > div { padding: 0 0 22px; color: #2c3526; }
.faq p { margin: 0 0 0.7em; }

/* ── 바닥 ───────────────────────────────────────────────────────── */

.foot { position: relative; padding: 40px 0 96px; }
.box { margin: 0; padding: 26px 30px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-print); display: grid; grid-template-columns: 7em 1fr; gap: 9px 16px; font-size: 15.5px; }
.box .t { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.box .t img { border-radius: 7px; }
.box dt { color: var(--ink-3); }
.box dd { margin: 0; }
.maker { display: inline-flex; align-items: center; gap: 6px; }
.links { margin: 22px 0 0; display: flex; gap: 22px; font-size: 15px; }

/* ── 문서 (개인정보처리방침) ────────────────────────────────────── */

.doc { padding: 150px 0 80px; position: relative; }
.doc__wash { position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; background: url(img/splash-wide.jpg) center top / cover no-repeat; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); }
.doc__lede { font-size: 20px; margin: 24px 0 0; color: #2c3526; }
.doc__meta { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); }
.doc h2 { font-size: 24px; margin: 64px 0 14px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #2c3526; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 0.3em 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; line-height: 1.55; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-print); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--rule); }
.doc thead th { border-top: 0; font-size: 13.5px; color: var(--ink-2); font-weight: 600; background: #fafaf4; }
.doc tbody th { font-weight: 700; white-space: nowrap; }

/* ── 등장 ───────────────────────────────────────────────────────── */

.rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; } .d4 { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .frame__img.is-on { animation: none; }
  .frame__img { transition: none; }
}

/* ── 좁은 화면 ──────────────────────────────────────────────────── */

@media (max-width: 1020px) {
  :root { --gut: 96px; --gap: 36px; }
  .grid { grid-template-columns: var(--gut) minmax(0, 1fr); }
  .grid > .note, .grid > .side, .grid > .band, .grid > .main--wide { grid-column: 2; }
  .grid > .side { margin-top: 44px; }
  .note { padding-top: 8px; max-width: var(--measure); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__pile { height: 500px; max-width: 560px; }
  .inv { grid-template-columns: repeat(2, 1fr); }
  .head__nav { display: none; }
  .head__get { margin-left: 0; }
  .head__lang { margin-left: auto; }
}

@media (max-width: 640px) {
  :root { --gut: 30px; --gap: 14px; --side: 18px; }
  body { font-size: 17px; }
  .head { gap: 8px; }
  .head__lang summary { font-size: 0; gap: 0; padding: 0 11px; }
  .head__run { display: none; }
  .hero { padding-top: 116px; }
  .hero__wash { background-image: url(img/splash.jpg); }
  .hero__logo { font-size: 14px; margin-bottom: 20px; }
  .hero__lede { font-size: 18px; }
  .hero__pile { height: 400px; margin-top: 8px; }
  .snap { padding: 8px 8px 0; }
  .snap figcaption { height: 34px; font-size: 12px; }
  .snap--b { top: 150px; }
  .snap--c { top: 236px; }
  .entry { width: 150px; padding: 12px 14px; left: 0; top: 6px; font-size: 13.5px; border-radius: 16px; }
  .entry img { width: 48px; height: 48px; border-radius: 11px; margin-bottom: 8px; }
  .entry dt { font-size: 17px; }
  .hero__hint { margin-top: 40px; }
  .sec { padding-top: 104px; }
  .sec:last-of-type { padding-bottom: 104px; }
  .gut { padding-top: 10px; }
  .gut b { display: none; }
  .stop { width: 16px; height: 16px; border-width: 3px; }
  .spine__case { stroke-width: 8; }
  .spine__line { stroke-width: 4; }
  .rider { width: 58px; height: 75px; margin: -74px 0 0 -29px; }
  .legend { padding: 16px 18px; }
  .legend li { grid-template-columns: 56px 52px 1fr; gap: 10px; font-size: 15px; }
  .days { padding: 12px; border-radius: 22px; }
  .days__grid { aspect-ratio: 1; }
  .seg button { min-width: 44px; }
  .replay__stage { border-radius: 20px; }
  .replay__title { left: 10px; top: 10px; padding: 7px 13px; }
  .replay__title b { font-size: 14px; }
  .replay__title span { font-size: 11px; }
  .replay__pop { min-width: 92px; }
  .replay__pop p { font-size: 11.5px; }
  .replay__bar { flex-wrap: wrap; gap: 10px 14px; }
  .replay__bar input { flex-basis: 100%; }
  .frame__screen { border-width: 6px; border-radius: 20px; }
  .frame__tag { right: 8px; bottom: 8px; padding: 6px 12px 6px 6px; gap: 8px; border-radius: 14px; }
  .frame__tag svg { width: 38px; height: 38px; }
  .frame__tag b { font-size: 13px; }
  .frame__tag span, .frame__tag em { font-size: 11px; }
  .plate { margin-top: 104px; padding: 110px 0; }
  .plate .sub { font-size: 18px; }
  .inv { grid-template-columns: 1fr; }
  .rest__hub { width: 76px; height: 76px; font-size: 15px; }
  .box { grid-template-columns: 5.5em 1fr; padding: 22px; }
  .faq summary { font-size: 17.5px; }
}
.head__run + .head__lang { margin-left: auto; }
