:root {
  color-scheme: dark;
  --bg: #10152f;
  --bg-deep: #090d20;
  --surface: #171d3b;
  --surface-raised: #20284c;
  --ink: #fff4df;
  --muted: #b7bfd7;
  --line: rgba(255, 255, 255, 0.12);
  --coral: #ff5964;
  --cyan: #20d8eb;
  --gold: #ffd166;
  --radius: 20px;
  --shadow: 0 26px 80px rgba(2, 5, 18, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(32, 216, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 216, 235, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% 0%, rgba(255, 89, 100, 0.12), transparent 36rem),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--cyan);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg-deep);
  transform: translateY(-180%);
}

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

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

.site-header {
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}

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

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

.site-header nav,
.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a[aria-current="page"] {
  color: var(--cyan);
}

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

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: clamp(38px, 6vw, 92px);
  align-items: center;
  padding: 72px 0 94px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h1 span {
  color: var(--coral);
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.status-pill,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.status-pill {
  border: 1px solid rgba(255, 209, 102, 0.42);
  background: rgba(255, 209, 102, 0.1);
  color: var(--gold);
}

.primary-button {
  background: var(--coral);
  color: #19090d;
}

.primary-button:hover {
  background: #ff7680;
  color: #19090d;
}

.secondary-button {
  border: 1px solid rgba(32, 216, 235, 0.5);
  background: rgba(32, 216, 235, 0.1);
  color: var(--cyan);
}

.text-link {
  color: var(--ink);
  font-weight: 800;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.94rem;
}

.trust-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--cyan);
}

.product-shot {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(32, 216, 235, 0.2), rgba(255, 89, 100, 0.18));
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.product-shot::after {
  content: "";
  position: absolute;
  inset: -14px 18% auto;
  height: 4px;
  background: var(--coral);
  box-shadow: 14px 0 var(--coral), 28px 0 var(--cyan), 42px 0 var(--cyan);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0 110px;
}

.feature-grid article,
.document-card,
.policy-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 29, 59, 0.94);
  box-shadow: 0 16px 42px rgba(3, 6, 20, 0.18);
}

.feature-grid article {
  padding: 30px;
}

.feature-number {
  display: block;
  margin-bottom: 36px;
  color: var(--coral);
  font-weight: 900;
}

.feature-grid h2,
.document-card h2,
.document-card h3 {
  letter-spacing: -0.025em;
}

.feature-grid h2 {
  font-size: 1.5rem;
}

.feature-grid p,
.document-card p,
.steps {
  color: var(--muted);
}

.korean-note {
  margin-bottom: 110px;
  padding: clamp(34px, 7vw, 76px);
  border-left: 8px solid var(--cyan);
  background: var(--ink);
  color: var(--bg-deep);
}

.korean-note .eyebrow {
  color: #087b86;
}

.korean-note h2 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.korean-note p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #38405c;
  font-size: 1.12rem;
}

.document-shell {
  width: min(920px, calc(100% - 40px));
  padding: 82px 0 110px;
}

.document-hero {
  margin-bottom: 44px;
}

.document-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.document-hero .primary-button {
  margin-top: 20px;
}

.effective-date {
  margin: 28px 0 0;
  color: var(--gold);
  font-weight: 750;
}

.document-card {
  margin-bottom: 22px;
  padding: clamp(26px, 5vw, 52px);
}

.document-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.help-grid article {
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.help-grid h3 {
  margin-bottom: 8px;
}

.steps {
  padding-left: 1.4rem;
}

.steps li {
  margin-bottom: 10px;
  padding-left: 8px;
}

.small-note {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.localized-section {
  border-color: rgba(32, 216, 235, 0.28);
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 22px;
  overflow: hidden;
}

.policy-summary div {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface-raised);
}

.policy-summary strong {
  color: var(--cyan);
}

.policy-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose h2:not(:first-child),
.prose h3:not(:first-child) {
  margin-top: 38px;
}

.prose a {
  color: var(--cyan);
}

code {
  padding: 0.1em 0.38em;
  border-radius: 5px;
  background: var(--bg-deep);
  color: var(--gold);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.site-footer {
  min-height: 96px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero-copy {
    max-width: 690px;
  }

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

  .feature-number {
    margin-bottom: 20px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  main,
  .document-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header nav,
  .site-footer nav {
    gap: 14px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .help-grid,
  .policy-summary {
    grid-template-columns: 1fr;
  }

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

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