:root {
  --bg: #08080b;
  --panel: #131318;
  --panel-2: #1a1a21;
  --line: #25252d;
  --text: #f4f4f6;
  --muted: #a4a4b0;
  --accent: #ff8a1f;
  --accent-2: #2f8cff;
  --accent-soft: rgba(255, 138, 31, 0.14);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  word-break: keep-all;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 머리 */
header.top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(8, 8, 11, 0.78); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: 0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
nav.links { display: flex; gap: 18px; font-size: 14px; }
nav.links a { color: var(--muted); }
nav.links a.on, nav.links a:hover { color: var(--text); text-decoration: none; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 130%; pointer-events: none;
  background: radial-gradient(42% 46% at 76% 46%, rgba(47, 140, 255, 0.26), transparent 70%), radial-gradient(40% 44% at 12% 18%, rgba(255, 138, 31, 0.22), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.kicker { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--accent), #ffc24a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: #c9c9d2; margin: 0 0 30px; max-width: 34em; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; padding: 13px 22px; border-radius: 14px; font-weight: 700; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.badge:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.14); }
.badge svg { width: 22px; height: 22px; }
.note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.stage { justify-self: center; display: grid; justify-items: center; gap: 14px; }

/* 폰 틀 */
.phone { width: min(300px, 72vw); aspect-ratio: 1320 / 2868; padding: 7px; border-radius: 46px; background: linear-gradient(160deg, #3a3a44, #121217 55%); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.phone img, .phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 39px; background: #000; }
.phone.small { width: 100%; padding: 5px; border-radius: 34px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.phone.small img { border-radius: 29px; }

/* 숫자 줄 */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 8px 0 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.facts div { background: var(--panel); padding: 22px 18px; text-align: center; }
.facts strong { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 14px; }

section { padding: 72px 0 0; }
section h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
h2.center { text-align: center; margin-bottom: 32px; }
section p.sub { color: var(--muted); margin: 0 0 28px; max-width: 46em; }

/* 세 걸음 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* 기능 줄: 그림과 글이 번갈아 */
.rows { display: grid; gap: 88px; padding-top: 96px; }
.row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.row:nth-child(even) .media { order: 2; }
.row .media { display: grid; justify-items: center; position: relative; }
.row .media::before { content: ""; position: absolute; inset: 12% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 140, 255, 0.22), transparent); filter: blur(10px); }
.row:nth-child(even) .media::before { background: radial-gradient(closest-side, rgba(255, 138, 31, 0.2), transparent); }
.row .phone { position: relative; width: min(270px, 68vw); }
.row .copy p { color: #c9c9d2; margin: 0 0 18px; font-size: 17px; }
.row .copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row .copy li { position: relative; padding-left: 26px; color: var(--muted); }
.row .copy li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* 화면 줄(옆으로 밀기) */
.reel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: #3a3a44 transparent; }
.reel figure { flex: 0 0 200px; margin: 0; scroll-snap-align: center; }
.reel figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 10px; }

/* 카드 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 맺음 */
.closing { text-align: center; padding-bottom: 80px; }
.closing p.sub { margin-left: auto; margin-right: auto; }
.closing .cta { margin: 56px 0 22px; font-size: clamp(28px, 4vw, 42px); }

/* 글 페이지(개인정보 처리방침·지원) */
.doc { max-width: 760px; padding: 40px 0 64px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d6d6dc; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; }
.faq dt { font-weight: 700; margin-top: 20px; }
.faq dd { margin: 4px 0 0; color: #d6d6dc; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 44px; padding-bottom: 40px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  section { padding-top: 56px; }
  .rows { gap: 64px; padding-top: 64px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .row:nth-child(even) .media { order: 0; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .reel figure { flex-basis: 168px; }
  nav.links { gap: 12px; font-size: 13px; }
  nav.links a.wide { display: none; }
  .doc table, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc tr:first-child { display: none; }
  .doc td:first-child { font-weight: 700; border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge { transition: none; }
}
