:root {
  --accent: #7A2E3B;
  --accent-deep: #4C1A22;
  --stamp: #C22E2E;
  --ink: #1A1813;
  --ink2: rgba(26,24,19,.55);
  --ink3: rgba(26,24,19,.40);
  --paper: #FBFAF6;
  --paper2: #F3F1EA;
  --rule: rgba(26,24,19,.14);
  --unridden: rgba(110,106,94,.35);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --rail-x: 120px;
  --rail-gutter: 50px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent);
}
.kicker .rule { flex: 1; height: 1px; background: var(--rule); }
.kicker .num { color: var(--ink3); letter-spacing: .1em; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,246,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.wordmark img { width: 28px; height: 28px; border-radius: 7px; }
.wordmark span { font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: .28em; }
.progress-counter {
  flex: 1; text-align: right; font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink2); white-space: nowrap;
}
.progress-rail { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rule); }
.progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width .1s linear, background .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .progress-fill { transition: none; }
}
.lang { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.lang a {
  font-size: 12px; font-weight: 700; text-decoration: none;
  padding: 4px 7px; border-radius: 7px; color: var(--ink2);
}
.lang a:hover { color: var(--ink); }
.lang a.cur { color: var(--accent); pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(165deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.hero .ghost {
  position: absolute; right: -30px; top: -60px; z-index: 0;
  font-weight: 950; font-size: clamp(200px, 34vw, 440px); line-height: 1;
  color: rgba(255,255,255,.07); pointer-events: none; user-select: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 0;
}
.hero .kicker { color: rgba(255,255,255,.92); }
.hero .kicker .rule { background: rgba(255,255,255,.35); }
.hero h1 {
  margin: 26px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.16;
  font-weight: 900; letter-spacing: -0.015em; word-break: keep-all;
}
.hero h1 em { font-style: normal; border-bottom: 6px solid rgba(255,255,255,.4); }

/* ---------- hero transit demo ---------- */
.demo-transit {
  margin-top: 30px; max-width: 460px; background: #fff; color: var(--ink);
  border-radius: 20px; padding: 20px 24px 24px;
  box-shadow: 0 24px 50px rgba(76,26,34,.4);
}
.demo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.demo-dot { width: 13px; height: 13px; border-radius: 50%; flex: none; transition: background .35s ease; }
.demo-name { flex: 1; font-size: 15px; font-weight: 800; transition: color .35s ease; }
.demo-count { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink2); white-space: nowrap; }
.demo-count strong { color: var(--ink); font-size: 14px; }
.demo-track { display: flex; align-items: center; height: 20px; position: relative; }
.demo-track .station {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--unridden); border: 2px solid var(--unridden);
  transition: background .4s ease, border-color .4s ease;
}
.demo-track .segment {
  flex: 1; height: 4px; margin: 0 -1px; border-radius: 2px;
  background: var(--unridden); transition: background .4s ease;
}
.demo-track .station.on { background: var(--lc, var(--accent)); border-color: var(--lc, var(--accent)); }
.demo-track .segment.on { background: var(--lc, var(--accent)); }
.demo-stamp {
  position: absolute; right: 18px; top: 14px; z-index: 2;
  width: 58px; height: 58px; border-radius: 8px; border: 3px solid var(--stamp);
  color: var(--stamp); display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-align: center;
  opacity: 0; transform: scale(1.7) rotate(-16deg);
  transition: opacity .22s ease, transform .22s cubic-bezier(.34,1.56,.64,1);
}
.demo-stamp.shown { opacity: 1; transform: scale(1) rotate(-9deg); }

.demo { margin-top: 30px; }
.hero .sub { margin-top: 26px; max-width: 34em; font-size: 17px; color: rgba(255,255,255,.92); word-break: keep-all; }
.cta { margin: 30px 0 56px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #0b0b0b; color: #fff; border-radius: 14px; padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.25); transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge .txt { line-height: 1.15; text-align: left; }
.store-badge .txt small { display: block; font-size: 11px; opacity: .8; }
.store-badge .txt strong { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.cta .note { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.85); }

.hero .phone-col { position: relative; align-self: end; }
.phone {
  position: relative; width: min(300px, 74vw); margin: 0 auto;
  border-radius: 46px; padding: 11px; background: #101010;
  box-shadow: 0 40px 80px rgba(76,26,34,.5), inset 0 0 0 2px rgba(255,255,255,.09);
}
.phone img { border-radius: 36px; }
.phone .island { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 86px; height: 26px; border-radius: 14px; background: #030303; }
.hero .phone { margin-bottom: -64px; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; white-space: nowrap;
  border-radius: 99px; padding: 7px 14px 7px 8px; box-shadow: 0 14px 30px rgba(76,26,34,.35);
}
.chip .g {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 900; flex: none;
}
.chip.c1 { left: -6%;  top: 20%; transform: rotate(-6deg); }
.chip.c2 { right: -8%; top: 40%; transform: rotate(5deg); }
.chip.c3 { left: -2%;  top: 60%; transform: rotate(4deg); }

/* ---------- spine (page-long rail with per-section station stops) ---------- */
.spine-wrap { position: relative; }
.spine-wrap .wrap { padding-left: calc(var(--rail-x) + var(--rail-gutter)); padding-right: 24px; }
.stop { position: relative; }
.stop::before {
  content: ""; position: absolute; left: var(--rail-x); top: 0; bottom: 0; width: 3px;
  transform: translateX(-50%); background: var(--unridden); z-index: 1;
}
.stop.passed::before { background: var(--stop-color); }
.stop-dot {
  position: absolute; left: var(--rail-x); top: 8px; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--stop-color);
  z-index: 3;
}
.stop.passed .stop-dot { background: var(--stop-color); }
.stop-label {
  position: absolute; left: calc(var(--rail-x) + 16px); top: 6px; z-index: 2;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .18em;
  color: var(--unridden); white-space: nowrap; pointer-events: none;
}
.stop.passed .stop-label { color: var(--stop-color); }
.stop-dot-final {
  width: 26px; height: 26px; top: 2px;
}
.stop-dot-final::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--stop-color);
}
.stop-final.passed .stop-dot-final::after { background: var(--stamp); }

