:root {
  color-scheme: light dark;
  --page: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #ececf0;
  --accent: #0066cc;
  --success: #248a3d;
  --danger: #c9342f;
  --nav: rgba(255, 255, 255, 0.88);
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.07);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #09090b;
    --surface: #151517;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --soft: #242426;
    --accent: #2997ff;
    --success: #30d158;
    --danger: #ff6961;
    --nav: rgba(9, 9, 11, 0.86);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 52%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 64px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: var(--nav);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}

.nav-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 74px;
}

.brand img {
  display: block;
  width: 70px;
  height: auto;
  aspect-ratio: 333 / 146;
  filter: invert(1);
}

@media (prefers-color-scheme: dark) {
  .brand img {
    filter: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 560;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

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

.home-intro {
  padding: 84px 0 62px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.13;
  font-weight: 690;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.section-band {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 22px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 670;
}

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

.document-link {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.document-link:hover {
  border-color: color-mix(in srgb, var(--ink) 32%, var(--line));
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.document-link strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.35;
}

.document-link span {
  color: var(--muted);
  font-size: 14px;
}

.document-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

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

.team-member {
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.team-member h3 {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 660;
}

.team-member .role {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.team-member p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding: 62px 0 88px;
}

.legal-sidebar {
  position: sticky;
  top: 94px;
}

.legal-sidebar nav {
  display: grid;
  gap: 4px;
}

.legal-sidebar a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
}

.legal-sidebar a:hover,
.legal-sidebar a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}

.legal-article {
  min-width: 0;
}

.js .legal-article {
  display: none;
}

.js .legal-article.is-active {
  display: block;
}

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

.document-header h1 {
  margin-bottom: 0;
  font-size: 38px;
}

.legal-copy h2 {
  margin: 46px 0 14px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 680;
}

.legal-copy h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 670;
}

.legal-copy p,
.legal-copy li {
  color: color-mix(in srgb, var(--ink) 87%, var(--muted));
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 7px;
}

.legal-copy a,
.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--ink);
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  margin: 18px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  font-weight: 670;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-block {
  margin-top: 44px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.open-shell,
.not-found-shell {
  width: min(620px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.open-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.open-logo {
  width: 86px;
  height: auto;
  margin-bottom: 34px;
  filter: invert(1);
}

.share-avatar {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--ink);
  font-size: 25px;
  font-weight: 670;
}

.share-avatar[hidden],
.share-avatar img[hidden] {
  display: none;
}

.share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-color-scheme: dark) {
  .open-logo {
    filter: none;
  }
}

.open-panel h1 {
  font-size: 32px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
}

.primary-button {
  background: var(--ink);
  color: var(--surface);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.support-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 30px 0 46px;
  color: var(--muted);
  font-size: 13px;
}

.footer-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

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

.footer-links a:hover {
  color: var(--ink);
}

.lang[hidden] {
  display: none !important;
}

.lang.ko {
  display: none !important;
}

@media (max-width: 820px) {
  .nav-shell,
  .shell,
  .footer-shell {
    width: min(100% - 28px, 720px);
  }

  .nav-links {
    display: none;
  }

  .home-intro {
    padding: 58px 0 46px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }

  .legal-sidebar {
    position: static;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .legal-sidebar nav {
    display: flex;
    width: max-content;
  }

  .document-header h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 63px;
  }

  h1 {
    font-size: 30px;
  }

  .section-band {
    padding: 44px 0;
  }

  .open-panel {
    padding: 24px;
  }

  .button-row > * {
    width: 100%;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

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

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