:root {
  --navy: #1b3568;
  --navy-dark: #0f2347;
  --navy-light: #2a4a85;
  --red: #e02020;
  --red-dark: #b81818;
  --red-light: #f25555;
  --bg: #070d18;
  --bg-elevated: #0c1528;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --text: #f4f7fb;
  --muted: #9aa8be;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1160px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -5%, rgba(224, 32, 32, 0.14), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(42, 74, 133, 0.28), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, #0a1222 50%, var(--bg) 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy-dark);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 13, 24, 0.88);
  backdrop-filter: blur(16px);
}

.header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 60;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 35, 71, 0.35);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__text small {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  z-index: 60;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: var(--surface);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--lg {
  min-height: 48px;
  padding-inline: 22px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 28px rgba(224, 32, 32, 0.28);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(224, 32, 32, 0.34);
}

.btn--ghost,
.btn--outline {
  color: #fff;
  border-color: var(--line);
  background: transparent;
}

.btn--outline:hover,
.btn--ghost:hover {
  background: var(--surface);
}

.main {
  flex: 1;
}

.hero {
  padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 64px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-light);
}

.hero__title,
.section-head h2,
.intro h2,
.feature-band h2,
.cta h2 {
  margin: 0 0 16px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__title {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  max-width: 14ch;
}

.hero__lead,
.section-head__lead,
.intro p,
.feature-band__copy p,
.cta__copy p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.hero__checks {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero__checks li {
  position: relative;
  padding-left: 28px;
  color: #dce4f0;
  font-size: 0.95rem;
}

.hero__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--navy-light));
  box-shadow: 0 0 0 4px rgba(224, 32, 32, 0.12);
  transform: translateY(-50%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.trust-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.platform-panel {
  width: min(100%, 460px);
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(224, 32, 32, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(27, 53, 104, 0.55), rgba(15, 35, 71, 0.92));
  box-shadow: var(--shadow);
}

.platform-panel__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.platform-panel__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 35, 71, 0.35);
}

.platform-panel__title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.platform-panel__sub {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.platform-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.platform-tile {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.platform-tile__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-tile__icon svg {
  width: 20px;
  height: 20px;
}

.platform-tile h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.platform-tile p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.platform-panel__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.platform-panel__footer span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #dce4f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.intro,
.feature-band,
.cta {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.intro h2,
.feature-band h2,
.cta h2,
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.intro__metrics {
  display: grid;
  gap: 14px;
}

.metric-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.metric-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  margin-top: 48px;
  margin-bottom: 20px;
}

.section-head h2 {
  max-width: 20ch;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.insight {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.insight:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 32, 32, 0.28);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  border: 1px solid var(--line);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3,
.insight h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p,
.insight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(27, 53, 104, 0.22);
}

.steps__num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 32, 32, 0.12), transparent 42%),
    var(--surface);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 16, 0.92);
}

.footer__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.footer__brand {
  display: flex;
  gap: 14px;
  max-width: 420px;
}

.footer__brand strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.footer__brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__links a:hover {
  color: #fff;
}

.footer__legal {
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero__grid,
  .intro,
  .feature-band,
  .grid-section,
  .insights {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header__right {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 55;
    width: min(100%, 320px);
    height: 100dvh;
    padding: calc(var(--header-h) + 16px) 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    background: var(--bg-elevated);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .header__right.is-open {
    transform: translateX(0);
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .header__actions {
    flex-direction: column;
    width: 100%;
  }

  .header__actions .btn {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .platform-panel__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn,
  .cta__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero {
    padding-top: 28px;
  }

  .hero__title {
    max-width: none;
  }

  .intro,
  .feature-band,
  .cta,
  .card,
  .insight {
    padding: 18px;
  }

  .section-head {
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
