:root {
  color-scheme: light dark;
  --bg: #f5f8fc;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #132036;
  --muted: #5e6d84;
  --line: #d9e3f0;
  --primary: #0f63ce;
  --primary-strong: #084da5;
  --soft-blue: #eaf3ff;
  --success: #08795d;
  --shadow: 0 24px 70px rgba(24, 66, 120, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 0%, rgba(74, 150, 255, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 227, 240, 0.8);
  background: rgba(245, 248, 252, 0.86);
  backdrop-filter: blur(18px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 72px;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 99, 206, 0.22);
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  font-size: 0.84rem;
  font-weight: 730;
  padding: 7px 12px;
}

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.035em;
}

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

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

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions,
.locale-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 720;
  padding: 10px 18px;
  text-decoration: none;
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-strong);
  color: #ffffff;
}

.product-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(145deg, #0c2e60, #0f63ce 66%, #64a8ff);
  box-shadow: var(--shadow);
}

.page-sheet {
  position: absolute;
  top: 56px;
  left: 50%;
  width: min(70%, 310px);
  height: 365px;
  transform: translateX(-50%);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 34px 70px rgba(3, 28, 66, 0.32);
}

.page-line {
  height: 14px;
  margin: 26px;
  border-radius: 9px;
  background: #dce7f6;
}

.scroll-area {
  height: 145px;
  margin: 26px;
  border: 6px solid #65a5ff;
  border-radius: 18px;
  background: #edf5ff;
}

.brand-float {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(3, 28, 66, 0.28);
}

.brand-float img {
  width: 76px;
  height: 76px;
}

.section {
  padding: 72px 0;
}

.section-intro {
  max-width: 740px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.policy-section,
.support-block {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(34, 74, 124, 0.06);
}

.card {
  padding: 26px;
}

.card p,
.policy-section p,
.support-block p,
.muted {
  color: var(--muted);
}

.number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  font-weight: 800;
}

.benefit {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
  border-radius: 30px;
  background: linear-gradient(135deg, #0c2e60, #0f63ce);
  color: #ffffff;
  padding: 42px;
}

.benefit p {
  color: #dcecff;
}

.choice-stack {
  display: grid;
  gap: 14px;
}

.choice {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
}

.choice strong {
  display: block;
  margin-bottom: 5px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row .pill {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

.page-title {
  max-width: 820px;
  padding: 76px 0 38px;
}

.page-title h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.policy-list,
.support-list {
  display: grid;
  gap: 16px;
  padding-bottom: 72px;
}

.policy-section,
.support-block {
  padding: 26px 28px;
}

.policy-section p:last-child,
.support-block p:last-child {
  margin-bottom: 0;
}

.support-block ol,
.support-block ul {
  padding-left: 22px;
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 730;
}

.callout {
  border-left: 4px solid var(--success);
  border-radius: 8px 18px 18px 8px;
  background: rgba(8, 121, 93, 0.08);
  padding: 16px 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 46px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 820px) {
  .hero,
  .benefit {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    padding-top: 64px;
  }

  .product-visual {
    min-height: 420px;
  }

  .grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1421;
    --surface: rgba(20, 31, 48, 0.94);
    --surface-strong: #182337;
    --text: #edf4ff;
    --muted: #a9b8cd;
    --line: #2c3b51;
    --soft-blue: #142f52;
    --primary: #70adff;
    --primary-strong: #9bc5ff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  }

  .site-header {
    background: rgba(12, 20, 33, 0.88);
  }
}

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

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] p,
html[lang="ko"] li {
  word-break: keep-all;
  overflow-wrap: break-word;
}

html[lang="ko"] .hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.mobile-language-switch {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 740;
  padding: 7px 12px;
  text-decoration: none;
}

.language-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  padding: 7px 12px;
}

.language-hub {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 20px;
}

.language-panel {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 58px);
}

.hub-brand {
  width: fit-content;
  margin-bottom: 34px;
}

.hub-brand img {
  width: 48px;
  height: 48px;
}

.language-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 6vw, 4.35rem);
}

.language-panel h1 span {
  color: var(--primary);
}

.language-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.language-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  color: var(--text);
  padding: 20px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.language-choice:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 16px 30px rgba(24, 66, 120, 0.12);
}

.language-choice strong,
.language-choice small {
  display: block;
}

.language-choice small {
  margin-top: 3px;
  color: var(--muted);
}

.language-code {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 820;
}

.hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  font-size: 0.9rem;
}

.contact-form {
  margin-top: 26px;
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
  border-radius: 20px;
  background: color-mix(in srgb, var(--soft-blue) 54%, var(--surface-strong));
  padding: clamp(20px, 4vw, 28px);
}

.contact-form-heading h3 {
  margin-top: 18px;
}

.contact-form pre {
  margin: 18px 0 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
  font:
    0.88rem/1.75 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  padding: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-form-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .mobile-language-switch {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .language-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-choice {
    transition: none;
  }
}
