:root {
  --navy: #1b1f4c;
  --indigo: #29387b;
  --sky: #57a9db;
  --sky-light: #85d1e8;
  --ice: #ecf7fd;
  --ice-2: #dcf0fa;
  --card: #f4fafe;
  --line: #dcebf5;
  --line-2: #c9e4f3;
  --text: #1f2a5c;
  --muted: #4a5785;
  --white: #ffffff;

  --font-display: "Comfortaa", "Commissioner", system-ui, sans-serif;
  --font-body: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--ice-2); color: var(--navy); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); font-weight: 600; font-size: 16px; padding: 0 24px; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--outline { min-height: 48px; padding: 0 22px; font-size: 16px; font-weight: 600; color: var(--indigo); border-color: var(--indigo); }
.btn--outline svg { stroke-width: 2; }
.btn--outline:hover { background: var(--indigo); color: var(--white); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid #e3eef6; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 18px;
}
.site-header__logos { display: flex; align-items: center; gap: 20px; }
.site-header .logo-fa { height: 52px; width: auto; }
.site-header .logo-ab { height: 26px; width: auto; }
.site-header__x { font-size: 20px; color: #8a96bd; }
.site-header__link { font-size: 15px; font-weight: 600; text-decoration: none; }

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__claim {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__claim-top { display: block; color: var(--sky); font-weight: 500; }
.hero__claim-bottom { display: block; color: var(--white); }
.hero__intro { font-size: clamp(17px, 1.5vw, 20px); color: #d5dcf2; max-width: 34em; }
.hero__intro strong { color: var(--white); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.offer {
  flex: 1 1 420px; min-width: 0;
  background: var(--ice);
  color: var(--indigo);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 14px;
}
.offer__pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(104px, 13vw, 184px);
  line-height: .9;
  letter-spacing: -.04em;
}
.offer__cards { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); }
.offer__rule { border: 0; height: 1px; background: var(--line-2); margin: 10px 0; }
.offer__scope { display: flex; gap: 18px; align-items: center; }
.offer__house { width: 64px; height: 60px; flex: none; color: var(--indigo); }
.offer__scope p { font-size: 18px; line-height: 1.45; font-weight: 600; color: var(--text); }
.offer__scope p span { display: block; font-weight: 400; color: var(--muted); }

.facts { border-top: 1px solid rgba(255,255,255,.12); }
.facts__list { display: flex; flex-wrap: wrap; }
.facts__list li {
  flex: 1 1 240px;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 0;
  font-size: 16px; font-weight: 500;
}
.facts__list svg {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: var(--sky-light); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section--ice { background: var(--ice); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section__title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
}
.section__title--sm { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.section__lead { font-size: 18px; color: var(--muted); max-width: 26em; }
.section__lead strong { color: var(--text); }

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.split__head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* Benefits */
.benefits { flex: 2 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.benefit {
  flex: 1 1 260px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.benefit__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--indigo);
  display: flex; align-items: center; justify-content: center;
}
.benefit__icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--white); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.benefit h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.benefit p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Journeys */
.journeys { display: flex; flex-direction: column; gap: 40px; }
.journeys__head {
  display: flex; flex-wrap: wrap; gap: 24px 48px;
  align-items: flex-end; justify-content: space-between;
}
.toggle {
  display: flex; gap: 6px; padding: 6px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.toggle__btn {
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--indigo);
  font-family: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.toggle__btn:hover { background: var(--ice); }
.toggle__btn[aria-pressed="true"] { background: var(--indigo); color: var(--white); }

.panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 32px;
}
.panel[hidden] { display: none; }
.panel__head { display: flex; flex-direction: column; gap: 8px; }
.panel__head h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; font-weight: 700; color: var(--navy); }
.panel__head p { font-size: 17px; color: var(--muted); }
.panel__foot { padding-top: 24px; border-top: 1px solid #e3eef6; font-size: 15px; color: var(--muted); }
.panel__cta {
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center;
  padding-top: 24px; border-top: 1px solid #e3eef6;
}
.panel__cta p { font-size: 15px; color: var(--muted); max-width: 30em; }

.steps { display: flex; flex-wrap: wrap; gap: 16px; }
.steps li {
  flex: 1 1 260px;
  border-top: 3px solid var(--indigo);
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.steps__num {
  font-family: var(--font-display);
  font-weight: 700; font-size: 36px; line-height: 1;
  color: var(--sky);
}
.steps h4 { font-size: 19px; font-weight: 700; color: var(--navy); }
.steps p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* FAQ */
.faq { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.qa {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: background-color .15s ease;
}
.qa[open] { background: var(--white); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-size: 18px; font-weight: 600; color: var(--navy);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  width: 20px; height: 20px; flex: none;
  background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2329387b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa > p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--muted); }

.qa--plain { border: 0; border-top: 1px solid #e3eef6; border-radius: 0; background: transparent; }
.qa--plain[open] { background: transparent; }
.qa--plain summary { padding: 16px 0; font-size: 16px; color: var(--indigo); }
.qa--plain > p { padding: 0 0 8px; font-size: 15px; }

.todo {
  background: #fff4d6; color: #6b4e00;
  border: 1px dashed #c99a1f; border-radius: 4px;
  padding: 1px 6px; font-size: .92em;
}

/* Terms */
.terms {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap;
  gap: 32px clamp(32px, 5vw, 72px);
}
.terms__head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.terms__body { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.terms__list { display: flex; flex-direction: column; gap: 14px; }
.terms__list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px; line-height: 1.6;
}
.terms__list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px;
  background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c78b0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Footer */
.site-footer { background: var(--navy); color: #c9d3f0; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 24px 48px;
  align-items: center; justify-content: space-between;
  padding-top: 40px; padding-bottom: 40px;
}
.site-footer__logos {
  display: flex; align-items: center; gap: 20px;
  background: var(--white); border-radius: 14px; padding: 12px 20px;
}
.site-footer .logo-fa { height: 40px; width: auto; }
.site-footer .logo-ab { height: 20px; width: auto; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.site-footer__links a { color: #c9d3f0; text-decoration: none; }
.site-footer__links a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal { flex-basis: 100%; font-size: 14px; color: #a9b4d8; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .site-header .logo-fa { height: 40px; }
  .site-header .logo-ab { height: 20px; }
  .site-header__link { display: none; }
  .btn { width: 100%; justify-content: center; }
  .toggle { width: 100%; }
  .toggle__btn { flex: 1; padding: 0 12px; }
  .qa summary { padding: 18px 20px; font-size: 17px; }
  .qa > p { padding: 0 20px 20px; }
}
