/* 스핀업 스타일 — 시맨틱 요소 위주(거의 클래스 없음) + 네이티브 CSS 중첩 + position: sticky + scroll-snap. 파일 하나.
   BEM·유틸리티·@layer·@scope 없음. 변형은 data-* 속성으로만 구분한다.

   목차
   0. 토큰 · 폰트           1. 리셋 · 기본 요소(제목·본문·표·details)   2. 헤더 · 푸터 · 약관 모달
   3. 공용 조각: 버튼 · 태그 · 등급 · 막대 · 필터 · 카드 · 사양표 · 2단 레이아웃
   4. 홈 히어로            5. 스크롤리텔링 (sticky 탁구대 + 단계)     6. 홈·서브 섹션별(장비·스타일·시즌·소식·설치)
   7. 폰 목업              8. 서브 페이지(상세·표·FAQ·기사)           9. 반응형 · reduced-motion

   쓰는 클래스(전부): logo btn skip menu-btn stores store tag grade dots bar form stage step phone radar scrolly company rating */

/* ── 0. 토큰 · 폰트 ───────────────────────────────────────────── */
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/IBMPlexMono-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #f4f7fc;
  --paper: #fff;
  --ink: #0b1b3a;
  --mute: #4d5c7c;
  --line: #d6e0f0;
  --table: #124aa8;
  --table-d: #0b3278;
  --ball: #ff6a13;
  --ball-d: #d9520a;
  --cyan: #0089b8;
  --red: #e11d48;
  --violet: #6d4bff;
  --ok: #12a05c;
  --display: 'Archivo', 'Pretendard', sans-serif;
  --body: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: 'Plex Mono', ui-monospace, monospace;
  /* 좌우 여백 — 1200px 보다 넓은 화면에서는 가운데 정렬처럼 늘어난다. 래퍼 클래스 없이 직계 자식에 씌운다. */
  --pad: max(20px, calc((100% - 1200px) / 2));
}

