:root {
  --bg: #08111f;
  --panel: #111d2d;
  --panel-soft: #0d1828;
  --text: #f7faff;
  --muted: #b7c2d2;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #7692ff;
  --aqua: #66ddd2;
  --violet: #b49cff;
  --warning: #ffc27a;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.gradient-text {
  background: linear-gradient(100deg, var(--blue), var(--violet), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(100deg, #5b7cfa, #806ff3);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-card,
.card,
.legal-section,
.notice {
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-card {
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-card figcaption {
  padding: 22px 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  border-top: 1px solid var(--line);
  padding-block: 88px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 38px;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border-radius: 24px;
  padding: 28px;
}

.card-number {
  display: block;
  margin-bottom: 36px;
  color: var(--aqua);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.card p,
.section-intro p,
.legal-section p,
.legal-section li,
.notice p {
  color: var(--muted);
}

.privacy-strip {
  border-color: rgba(102, 221, 210, 0.24);
  background: rgba(102, 221, 210, 0.07);
}

.page-hero {
  padding-block: 72px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.date {
  margin-top: 22px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding-block: 48px 80px;
}

.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.toc strong {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
}

.legal-content {
  display: grid;
  gap: 14px;
}

.legal-section,
.notice {
  scroll-margin-top: 100px;
  border-radius: 22px;
  padding: 28px;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.legal-section p {
  margin: 0;
}

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

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.notice {
  border-color: rgba(255, 194, 122, 0.32);
  background: rgba(255, 194, 122, 0.08);
}

.notice h2,
.notice strong {
  color: #ffe0b9;
}

.notice p {
  margin-bottom: 0;
  color: #e8ceb0;
}

.identity-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.placeholder {
  color: var(--warning);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 34px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.footer-links a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero,
  .grid-3,
  .grid-2,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 44px;
    padding-block: 64px;
  }

  .hero-card {
    max-width: 520px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .nav {
    min-height: 64px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a:last-child {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .section {
    padding-block: 64px;
  }

  .page-hero {
    padding-block: 54px;
  }

  .card,
  .legal-section,
  .notice {
    padding: 22px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body {
    background: white;
    color: #111827;
  }

  .site-header,
  .site-footer,
  .toc,
  .notice {
    display: none;
  }

  .legal-layout {
    display: block;
  }

  .legal-section,
  .legal-section p,
  .legal-section li {
    border-color: #d1d5db;
    background: white;
    color: #111827;
  }
}
