:root {
  --bg: #ffffff;
  --band: #f4f5f7;
  --text: #191f28;
  --sub: #4e5968;
  --mute: #8b95a1;
  --blue: #3182f6;
  --blue-weak: #e8f3ff;
  --line: #e5e8eb;
  --card: #ffffff;
  --radius: 24px;
  --wrap: 1080px;
  --pad: 24px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    'Toss Product Sans',
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-x: hidden;
  padding-bottom: calc(84px + var(--safe-b));
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ol,
ul,
dl {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: max(8px, env(safe-area-inset-top, 0px)) 16px 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.topbar.is-stuck {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  object-fit: cover;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.04);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 22px;
  font-size: 17px;
  border-radius: 16px;
}

.btn-light {
  background: #fff;
  color: var(--blue);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.eyebrow.light {
  color: #b9d4ff;
}

.hero {
  padding: 20px 0 36px;
  background:
    radial-gradient(80% 60% at 90% 10%, #e8f3ff 0%, transparent 55%),
    #fff;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero h1 {
  font-size: clamp(26px, 7.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.28;
}

.lede {
  margin-top: 14px;
  color: var(--sub);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: -0.02em;
}

.hero-actions {
  margin-top: 22px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-hint {
  margin-top: 10px;
  color: var(--mute);
  font-size: 14px;
  font-weight: 700;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.stat-row div {
  padding: 12px 8px;
  border-radius: 14px;
  background: var(--band);
}

.stat-row dt {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-row dd {
  margin-top: 4px;
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
}

.hero-stage {
  display: grid;
  place-items: center;
}

.hero-shot {
  width: min(220px, 64vw);
  height: auto;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(25, 31, 40, 0.1);
}

.wide-shot {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0 0;
  border-radius: 16px;
}

.split {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  align-items: center;
}

.split-shot {
  width: min(220px, 68vw);
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
}

.cta-shot {
  width: min(128px, 38vw);
  height: auto;
  margin: 0 auto 20px;
  border-radius: 16px;
}

.band,
.plain {
  padding: 48px 0;
}

.band {
  background: var(--band);
}

.section-title {
  font-size: clamp(22px, 6.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.32;
}

.compare {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.compare-card {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--card);
}

.compare-card.is-accent {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.compare-label {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--mute);
}

.compare-card.is-accent .compare-label {
  color: var(--blue);
}

.compare-card ol {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.compare-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.compare-card li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #eef0f3;
  color: var(--sub);
  font-size: 12px;
}

.compare-card.is-accent li::before {
  background: var(--blue-weak);
  color: var(--blue);
}

.feature-grid,
.steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.feature-grid li,
.steps li {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--band);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.feature-grid h3,
.steps h3,
.line h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.feature-grid p,
.steps p,
.line p {
  color: var(--sub);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.line {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 32px;
  padding: 0 0 0 8px;
  list-style: none;
}

.line::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 19px;
  width: 3px;
  background: #d7dde4;
}

.line li {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 0 0 28px;
}

.line li:last-child {
  padding-bottom: 0;
}

.stop {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--stop, var(--blue));
  box-shadow: 0 0 0 6px var(--band);
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.cta-block {
  padding: 56px 0 72px;
  background:
    radial-gradient(80% 80% at 50% 0%, #5aa0ff 0%, transparent 60%),
    var(--blue);
  color: #fff;
  text-align: center;
}

.cta-block h2 {
  margin-bottom: 22px;
  font-size: clamp(24px, 7vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.cta-block .btn {
  width: 100%;
}

.footer {
  padding: 24px 0 calc(16px + var(--safe-b));
  color: var(--mute);
  font-size: 13px;
  font-weight: 700;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--blue);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92) 28%);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.dock.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.dock .btn {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 879px) {
  .topbar .btn-sm {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .stat-row dt {
    font-size: 16px;
  }

  .stat-row dd {
    font-size: 11px;
  }

  .hero-shot,
  .split-shot {
    width: min(196px, 70vw);
  }
}

@media (min-width: 880px) {
  body {
    padding-bottom: 0;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 80px));
  }

  .topbar {
    min-height: 64px;
    padding: 10px 20px;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(36px, 4.6vw, 56px);
  }

  .lede {
    font-size: 18px;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 280px;
  }

  .hero-shot {
    width: min(360px, 100%);
    border-radius: 28px;
  }

  .wide-shot {
    border-radius: 24px;
  }

  .split {
    grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
    gap: 40px;
  }

  .split-shot {
    width: 100%;
    max-width: 360px;
  }

  .cta-shot {
    width: min(168px, 46vw);
  }

  .cta-block {
    padding: 80px 0 96px;
  }

  .cta-block .btn {
    width: auto;
    min-width: 280px;
  }

  .band,
  .plain {
    padding: 72px 0;
  }

  .feature-grid h3,
  .steps h3,
  .line h3 {
    font-size: 20px;
  }

  .line {
    margin-top: 0;
  }

  .compare,
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
