:root {
  color-scheme: light;
  --canvas: #f6f3e8;
  --surface: #fffdf7;
  --ink: #121613;
  --muted: #686e69;
  --navy: #131832;
  --moss: #4a6238;
  --lilac: #6657bb;
  --coral: #df5638;
  --amber: #f1a72d;
  --line: rgba(18, 22, 19, 0.11);
  --shadow: 0 24px 70px rgba(19, 24, 50, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--canvas);
  color: var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 84% 4%, rgba(241, 167, 45, 0.13), transparent 26rem),
    radial-gradient(circle at 4% 28%, rgba(102, 87, 187, 0.09), transparent 24rem),
    var(--canvas);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid rgba(102, 87, 187, 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}

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

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

.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { border-radius: 10px; }

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible,
.text-link.is-current { color: var(--navy); }

.hero {
  max-width: 900px;
  padding: 104px 0 84px;
}

.compact-hero { padding-bottom: 54px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 950px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(44px, 7.5vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.compact-hero h1 { font-size: clamp(42px, 6.5vw, 72px); }

.lede {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.lede-secondary {
  margin-top: -14px;
  font-size: clamp(16px, 1.8vw, 20px);
}

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

.feature-card,
.support-card,
.contact-card,
.document {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  overflow: hidden;
  border-radius: 34px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 78px rgba(19, 24, 50, 0.12);
}

.feature-card.accent-lilac { background: linear-gradient(145deg, rgba(102, 87, 187, 0.18), rgba(255, 253, 247, 0.95) 68%); }
.feature-card.accent-amber { background: linear-gradient(145deg, rgba(241, 167, 45, 0.22), rgba(255, 253, 247, 0.95) 68%); }

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 46px;
  border-radius: 16px;
  background: var(--navy);
  color: white;
  font-size: 22px;
}

.card-kicker {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.feature-card strong {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.feature-card > span:not(.card-icon, .card-kicker, .card-action) { color: var(--muted); }

.card-action {
  margin-top: auto;
  padding-top: 30px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 28px 0 110px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.trust-strip div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 24px;
  background: rgba(255, 253, 247, 0.86);
}

.trust-strip strong { color: var(--navy); }
.trust-strip span { color: var(--muted); font-size: 13px; }

.document-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  padding: 78px 0 110px;
}

.document-meta {
  position: sticky;
  top: 40px;
}

.document-meta h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
}

.document-meta p { margin-bottom: 4px; color: var(--muted); font-size: 14px; }

.document {
  padding: clamp(26px, 5vw, 64px);
  border-radius: 34px;
}

.document section + section { margin-top: 48px; }

.document h2 {
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.document h3 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.35;
}

.document p { color: #454b46; }
.document a { color: var(--lilac); font-weight: 700; }
.document hr { margin: 72px 0; border: 0; border-top: 1px solid var(--line); }
.document section[id] { scroll-margin-top: 30px; }

.support-grid { padding-bottom: 26px; }

.support-card {
  min-height: 400px;
  padding: 34px;
  border-radius: 30px;
}

.support-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.support-card p,
.support-card li { color: #4d534e; }

.support-card ol,
.support-card ul { padding-left: 22px; }
.support-card li + li { margin-top: 9px; }
.support-card a { color: var(--lilac); font-weight: 750; }

.link-list {
  margin: 24px 0 0;
  list-style: none;
  padding-left: 0 !important;
}

.link-list li {
  position: relative;
  padding-left: 20px;
}

.link-list li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "→";
}

.step-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.note {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(102, 87, 187, 0.08);
  font-size: 13px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 2px 0 110px;
  padding: 34px;
  border-radius: 30px;
  background: var(--navy);
  color: white;
}

.contact-card h2 { margin-bottom: 4px; font-size: 28px; }
.contact-card p { margin-bottom: 0; color: rgba(255, 255, 255, 0.68); }
.contact-card .eyebrow { color: rgba(255, 255, 255, 0.58); }
.contact-card .contact-note { max-width: 700px; margin-top: 10px; font-size: 13px; }

.button-primary,
.button-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary { background: var(--navy); color: white; }
.button-secondary { margin-top: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); }
.contact-card .button-secondary { margin-top: 0; border-color: white; }

.language-jump {
  display: inline-flex;
  margin-left: 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.language-divider {
  height: 1px;
  margin: 6px 0 0;
  background: var(--line);
}

.language-hero {
  scroll-margin-top: 30px;
}

.language-title {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.centered-state {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.centered-state h1 { font-size: clamp(38px, 6vw, 68px); }
.centered-state p:not(.eyebrow) { color: var(--muted); }
.centered-state img { margin-bottom: 30px; border-radius: 16px; }

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer a { font-weight: 700; text-decoration: none; }

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

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 74px; }
  .site-header nav { gap: 12px; }
  .hero { padding: 70px 0 56px; }
  h1 { font-size: clamp(42px, 13vw, 64px); }
  .card-grid, .support-grid, .trust-strip, .document-shell { grid-template-columns: 1fr; }
  .feature-card { min-height: 330px; padding: 26px; }
  .trust-strip { margin-bottom: 76px; }
  .document-shell { gap: 26px; padding-top: 54px; }
  .document-meta { position: static; }
  .document { padding: 26px 22px; border-radius: 26px; }
  .support-card { min-height: 0; padding: 26px; }
  .contact-card, footer { align-items: flex-start; flex-direction: column; }
  .contact-card { margin-bottom: 76px; }
  .language-jump { display: flex; width: fit-content; margin: 18px 0 0; }
  footer { justify-content: center; padding: 24px 0; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-card { transition: none; }
}
