:root {
  --bg: #0d1726;
  --bg-soft: #111f31;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --line: #d9e3ee;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #152236;
  --muted: #5f7188;
  --white: #ffffff;
  --accent: #2a76ff;
  --accent-dark: #1656c8;
  --accent-soft: rgba(42, 118, 255, 0.12);
  --shadow: 0 18px 40px rgba(6, 17, 33, 0.16);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(42, 118, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #0c1522 0%, #0f1d2d 32%, #eef3f8 32%, #eef3f8 100%);
}

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.topbar,
.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2d7cff 0%, #1656c8 100%);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-text,
.topbar-links a,
.text-link,
.topbar-note {
  color: rgba(255, 255, 255, 0.9);
}

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

.topbar-links a,
.text-link {
  text-decoration: none;
  font-size: 0.95rem;
}

.topbar-links a:hover,
.text-link:hover {
  color: var(--white);
}

.hero {
  padding-top: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.hero-copy {
  padding: 34px 0 0;
  color: var(--white);
}

.eyebrow,
.panel-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: #8fb5ff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.primary-button {
  background: linear-gradient(180deg, #2a76ff 0%, #1656c8 100%);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(22, 86, 200, 0.28);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #d9e3ee;
  box-shadow: 0 12px 26px rgba(7, 20, 38, 0.12);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.stat-card span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.download-panel,
.feature-card,
.legal-card,
.benefit-list,
.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.download-panel h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.panel-text,
.panel-note,
.doc-lead {
  color: var(--muted);
  line-height: 1.72;
}

.download-meta {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.meta-row span {
  color: var(--muted);
}

.full-width {
  width: 100%;
}

.panel-note {
  margin-top: 12px;
  font-size: 0.92rem;
}

.content {
  margin-top: 36px;
}

.section {
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.feature-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.legal-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.legal-card h3,
.doc-section h2 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.feature-card p,
.legal-card p,
.benefit-row p,
.doc-section p {
  color: var(--muted);
  line-height: 1.72;
}

.alt-section {
  padding-top: 8px;
}

.benefit-list {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.benefit-row {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.benefit-row:last-child {
  border-bottom: 0;
}

.benefit-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

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

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}

.doc-layout {
  margin-top: 24px;
}

.doc-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.doc-card h1 {
  max-width: none;
  font-size: clamp(2.3rem, 3.5vw, 3.4rem);
  line-height: 1.05;
  color: var(--text);
}

.doc-lead {
  margin-top: 14px;
  margin-bottom: 24px;
}

.doc-section + .doc-section {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-stats,
  .feature-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 18px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 16px 16px 36px;
  }

  .topbar,
  .doc-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .meta-row {
    flex-direction: column;
    gap: 4px;
  }

  .doc-card {
    padding: 22px;
  }
}
