:root {
  color-scheme: dark;
  --bg: #05090d;
  --panel: #0a1219;
  --panel-2: #0f1a23;
  --line: #243746;
  --line-soft: #182733;
  --text: #f2f6fa;
  --muted: #9eadb8;
  --accent: #14b8ff;
  --accent-soft: rgba(20, 184, 255, 0.16);
  --danger: #ff5d65;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(20, 184, 255, 0.14), transparent 30rem),
    linear-gradient(135deg, #05090d 0%, #081017 52%, #05090d 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

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

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 11, 16, 0.72);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(20, 184, 255, 0.22);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(180deg, #17222d 0%, #0b1219 100%);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.button:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.button.primary {
  border-color: #167db4;
  background: linear-gradient(180deg, #168bd1 0%, #0e5e90 100%);
}

.hero,
.document {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 17, 24, 0.86);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
}

.hero {
  padding: 38px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  padding-top: 28px;
  color: var(--text);
  font-size: 24px;
}

h3 {
  padding-top: 18px;
  color: var(--text);
  font-size: 18px;
}

p {
  margin: 12px 0 0;
}

ul,
ol {
  margin: 12px 0 0;
  padding-left: 24px;
}

li + li {
  margin-top: 7px;
}

.lead {
  max-width: 850px;
  color: var(--muted);
  font-size: 20px;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.card {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 31, 42, 0.92), rgba(8, 15, 21, 0.94));
}

.card h2 {
  padding-top: 0;
  font-size: 22px;
}

.card p {
  color: var(--muted);
}

.document {
  padding: 34px 38px 42px;
}

.legal-document h1:first-child {
  max-width: 100%;
  font-size: clamp(32px, 4.4vw, 50px);
}

.legal-document h1 + h2 {
  padding-top: 10px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 600;
}

.legal-document p strong:first-child {
  color: var(--text);
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 10px;
}

.meta-item,
.notice {
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(13, 24, 33, 0.8);
}

.meta-item {
  padding: 12px 14px;
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.meta-value {
  display: block;
  margin-top: 2px;
  font-weight: 700;
}

.notice {
  margin-top: 22px;
  padding: 16px 18px;
  color: var(--muted);
}

.placeholder {
  color: #ffd166;
  font-weight: 700;
}

.doc-placeholder {
  display: grid;
  min-height: 280px;
  margin-top: 24px;
  padding: 28px;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(20, 184, 255, 0.42);
  border-radius: 12px;
  background: rgba(20, 184, 255, 0.05);
}

.doc-placeholder h2 {
  padding-top: 0;
}

.footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 820px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .document {
    padding: 24px;
  }

  .cards,
  .meta {
    grid-template-columns: 1fr;
  }
}
