:root {
  color-scheme: light;
  --ink: #17233b;
  --muted: #5c687a;
  --line: #dce3ec;
  --paper: #f6f8fb;
  --white: #ffffff;
  --blue: #165dff;
  --blue-dark: #0c3da8;
  --teal: #13a69a;
  --shadow: 0 22px 70px rgba(26, 52, 93, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0%, rgba(19, 166, 154, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  font-family:
    Inter, Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 84px;
  border-bottom: 1px solid rgba(220, 227, 236, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(140deg, var(--blue), var(--teal));
  border-radius: 12px;
  font-size: 0.8rem;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 22px rgba(22, 93, 255, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 108px 0 76px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.lede {
  max-width: 680px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(22, 93, 255, 0.22);
}

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

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 76px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  padding: 22px 24px 22px 0;
}

.facts div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 1.04rem;
  font-weight: 760;
}

.section {
  padding: 94px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 70px;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -48px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.trust-copy,
.policy p,
.policy li {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 35px rgba(26, 52, 93, 0.05);
}

.step-number {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.08em;
}

h3 {
  margin: 46px 0 9px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

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

.trust {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 70px;
}

.trust-copy p:first-child {
  margin-top: 0;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 760;
  text-decoration: none;
}

.policy-shell {
  width: min(920px, calc(100% - 40px));
}

.policy {
  margin: 64px 0 88px;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.policy header {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.policy h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.policy-date {
  margin: 24px 0 0;
  font-size: 0.9rem;
}

.policy section {
  padding-top: 36px;
}

.policy h2 {
  margin-bottom: 12px;
  font-size: 1.36rem;
  letter-spacing: -0.025em;
}

.policy ul {
  padding-left: 1.25rem;
}

.policy a {
  color: var(--blue);
}

.policy code {
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--blue-dark);
  background: #eef3ff;
}

footer {
  min-height: 112px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer div {
  display: flex;
  gap: 22px;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .facts,
  .section-heading,
  .trust {
    grid-template-columns: 1fr;
  }

  .facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    gap: 20px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .trust {
    gap: 28px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}
