:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --line: #e5e7eb;
  --line-strong: #cbd5e1;
  --text: #111827;
  --muted: #64748b;
  --ink: #0f172a;
  --accent: #0a7ea4;
  --accent-strong: #075f7b;
  --shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  background: var(--bg);
}

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

.page {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 18px 20px 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.brand,
.brand-mark,
.nav,
.cta-row,
.footer,
.screenshot-strip {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 14px;
}

.brand-mark {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
}

.nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav a {
  min-height: 38px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a.current {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.intro,
.section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro {
  padding: 34px;
}

.intro.compact {
  padding: 34px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: 28px;
  min-height: 360px;
  overflow: hidden;
  background: var(--surface-muted);
}

.home-hero .intro-copy {
  width: min(100%, 620px);
}

.intro-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-logo {
  display: block;
  width: 108px;
  height: auto;
}

.intro h1 {
  margin: 18px 0 14px;
  font-size: 2.95rem;
  line-height: 1.16;
}

.intro p,
.section p,
.section li,
.footer {
  color: var(--muted);
  line-height: 1.72;
}

.intro p {
  max-width: 720px;
  margin: 0;
  font-size: 1.04rem;
}

.cta-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
}

.home-hero .cta {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.home-hero .cta.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.cta.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.hero-phone {
  align-self: center;
  justify-self: end;
  width: min(100%, 210px);
}

.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.screenshot-strip {
  gap: 12px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.screenshot-strip figure {
  flex: 0 0 min(238px, 70vw);
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.screenshot-strip figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.48;
}

.section-grid,
.section-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.section-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section {
  padding: 22px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.34;
}

.section p {
  margin: 0;
}

.section p + p {
  margin-top: 12px;
}

.section ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.section li + li {
  margin-top: 8px;
}

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

.doc-meta div {
  min-width: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.doc-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.doc-meta strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.96rem;
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.link-list a {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.link-list a:hover,
.nav a:hover,
.cta:hover {
  border-color: var(--line-strong);
}

.link-list span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.link-list strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

.compact-list {
  margin-top: 8px;
}

.policy-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--surface);
}

.policy-table th,
.policy-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.policy-table th {
  background: var(--surface-muted);
  font-size: 0.92rem;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  justify-content: flex-start;
  gap: 14px;
  margin-top: 22px;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .section-grid,
  .doc-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page {
    padding: 12px 14px 56px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav a {
    flex: 1 1 auto;
  }

  .intro {
    padding: 24px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }

  .intro h1 {
    font-size: 2.08rem;
  }

  .hero-phone {
    justify-self: center;
    width: min(180px, 66%);
  }

  .section-grid,
  .doc-meta {
    grid-template-columns: 1fr;
  }

  .policy-table,
  .policy-table thead,
  .policy-table tbody,
  .policy-table tr,
  .policy-table th,
  .policy-table td {
    display: block;
    width: 100%;
  }

  .policy-table thead {
    display: none;
  }

  .policy-table tr {
    border-bottom: 1px solid var(--line);
  }

  .policy-table td {
    border-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
