@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-tight-latin.woff2") format("woff2");
}

:root {
  --blue: #2d37e8;
  --blue-bright: #3540f4;
  --blue-deep: #1d25c8;
  --navy: #11164a;
  --navy-2: #0b0f35;
  --navy-3: #171c5c;
  --ink: #090b10;
  --ink-2: #101217;
  --yellow: #ffc21a;
  --yellow-soft: #ffe08a;
  --green: #b8ff45;
  --white: #ffffff;
  --offwhite: #f7f5ee;
  --soft: #d8dbff;
  --soft-2: #aeb3e8;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --success: #58e6a1;
  --danger: #ff7a79;
  --shell: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 32px 90px rgba(5, 7, 40, 0.38);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--white);
  background: var(--blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.057em;
  line-height: 0.94;
}

.h1 {
  font-size: clamp(52px, 6.2vw, 94px);
}

.h2 {
  font-size: clamp(40px, 4.75vw, 68px);
}

.h3 {
  font-size: clamp(30px, 3.15vw, 44px);
}

.yellow {
  color: var(--yellow);
}

.green {
  color: var(--green);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.14);
}

.eyebrow--green {
  color: var(--green);
  border-color: rgba(184, 255, 69, 0.34);
  background: rgba(184, 255, 69, 0.04);
}

.eyebrow--green .dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(184, 255, 69, 0.12);
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
}

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 132px);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head__copy {
  max-width: 780px;
}

.section-head .eyebrow {
  margin-bottom: 24px;
}

.section-head h2 {
  margin-bottom: 24px;
}

.section-head h2 .dim {
  color: rgba(255, 255, 255, 0.45);
}

.section-head__aside {
  flex: none;
  max-width: 330px;
  padding-top: 52px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--soft-2);
}

.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 10px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--yellow {
  box-shadow: 0 12px 32px rgba(255, 194, 26, 0.17);
}

.btn--yellow:hover {
  background: #ffd34d;
  box-shadow: 0 18px 44px rgba(255, 194, 26, 0.25);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--white {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
}

.btn--sm {
  min-height: 44px;
  padding: 0 17px;
  font-size: 13.5px;
  border-radius: 8px;
}

.btn--wide {
  width: 100%;
}

.btn[disabled],
.btn.is-loading {
  pointer-events: none;
  opacity: 0.78;
}

.btn.is-loading .btn-label {
  visibility: hidden;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 650;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-top: 28px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.badge-row li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-row li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  margin-right: 18px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(31, 37, 103, 0.94), rgba(12, 16, 58, 0.98));
  box-shadow: var(--shadow);
}

.section--blue {
  background: var(--blue);
}

.section--blue-deep {
  background: var(--blue-deep);
}

.section--navy {
  background: var(--navy-2);
}

.section--black {
  background: var(--ink);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Modal ---------- */
.modal {
  width: min(620px, calc(100vw - 32px));
  max-height: min(86vh, 860px);
  padding: 0;
  color: var(--white);
  background: #111544;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  overflow: auto;
}

.modal--wide {
  width: min(820px, calc(100vw - 32px));
}

.modal::backdrop {
  background: rgba(4, 6, 22, 0.72);
  backdrop-filter: blur(8px);
}

.modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 18px;
  background: #111544;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal__head h3 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.035em;
  margin-bottom: 5px;
}

.modal__head p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft-2);
}

.modal__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg);
}

.modal__body {
  padding: 24px 26px 28px;
}

.modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 26px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .section-head {
    display: block;
  }
  .section-head__aside {
    padding-top: 0;
    margin-top: 24px;
    max-width: 600px;
  }
  .badge-row {
    gap: 10px 18px;
  }
  .badge-row li + li::before {
    margin-right: 8px;
  }
}

@media (max-width: 560px) {
  :root {
    --radius: 22px;
  }
  .btn {
    min-height: 52px;
    padding: 0 20px;
    font-size: 14.5px;
  }
  .modal__head,
  .modal__body,
  .modal__foot {
    padding-inline: 20px;
  }
}
