:root {
  --navy: #0b3d91;
  --navy-dark: #07162b;
  --blue: #1254a4;
  --cyan: #1aa6e0;
  --mint: #2ec4b6;
  --ink: #1c2430;
  --muted: #5b6778;
  --line: #d7e1ee;
  --paper: #f4f7fb;
  --white: #ffffff;
  --cta: #e85d04;
  --cta-dark: #c24c03;
  --ok: #14804a;
  --danger: #b42318;
  --shadow: 0 18px 40px rgba(7, 22, 43, 0.12);
  --radius: 18px;
  --max: 1160px;
  --header: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3,
h4 {
  font-family: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  line-height: 1.15;
  color: var(--navy-dark);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 22, 43, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-text strong {
  display: block;
  font-family: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand-text span {
  display: block;
  font-size: 0.78rem;
  color: #9fd9f5;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: #e8f4ff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.is-active {
  background: rgba(26, 166, 224, 0.18);
  color: #fff;
}

.nav-cta {
  background: var(--cta) !important;
  color: #fff !important;
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(26, 166, 224, 0.28), transparent 28%),
    linear-gradient(160deg, #07162b 0%, #0b3d91 55%, #0a7ec4 100%);
  color: #fff;
  padding: 72px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  max-width: 14ch;
}

.hero p {
  font-size: 1.12rem;
  color: #d7ecf8;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cta-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--blue);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #c5e7f7;
  font-size: 0.92rem;
}

.trust-row strong {
  color: #fff;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.kicker {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 10px;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e7f6fd;
  color: var(--navy);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 10px 0 10px 28px;
  position: relative;
}

.list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  position: absolute;
  left: 0;
  top: 16px;
}

.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--cyan));
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal h2 {
  margin-top: 1.4em;
  font-size: 1.25rem;
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 1.1em;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef5fb;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 800;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

input[type="checkbox"] {
  width: auto;
  accent-color: var(--navy);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.alert-ok {
  background: #eaf8ef;
  color: var(--ok);
}

.alert-err {
  background: #fdecec;
  color: var(--danger);
}

.site-footer {
  background: var(--navy-dark);
  color: #c9d7e6;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer a {
  color: #d7ecf8;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.foot-note {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  bottom: 16px;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
  display: none;
}

.cookie-banner.is-open,
.cookie-modal.is-open {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 22, 43, 0.55);
  z-index: 90;
  display: none;
  padding: 24px 16px;
}

.cookie-modal-card {
  background: #fff;
  max-width: 640px;
  margin: 8vh auto 0;
  border-radius: 20px;
  padding: 24px;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.prefs-btn {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  display: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.prefs-btn.is-visible {
  display: inline-flex;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .split,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #07162b;
    flex-direction: column;
    padding: 12px 16px 20px;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }
}