/* ---------- finish stamp (「완주」, slams down on reaching the terminus) ---------- */
.finish-stamp {
  width: 132px; height: 132px; margin: 0 auto 24px; border-radius: 18px; border: 5px solid var(--stamp);
  color: var(--stamp); display: grid; place-items: center; background: rgba(255,255,255,.06);
  font-family: var(--mono); font-weight: 900; font-size: 20px; letter-spacing: .08em; text-align: center; line-height: 1.25;
  opacity: 0; transform: scale(2.1) rotate(-18deg);
  transition: opacity .35s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.finish-stamp.shown { opacity: 1; transform: scale(1) rotate(-8deg); }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section h2 { font-size: clamp(26px, 3.5vw, 39px); font-weight: 900; letter-spacing: -0.015em; margin: 22px 0 14px; word-break: keep-all; }
section h2 em { font-style: normal; color: var(--accent); }
section .lede { color: var(--ink2); max-width: 40em; font-size: 17px; word-break: keep-all; }

.step { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 26px; max-width: 40em; }
.step h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 10px; word-break: keep-all; }
.step p { color: var(--ink2); font-size: 16px; word-break: keep-all; }

/* step sections have little copy; trim the section padding a bit and let the
   mini-diagram (below) carry the rest of the "travel" distance to the next stop. */
.step-stop { padding: 60px 0; }

/* ---------- step mini-diagrams (fill the spine "travel" gap between stations) ---------- */
.step-viz-card {
  margin-top: 26px; display: inline-flex; padding: 22px 26px;
  border: 1px solid var(--rule); border-radius: 16px; background: #fff;
}

.strip-viz { display: flex; align-items: center; width: 220px; }
.viz-st {
  width: 15px; height: 15px; border-radius: 50%; flex: none; position: relative;
  background: var(--unridden); border: 2px solid var(--unridden);
}
.viz-st.on { background: var(--vc); border-color: var(--vc); }
.viz-st.tap::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--vc); opacity: .55;
}
.viz-seg { flex: 1; height: 4px; margin: 0 -1px; border-radius: 2px; background: var(--unridden); }
.viz-seg.on { background: var(--vc); }

