:root {
  --navy-900: #070f24;
  --navy-800: #0b1836;
  --navy-700: #12245a;
  --blue: #17408b;
  --orange: #ee6730;
  --orange-2: #ff9a3c;
  --gold: #ffc65c;
  --text: #eef2fb;
  --muted: #a9b4cf;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --radius: 20px;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(238, 103, 48, 0.28), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(23, 64, 139, 0.55), transparent 60%),
    var(--navy-900);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-2); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 15, 36, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
}
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.dropdown { position: relative; }
.dropdown > button {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.dropdown > button:hover { color: var(--text); }
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 220px;
  background: var(--navy-800);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 12px; border-radius: 8px; }
.dropdown-menu a:hover { background: var(--card); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(238, 103, 48, 0.4);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(238, 103, 48, 0.55); }
.btn-ghost {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.85; line-height: 1.1; }
.btn span { line-height: 1.15; text-align: left; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-logo { width: min(520px, 100%); margin-bottom: 18px; filter: drop-shadow(0 12px 30px rgba(238, 103, 48, 0.35)); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 198, 92, 0.1);
  border: 1px solid rgba(255, 198, 92, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 16px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--orange-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(238, 103, 48, 0.55), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero-art img {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: rotate(2deg);
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 8px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}
.stat .ico { font-size: 1.8rem; }
.stat .label { color: var(--muted); font-weight: 600; font-size: 0.95rem; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

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

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(238, 103, 48, 0.5); }
.card .ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(238, 103, 48, 0.25), rgba(23, 64, 139, 0.35));
  margin-bottom: 14px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card ul { list-style: none; color: var(--muted); }
.card li { padding-left: 20px; position: relative; margin-bottom: 6px; }
.card li::before { content: "›"; position: absolute; left: 4px; color: var(--orange-2); font-weight: 800; }
.card p { color: var(--muted); }

.checklist {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.checklist li { break-inside: avoid; padding: 6px 0 6px 30px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
}

.choice h3 { font-size: 1.05rem; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(238, 103, 48, 0.35), transparent 70%),
    linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 56px 24px;
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta .lines { color: var(--muted); font-size: 1.1rem; margin-bottom: 22px; }
.cta .cta-row { justify-content: center; }
.cta .fine { color: var(--muted); font-size: 0.95rem; margin-top: 22px; font-style: italic; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--card-border);
  margin-top: 64px;
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 6px; }
.legal .meta { color: var(--muted); margin-bottom: 32px; }
.legal article {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}
.legal h2 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--gold); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #d6ddee; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal a { word-break: break-word; }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.tabs a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-logo, .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--navy-800);
    border-bottom: 1px solid var(--card-border);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .dropdown > button { display: block; padding: 12px 4px; width: 100%; text-align: left; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .checklist { columns: 1; padding: 22px 20px; }
  .legal article { padding: 24px 18px; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
