*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --page: #080d18;
  --surf: #111927;
  --elev: #17243a;
  --elev-2: rgba(255, 255, 255, 0.03);
  --brd: rgba(255, 255, 255, 0.06);
  --brd2: rgba(255, 255, 255, 0.11);
  --brand: #2dd4bf;
  --brand-dim: rgba(45, 212, 191, 0.1);
  --ink: #e8edf5;
  --ink2: #8a97ab;
  --ink3: #64748b;
  --danger: #f97066;
  --warn: #fbbf24;
  --edge-angle-ui: 142deg;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --sh-1: 0 20px 44px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.28);
  --sh-2: 0 30px 68px rgba(0, 0, 0, 0.42), 0 3px 10px rgba(0, 0, 0, 0.32);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.76;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.24;
  pointer-events: none;
  z-index: 9999;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

strong {
  color: var(--ink);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1px 6px;
}

nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  background: rgba(7, 12, 22, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--sh-1);
  overflow: hidden;
}

nav::after {
  content: '';
  position: absolute;
  inset: 0 0 -1px 0;
  padding: 1px;
  background: linear-gradient(
    var(--edge-angle-ui),
    rgba(45, 212, 191, 0.32),
    rgba(255, 255, 255, 0.08) 36%,
    rgba(45, 212, 191, 0) 72%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.nav-logo img {
  height: 94px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex-shrink: 0;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-dim);
  border: 1px solid rgba(45, 212, 191, 0.28);
  padding: 5px 13px;
  border-radius: 100px;
  white-space: nowrap;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.legal-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 52px 88px;
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.subtitle {
  color: var(--ink2);
  max-width: 860px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--brd2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--ink2);
}

.summary-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.summary-card,
.legal-card,
.notice-card {
  position: relative;
  background: linear-gradient(165deg, rgba(7, 12, 22, 0.92), rgba(11, 19, 31, 0.92));
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: var(--sh-2);
}

.summary-card::after,
.legal-card::after,
.notice-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 18px;
  background: linear-gradient(
    var(--edge-angle-ui),
    rgba(45, 212, 191, 0.32),
    rgba(255, 255, 255, 0.08) 36%,
    rgba(45, 212, 191, 0) 72%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.summary-card,
.notice-card {
  padding: 22px 24px;
}

.summary-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.summary-card p,
.summary-card li,
.notice-card p,
.notice-card li {
  color: var(--ink2);
}

.summary-card ul,
.notice-card ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.legal-card {
  margin-top: 22px;
  padding: 32px 32px 28px;
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--brd);
}

.legal-section h2 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.legal-section h3 {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 18px 0 8px;
}

.legal-section p,
.legal-section li,
.legal-section dd {
  color: var(--ink2);
}

.legal-section p + p {
  margin-top: 10px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 20px;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.legal-section dl {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.legal-section dt {
  font-weight: 600;
  color: var(--ink);
}

.legal-section dd {
  margin-left: 0;
}

.notice-card {
  margin-top: 22px;
}

.notice-card strong {
  color: var(--ink);
}

.notice-card--warning .summary-label {
  color: var(--warn);
}

.notice-card--warning {
  background: linear-gradient(165deg, rgba(28, 22, 8, 0.94), rgba(20, 17, 7, 0.94));
}

.notice-card--muted {
  background: linear-gradient(165deg, rgba(11, 19, 31, 0.88), rgba(15, 19, 27, 0.9));
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 14px;
}

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

.legal-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink3);
  background: rgba(255, 255, 255, 0.03);
}

.legal-table td {
  font-size: 14px;
  color: var(--ink2);
  background: rgba(255, 255, 255, 0.015);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.stack {
  display: grid;
  gap: 8px;
}

.muted {
  color: var(--ink3);
}

.small {
  font-size: 13px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.page-links a {
  font-size: 13px;
}

footer {
  border-top: 1px solid var(--brd);
  padding: 28px 52px;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 12px;
  color: var(--ink3);
}

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

.footer-links a {
  font-size: 12px;
  color: var(--ink3);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink2);
}

@media (max-width: 980px) {
  .summary-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  nav {
    padding: 0 10px;
    height: 82px;
  }

  .nav-logo img {
    width: 172px;
    height: auto;
  }

  .nav-right .nav-link {
    display: none;
  }

  .nav-right {
    gap: 6px;
  }

  .beta-pill {
    font-size: 8px;
    padding: 2px 6px;
    letter-spacing: 0.01em;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .live-dot {
    width: 4px;
    height: 4px;
  }

  .legal-shell {
    padding: 120px 24px 72px;
  }

  .legal-card {
    padding: 24px 20px 22px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 8px;
    height: 76px;
  }

  .nav-logo img {
    width: 156px;
    height: auto;
  }

  .beta-pill {
    display: none;
  }

  .summary-card,
  .notice-card,
  .legal-card {
    border-radius: 16px;
  }
}