.line-viz { display: flex; flex-direction: column; gap: 16px; width: 240px; }
.line-row { display: flex; align-items: center; gap: 12px; }
.line-cap {
  flex: none; width: 74px; text-align: right; font-family: var(--mono); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink3);
}
.line-row.on .line-cap { color: var(--ink); }
.line-bar { flex: 1; height: 11px; border-radius: 6px; background: var(--unridden); }

.stamp-viz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 168px; }
.mini-stamp { aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center; border: 2px dashed var(--unridden); }
.mini-stamp.filled { border: 2px solid var(--stamp); background: rgba(194,46,46,.06); }
.mini-stamp.filled::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--stamp); }

/* ---------- value / numbers poster ---------- */
.stat-poster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.stat { border-top: 1px solid var(--rule); padding-top: 18px; }
.stat .v { font-weight: 950; font-size: clamp(48px, 7vw, 82px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.stat .l { margin-top: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--ink2); text-transform: uppercase; }
.line-chips { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.line-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: 99px; border: 1px solid var(--rule); background: #fff;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.line-chip .sw { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* ---------- providers-style pro pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.price-card { border: 1px solid var(--rule); border-radius: 18px; padding: 22px; background: #fff; }
.price-card .p { font-weight: 950; font-size: 30px; letter-spacing: -0.01em; }
.price-card .p small { font-size: 13px; font-weight: 700; color: var(--ink2); margin-left: 4px; }
.price-card .t { margin-top: 10px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; }
.pricing-note { margin-top: 22px; font-size: 14px; color: var(--ink2); word-break: keep-all; }
.pricing-note strong { color: var(--ink); }

.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; margin-top: 48px; }
.feat { border-top: 1px solid var(--rule); padding-top: 18px; }
.feat h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feat p { color: var(--ink2); font-size: 14px; word-break: keep-all; }

.shots { background: linear-gradient(180deg, var(--paper), var(--paper2)); }
.shots .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 52px; align-items: start; }
.shots .phone { width: 100%; }
.shots figcaption { text-align: center; margin-top: 16px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--ink2); }
.shots figure:nth-child(2) { transform: translateY(34px); }

/* ---------- final cta / footer ---------- */
.final { background: linear-gradient(165deg, var(--accent), var(--accent-deep)); color: #fff; text-align: center; }
.final h2 { margin: 0 0 12px; }
.final .lede { color: rgba(255,255,255,.9); margin: 0 auto; }
.final .cta { justify-content: center; margin-bottom: 0; }

footer { background: #161513; color: #b8b3a8; padding: 44px 0; font-size: 14px; }
footer .wrap { display: flex; flex-direction: column; gap: 18px; }
footer .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer .brand { display: flex; align-items: center; gap: 10px; color: #fff; }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: #b8b3a8; text-decoration: none; }
footer a:hover { color: #fff; }
footer .data-note { font-size: 12px; color: #8b867c; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }

@media (max-width: 860px) {
  :root { --rail-x: 20px; --rail-gutter: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 12px; padding-top: 56px; }
  .hero .phone { margin-bottom: -48px; margin-top: 26px; }
  .chip.c1 { left: 0; } .chip.c3 { left: 2%; }
  .chip.c2 { right: 0; }
  .stat-poster, .pricing, .grid6, .shots .row { grid-template-columns: 1fr; }
  .shots figure:nth-child(2) { transform: none; }
  section { padding: 64px 0; }
  .step-stop { padding: 32px 0; }
  .step { padding-top: 16px; margin-top: 18px; }
  .step-viz-card { margin-top: 10px; padding: 12px 14px; border-radius: 12px; }
  .strip-viz { width: 130px; }
  .viz-st { width: 9px; height: 9px; }
  .viz-st.tap::after { inset: -5px; }
  .line-viz { width: 160px; gap: 8px; }
  .line-cap { width: 54px; font-size: 8px; }
  .line-bar { height: 6px; }
  .stamp-viz { width: 90px; gap: 6px; }
  .wordmark span { display: none; }
  .progress-counter { font-size: 11px; }
  .demo-transit { max-width: 100%; }
  .stop-label { font-size: 9px; letter-spacing: .12em; }
  .finish-stamp { width: 104px; height: 104px; font-size: 16px; }
  footer .row { flex-direction: column; align-items: flex-start; }
}
