:root {
  color-scheme: dark;
  --ink: #f7f8ff;
  --muted: #b9bed3;
  --quiet: #858da9;
  --night: #080b17;
  --panel: rgba(22, 27, 51, 0.72);
  --panel-strong: #171c35;
  --line: rgba(255, 255, 255, 0.11);
  --violet: #7567ff;
  --blue: #53a9ff;
  --red: #ff4d55;
  --green: #5ee09a;
  --radius: 28px;
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
  font-family: "Avenir Next", Avenir, "Pretendard Variable", "Apple SD Gothic Neo", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html:not([data-language]) [data-lang="en"],
html[data-language="ko"] [data-lang="en"],
html[data-language="en"] [data-lang="ko"] {
  display: none !important;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(62, 113, 219, 0.2), transparent 29rem),
    radial-gradient(circle at 91% 20%, rgba(117, 103, 255, 0.2), transparent 34rem),
    linear-gradient(150deg, #090c19 0%, #101329 58%, #080b17 100%);
  background-attachment: fixed;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.28;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 9px 24px rgba(73, 87, 255, 0.35);
}

.header-actions,
.site-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 14px;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 11, 23, 0.56);
}

.language-switcher button {
  min-width: 40px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--quiet);
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.language-switcher button:hover {
  color: var(--ink);
}

.language-switcher button[aria-pressed="true"] {
  color: white;
  background: linear-gradient(135deg, rgba(83, 169, 255, 0.48), rgba(117, 103, 255, 0.62));
  box-shadow: 0 4px 14px rgba(74, 86, 224, 0.28);
}

.language-switcher button:focus-visible {
  outline: 2px solid #b7c0ff;
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 64px;
  padding: 96px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #aeb7ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.4vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.3rem);
}

.privacy-stamp {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(117, 103, 255, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(117, 103, 255, 0.19), rgba(17, 21, 43, 0.76));
  box-shadow: var(--shadow);
}

.privacy-stamp::after {
  position: absolute;
  right: -32px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: rgba(83, 169, 255, 0.16);
  filter: blur(2px);
}

.stamp-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(94, 224, 154, 0.8);
}

.privacy-stamp strong {
  display: block;
  margin: 16px 0 5px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

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

.page {
  padding-bottom: 110px;
}

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

.link-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(117, 103, 255, 0.55);
  background: rgba(28, 34, 65, 0.88);
}

.link-card .number {
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.8rem;
}

.link-card h2 {
  margin: 46px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.link-card p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
}

.arrow {
  position: absolute;
  top: 29px;
  right: 32px;
  color: #c7ceff;
  font-size: 1.7rem;
  transition: transform 180ms ease;
}

.link-card:hover .arrow {
  transform: translate(4px, -4px);
}

.page-hero {
  padding: 86px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.lang-links a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.lang-links a:hover {
  color: white;
  border-color: rgba(117, 103, 255, 0.5);
}

.support-layout,
.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  padding-top: 56px;
}

.aside-label {
  position: sticky;
  top: 30px;
  align-self: start;
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.77rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-stack {
  min-width: 0;
}

.section-title {
  margin-bottom: 24px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

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

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

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 650;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: #aeb7ff;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 1.35rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

.answer {
  max-width: 760px;
  padding: 0 44px 28px 4px;
  color: var(--muted);
}

.answer ol,
.answer ul {
  padding-left: 1.25rem;
}

.key {
  display: inline-block;
  min-width: 1.9em;
  padding: 0.06em 0.42em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: #edf0ff;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.82em;
  text-align: center;
}

.notice {
  margin-top: 54px;
  padding: 28px 30px;
  border-left: 3px solid var(--violet);
  border-radius: 0 20px 20px 0;
  background: rgba(117, 103, 255, 0.1);
}

.notice h2 {
  margin-bottom: 7px;
  font-size: 1.28rem;
}

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

.policy-section {
  padding: 0 0 70px;
  scroll-margin-top: 30px;
}

.policy-section + .policy-section {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

html[data-language="en"] .policy-section[data-lang="en"] {
  padding-top: 0;
  border-top: 0;
}

.policy-section h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.effective {
  margin-bottom: 36px;
  color: #aeb7ff;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.policy-section h3 {
  margin: 38px 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.policy-section p {
  max-width: 780px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: white;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    gap: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .site-nav a {
    padding-inline: 7px;
    font-size: 0.82rem;
  }

  .language-switcher button {
    min-width: 34px;
    padding-inline: 7px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 70px 0 58px;
  }

  h1 {
    letter-spacing: -0.06em;
  }

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

  .support-layout,
  .policy-layout {
    gap: 28px;
  }

  .aside-label {
    position: static;
  }

  .link-card {
    min-height: 220px;
  }

  .page-hero {
    padding-top: 62px;
  }

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

@media (max-width: 520px) {
  .brand span {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
