@font-face {
  font-family: "Pretendard";
  src: url("/fonts/PretendardVariable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #09090b;
  color: #f4ecdf;
  font-synthesis: none;
  --background: #09090b;
  --surface: rgba(19, 17, 21, 0.92);
  --surface-strong: #151217;
  --text: #f4ecdf;
  --muted: #bcb2a9;
  --quiet: #8f8680;
  --accent: #d8a06b;
  --accent-soft: #e8c49f;
  --border: rgba(244, 236, 223, 0.16);
  --focus: #f6c895;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -18%, rgba(70, 42, 81, 0.55) 0, rgba(9, 9, 11, 0) 42%),
    var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-soft); text-underline-offset: 0.18em; }
a:hover { color: #ffd8ae; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 0;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.legal-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  text-decoration: none;
}

.legal-nav a[aria-current="page"] { color: var(--text); }

main {
  width: min(800px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 64px;
}

.page-heading { max-width: 690px; margin-bottom: 32px; }

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 14px;
  font-size: clamp(40px, 8vw, 62px);
  font-weight: 690;
  line-height: 1;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 650px;
  margin: 0;
  color: #d1c6bc;
  font-size: 18px;
  line-height: 1.65;
}

.effective-date { margin: 15px 0 0; color: var(--quiet); font-size: 13px; }
.legal-content { border-top: 1px solid var(--border); }

.legal-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:first-child { padding-top: 34px; }

h2 {
  margin: 0 0 12px;
  color: var(--accent-soft);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h3 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
}

p, li, dt, dd, th, td {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 12px 0 0; padding-left: 22px; }
li + li { margin-top: 8px; }
strong { color: var(--text); font-weight: 650; }

.notice {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(216, 160, 107, 0.08);
}

.notice p { color: #d7cbc0; }

.summary-list {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.summary-list dt, .summary-list dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.summary-list dt { padding-right: 22px; color: var(--text); font-weight: 650; }

.table-wrap { width: 100%; overflow-x: auto; margin-top: 18px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }

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

th { color: var(--text); font-weight: 650; background: rgba(255, 255, 255, 0.025); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #170f0a;
  font-size: 15px;
  font-weight: 700;
  padding: 0 22px;
  text-decoration: none;
}

.button:hover { background: #ebb985; color: #170f0a; }
.muted { color: var(--quiet); font-size: 13px; }

.site-footer {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 42px;
  border-top: 1px solid var(--border);
}

.site-footer p, .site-footer a { font-size: 13px; }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.site-footer__links a { color: var(--muted); }

@media (max-width: 680px) {
  .site-header__row { align-items: flex-start; flex-direction: column; }
  .legal-nav { justify-content: flex-start; }
  main { padding-top: 42px; }
  .summary-list { display: block; }
  .summary-list dt { padding-bottom: 3px; border-bottom: 0; }
  .summary-list dd { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@media print {
  :root { color-scheme: light; background: #fff; color: #111; }
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .button, .skip-link { display: none; }
  main { width: 100%; padding: 0; }
  p, li, dt, dd, th, td, h1, h2, h3, strong, a { color: #111; }
}
