:root {
  color-scheme: dark;
  --bg: #07090d;
  --surface: #0d1118;
  --surface-2: #121824;
  --surface-3: #172032;
  --text: #f6f8fb;
  --muted: #a7b0bf;
  --soft: #d9e1ea;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #73e6d0;
  --accent-2: #f7c873;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(22, 30, 44, 0.92) 0%, rgba(7, 9, 13, 0.82) 280px, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand {
  min-width: 0;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

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

.nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-decoration: none;
}

.hero {
  position: relative;
  padding: 92px 0 46px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 32px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 10px;
  border: 1px solid rgba(115, 230, 208, 0.24);
  border-radius: 999px;
  background: rgba(115, 230, 208, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0 86px;
}

.card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: var(--shadow);
}

.card:hover {
  border-color: rgba(115, 230, 208, 0.34);
  transform: translateY(-2px);
}

.card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.18;
}

.card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid rgba(115, 230, 208, 0.26);
  border-radius: 8px;
  background: rgba(115, 230, 208, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

.button:hover {
  background: var(--accent);
  color: #06110f;
  text-decoration: none;
}

.document {
  max-width: 860px;
  padding: 68px 0 92px;
}

.document h1 {
  max-width: 780px;
  font-size: clamp(38px, 6vw, 60px);
}

.document h2 {
  margin: 46px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 24px;
  line-height: 1.25;
}

.document h3 {
  margin: 28px 0 8px;
  color: var(--text);
  font-size: 18px;
}

.document p,
.document li {
  color: var(--muted);
}

.document p {
  margin: 0 0 16px;
}

.document ul {
  padding-left: 22px;
}

.notice {
  margin: 28px 0 32px;
  padding: 18px 20px;
  border: 1px solid rgba(247, 200, 115, 0.28);
  border-radius: 8px;
  background: rgba(247, 200, 115, 0.08);
  color: var(--soft);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

  .topbar-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

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

  .hero {
    padding: 58px 0 30px;
  }

  .grid {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .card {
    min-height: 0;
  }
}
