:root {
  --bg: #041d35;
  --bg-2: #072847;
  --surface: #0b345c;
  --surface-2: #0e3f70;
  --surface-3: #134c84;
  --line: rgba(255,255,255,0.11);
  --line-2: rgba(255,255,255,0.16);
  --text: #ffffff;
  --text-soft: #eef6ff;
  --text-muted: #d6e5f6;
  --accent: #ff6a1f;
  --accent-2: #ff8a3d;
  --good: #26c281;
  --bad: #ff5b5b;
  --note: #f6c453;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.18);
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text);
  font: 400 18px/1.72 Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255,106,31,0.12), transparent 16%),
    radial-gradient(circle at left top, rgba(69,149,255,0.10), transparent 22%),
    linear-gradient(180deg, #0c4e89 0, var(--bg-2) 120px, var(--bg) 100%);
  max-width: 100%;
  overflow-x: hidden;
}

main, section, nav, div, header, footer { max-width: 100%; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; max-width: 100%; }
.page-main, .hero, .hero__copy, .hero__media, .legal-banner, .legal-banner__content, .legal-banner__copy, .legal-banner__media, .content-stack, .content-stack > section { min-width: 0; }
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(5, 34, 61, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo {
  display: inline-flex; align-items: center; font-weight: 900; font-size: 35px; letter-spacing: 1px; line-height: 1; color: #fff;
}
.site-logo__accent { color: var(--accent); }
.site-nav {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end;
}
.site-nav__link {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03); color: var(--text-soft); font-size: 15px; font-weight: 700;
}
.site-nav__link.is-active {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-color: rgba(255,255,255,0.12); color: #fff;
}
.nav-toggle {
  display: none; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; background: rgba(255,255,255,0.04); padding: 0; margin-left: auto;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 999px; background: #fff;
}
.page-main { padding: 28px 0 56px; }
.hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 0; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: linear-gradient(135deg, #07284a 0%, #0a3b67 100%); margin-bottom: 28px;
}
.hero__copy { padding: 42px 42px 38px; }
.hero__eyebrow {
  display: inline-flex; min-height: 32px; align-items: center; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #ffe2cf; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 16px;
}
.hero__title { margin: 0 0 14px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; color: #fff; }
.hero__text { margin: 0 0 20px; color: var(--text-soft); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    url('/assets/img/hero-main.svg') center/cover no-repeat;
}
.btn {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent; font-weight: 800; font-size: 15px;
}
.btn--accent { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 10px 24px rgba(255,106,31,0.28); }
.btn--ghost { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.16); color: #fff; }
.legal-banner { margin: 0 0 26px; }
.legal-banner__content {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(220px, 360px); gap: 22px; align-items: center;
  padding: 28px 30px; border-radius: 24px;
  background: radial-gradient(circle at right top, rgba(255, 183, 76, 0.16), transparent 24%), linear-gradient(135deg, #0a355d 0%, #082947 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.legal-banner__eyebrow {
  display: inline-flex; min-height: 28px; align-items: center; padding: 0 11px; border-radius: 999px;
  background: rgba(255,255,255,0.07); color: #ffe6cf; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 14px;
}
.legal-banner__copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; color: #fff; }
.legal-banner__list {
  list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px;
}
.legal-banner__list li {
  position: relative; padding: 14px 16px 14px 48px; border-radius: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #fff;
}
.legal-banner__list li::before {
  content: "✓"; position: absolute; left: 15px; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 14px; font-weight: 900;
}
.legal-banner__button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; font-weight: 800;
}
.legal-banner__media { display: flex; align-items: center; justify-content: center; }
.legal-banner__media img { width: min(100%, 280px); height: auto; object-fit: contain; filter: drop-shadow(0 12px 26px rgba(0,0,0,0.25)); }
.content-stack { display: grid; gap: 22px; }
.content-stack > section {
  position: relative; padding: 28px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 63, 111, 0.95), rgba(8, 43, 76, 0.98)); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.content-stack > section::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--accent-2), rgba(255,138,61,0));
}
.content-stack > section h1,
.content-stack > section h2 { margin: 0 0 16px; color: #fff; line-height: 1.18; }
.content-stack > section h1 { font-size: clamp(30px, 4vw, 42px); }
.content-stack > section h2 { font-size: clamp(24px, 3vw, 32px); }
.content-stack > section h3 { margin: 24px 0 12px; font-size: 21px; line-height: 1.25; color: #fff; }
.content-stack > section p { margin: 0 0 14px; color: var(--text-soft); }
.content-stack > section h1,
.content-stack > section h2,
.content-stack > section h3,
.content-stack > section p,
.content-stack > section li,
.legal-banner__copy h2,
.legal-banner__copy p {
  overflow-wrap: anywhere;
  word-break: normal;
}

.content-stack > section p + p { margin-top: 10px; }
.content-stack > section strong { color: #fff; }
.content-stack > section ul,
.content-stack > section ol { margin: 0 0 14px; padding: 0; color: var(--text-soft); }
.content-stack > section ul { list-style: none; display: grid; gap: 10px; }
.content-stack > section ul li {
  position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08);
}
.content-stack > section ul li::before {
  content: ""; position: absolute; left: 18px; top: 21px; width: 12px; height: 12px; border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 0 0 5px rgba(255,106,31,0.12);
}
.content-stack > section ol { list-style: none; counter-reset: section-counter; display: grid; gap: 10px; }
.content-stack > section ol li {
  position: relative; counter-increment: section-counter; padding: 14px 16px 14px 54px;
  border-radius: 14px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08);
}
.content-stack > section ol li::before {
  content: counter(section-counter); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px;
  border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.10); color: #fff; font-weight: 800; font-size: 14px;
}
.content-stack > section table {
  width: 100%; max-width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0;
  border: 1px solid rgba(255,255,255,0.09); border-radius: 18px; background: rgba(255,255,255,0.03);
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.content-stack > section table thead,
.content-stack > section table tbody,
.content-stack > section table tr {
  width: auto;
}
.content-stack > section table th,
.content-stack > section table td {
  min-width: 180px; padding: 14px 16px; text-align: left; border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07); vertical-align: top;
  overflow-wrap: anywhere;
}
.content-stack > section table th:last-child,
.content-stack > section table td:last-child { border-right: 0; }
.content-stack > section table tr:last-child td { border-bottom: 0; }
.content-stack > section table th { background: rgba(255,255,255,0.08); color: #fff; font-size: 15px; font-weight: 800; }
.content-stack > section table td { color: var(--text-soft); }
.list-badge {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; margin-right: 8px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; vertical-align: middle;
}
.list-badge--good { background: rgba(38,194,129,0.18); color: #bff3dc; }
.list-badge--bad, .list-badge--risk { background: rgba(255,91,91,0.18); color: #ffd0d0; }
.list-badge--note { background: rgba(246,196,83,0.18); color: #ffeab0; }
.content-stack > section ul li.item-good { border-color: rgba(38,194,129,0.22); background: rgba(38,194,129,0.07); }
.content-stack > section ul li.item-good::before { background: linear-gradient(180deg, #39d695, #26c281); box-shadow: 0 0 0 5px rgba(38,194,129,0.12); }
.content-stack > section ul li.item-risk,
.content-stack > section ul li.item-bad { border-color: rgba(255,91,91,0.22); background: rgba(255,91,91,0.07); }
.content-stack > section ul li.item-risk::before,
.content-stack > section ul li.item-bad::before { background: linear-gradient(180deg, #ff7a7a, #ff5b5b); box-shadow: 0 0 0 5px rgba(255,91,91,0.12); }
.faq-section h3 {
  margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
}
.mobile-sticky-cta {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(620px, calc(100% - 24px));
  display: flex; gap: 10px; z-index: 80; padding: 10px; border-radius: 18px; background: rgba(4, 28, 49, 0.9);
  border: 1px solid rgba(255,255,255,0.09); backdrop-filter: blur(10px); box-shadow: 0 18px 36px rgba(0,0,0,0.28);
}
.mobile-sticky-cta__btn {
  flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
  background: rgba(255,255,255,0.06); color: #fff; font-weight: 800; font-size: 15px; border: 1px solid rgba(255,255,255,0.10);
}
.mobile-sticky-cta__btn--accent { background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-color: transparent; }
.site-footer {
  padding-bottom: 88px; border-top: 1px solid var(--line); background: rgba(4, 25, 44, 0.64); margin-top: 38px;
}
.site-footer__inner { min-height: 82px; display: flex; align-items: center; justify-content: center; }
.site-footer__inner p { margin: 0; color: var(--text-muted); font-size: 14px; text-align: center; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { min-height: 260px; }
  .legal-banner__content { grid-template-columns: 1fr; }
  .legal-banner__media { order: -1; }
}
@media (max-width: 768px) {
  .container { width: min(var(--container), calc(100% - 20px)); }
  .site-header__inner { min-height: 74px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: 75px; left: 10px; right: 10px; display: none; flex-direction: column; align-items: stretch;
    width: auto; max-width: calc(100vw - 20px); max-height: calc(100vh - 95px); overflow-y: auto; overflow-x: hidden;
    padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.10); background: rgba(6, 34, 60, 0.98); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { width: 100%; justify-content: center; min-height: 50px; }
  .hero__copy { padding: 26px 22px 24px; }
  .content-stack > section { padding: 22px 16px; }
  .content-stack > section::before { top: 14px; bottom: 14px; }
  .content-stack > section h1 { font-size: 32px; }
  .content-stack > section h2 { font-size: 26px; }
  body { font-size: 17px; line-height: 1.66; }
  .content-stack > section table { margin-left: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  .site-logo { font-size: 30px; }
  .hero__title { font-size: 34px; }
  .btn, .hero__actions .btn, .legal-banner__button { width: 100%; }
  .legal-banner__content { padding: 20px; }
  .legal-banner__copy h2 { font-size: 28px; }
  .content-stack > section table th, .content-stack > section table td { min-width: 150px; padding: 12px 14px; }
  .content-stack > section ul li,
  .content-stack > section ol li { padding-right: 14px; }
  .mobile-sticky-cta { bottom: 10px; }
  .mobile-sticky-cta__btn { min-height: 46px; font-size: 14px; padding: 0 10px; }
  .site-footer { padding-bottom: 86px; }
}
