:root {
  --ink: #171524;
  --muted: #666277;
  --paper: #ffffff;
  --soft: #f7f5fc;
  --line: #e6e2ef;
  --purple: #6657e8;
  --purple-dark: #4b3fc8;
  --purple-soft: #eeebff;
  --green: #168267;
  --dark: #1d1930;
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px max(22px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(230, 226, 239, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-size: 16px;
  letter-spacing: -0.025em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current='page'] {
  background: var(--purple-soft);
  color: var(--purple-dark);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px max(24px, calc((100vw - 1120px) / 2)) 98px;
  background:
    radial-gradient(circle at 84% 16%, rgba(102, 87, 232, 0.2), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(67, 196, 157, 0.12), transparent 25%),
    linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 68px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43c49d;
  box-shadow: 0 0 0 5px rgba(67, 196, 157, 0.13);
  content: '';
}

.hero h1 {
  max-width: 780px;
  margin: 20px 0 24px;
  font-size: clamp(48px, 6.5vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.068em;
}

.hero .lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.016em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 12px 28px rgba(76, 63, 208, 0.22);
}

.button.secondary {
  border-color: #dad5f5;
  background: #fff;
  color: var(--purple-dark);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.facts span,
.pill {
  padding: 7px 10px;
  border: 1px solid #ddd8f7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 760;
}

.note-demo {
  position: relative;
  min-height: 430px;
  border: 1px solid #e0dcf0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 35px 85px rgba(49, 41, 99, 0.16);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d4e5;
}

.browser-bar span {
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #f3f1f8;
  color: #918c9f;
  font-size: 10px;
}

.article-placeholder {
  display: grid;
  gap: 15px;
  width: 72%;
  padding: 48px 34px;
}

.article-placeholder b {
  height: 8px;
  border-radius: 999px;
  background: #ebe8f1;
}

.article-placeholder b:nth-child(2),
.article-placeholder b:nth-child(5) {
  width: 72%;
}

.article-placeholder mark {
  padding: 8px 7px;
  border-radius: 6px;
  background: #e3deff;
  color: #504492;
  font-size: 12px;
  font-weight: 760;
}

.floating-note {
  position: absolute;
  right: -28px;
  bottom: 30px;
  width: min(325px, 78%);
  padding: 23px;
  border: 1px solid #d7d1f6;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(52, 43, 111, 0.2);
  transform: rotate(-2deg);
}

.floating-note small {
  color: var(--purple);
  font-weight: 850;
  letter-spacing: 0.1em;
}

.floating-note h2 {
  margin: 10px 0 17px;
  font-size: 20px;
  line-height: 1.25;
}

.floating-note p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 12px;
}

.floating-note div {
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--soft);
  color: #514b61;
  font-size: 11px;
  font-weight: 700;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading > span,
.language-label {
  color: var(--purple);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.language-panel h2,
.page-title h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.section-heading p,
.language-panel > p,
.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.card,
.step,
.support-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.card h3,
.step h3,
.support-card h3 {
  margin: 20px 0 11px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.028em;
}

.card p,
.step p,
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card > span,
.step > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 850;
}

.dark-band {
  padding: 88px max(24px, calc((100vw - 1060px) / 2));
  background: var(--dark);
  color: #fff;
}

.dark-band .bilingual-grid {
  margin: 0;
}

.dark-band article {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
}

.dark-band p {
  color: #cbc6d8;
}

.bilingual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.language-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.language-panel h2 {
  font-size: 34px;
}

.page-hero {
  padding: 76px max(24px, calc((100vw - 1080px) / 2)) 64px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 84% 10%, rgba(102, 87, 232, 0.16), transparent 26%), #fbfaff;
}

.page-title {
  max-width: 850px;
}

.page-title h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.jump-links a {
  padding: 7px 11px;
  border: 1px solid #ddd8f7;
  border-radius: 999px;
  background: #fff;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

.document {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 24px 105px;
}

.document + .document {
  border-top: 1px solid var(--line);
}

.document-header {
  margin-bottom: 42px;
}

.document-header h2 {
  margin: 10px 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.document-header p {
  color: var(--muted);
  font-size: 13px;
}

.document section {
  scroll-margin-top: 90px;
  margin-bottom: 50px;
}

.document h3 {
  margin: 0 0 14px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.document p,
.document li {
  color: #514d5f;
  font-size: 15px;
}

.document ul,
.check-list {
  padding-left: 21px;
}

.document li,
.check-list li {
  margin: 8px 0;
}

.document a,
.contact-link {
  color: var(--purple-dark);
  font-weight: 730;
  text-underline-offset: 3px;
}

.document code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f0eef7;
  color: #463d75;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

.callout {
  margin: 22px 0;
  padding: 20px 22px;
  border: 1px solid #d7ece5;
  border-radius: 15px;
  background: #f1faf7;
}

.callout strong {
  color: #0e6952;
}

.callout p {
  margin: 7px 0 0;
  color: #42665c;
  font-size: 14px;
}

.permission-table {
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.permission-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 14px 17px;
}

.permission-row + .permission-row {
  border-top: 1px solid var(--line);
}

.permission-row span {
  color: var(--muted);
  font-size: 13px;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto 90px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--soft);
}

.contact-band h2 {
  margin: 7px 0;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.faq {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  padding: 19px 4px;
  cursor: pointer;
  font-weight: 780;
}

.faq details p {
  margin: -2px 32px 22px 4px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer .brand {
  margin-right: auto;
}

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

.site-footer a {
  color: var(--purple-dark);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 840px) {
  .hero-grid,
  .bilingual-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

  .note-demo {
    width: calc(100% - 24px);
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 7px;
    font-size: 11px;
  }

  .hero,
  .page-hero {
    padding: 58px 20px 68px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .floating-note {
    right: -12px;
  }

  .section,
  .document {
    padding-inline: 20px;
  }

  .language-panel {
    padding: 28px 22px;
  }

  .permission-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-band {
    margin-inline: 20px;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .site-footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }
}

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


.language-switch {
  border: 1px solid var(--line);
  background: #fff;
}

.language-hub {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 82% 8%, rgba(102, 87, 232, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 90%, rgba(67, 196, 157, 0.13), transparent 24rem),
    var(--soft);
}

.language-panel {
  width: min(760px, 100%);
}

.language-hub .language-panel {
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(49, 41, 99, 0.16);
}

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

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

.language-hub h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.25rem, 6vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.language-hub h1 span {
  color: var(--purple);
}

.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;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.language-choice:hover,
.language-choice:focus-visible {
  transform: translateY(-2px);
  border-color: var(--purple);
  box-shadow: 0 16px 34px rgba(49, 41, 99, 0.12);
  outline: none;
}

.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: 13px;
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

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

.hub-links a {
  color: var(--purple-dark);
  font-weight: 750;
}

.single-cta {
  width: 100%;
}

.contact-form {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid #d9d4f5;
  border-radius: 20px;
  background: var(--purple-soft);
}

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

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

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

.contact-form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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;
}

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

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