@font-face {
  font-family: "Pretendard VA";
  src: url("fonts/Pretendard-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard VA";
  src: url("fonts/Pretendard-Bold.subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard VA";
  src: url("fonts/Pretendard-Black.subset.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #013183;
  --blue-deep: #071b49;
  --blue-soft: #eaf1fb;
  --blue-line: #c8d8ee;
  --orange: #ff641f;
  --orange-dark: #da4a0d;
  --ink: #12264a;
  --muted: #50627f;
  --paper: #ffffff;
  --surface: #f5f8fd;
  --container: 1120px;
  --radius: 18px;
  --font: "Pretendard VA", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

code,
pre {
  font-family: Consolas, "SFMono-Regular", monospace;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--blue-deep);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--blue-line);
  background: rgba(255, 255, 255, .96);
}

.header-shell {
  display: flex;
  min-height: 76px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-lockup img {
  width: 142px;
  height: auto;
}

.brand-lockup span {
  padding-left: 16px;
  border-left: 1px solid var(--blue-line);
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #30486d;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  border-color: var(--orange);
}

.hero {
  overflow: hidden;
  color: #ffffff;
  background: var(--blue);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, .72fr);
  min-height: 620px;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding-block: 74px;
}

.eyebrow {
  margin-bottom: 18px;
  color: #ffb28d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .15em;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.075em;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #e7effb;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: var(--orange);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--orange-dark);
}

.button--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .62);
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

.phone-stage {
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 38px;
  background: #0a285d;
}

.phone {
  position: relative;
  width: min(100%, 272px);
  padding: 8px;
  border: 3px solid #dce8f8;
  border-radius: 38px;
  background: var(--blue-deep);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 36%;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: var(--blue-deep);
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  border-radius: 29px;
}

.section {
  padding-block: 84px;
}

.section--soft {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 15px;
  color: var(--blue);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.065em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.link-grid,
.operator-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.link-card,
.operator-card {
  padding: 28px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature-card strong {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-size: 14px;
}

.feature-card h3,
.link-card h3,
.operator-card h3 {
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.035em;
}

.feature-card p,
.link-card p,
.operator-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.link-grid {
  grid-template-columns: repeat(3, 1fr);
}

.link-card {
  position: relative;
  padding-bottom: 64px;
}

.link-card > span {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: var(--orange);
  font-weight: 900;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--blue);
}

.operator-grid {
  grid-template-columns: 1.2fr .8fr;
}

.operator-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  margin: 0;
  gap: 12px 20px;
}

.operator-card dt {
  color: var(--muted);
  font-weight: 700;
}

.operator-card dd {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.page-hero {
  padding-block: 68px 58px;
  color: #ffffff;
  background: var(--blue);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 68px);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: #e7effb;
  font-size: 18px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: #b9ccec;
  font-size: 14px;
}

.document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 7vw, 86px);
  padding-block: 64px 96px;
}

.document-nav {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid var(--blue-line);
  border-radius: 14px;
  background: var(--surface);
}

.document-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 14px;
}

.document-nav a {
  display: block;
  padding-block: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.document-nav a:hover,
.document-nav a:focus-visible {
  color: var(--orange-dark);
}

.document {
  min-width: 0;
}

.summary-box,
.notice-box,
.contact-box {
  margin-bottom: 34px;
  padding: 24px;
  border-radius: 14px;
}

.summary-box {
  border: 2px solid var(--blue);
  background: #ffffff;
}

.summary-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 20px;
}

.summary-box p,
.notice-box p,
.contact-box p {
  margin-bottom: 0;
}

.notice-box {
  border-left: 5px solid var(--orange);
  background: #fff3ed;
}

.contact-box {
  color: #ffffff;
  background: var(--blue-deep);
}

.contact-box a {
  color: #ffb28d;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-section {
  padding-block: 12px 28px;
  border-bottom: 1px solid var(--blue-line);
}

.policy-section + .policy-section {
  padding-top: 34px;
}

.policy-section h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.045em;
}

.policy-section h3 {
  margin: 24px 0 10px;
  color: var(--blue-deep);
  font-size: 20px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul,
.policy-section ol {
  padding-left: 1.35em;
}

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

.data-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.data-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--blue-line);
  border-radius: 12px;
}

.data-item strong {
  color: var(--blue);
}

.data-item p {
  margin: 0;
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.support-card {
  padding: 28px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--paper);
}

.support-card h2 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.support-card p {
  color: var(--muted);
}

.support-card .button {
  margin-top: 8px;
}

.steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: support-step;
}

.steps li {
  position: relative;
  padding: 0 0 24px 50px;
  counter-increment: support-step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  content: counter(support-step);
  font-size: 14px;
  font-weight: 900;
}

.package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.package-list li {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--blue-line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.package-list code {
  color: var(--blue-deep);
  font-weight: 700;
}

details.license {
  margin-top: 14px;
  border: 1px solid var(--blue-line);
  border-radius: 12px;
  background: var(--surface);
}

details.license summary {
  padding: 17px 20px;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
}

details.license pre {
  max-height: 480px;
  margin: 0;
  padding: 20px;
  overflow: auto;
  border-top: 1px solid var(--blue-line);
  color: #dce8f8;
  background: var(--blue-deep);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.site-footer {
  padding-block: 46px 26px;
  color: #dce8f8;
  background: var(--blue-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.site-footer img {
  width: 150px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  max-width: 600px;
  margin-bottom: 0;
  color: #aebfda;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #8398b9;
  font-size: 12px;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .document-layout,
  .operator-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-block: 62px;
  }

  .phone-stage {
    min-height: 420px;
  }

  .document-nav {
    position: static;
  }

  .feature-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

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

  .header-shell {
    min-height: 68px;
  }

  .brand-lockup img {
    width: 126px;
  }

  .brand-lockup span {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-lead,
  .page-hero p {
    font-size: 17px;
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 0;
    padding: 24px;
  }

  .section {
    padding-block: 64px;
  }

  .page-hero {
    padding-block: 52px 46px;
  }

  .document-layout {
    gap: 32px;
    padding-block: 42px 72px;
  }

  .document-nav {
    display: none;
  }

  .data-item,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .package-list {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
