/* Neo Track — single column, quiet neutrals, one blue accent.
   Layout: 760px reading column; header / main / footer; legal pages add a compact TOC. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --fg: #12151b;
  --muted: #5a6371;
  --line: #e2e5ea;
  --accent: #2149d6;
  --accent-ink: #ffffff;
  --accent-soft: #e8edfc;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-4: clamp(2rem, 1.4rem + 2.6vw, 3rem);

  --radius: 12px;
  --col: 760px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1015;
    --surface: #151922;
    --fg: #e7eaf0;
    --muted: #98a1b0;
    --line: #252b36;
    --accent: #7d9bff;
    --accent-ink: #0d1015;
    --accent-soft: #1b2440;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--col) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: var(--step-1);
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand-mark-bg { fill: var(--accent); }
.brand-mark-line { stroke: var(--accent-ink); }
.brand-mark-dot { fill: var(--accent-ink); }

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-size: var(--step--1);
  font-weight: 600;
}
.lang a, .lang span {
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}
.lang [aria-current="true"] { background: var(--fg); color: var(--bg); }

main { flex: 1; }

/* Home */
.hero { padding-block: 72px 56px; }
.eyebrow {
  margin: 0 0 16px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  margin: 0;
  font-size: var(--step-4);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}
.hero .lede {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: var(--step-1);
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px -8px var(--accent); }
.btn svg { width: 18px; height: 18px; }
.contact-inline { color: var(--muted); font-size: var(--step--1); }
.contact-inline a { color: var(--fg); font-weight: 600; }

/* Track line: the brand motif, drawn once under the hero */
.track {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 56px;
}
.track line { stroke: var(--line); stroke-width: 2; }
.track circle { fill: var(--bg); stroke: var(--muted); stroke-width: 2; }
.track circle.now { fill: var(--accent); stroke: var(--accent); }

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.links li { border-bottom: 1px solid var(--line); }
.links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding-block: 20px;
  color: var(--fg);
  text-decoration: none;
}
.links strong { font-weight: 700; }
.links small { grid-column: 1; color: var(--muted); font-size: var(--step--1); }
.links .arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.links a:hover .arrow { transform: translateX(3px); color: var(--accent); }
.section { padding-block: 8px 72px; }

/* Documents (privacy, deletion, business) */
.doc { padding-block: 56px 80px; }
.doc h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-wrap: balance;
}
.doc .meta { margin: 0 0 32px; color: var(--muted); font-size: var(--step--1); }
.doc h2 {
  margin: 48px 0 12px;
  font-size: var(--step-2);
  letter-spacing: -0.015em;
  line-height: 1.4;
  text-wrap: balance;
  scroll-margin-top: 24px;
}
.doc h3 { margin: 28px 0 8px; font-size: var(--step-1); }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li + li { margin-top: 4px; }

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 8px;
}
.toc p { margin: 0 0 8px; font-size: var(--step--1); font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2 16em; column-gap: 32px; font-size: 0.9375rem; }
.toc li { break-inside: avoid; }
.toc a { color: var(--fg); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-size: var(--step--1); color: var(--muted); font-weight: 700; background: var(--bg); }

/* Business info: label / value list */
.facts {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.facts div {
  display: grid;
  grid-template-columns: minmax(8.5em, 12em) 1fr;
  gap: 4px 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.9375rem; }
.facts dd { margin: 0; font-weight: 600; min-width: 0; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: 0.01em; }
.facts dd a { font-weight: 500; font-size: var(--step--1); margin-left: 8px; white-space: nowrap; }

.note {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}
.note p { margin: 0; }

.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin-top: 14px; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fg); color: var(--bg);
  font-size: var(--step--1); font-weight: 700;
}

.todo { background: #ffe9a8; color: #3d2f00; padding: 0 4px; border-radius: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.site-footer a.strong { color: var(--fg); font-weight: 700; }

@media (max-width: 560px) {
  .hero { padding-block: 48px 40px; }
  .facts div { grid-template-columns: 1fr; padding: 14px 18px; }
  .toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.facts dd a.plain { margin-left: 0; font-size: inherit; font-weight: 600; }
td small { color: var(--muted); font-size: var(--step--1); }
tbody th[scope="row"] { width: 8em; color: var(--muted); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
.soon {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9375rem;
}
.actions .contact-inline { flex-basis: 100%; }
