:root {
  --ink: #17202a;
  --muted: #58616d;
  --line: #dbe3ea;
  --paper: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #eef6fb;
  --blue: #105a83;
  --blue-dark: #0c2230;
  --green: #3d6b52;
  --coral: #c95f47;
  --gold: #f4c542;
  --shadow: 0 24px 72px rgb(13 34 48 / 18%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", sans-serif;
  line-height: 1.6;
  overflow-wrap: normal;
  word-break: keep-all;
}

a {
  color: inherit;
}

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

.hero {
  min-height: 86svh;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgb(244 197 66 / 32%), transparent 28%),
    linear-gradient(135deg, #071621 0%, #11344a 52%, #176184 100%);
}

.topbar {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgb(0 0 0 / 18%);
}

.nav-link,
.text-link {
  font-weight: 800;
  text-underline-offset: 5px;
}

.topbar__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.language-switch__link {
  padding: 7px 8px;
  border-radius: 5px;
  text-decoration: none;
}

.language-switch__link:hover,
.language-switch__link:focus-visible {
  background: var(--surface-soft);
  color: var(--blue-dark);
}

.language-switch__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.language-switch__link[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

.hero .language-switch {
  border-color: rgb(255 255 255 / 44%);
  color: rgb(255 255 255 / 82%);
}

.hero .language-switch__link:hover,
.hero .language-switch__link:focus-visible,
.hero .language-switch__link[aria-current="page"] {
  background: #fff;
  color: var(--blue-dark);
}

.hero__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(44px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(36px, 8vw, 94px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin-block: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.hero__lead {
  max-width: 700px;
  margin-block: 28px 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-block-start: 34px;
}

.status-badge,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.status-badge {
  border: 1px solid rgb(255 255 255 / 44%);
  background: rgb(255 255 255 / 14%);
  color: #fff;
  backdrop-filter: blur(12px);
}

.button-link {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.button-link--light {
  border-color: rgb(255 255 255 / 72%);
  background: #fff;
  color: var(--blue-dark);
}

.support-widget {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgb(255 255 255 / 90%);
  font-weight: 800;
}

.support-widget span {
  line-height: 1.25;
}

.support-widget iframe,
.support-widget a {
  min-height: 44px;
}

.support-widget iframe {
  height: 44px !important;
}

.hero__icon {
  margin: 0;
  justify-self: center;
}

.hero__icon img {
  width: min(360px, 72vw);
  border-radius: 22%;
  box-shadow: var(--shadow);
}

.hero__icon figcaption {
  margin-block-start: 14px;
  color: rgb(255 255 255 / 74%);
  font-size: 0.94rem;
  text-align: center;
}

.section {
  padding-block: clamp(54px, 8vw, 92px);
}

.section__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
}

.section p {
  max-width: 740px;
  margin-block: 22px 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section--features,
.section--details,
.section--privacy {
  background: var(--surface);
}

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

.section-heading {
  max-width: 820px;
  margin-block-end: 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-list article,
.info-panel,
.spec-card,
.step-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-list article {
  min-height: 176px;
  padding: 24px;
}

.feature-list article:nth-child(2),
.feature-list article:nth-child(5) {
  border-color: rgb(61 107 82 / 34%);
}

.feature-list article:nth-child(3),
.feature-list article:nth-child(6) {
  border-color: rgb(201 95 71 / 34%);
}

.feature-list p,
.info-panel p {
  margin-block-start: 16px;
  font-size: 1rem;
}

.spec-card {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 52px rgb(13 34 48 / 10%);
}

.spec-card dl,
.policy-meta {
  margin: 0;
}

.spec-card dl {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.spec-card div,
.policy-meta div {
  background: var(--surface);
}

.spec-card div {
  padding: 20px;
}

dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  min-height: 188px;
  padding: 24px;
  counter-increment: steps;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  display: inline-flex;
  margin-block-end: 20px;
  color: var(--blue);
  font-weight: 900;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-panel {
  padding: clamp(22px, 4vw, 32px);
}

.privacy-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.page-header {
  background: var(--surface);
  border-block-end: 1px solid var(--line);
}

.topbar--plain {
  color: var(--ink);
}

.page-header__content {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 56px 64px;
}

.page-header__content p:not(.eyebrow) {
  max-width: 720px;
  margin-block: 18px 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.policy {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 54px 90px;
}

.policy section + section {
  margin-block-start: 48px;
  padding-block-start: 42px;
  border-block-start: 1px solid var(--line);
}

.policy h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #eef3f5;
  color: var(--blue);
  font-size: 0.92em;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-block: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.policy-meta div {
  padding: 18px;
}

.table-wrap {
  overflow-x: auto;
  margin-block: 22px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 16px;
  border-block-end: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef3f5;
  color: var(--ink);
  font-size: 0.94rem;
}

td {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero__inner,
  .split,
  .feature-list,
  .step-list,
  .info-grid,
  .privacy-callout {
    grid-template-columns: 1fr;
  }

  .hero__icon {
    justify-self: start;
  }

  .policy-meta {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .topbar,
  .hero__inner,
  .section__inner,
  .page-header__content,
  .policy,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .topbar {
    flex-wrap: wrap;
  }

  .brand span {
    max-width: 176px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar__links {
    flex-basis: 100%;
  }

  .nav-link {
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.6rem);
  }
}
