:root {
  --green: #16a873;
  --green-dark: #08764f;
  --green-soft: #e7f7f0;
  --ink: #18211e;
  --muted: #64706b;
  --line: #dce7e2;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, #dcefe7 0, transparent 26rem),
    linear-gradient(180deg, #f7faf8, #edf5f1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  width: 100%;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1112px) / 2));
  background: rgba(247, 250, 248, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong {
  font-size: 20px;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.languages a {
  padding: 6px 9px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
}

.languages a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 700;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-nav {
  display: flex;
  gap: 4px;
}

.primary-nav a {
  padding: 7px 10px;
  color: var(--muted);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  max-width: 1160px;
  min-height: 610px;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
  margin: auto;
  padding: 72px 24px 92px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 14px 0 20px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: white;
  border-color: var(--green);
  background: linear-gradient(145deg, #20b77f, #0d9161);
  box-shadow: 0 12px 24px rgba(15, 133, 90, .2);
}

.hero-visual {
  display: block;
  width: 100%;
  aspect-ratio: 886 / 642;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  box-shadow: 0 28px 70px rgba(34, 63, 52, .14);
}

.content-section {
  padding: 88px 24px;
  background: rgba(255, 255, 255, .72);
}

.content-section.alt {
  background: transparent;
}

.section-inner {
  max-width: 1100px;
  margin: auto;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-dark);
  border-radius: 13px;
  background: var(--green-soft);
  font-weight: 850;
}

.card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

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

.faq {
  max-width: 850px;
}

.faq details {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.resource-card {
  display: block;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(34, 63, 52, .1);
}

.language-card[aria-current="true"] {
  border-color: rgba(26, 166, 111, .55);
  box-shadow: 0 18px 48px rgba(26, 166, 111, .16);
  background: linear-gradient(180deg, #fff, #f0fbf6);
}

.resource-card small {
  color: var(--green-dark);
  font-weight: 800;
}

.resource-card h3 {
  margin: 8px 0;
  font-size: 21px;
}

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

.article-main {
  overflow: visible;
}

.article-shell {
  display: grid;
  max-width: 1120px;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 54px;
  margin: auto;
  padding: 72px 24px 100px;
}

.article {
  min-width: 0;
}

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

.article-header h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 58px);
}

.article-meta {
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  font-size: 17px;
}

.article-body h2 {
  margin: 58px 0 16px;
  font-size: clamp(27px, 4vw, 36px);
}

.article-body h3 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.article-body p,
.article-body li {
  color: #3e4945;
}

.article-body p {
  margin: 0 0 18px;
}

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

.article-body img {
  display: block;
  width: 100%;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(34, 63, 52, .1);
}

.article-body .note {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: var(--green-soft);
}

.article-body .steps-list {
  padding-left: 24px;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.sidebar-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
}

.sidebar-card + .sidebar-card {
  margin-top: 14px;
}

.sidebar-card h2 {
  margin-bottom: 12px;
  font-size: 19px;
}

.sidebar-card a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.sidebar-card a:hover {
  color: var(--green-dark);
}

.sidebar-card .button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: white;
  background: var(--green);
  text-align: center;
}

.policy-list {
  padding-left: 22px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.final-cta {
  max-width: 1100px;
  margin: 80px auto;
  padding: 54px 28px;
  color: white;
  border-radius: 28px;
  background: linear-gradient(135deg, #08764f, #16a873);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 24px;
}

.final-cta .button {
  color: var(--green-dark);
}

footer {
  max-width: 1100px;
  margin: auto;
  padding: 28px 24px 44px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 10px;
}

.footer-links a {
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 800px) {
  .site-header {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 16px;
  }

  .brand strong {
    font-size: 17px;
  }

  .header-links {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 4px;
  }

  .primary-nav a {
    padding: 5px 7px;
    font-size: 12px;
  }

  .languages a {
    padding: 4px 6px;
    font-size: 11px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 60px 20px 76px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 60px);
  }

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

  .content-section {
    padding: 70px 20px;
  }

  .final-cta {
    margin: 60px 16px;
  }

  .article-shell {
    display: block;
    padding: 48px 20px 76px;
  }

  .article-sidebar {
    position: static;
    margin-top: 48px;
  }
}
