:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #0c1424;
  --muted: #596579;
  --line: #d9e0ea;
  --accent: #1557ff;
  --accent-ink: #ffffff;
  --soft: #eaf0ff;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 224, 234, .9);
  background: rgba(246, 248, 252, .94);
  backdrop-filter: blur(14px);
}
.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(21, 87, 255, .35);
  outline-offset: 4px;
  border-radius: 6px;
}
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
  padding: 72px 0 64px;
}
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 800; letter-spacing: .08em; font-size: .78rem; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); max-width: 10ch; margin-bottom: 22px; }
.hero p { color: var(--muted); max-width: 54ch; font-size: 1.08rem; margin: 0; }
.hero-index {
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 5vw, 56px);
  display: grid;
  gap: 18px;
}
.hero-index strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.hero-index span { color: var(--muted); font-size: .92rem; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; }
.app-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app-card {
  min-height: 330px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.app-mark { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; margin-bottom: 28px; box-shadow: 0 8px 24px rgba(12, 20, 36, .12); }
.app-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.app-card p { color: var(--muted); margin: 0; max-width: 52ch; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 750;
  font-size: .93rem;
  text-decoration: none;
}
.button { background: var(--ink); color: white; border: 1px solid var(--ink); }
.text-link { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.button:active, .text-link:active { transform: translateY(1px); }
.utility-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.utility {
  border-top: 3px solid var(--ink);
  padding-top: 20px;
}
.utility h3 { margin-bottom: 6px; font-size: 1.15rem; }
.utility p { margin: 0 0 14px; color: var(--muted); }
.utility a { font-weight: 750; text-underline-offset: 4px; }
.page-head { padding: 72px 0 46px; max-width: 780px; }
.page-head h1 { font-size: clamp(2.7rem, 6vw, 5rem); max-width: 12ch; }
.page-head p { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.app-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.app-identity .app-mark { width: 70px; height: 70px; margin: 0; }
.app-identity strong { font-size: 1.02rem; }
.app-identity span { display: block; color: var(--muted); font-size: .9rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 72px; }
.detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.detail h2 { font-size: 1.35rem; margin-bottom: 10px; }
.detail p, .detail li { color: var(--muted); }
.detail ul { padding-left: 20px; margin-bottom: 0; }
.policy {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 80px;
}
.policy h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; }
.policy h2 { font-size: 1.45rem; margin-top: 2.2em; margin-bottom: .5em; }
.policy p, .policy li { color: #334057; }
.policy .updated { color: var(--muted); font-size: .94rem; }
.policy hr { border: 0; border-top: 1px solid var(--line); margin: 64px 0; }
.faq { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 80px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.notice { background: var(--soft); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.notice p { margin: 0; color: #24426f; }
.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer a { text-underline-offset: 3px; }

@media (max-width: 760px) {
  .nav { width: min(100% - 28px, 1120px); min-height: 62px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .86rem; }
  .shell { width: min(100% - 28px, 1120px); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 58px 0 52px; gap: 40px; }
  .hero-index { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
  h1 { max-width: 11ch; }
  .section { padding: 54px 0; }
  .app-list, .utility-strip, .detail-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 0; }
  .page-head { padding-top: 54px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .nav-links a:first-child { display: none; }
  h1 { font-size: clamp(2.45rem, 14vw, 3.6rem); }
  .app-card { padding: 24px 20px; }
  .policy { width: min(100% - 28px, 800px); padding-top: 48px; }
  .faq { width: min(100% - 28px, 800px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
