:root {
  --navy: #080e1c;
  --navy-mid: #0d1528;
  --card: #111c32;
  --border: rgba(255,255,255,.1);
  --blue: #3b6bff;
  --text: #f0f4fc;
  --muted: #a0b4cc;
  --soft: #d8e2f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #8eabff; }
a:hover { color: #b7c8ff; }
.container { width: min(920px, calc(100% - 48px)); margin: 0 auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8,14,28,.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.back-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--text); }

.hero {
  padding: 88px 0 48px;
  background: radial-gradient(circle at 82% 0%, rgba(59,107,255,.2), transparent 38%);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  margin: 0 0 14px;
  color: #7fa0ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.lead { max-width: 760px; margin: 0; color: var(--soft); font-size: 18px; }
.updated { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 52px;
  padding: 56px 0 80px;
}
.contents {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.contents strong { display: block; margin-bottom: 10px; font-size: 13px; }
.contents a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 13px; }
.contents a:hover { color: var(--text); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 90px; margin-bottom: 44px; }
.legal-content h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.legal-content h3 { margin: 24px 0 8px; font-size: 17px; }
.legal-content p { margin: 0 0 14px; color: var(--muted); }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; color: var(--muted); }
.legal-content li { margin: 7px 0; }
.notice {
  padding: 18px 20px;
  background: rgba(59,107,255,.09);
  border: 1px solid rgba(85,128,255,.28);
  border-radius: 14px;
  color: var(--soft);
}
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { color: var(--text); background: rgba(255,255,255,.035); font-size: 13px; }
td { color: var(--muted); font-size: 14px; }
tr:last-child td { border-bottom: 0; }

.site-footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-links a,
.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.footer-links a:hover,
.footer-links button:hover { color: var(--text); }

:focus-visible { outline: 2px solid #7fa8ff; outline-offset: 3px; border-radius: 4px; }

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 920px); }
  .hero { padding: 64px 0 40px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .contents { position: static; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
