@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&display=swap');

:root {
  color-scheme: dark;
  font-family: Montserrat, 'Segoe UI', system-ui, sans-serif;
  color: #fff;
  background: #05081a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --border: rgba(56, 160, 255, .38);
  --muted: #aac3e8;
  --accent: #38c8ff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse at 50% 0, rgba(12, 107, 240, .22), transparent 55%), #05081a;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(5, 8, 26, .92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
}

.site-header nav,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.site-header nav a,
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.wrap {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}

.legal-card {
  margin: 56px 0;
  padding: clamp(24px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(12, 132, 252, .14), rgba(14, 28, 70, .8));
  box-shadow: 0 0 36px rgba(12, 132, 252, .16);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.intro {
  max-width: 680px;
  margin: 20px 0 12px;
  color: #dbe8ff;
  font-size: 1.08rem;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.legal-card section {
  margin-top: 36px;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.3;
}

.legal-card section p {
  margin: 0 0 12px;
  color: #dbe8ff;
}

.legal-card section p:last-child {
  margin-bottom: 0;
}

.notice {
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(12, 132, 252, .12);
  color: var(--muted) !important;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 36px;
  font-weight: 700;
}

.site-footer {
  justify-content: center;
  padding: 20px 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
    padding-inline: 16px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .legal-card {
    margin: 28px 0;
  }
}
