:root {
  --bg: #08111d;
  --bg-soft: #0d1726;
  --panel: rgba(19, 29, 44, 0.92);
  --panel-border: rgba(78, 104, 145, 0.32);
  --primary: #1d4f91;
  --primary-soft: #2e69b6;
  --accent: #21b3ff;
  --text: #f6f8fb;
  --muted: #aeb9c9;
  --line: rgba(255, 255, 255, 0.08);
  --danger: #ff5b57;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(45, 99, 181, 0.36), transparent 34%),
    radial-gradient(circle at bottom right, rgba(20, 115, 188, 0.2), transparent 28%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 29, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.topnav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent));
  color: white;
  font-weight: 700;
}

.hero-section {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(19, 29, 44, 0.72);
  color: #dce6f5;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-copy h1,
.section-heading h2,
.flow-copy h2,
.cta-block h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero-copy h1 span {
  color: #7ec3ff;
}

.hero-text,
.section-heading p,
.cta-block p,
.benefit-card p,
.feature-card p,
.metric-item p,
.flow-steps span,
.footer-copy,
.policy-lead,
.policy-block p,
.support-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 20px 0 0;
}

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-soft), var(--accent));
  color: white;
  box-shadow: 0 18px 40px rgba(20, 87, 164, 0.28);
}

.btn-secondary {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

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

.proof-card,
.metric-item,
.feature-card,
.benefit-card,
.support-card,
.policy-block {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.proof-card {
  padding: 18px;
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.hero-visual {
  position: relative;
}

.visual-panel {
  position: relative;
  min-height: 760px;
  border-radius: 36px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(23, 36, 53, 0.98), rgba(13, 21, 34, 0.96));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% 10%;
  height: 220px;
  background: radial-gradient(circle, rgba(38, 129, 227, 0.28), transparent 65%);
  filter: blur(28px);
}

.phone-large,
.phone-medium,
.phone-small {
  position: absolute;
  border-radius: 34px;
  border: 10px solid #121821;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.phone-large {
  width: 290px;
  left: 80px;
  bottom: 56px;
  transform: rotate(-5deg);
}

.phone-medium {
  width: 240px;
  right: 80px;
  bottom: 72px;
  transform: rotate(4deg);
}

.phone-small {
  width: 188px;
  right: 12px;
  top: 72px;
  transform: rotate(8deg);
}

.metric-strip,
.section,
.section-dark,
.section-cta {
  padding: 40px 0;
}

.metric-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-item,
.feature-card,
.benefit-card,
.support-card,
.policy-block {
  padding: 24px;
}

.metric-value {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.section-grid,
.flow-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}

.section-heading.center {
  text-align: center;
  margin-bottom: 24px;
}

.section-heading h2,
.flow-copy h2,
.cta-block h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.04;
  margin-bottom: 14px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card h3,
.benefit-card h3,
.support-card h3,
.policy-block h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.section-dark {
  background: linear-gradient(180deg, rgba(16, 25, 39, 0.38), rgba(8, 17, 29, 0));
}

.flow-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.flow-steps li {
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

.flow-steps strong {
  display: block;
  margin-bottom: 8px;
}

.showcase-card {
  padding: 18px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.showcase-card img {
  width: min(420px, 100%);
  margin: 0 auto;
  border-radius: 28px;
}

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(21, 39, 62, 0.98), rgba(11, 19, 32, 0.98));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.footer {
  padding: 22px 0 38px;
  border-top: 1px solid var(--line);
}

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

.footer-copy {
  margin-top: 10px;
  max-width: 420px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.legal-shell {
  min-height: 100vh;
  padding: 60px 0 80px;
}

.legal-header {
  margin-bottom: 30px;
}

.legal-header h1 {
  margin: 16px 0 10px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.support-grid,
.policy-grid {
  display: grid;
  gap: 18px;
}

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

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

.support-card a,
.policy-block a {
  color: #7ec3ff;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .flow-grid,
  .cta-block,
  .support-grid,
  .metric-grid,
  .benefit-grid,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    flex-wrap: wrap;
  }

  .visual-panel {
    min-height: 720px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1000px);
  }

  .topnav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero-section {
    padding-top: 34px;
  }

  .visual-panel {
    min-height: 600px;
    padding: 20px;
  }

  .phone-large {
    width: 210px;
    left: 24px;
    bottom: 38px;
  }

  .phone-medium {
    width: 176px;
    right: 22px;
    bottom: 46px;
  }

  .phone-small {
    width: 136px;
    right: 2px;
    top: 56px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}
