:root {
  --navy: #082d6d;
  --navy-2: #073b8c;
  --red: #c91536;
  --red-2: #a20f2a;
  --cream: #fffbea;
  --stripe: #f3e5d5;
  --paper: #ffffff;
  --ink: #071324;
  --muted: #6c6f78;
  --line: rgba(8, 43, 104, 0.16);
  --shadow: 0 22px 52px rgba(8, 43, 104, 0.17);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    repeating-linear-gradient(180deg, var(--cream) 0 86px, var(--stripe) 86px 132px),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--navy-2);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
  margin: 0 auto;
  padding: 18px max(24px, calc((100vw - 1120px) / 2 + 24px)) 76px;
  color: white;
  background: var(--navy);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--red);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(2, 12, 33, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  margin-top: -56px;
  padding: 0 24px;
  background: transparent;
}

.hero::before {
  content: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 238px;
  padding: 42px 36px 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 34%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(135deg, #082d6d 0%, #082d6d 58%, #0b3f92 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-inner::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 172px;
  width: 230px;
  height: 136px;
  opacity: 0.48;
  background-image: radial-gradient(circle, white 0 3px, transparent 3.6px);
  background-size: 24px 24px;
}

.hero-inner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  background: linear-gradient(180deg, var(--red) 0 4px, white 4px 7px, var(--navy-2) 7px 12px);
}

.hero-inner > * {
  position: relative;
  z-index: 1;
}

.app-badge {
  position: absolute;
  top: 34px;
  right: 36px;
  z-index: 1;
  width: 84px;
  height: 84px;
  background: var(--red);
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(2, 12, 33, 0.32);
}

.app-badge::before,
.app-badge::after {
  content: "";
  position: absolute;
  background: white;
}

.app-badge::before {
  left: 28px;
  top: 21px;
  width: 6px;
  height: 44px;
  border-radius: 999px;
}

.app-badge::after {
  left: 34px;
  top: 23px;
  width: 30px;
  height: 22px;
  border-radius: 3px 13px 13px 3px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 7vw, 5.6rem);
  font-weight: 950;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: white;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(2, 15, 40, 0.2);
}

.button.secondary {
  color: var(--navy);
  background: white;
}

.main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  position: relative;
  z-index: 1;
}

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

.card,
.panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: var(--navy-2);
}

.card:nth-child(2)::before {
  background: var(--red);
}

.card:nth-child(3)::before {
  background: linear-gradient(180deg, var(--navy-2), white 48%, var(--red));
}

.card strong {
  display: block;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 950;
  margin-bottom: 8px;
}

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

.section {
  padding-top: 42px;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 950;
  margin-bottom: 16px;
}

.panel {
  position: relative;
  padding: 30px;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--red) 0 34%, white 34% 40%, var(--navy-2) 40% 100%);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toc a {
  display: block;
  padding: 9px 0;
  color: var(--navy);
  font-weight: 950;
  text-decoration: none;
}

.legal-copy section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.legal-copy section:first-child {
  padding-top: 0;
}

.legal-copy section:last-child {
  border-bottom: 0;
}

.legal-copy h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 950;
}

.footer {
  max-width: none;
  margin: 0 auto;
  padding: 34px max(24px, calc((100vw - 1120px) / 2 + 24px)) 48px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  border-top: 5px solid var(--red);
}

.footer a {
  color: white;
  margin-right: 16px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 68px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-inner {
    min-height: 0;
    padding: 34px 22px 48px;
  }

  .hero-inner::before {
    right: -12px;
    width: 170px;
  }

  .app-badge {
    position: relative;
    top: auto;
    right: auto;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 18px;
  }

  .app-badge::before {
    left: 21px;
    top: 15px;
    height: 34px;
  }

  .app-badge::after {
    left: 27px;
    top: 17px;
    width: 23px;
    height: 17px;
  }

  .main {
    padding-inline: 18px;
  }

  .grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}
