:root {
  --ink: #1f1f24;
  --ink-secondary: #3f4148;
  --muted: #70747d;
  --line: #e6e7eb;
  --line-strong: #d7d9df;
  --canvas: #f5f6f8;
  --surface: #ffffff;
  --coral: #ff6b6b;
  --coral-pressed: #ef5757;
  --coral-soft: #fff0f0;
  --hero: #3d374a;
  --danger: #e84545;
  --shadow: 0 8px 24px rgba(31, 31, 36, 0.06);
  --wrap: 1080px;
  --header: 72px;
  --logo: #12162f;
  --font: Pretendard, "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 16px;
  z-index: 20;
}

.skip:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 36px;
  background: #fff;
}

.logo {
  justify-self: start;
  color: var(--logo);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.logo span { color: var(--coral); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  color: #222;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a[aria-current="page"] { font-weight: 600; }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header);
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 196px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub { display: block; }

.nav-sub a {
  display: block;
  padding: 10px 20px;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 400;
}

.nav-sub a:hover { background: var(--canvas); color: var(--ink); }

.brand-band {
  background: #fff;
  padding: 72px 0 24px;
}

.brand-band h2 {
  margin: 0;
  max-width: 14em;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.brand-lead {
  margin: 16px 0 0;
  max-width: 36rem;
  color: var(--ink-secondary);
}

.service-row {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
}

.service-row a {
  display: grid;
  gap: 8px;
  padding: 24px 12px 24px 0;
  text-decoration: none;
}

.service-row b {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-row span {
  color: var(--ink-secondary);
  font-size: 15px;
  font-weight: 500;
}

.news-band {
  background: #fff;
  padding: 32px 0 80px;
}

.news-band h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.news-band p { margin: 0; color: var(--muted); }

.corp-lines {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.copy {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.lang-globe { width: 16px; height: 16px; display: block; }

.lang-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #9aa0a8;
  cursor: pointer;
}

.lang-btn.is-on { color: var(--ink); font-weight: 600; }

.lang-sep { color: #d0d3d8; font-size: 12px; }

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.stage {
  position: relative;
  height: calc(100svh - var(--header));
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: #7eb0d8;
}

.stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 72%;
}

.stage-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 48, 82, 0.16), rgba(18, 48, 82, 0.02) 42%, rgba(12, 32, 54, 0.18));
}

.stage-copy {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(920px, calc(100% - 48px));
  max-width: calc(100% - 48px);
  min-width: 0;
  text-align: center;
  padding: 0 0 14vh;
}

.stage h1,
.stage-sub {
  max-width: 100%;
  overflow-wrap: break-word;
}

.stage h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(16, 42, 72, 0.35);
}

.stage-brand {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(16, 42, 72, 0.35);
}

.stage-sub {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 16px auto 0;
  white-space: normal;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(16, 42, 72, 0.4);
}

.stage-dots {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.stage-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.stage-dots button[aria-selected="true"] { background: #fff; }

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.lede {
  margin: 16px 0 0;
  max-width: 36rem;
  color: var(--ink-secondary);
  font-size: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  border: 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.button-primary { background: var(--coral); color: #fff; }
.button-primary:hover { background: var(--coral-pressed); }

.button-quiet {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.preview h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.preview-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.preview ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.preview li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.preview time {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

.preview-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section { padding: 32px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p,
.page-title p {
  margin: 8px 0 0;
  color: var(--ink-secondary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  min-height: 160px;
}

.card[id] { scroll-margin-top: 96px; }

.card h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 14px;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--canvas);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.mark svg { width: 20px; height: 20px; }

.card-sos .mark { background: #fff5f5; color: var(--danger); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
}

.step b {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.step p { margin: 0; color: var(--ink-secondary); font-size: 14px; }

.download-band {
  margin: 16px 0 48px;
  background: var(--hero);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.download-band h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

.download-band p { margin: 0; color: rgba(255, 255, 255, 0.82); }

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  min-width: 180px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 16px;
  text-decoration: none;
  display: grid;
  gap: 2px;
}

.store[aria-disabled="true"] {
  cursor: default;
}

.store-name { font-size: 14px; font-weight: 600; }
.store-state { font-size: 12px; font-weight: 500; color: var(--muted); }

.page {
  padding: 40px 0 64px;
}

.page-title { margin-bottom: 24px; max-width: 40rem; }

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.prose h2 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.prose h2:first-child { margin-top: 0; }

.prose p,
.prose li { color: var(--ink-secondary); }

.notice {
  background: var(--coral-soft);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 500;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.info-table th {
  width: 180px;
  font-weight: 600;
  color: var(--ink);
  background: #fafbfc;
}

.info-table td { color: var(--ink-secondary); }

.faq { display: grid; gap: 12px; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p { margin: 12px 0 0; color: var(--ink-secondary); }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-footer a,
.site-footer p { color: var(--ink-secondary); }

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }

.footer-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  h1 { font-size: 32px; }
  .stage h1 { font-size: 22px; line-height: 1.45; }
  .stage-brand { font-size: 34px; }
  .stage-sub { max-width: 18em; font-size: 14px; }
  .hero-grid,
  .cards,
  .steps,
  .footer-grid,
  .download-band {
    grid-template-columns: 1fr;
    display: grid;
  }
  .download-band { display: grid; }
  .site-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
  }
  .logo { font-size: 18px; letter-spacing: 0.04em; }
  .header-tools { gap: 12px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .site-nav.is-open { display: flex; }
  .nav-item {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-sub {
    position: static;
    display: grid;
    min-width: 0;
    padding: 4px 0 8px 12px;
    border: 0;
    box-shadow: none;
  }
  .service-row { grid-template-columns: repeat(2, 1fr); }
  .stage { min-height: 480px; width: 100%; max-width: 100%; }
  .stage-copy { width: calc(100% - 32px); max-width: calc(100% - 32px); padding-bottom: 18vh; }
  .header-tools { margin-left: auto; flex: 0 1 auto; }
  .stage h1,
  .stage-sub { overflow-wrap: break-word; }
}