/* ── 1. 리셋 · 기본 요소 ──────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--body); word-break: keep-all; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ball); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, dt { margin: 0; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
small { font-size: .82em; color: var(--mute); }
b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ball); color: #fff; padding: 10px 16px; font-weight: 700; &:focus { left: 0; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; }
h1 { font-size: clamp(32px, 5.4vw, 60px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; }
h3 { font-size: 19px; font-weight: 800; }
:lang(ko) :is(h1, h2, h3) { font-family: var(--display); }

table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper);
  th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
  thead th { font: 500 12px/1.3 var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--ink); white-space: nowrap; }
  tbody th { font-weight: 700; }
  tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
  tbody tr:hover { background: #f3f7ff; }
  tr[data-top] th, tr[data-top] td:first-child { box-shadow: inset 4px 0 0 var(--ball); }
  th small { display: block; }
}
[data-scroll] { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  &:has(svg) { border: 0; background: none; }
  table { min-width: 640px; }
}

details { border-bottom: 1px solid var(--line);
  summary { cursor: pointer; padding: 16px 36px 16px 0; font-weight: 700; list-style: none; position: relative;
    &::-webkit-details-marker { display: none; }
    &::after { content: '+'; position: absolute; right: 4px; top: 12px; font: 500 24px/1 var(--mono); color: var(--ball); }
  }
  &[open] summary::after { content: '–'; }
  p { padding: 0 0 18px; color: var(--mute); max-width: 70ch; }
}

/* ── 2. 헤더 · 푸터 · 약관 모달 ───────────────────────────────── */
body > header { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 28px; min-height: 66px; padding-inline: var(--pad);
  background: rgb(255 255 255 / .93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  nav { margin-left: auto; }
  nav ul { display: flex; gap: 4px; }
  nav a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 15px;
    &:hover { background: #eaf1ff; }
    &[aria-current] { color: var(--table); box-shadow: inset 0 -3px 0 var(--ball); border-radius: 0; }
  }
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  b { font: 800 22px/1 var(--display); letter-spacing: .02em; }
  span { font-weight: 700; font-size: 13px; color: var(--mute); }
}
.menu-btn { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 8px 14px; font-weight: 700; }

.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; background: var(--ball); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--ball); transition: transform .15s, background .15s;
  &:hover { background: var(--ball-d); border-color: var(--ball-d); transform: translateY(-1px); }
  &[data-line] { background: transparent; color: var(--ink); border-color: var(--ink); &:hover { background: var(--ink); color: #fff; } }
}
body > header .btn { padding: 8px 16px; font-size: 14px; }

footer { background: #091631; color: #c9d4ee; padding-block: 56px 36px;
  a { text-decoration-color: #4a5c85; &:hover { color: #fff; } }
  > section { padding-inline: var(--pad); }
  > section:first-child { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #243459; }
  .logo b { color: #fff; } .logo span { color: #9fb0d6; }
  p { margin-top: 14px; font-size: 14px; max-width: 46ch; }
  h2 { font: 500 12px/1 var(--mono); color: #7f93c2; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
  li { margin-bottom: 8px; font-size: 14px; }
  .company { display: flex; gap: 22px; padding-top: 28px; font-size: 12.5px; color: #93a4cb; line-height: 1.75;
    p { margin: 0 0 4px; max-width: none; font-size: 12.5px; }
  }
  .rating { flex: none; width: 54px; height: 64px; border: 2px solid #c9d4ee; border-radius: 6px; text-align: center; padding-top: 6px; color: #fff;
    b { display: block; font: 800 26px/1 var(--display); } span { font-size: 10px; display: block; margin-top: 2px; }
  }
}

dialog { border: 0; padding: 0; border-radius: 16px; width: min(680px, calc(100% - 32px)); max-height: 82vh; color: var(--ink); background: var(--paper); box-shadow: 0 30px 80px rgb(5 20 60 / .4);
  &::backdrop { background: rgb(5 20 50 / .55); }
  article > header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  article > header h2 { font-size: 20px; }
  article > header button { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 6px 12px; font-weight: 700; }
  article > div { padding: 8px 24px 28px; font-size: 14.5px; h3 { margin: 22px 0 6px; font-size: 16px; } p { margin: 0 0 8px; color: #33415f; } }
}

/* ── 3. 공용 조각 ─────────────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.store { display: flex; align-items: center; gap: 10px; min-width: 150px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #0b1b3a; color: #fff; text-decoration: none; font: 800 16px/1.15 var(--display); border: 1px solid #0b1b3a;
  small { display: block; color: #aebbdc; font: 600 10.5px/1.2 var(--body); }
  i { flex: none; width: 24px; height: 24px; background: #fff; }
  &[data-store='ios'] i { border-radius: 7px; background: radial-gradient(circle at 50% 38%, #0b1b3a 0 5px, transparent 5.5px), #fff; }
  &[data-store='android'] i { clip-path: polygon(10% 4%, 96% 50%, 10% 96%); background: linear-gradient(135deg, #00c0f0, #12a05c 60%, #ffcb1f); }
  &[data-store='one'] i { border-radius: 50%; background: radial-gradient(circle, #0b1b3a 0 5px, transparent 5.5px), #ff6a13; }
  &:hover { background: var(--table); border-color: var(--table); }
}

.tag { display: inline-block; padding: 2px 9px; border-radius: 6px; font: 700 12px/1.6 var(--body); background: #e8effc; color: var(--table);
  &[data-t='serve'], &[data-s='loop'] { background: #ffe9db; color: #b5440a; }
  &[data-t='return'], &[data-s='chop'] { background: #d9f2fb; color: #00698c; }
  &[data-t='rally'], &[data-s='pen'] { background: #fde0e7; color: #b3123a; }
  &[data-t='smash'], &[data-s='all'] { background: #e8e2ff; color: #4a2fd0; }
  &[data-state='live'] { background: #d8f5e5; color: #0b7a44; }
  &[data-state='done'] { background: #eceff5; color: var(--mute); }
}
.grade { display: inline-block; min-width: 34px; padding: 1px 7px; text-align: center; border-radius: 5px; font: 500 12px/1.7 var(--mono); background: #e4e9f3; color: #3b4a6b;
  &[data-g='R'] { background: #d7e6ff; color: #1b55b5; }
  &[data-g='SR'] { background: #e5ddff; color: #5436d6; }
  &[data-g='SSR'] { background: linear-gradient(135deg, #ff9a3c, #ff5a1f); color: #fff; }
}
.dots { font-size: 9px; letter-spacing: 2px; color: var(--ball); white-space: nowrap; i { font-style: normal; color: #d3dcec; } }
.bar { display: inline-block; vertical-align: middle; width: 100%; height: 8px; border-radius: 4px; background: #e3eaf6; overflow: hidden; i { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--ball), #ff9a4d); border-radius: 4px; } }
.form { display: inline-flex; gap: 3px; i { width: 9px; height: 9px; border-radius: 50%; background: #c7d1e4; &[data-r='W'] { background: var(--ok); } &[data-r='L'] { background: #e4506c; } } }

nav[data-filter-nav] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px;
  a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; background: var(--paper);
    small { margin-left: 4px; font-family: var(--mono); }
    &:hover { border-color: var(--table); }
    &[aria-current] { background: var(--table); border-color: var(--table); color: #fff; small { color: #bcd0f5; } }
  }
}

/* 카드 목록 — ul[data-cards="3|4"] > li > a */
ul[data-cards] { --n: 3; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 18px;
  &[data-cards='4'] { --n: 4; }
  > li > a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s;
    &:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(18 74 168 / .14); border-color: var(--table); }
    > figure { background: linear-gradient(#f5f9ff, #e9f1ff); border-radius: 10px; padding: 8px; margin-bottom: 6px; display: grid; place-items: center; min-height: 120px; }
    > figure svg { width: 100%; height: auto; max-height: 150px; }
    p { font-size: 14px; color: var(--mute); }
    p b { color: var(--ink); }
  }
  .stat3 { display: flex; gap: 14px; margin-top: auto; font-size: 13px; dt { color: var(--mute); font-size: 11.5px; } dd { font: 800 17px/1.2 var(--display); } }
}
[data-bars] li { display: grid; grid-template-columns: 56px 1fr 30px; align-items: center; gap: 10px; font-size: 13.5px; margin-bottom: 5px; b { font: 500 13px/1 var(--mono); text-align: right; } }

dl[data-specs] { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; margin: 18px 0;
  > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  dt { font: 500 12px/1.9 var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .03em; }
  dd { font-weight: 600; }
}
[data-two] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; align-items: start; &:has(.phone), &:has(figure) { align-items: center; } }
ol[data-steps] { counter-reset: s; display: grid; gap: 14px; margin: 18px 0;
  li { counter-increment: s; position: relative; padding-left: 52px; color: var(--mute); }
  li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 800 17px/1 var(--display); }
  b { display: block; color: var(--ink); font-size: 17px; }
}
ul[data-bullets] li { padding: 14px 0 14px 18px; border-bottom: 1px solid var(--line); position: relative; &::before { content: ''; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--ball); } b { margin-right: 8px; } }
ul[data-links] li { margin-top: 8px; font-weight: 700; }
main > section [data-two] > div > p { margin-top: 14px; }

/* 본문 섹션 공통 */
main > section { padding: 72px var(--pad); &:nth-of-type(even) { background: var(--bg); }
  > ul + p, > div + p, > ol + p { margin-top: 28px; }
}
main > section > header, main > section [data-two] > :is(div, article) > header { max-width: 760px; margin-bottom: 30px;
  > p:first-child { font: 500 12.5px/1 var(--mono); color: var(--ball-d); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
  > h2 + p { margin-top: 14px; color: var(--mute); font-size: 17px; }
}

/* ── 4. 홈 히어로 ─────────────────────────────────────────────── */
#hero { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 36px; align-items: center; padding-block: 56px 0; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #e9f1ff 100%);
  &::before { content: ''; position: absolute; inset: auto 0 0 0; height: 84px; background: var(--table); }
  &::after { content: ''; position: absolute; left: 0; right: 0; bottom: 78px; height: 3px; background: rgb(255 255 255 / .75); }
  > img[data-bg] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: 0; }
  > * { position: relative; z-index: 1; }
  > div > p:first-child { display: inline-block; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--table); padding: 8px 12px; border-radius: 6px; margin-bottom: 20px; }
  h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.14; em { font-style: normal; color: var(--ball); display: inline-block; } }
  > div > p:nth-of-type(2) { margin-top: 20px; font-size: 18px; color: var(--mute); max-width: 34em; }
  > div > p:last-child { margin-top: 14px; font-weight: 700; }
  > figure { background: #fff; border-radius: 22px; padding: 14px 18px 12px; margin-bottom: 8px; box-shadow: 0 24px 60px rgb(10 40 110 / .22); }
  > figure figcaption { font-size: 13.5px; color: var(--mute); margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; i { font-style: normal; font-weight: 700; color: var(--c); } }
  [data-facts] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 34px; padding: 26px 0 28px; min-height: 84px; align-items: center; color: #dbe6ff; font-size: 14px;
    b { color: #fff; font: 800 22px/1 var(--display); margin-right: 6px; }
  }
}
.hero-svg { width: 100%; height: auto; display: block; }

/* ── 5. 스크롤리텔링 — sticky 탁구대 + 단계 ──────────────────── */
.scrolly > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.stage { order: 2; position: sticky; top: 90px; align-self: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 12px; box-shadow: 0 18px 44px rgb(10 40 110 / .12);
  svg { width: 100%; height: auto; display: block; }
  figcaption { text-align: center; font: 500 13px/1.4 var(--mono); color: var(--mute); margin-top: 6px; }
}
.scrolly ol { display: grid; order: 1; }
.step { padding: 36px 0 36px 26px; border-left: 4px solid var(--c, var(--ball)); margin-left: 6px; min-height: 76vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; scroll-snap-align: center;
  > p:first-child { font: 800 15px/1 var(--display); color: var(--c); text-transform: uppercase; display: flex; align-items: center; gap: 10px; letter-spacing: .08em; }
  > p:first-child b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 16px; letter-spacing: 0; }
  h3 { font-size: clamp(22px, 2.4vw, 30px); }
  > p { color: var(--mute); max-width: 34em; }
  ul[data-chips] { display: flex; flex-wrap: wrap; gap: 6px; li { padding: 3px 10px; border-radius: 6px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--ink); font: 500 12.5px/1.7 var(--mono); } }
  figure { background: #f1f6ff; border-radius: 10px; padding: 6px 10px; max-width: 360px; }
  > p:last-child { font-weight: 700; a { color: var(--c); } }
}
/* JS 가 켜지고 스크롤이 시작됐을 때만(#rally[data-active]): 지금 읽는 단계 하나만 선명하게. 그 전·JS 가 없으면 4개 모두 보인다. */
.js [data-active] .stage g[data-path] { opacity: .13; transition: opacity .35s; &.on { opacity: 1; } }
.js .stage g.on [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.3, .6, .3, 1) forwards; }
.js [data-active] .step { opacity: .38; transition: opacity .3s; &.on { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── 6. 섹션별 ────────────────────────────────────────────────── */
#gear [data-presets] > li > a { figure svg { max-height: 120px; } }
#gear ul[data-bars] { margin-top: 8px; }
[data-styles] > li > a > figure { background: none; padding: 0; svg { border-radius: 10px; max-height: 190px; } }
[data-events] { display: grid; gap: 16px;
  li { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; border-left: 5px solid var(--table); }
  li[data-state='live'] { border-left-color: var(--ok); }
  li[data-state='done'] { opacity: .65; border-left-color: #b7c2d9; }
  li > p:first-child { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 13.5px; color: var(--mute); }
  h3 { margin: 8px 0 4px; } li > p:last-child { color: var(--mute); font-size: 14.5px; }
}
[data-board] { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; h3 { margin-bottom: 12px; } p { margin-top: 12px; font-weight: 700; } th small { display: inline; margin-left: 8px; } table { font-size: 14px; } }
[data-news] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .15s, transform .15s; &:hover { border-color: var(--ball); transform: translateY(-3px); } }
  time { font: 500 12.5px/1 var(--mono); color: var(--mute); }
  h3 { font-size: 17.5px; line-height: 1.4; font-family: var(--body); font-weight: 800; letter-spacing: -.01em; }
  p { color: var(--mute); font-size: 14.5px; }
  .tag { align-self: flex-start; }
}
[data-faq-list] { max-width: 820px; border-top: 1px solid var(--line); }
[data-qr] { display: flex; gap: 28px; justify-content: center; li { text-align: center; font-weight: 700; font-size: 14px; } img { display: block; width: 148px; height: 148px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; margin: 0 auto 8px; } }
[data-weeks] { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 6px; margin-bottom: 36px;
  li { padding: 10px 4px; text-align: center; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); line-height: 1.3; }
  b { display: block; font: 800 14px/1.2 var(--display); } small { font-size: 10.5px; }
  li[data-done] { background: #e6ecf8; color: var(--mute); }
  li[aria-current] { background: var(--ball); border-color: var(--ball); color: #fff; small { color: #ffe6d4; } }
  li[data-champ] { background: var(--ink); color: #fff; small { color: #aebbdc; } }
}

/* ── 7. 폰 목업 ───────────────────────────────────────────────── */
.phone { width: 270px; margin-inline: auto; aspect-ratio: 9 / 18.2; background: #0b1b3a; border-radius: 38px; padding: 9px; box-shadow: 0 26px 60px rgb(10 30 90 / .3); position: relative;
  &::before { content: ''; position: absolute; top: 15px; left: 50%; translate: -50% 0; width: 70px; height: 18px; border-radius: 10px; background: #0b1b3a; z-index: 3; }
  > div { height: 100%; border-radius: 30px; background: linear-gradient(#f4f8ff, #e6efff); overflow: hidden; padding: 38px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.4; color: var(--ink); }
  p { margin: 0; }
  .ph-bar { display: flex; justify-content: space-between; font-weight: 700; color: var(--mute); font-size: 11px; b { color: var(--ink); } }
  .ph-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; font-weight: 800; strong { font: 800 26px/1 var(--display); color: var(--ball); padding: 0 8px; } }
  .ph-table { background: #fff; border-radius: 12px; padding: 6px; svg { width: 100%; height: auto; display: block; } }
  .ph-incoming { background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 11.5px; }
  .ph-pad { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; svg { width: 100%; height: auto; } ul { display: grid; gap: 6px; font-size: 11px; font-weight: 700; } }
  .ph-cta { margin-top: auto; text-align: center; background: var(--ball); color: #fff; border-radius: 10px; padding: 10px; font-weight: 800; font-size: 13px; }
  .ph-gear { background: #fff; border-radius: 12px; padding: 8px; svg { width: 96px; height: auto; display: block; margin: 0 auto; } }
  .ph-slots { display: grid; gap: 6px; li { background: #fff; border-radius: 8px; padding: 6px 9px; font-weight: 700; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; small { font-weight: 400; width: 44px; } .grade { font-size: 10px; min-width: 0; padding: 0 5px; } } }
  .ph-stats { display: grid; gap: 6px; li { display: grid; grid-template-columns: 44px 1fr 24px; gap: 6px; align-items: center; font-weight: 700; b { font: 500 11px/1 var(--mono); text-align: right; } } }
  .ph-title { font: 800 18px/1.2 var(--display); }
  .ph-rank { display: grid; gap: 6px; li { display: grid; grid-template-columns: 22px 1fr auto 28px; gap: 8px; align-items: center; background: #fff; border-radius: 8px; padding: 7px 9px; font-weight: 700; }
    li:first-child { box-shadow: inset 3px 0 0 var(--ball); }
    b { font: 800 15px/1 var(--display); color: var(--table); } small { display: block; font-weight: 400; font-size: 10px; } em { font-style: normal; font-size: 10.5px; color: var(--mute); } strong { font: 800 14px/1 var(--display); text-align: right; } }
}
.radar { width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto; }

/* ── 8. 서브 페이지 ───────────────────────────────────────────── */
main > header { padding: 44px var(--pad) 36px; background: linear-gradient(180deg, #e9f1ff, #fff); border-bottom: 1px solid var(--line);
  > p:first-child { font-size: 13px; color: var(--mute); margin-bottom: 12px; }
  h1 { font-size: clamp(30px, 4.4vw, 50px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  h1 .tag { font-size: 14px; }
  > p:last-child { margin-top: 14px; color: var(--mute); font-size: 17px; max-width: 780px; }
}
figure[data-wide] { margin-bottom: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; overflow: hidden;
  [data-scroll] { border: 0; overflow-x: auto; svg { min-width: 720px; display: block; width: 100%; height: auto; } }
  > svg { width: 100%; height: auto; display: block; }
  figcaption { margin-top: 10px; font-size: 14px; color: var(--mute); }
}
figure[data-art] { background: linear-gradient(#f5f9ff, #e4eeff); border-radius: 20px; padding: 28px; display: grid; place-items: center; svg { width: min(100%, 300px); height: auto; } }
figure[data-hall] { margin: 0; border-radius: 20px; overflow: hidden; background: var(--table); img, svg { display: block; width: 100%; height: auto; } }
[data-swipe] { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; }
section details + p, details[open] { background: none; }
[data-pager] { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; font-weight: 700; padding-top: 18px; border-top: 1px solid var(--line); }
[data-legend] { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; > div { padding: 16px 0; border-bottom: 1px solid var(--line); } dt { font-weight: 800; margin-bottom: 4px; } dd { color: var(--mute); font-size: 15px; } }
[data-gearlist] li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); small { width: 80px; } a { font-weight: 700; } }
form { display: grid; gap: 14px; label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; } select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); } button { justify-self: start; border: 2px solid var(--ball); } }
[data-result] { text-align: center; background: linear-gradient(#f5f9ff, #e9f1ff); border-radius: 20px; padding: 22px 16px; p { margin-top: 6px; } }
[data-notice] { background: #fff7ee; border: 1px solid #ffd7b8; border-radius: 12px; padding: 16px 20px 16px 36px; list-style: disc; margin-bottom: 24px; font-size: 14.5px; li + li { margin-top: 4px; } }
[data-prob] article { margin-top: 44px; scroll-margin-top: 90px; h2 { font-size: 28px; margin-bottom: 8px; small { font: 400 14px var(--body); } } details { border: 0; margin-top: 10px; } [data-scroll] { margin-top: 12px; } }
[data-prob] > nav { position: sticky; top: 66px; z-index: 5; background: rgb(255 255 255 / .93); padding: 10px 0; margin-bottom: 0; }
[data-faq] { align-items: start; > div > h2 { font-size: 22px; margin: 34px 0 6px; &:first-child { margin-top: 0; } }
  aside { position: sticky; top: 90px; background: var(--bg); border-radius: 16px; padding: 22px; h2 { font-size: 20px; margin-bottom: 8px; } li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; font-size: 14.5px; span { color: var(--mute); } } } }
[data-article] { max-width: 820px; margin-inline: auto; padding: 0 20px 80px;
  &:is(article) > header { margin-inline: -20px; padding-inline: 20px; margin-bottom: 30px; background: none; border: 0; padding-top: 44px; }
  > p { margin: 0 0 16px; font-size: 17px; line-height: 1.85; }
  h3 { margin: 28px 0 6px; font-size: 18px; } }
section[data-article] { max-width: none; margin-inline: 0; padding: 40px var(--pad) 80px; > * { max-width: 820px; } }
.notfound { text-align: center; padding: 110px 20px 130px; > p:first-child { font: 800 120px/1 var(--display); color: var(--ball); } h1 { margin: 6px 0 14px; display: block; } > p { color: var(--mute); margin-bottom: 8px; } .btn { margin: 4px; } }

/* ── 9. 반응형 · 모션 ─────────────────────────────────────────── */
@media (max-width: 960px) {
  footer > section:first-child { grid-template-columns: 1fr 1fr; }
  ul[data-cards], ul[data-cards='4'] { --n: 2; }
  [data-two], #hero { grid-template-columns: 1fr; gap: 30px; }
  [data-news] { grid-template-columns: 1fr; }
  [data-weeks] { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  [data-faq] aside { position: static; }
  
  .scrolly > div { grid-template-columns: 1fr; gap: 0; }
  .stage { order: 0; } .scrolly ol { order: 1; }
  .stage { top: 66px; z-index: 5; padding: 8px 10px 6px; border-radius: 14px; margin-bottom: 10px; svg { max-height: 36vh; } figcaption { display: none; } }
  .step { min-height: 62vh; padding-left: 18px; }
}
@media (max-width: 820px) {
  body > header { gap: 12px; flex-wrap: wrap; padding-block: 8px;
    .menu-btn { display: block; order: 2; }
    nav { order: 5; width: 100%; margin: 0; display: none; }
    nav ul { flex-direction: column; }
    .btn { order: 1; margin-left: auto; }
  }
  /* JS 가 없으면 메뉴 버튼이 동작하지 않으니 항상 펼쳐 둔다 */
  html:not(.js) body > header nav { display: block; overflow-x: auto; }
  html:not(.js) body > header nav ul { flex-direction: row; white-space: nowrap; }
  html:not(.js) body > header .menu-btn { display: none; }
  body > header[data-open] nav { display: block; }
  /* 카드 줄은 가로 스크롤 + scroll-snap */
  ul[data-snap] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 14px; scroll-padding-inline: var(--pad); -webkit-overflow-scrolling: touch;
    > li { flex: 0 0 76%; scroll-snap-align: start; } }
}
@media (max-width: 640px) {
  body > header .logo span { display: none; }
  main > section { padding-block: 52px; }
  ul[data-cards], ul[data-cards='4'] { --n: 1; }
  ul[data-cards]:not([data-snap]) { --n: 2; gap: 12px; }
  ul[data-cards]:not([data-snap]) > li > a > figure { min-height: 90px; }
  footer > section:first-child { grid-template-columns: 1fr; gap: 26px; }
  footer .company { flex-direction: column; }
  [data-legend] { grid-template-columns: 1fr; }
  [data-swipe] { grid-template-columns: 110px 1fr; }
  dl[data-specs] > div { grid-template-columns: 80px 1fr; }
  [data-weeks] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  [data-qr] { gap: 14px; img { width: 124px; height: 124px; } }
  .step { min-height: 56vh; }
  .notfound > p:first-child { font-size: 84px; }
  #hero > div > p:first-child { font-size: 11px; }
  #hero::before { height: 132px; } #hero::after { bottom: 126px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .stage g.on [data-draw] { stroke-dasharray: none; stroke-dashoffset: 0; }
}
