:root {
  --bg: #07131a;
  --bg-soft: #0f2330;
  --panel: rgba(10, 28, 37, 0.86);
  --panel-solid: #102730;
  --text: #f2f3ec;
  --muted: #c7d3cf;
  --line: rgba(212, 224, 219, 0.12);
  --accent: #b9d66f;
  --accent-deep: #7d9a32;
  --accent-2: #7dc3d1;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 195, 209, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(185, 214, 111, 0.12), transparent 28%),
    linear-gradient(180deg, #143544 0%, var(--bg) 35%, #040a0d 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.hero,
.panel,
.document {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  padding: 48px 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(8, 25, 36, 0.92), rgba(18, 49, 61, 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.legal-hero h1,
.document-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy,
.hero-meta,
.panel p,
.doc-card p,
.document p,
.document li {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 760px;
  font-size: 1.05rem;
}

.hero-badge,
.eyebrow {
  display: inline-block;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

.button-primary {
  color: #0d1807;
  background: linear-gradient(180deg, #d8f08b, var(--accent));
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.content-wrap {
  margin-top: 24px;
}

.panel {
  padding: 28px;
  border-radius: 24px;
  background: var(--panel);
}

.intro-panel,
.support-panel {
  display: grid;
  gap: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.doc-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 42, 52, 0.92), rgba(10, 23, 31, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.doc-card h3,
.panel h2,
.document h2 {
  margin: 10px 0 12px;
}

.doc-card h3 {
  font-size: 1.55rem;
}

.text-link,
.inline-link,
.back-link {
  color: var(--accent-2);
  text-decoration: none;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

.text-link:hover,
.inline-link:hover,
.back-link:hover {
  text-decoration: underline;
}

.document-hero {
  padding: 36px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(14, 35, 42, 0.92), rgba(17, 54, 70, 0.84));
}

.hero-meta {
  margin: 0;
  font-size: 0.98rem;
}

.document {
  margin-top: 22px;
  padding: 30px 28px 36px;
  border-radius: 28px;
  background: rgba(8, 20, 27, 0.92);
}

.document section + section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.document h2 {
  font-size: 1.5rem;
}

.document ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.document li + li {
  margin-top: 10px;
}

.document strong {
  color: var(--text);
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .hero,
  .panel,
  .document,
  .doc-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}