:root {
  --bg: #ffffff;
  --band: #f4f5f7;
  --line: #eceef1;
  --text: #1d2229;
  --text-2: #3f4853;
  --muted: #6b7583;
  --faint: #a0a8b3;
  --accent: #2f7cf6;
  --accent-pressed: #2568db;
  --on-accent: #ffffff;
  --secondary: #eef1f4;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17181c;
    --band: #0f1013;
    --line: #2a2c33;
    --text: #edeef0;
    --text-2: #c3c7ce;
    --muted: #8e949e;
    --faint: #62676f;
    --accent: #4a8df8;
    --accent-pressed: #3b7ae0;
    --secondary: #2a2c33;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, p, ol, figure { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.band { height: 16px; background: var(--band); }

.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nav-link { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-link:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 96px;
}
h1 { font-size: 56px; line-height: 1.22; font-weight: 700; letter-spacing: -0.03em; }
.lead { margin-top: 20px; color: var(--muted); font-size: 20px; line-height: 1.6; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  margin-top: 36px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 600;
  transition: background 0.12s, transform 0.12s;
}
.button:hover { background: var(--accent-pressed); }
.button:active { transform: scale(0.98); }
.note { margin-top: 14px; color: var(--muted); font-size: 14px; }

.app { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 28px 0 20px; overflow: hidden; }
.app-number { padding: 0 24px; font-size: 44px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.app-number span { font-size: 44px; }
.app-state { padding: 0 24px; margin-top: 2px; color: var(--accent); font-size: 16px; font-weight: 600; }
.app-line { display: block; width: calc(100% - 48px); height: 64px; margin: 20px 24px 0; color: var(--accent); }
.app-band { height: 10px; background: var(--band); margin: 20px 0 6px; }
.app-row { display: flex; justify-content: space-between; padding: 13px 24px; font-size: 15px; color: var(--text-2); }
.app-row b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.app-stop { margin: 14px 20px 0; height: 50px; border-radius: 13px; background: var(--secondary); color: var(--text-2); font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 48px;
  padding-top: 88px;
  padding-bottom: 88px;
}
.features h2 { font-size: 28px; line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.features p { margin-top: 10px; color: var(--muted); font-size: 17px; }

.steps-section, .download { padding-top: 88px; padding-bottom: 88px; }
.section-title { font-size: 36px; line-height: 1.3; font-weight: 700; letter-spacing: -0.025em; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; color: var(--accent); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.steps b { display: block; font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.steps span { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; }

.download .button { margin-top: 28px; }
.caution { margin-top: 28px; color: var(--muted); font-size: 15px; }

.footer { background: var(--band); padding: 36px 0 44px; color: var(--muted); font-size: 13px; }
.footer p + p { margin-top: 4px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 64px; }
  .app { max-width: 360px; }
  h1 { font-size: 40px; }
  .lead { font-size: 18px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 64px; padding-bottom: 64px; }
  .features h2 { font-size: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
  .steps-section, .download { padding-top: 64px; padding-bottom: 64px; }
  .section-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
