/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, header, footer, nav, ul, li, a, img, button, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  border: 0;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background-color: #0a0f1e;
  color: #eef1f8;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100%;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a {
  color: #d4dbec;
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover, a:focus { color: #ffffff; }
h1, h2, h3, h4, h5, h6 {
  color: #eef1f8;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.2;
}
button { font-family: inherit; cursor: pointer; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background-color: #c4121b;
  color: #ffffff;
}
.btn--primary:hover, .btn--primary:focus {
  background-color: #9e0e16;
  color: #ffffff;
}
.btn--secondary {
  background-color: #1a2845;
  color: #ffffff;
  border-color: #1e2d4a;
}
.btn--secondary:hover, .btn--secondary:focus {
  background-color: #ffffff14;
  color: #ffffff;
}

/* ---- Header ---- */
.site-header {
  background-color: #14203a;
  border-bottom: 1px solid #1e2d4a;
  position: relative;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.site-header__home { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__logo { height: 36px; width: auto; }

.site-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #1e2d4a;
  border-radius: 6px;
  padding: 10px;
}
.site-header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #eef1f8;
  border-radius: 1px;
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #14203a;
  border-bottom: 1px solid #1e2d4a;
  padding: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.site-nav.is-open {
  max-height: 600px;
}
.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #d4dbec;
  font-weight: 500;
  padding: 10px 0;
}
.site-nav__link:hover, .site-nav__link:focus { color: #ffffff; }
.site-header__cta { align-self: flex-start; }

/* ---- Footer ---- */
.site-footer {
  background-color: #14203a;
  border-top: 1px solid #1e2d4a;
  margin-top: 40px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.site-footer__home { display: inline-flex; }
.site-footer__logo { height: 30px; width: auto; }
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__link { color: #d4dbec; }
.site-footer__link:hover, .site-footer__link:focus { color: #ffffff; }
.site-footer__copy {
  color: #d4dbec;
  font-size: 13px;
}

/* ---- Tablet ---- */
@media (min-width: 768px) {
  .container { padding: 0 24px; }

  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .site-footer__list {
    flex-direction: row;
    gap: 24px;
  }
}

/* ---- Desktop ---- */
@media (min-width: 1024px) {
  .site-header__toggle { display: none; }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    background: transparent;
    border-bottom: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    width: auto;
  }
  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .site-nav__link { padding: 0; }
  .site-header__cta { align-self: center; }

  .site-footer__inner { flex-wrap: nowrap; }
}

/* ---- 404 ---- */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 64px 0;
}
.not-found__inner {
  text-align: center;
  max-width: 480px;
}
.not-found__code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2fcf5f;
  margin-bottom: 8px;
}
.not-found__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.not-found__text {
  color: #d4dbec;
  font-size: 15px;
  margin-bottom: 24px;
}
.not-found__link { margin-top: 4px; }

/* ---- Page-level custom properties ---- */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  --border: 1px solid #1e2d4a;
  --max-prose: 72ch;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; }
}

.main { display: block; }

a:focus-visible, button:focus-visible {
  outline: 2px solid #2fcf5f;
  outline-offset: 2px;
}

/* ---- Hero ---- */
.hero {
  background: radial-gradient(circle at 15% 15%, #14203a 0%, #0a0f1e 55%), linear-gradient(160deg, #0a0f1e 0%, #14203a 100%);
  padding: var(--space-7) 0 var(--space-6);
  border-bottom: var(--border);
}
.hero__inner { max-width: 820px; }
.hero__eyebrow {
  color: #2fcf5f;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.hero__title {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: var(--space-3);
}
.hero__lede {
  color: #d4dbec;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  max-width: 65ch;
  margin-bottom: var(--space-5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.hero__actions .btn { min-height: 44px; display: inline-flex; align-items: center; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  color: #d4dbec;
  background: #ffffff0d;
  border: var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}
.hero__trust-icon { font-size: 15px; }

/* ---- Table of contents ---- */
.toc { padding: var(--space-5) 0; }
.toc__inner {
  background-color: #14203a;
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.toc__label {
  font-weight: 700;
  color: #eef1f8;
  margin-bottom: var(--space-3);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.toc__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
.toc__list a {
  display: block;
  padding: 6px 0;
  border-bottom: var(--border);
  font-size: 15px;
}
.toc__list li:last-child a { border-bottom: none; }
@media (min-width: 768px) {
  .toc__list { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); }
}

/* ---- Sections ---- */
.section { padding: var(--space-6) 0; }
.section--surface { background-color: #14203a; }
.section__title {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.prose { max-width: var(--max-prose); }
.prose p {
  font-size: 16px;
  line-height: 1.6;
  color: #eef1f8;
  margin-bottom: var(--space-3);
}
.prose p:last-child { margin-bottom: 0; }
.section__cta { margin-top: var(--space-5); text-align: center; }

/* ---- Promo banner / image grid ---- */
.promo-banner {
  margin-top: var(--space-5);
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow);
}
.promo-banner img { width: 100%; height: auto; display: block; }
.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.image-grid__item {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
}
.image-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 600px) {
  .image-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Data tables ---- */
.table-wrap {
  margin-top: var(--space-4);
  overflow-x: auto;
  border: var(--border);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.data-table thead th {
  background-color: #1a2845;
  color: #eef1f8;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: var(--space-3);
  border-bottom: var(--border);
}
.data-table tbody td {
  padding: var(--space-3);
  border-bottom: 1px solid #1e2d4a;
  font-size: 15px;
  color: #d4dbec;
  vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background-color: #ffffff08; }

/* ---- Steps list ---- */
.steps {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  counter-reset: none;
}
.steps__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background-color: #ffffff08;
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.steps__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #c4121b;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.steps__text {
  font-size: 15px;
  line-height: 1.6;
  color: #eef1f8;
  padding-top: 4px;
}

/* ---- Feature / bullet list ---- */
.feature-list {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.feature-list__item {
  position: relative;
  padding-left: var(--space-4);
  font-size: 15px;
  line-height: 1.6;
  color: #eef1f8;
}
.feature-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2fcf5f;
}

/* ---- Accordion ---- */
.accordion {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.accordion__item {
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #ffffff08;
}
.accordion__heading { margin: 0; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: transparent;
  border: none;
  color: #eef1f8;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  min-height: 44px;
}
.accordion__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  background-color: #2fcf5f;
  transition: transform 0.2s ease;
}
.accordion__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.accordion__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(90deg); opacity: 0; }
.accordion__panel {
  padding: 0 var(--space-4) var(--space-4);
  color: #d4dbec;
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Buttons (ensure min height) ---- */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }


/* ---- Review fixes: contrast, tap targets, type size ---- */
.toc__list a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 11px 0;
  border-bottom: var(--border);
  font-size: 15px;
}
.toc__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #2fcf5f;
  color: #0a0f1e;
  font-size: 14px;
  font-weight: 700;
}

.prose a, .accordion__panel a {
  display: inline-block;
  padding: 10px 3px;
  margin: -10px -3px;
}

.data-table tbody td a {
  display: inline-block;
  padding: 10px 3px;
  margin: -10px -3px;
}

.hero__eyebrow { font-size: 14px; }
.data-table thead th { font-size: 14px; }
.site-footer__copy { font-size: 14px; }


/* ---- Hero promo carousel ---- */
.carousel {
  padding: var(--space-5) 0 0;
}
.carousel__track {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-2);
}
.carousel__slide {
  scroll-snap-align: start;
  flex: 0 0 85%;
  background-color: #14203a;
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.carousel__media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.carousel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.carousel__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.carousel__dot {
  width: 12px;
  height: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff33;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.carousel__dot.is-active::before {
  background-color: #2fcf5f;
  transform: translate(-50%, -50%) scale(1.15);
}
@media (min-width: 768px) {
  .carousel__slide { flex: 0 0 48%; }
}
@media (min-width: 1024px) {
  .carousel__track { overflow-x: visible; scroll-snap-type: none; }
  .carousel__slide { flex: 1 1 0; }
}

/* ---- Payments page additions ---- */
.meta-byline {
  font-size: 14px;
  line-height: 1.6;
  color: #d4dbec;
  border-top: var(--border);
  padding-top: var(--space-3);
  margin-top: var(--space-2);
}

.promo-strip-wrap { padding: var(--space-4) 0 0; }
.promo-strip {
  background-color: #14203a;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.promo-strip__text {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.promo-strip__icon { font-size: 20px; }
.promo-strip__heading {
  font-weight: 700;
  font-size: 15px;
  color: #eef1f8;
}

.disclaimer-box {
  background-color: #ffffff08;
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
}

.source-list { margin-top: var(--space-2); }

.prose h2 + p,
.prose p + .feature-list,
.prose p + .steps,
.prose p + .table-wrap { margin-top: 0; }

/* ---- Review fix: guarantee >=44px tap target for inline body links on phone ---- */
.prose a, .accordion__panel a, .data-table tbody td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 2px 4px;
  margin: -2px -4px;
}


/* ---- Review fix: tap targets for header/footer logo links and footer nav links ---- */
.site-header__home, .site-footer__home {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- Contacts page: prose subheadings ---- */
.prose__subheading {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.2;
  font-weight: 700;
  color: #eef1f8;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.prose__subheading:first-child { margin-top: 0; }

/* ---- Privacy policy page: breadcrumb ---- */
.breadcrumb { padding: var(--space-3) 0 0; position: relative; z-index: 2; }
.hero .breadcrumb { padding: var(--space-3) 0 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 14px;
  color: #d4dbec;
}
.breadcrumb__list li:not(:last-child)::after {
  content: "/";
  margin-left: var(--space-2);
  color: #1e2d4a;
}
.breadcrumb__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
  color: #d4dbec;
}
.breadcrumb__list a:hover, .breadcrumb__list a:focus { color: #ffffff; }
.breadcrumb__list li[aria-current="page"] {
  color: #eef1f8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- Register page additions ---- */
h2[id], h3[id] { scroll-margin-top: 88px; }

/* ---- Register page: palette-accurate primary button override (scoped to .main) ---- */
.main .btn--primary {
  background-color: #c4121b;
  color: #ffffff;
}
.main .btn--primary:hover, .main .btn--primary:focus {
  background-color: #9e0e16;
  color: #ffffff;
}

/* ---- App page additions ---- */
.prose code {
  background-color: #ffffff14;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.95em;
}
.prose .feature-list,
.disclaimer-box .feature-list { margin-top: var(--space-3); }


/* ---- App page: image-led hero banner ---- */
.hero { padding: 0 0 var(--space-6); }
.hero__media { position: relative; min-height: 420px; overflow: hidden; }
.hero__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.05);
}
.hero__media-overlay {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.25) 0%, rgba(10, 15, 30, 0.92) 78%);
  padding: var(--space-6) 0;
}
@media (min-width: 768px) {
  .hero__media, .hero__media-overlay { min-height: 480px; }
}

/* ---- App page: persistent bottom promo bar ---- */
.has-bottom-promo { padding-bottom: 84px; }
.promo-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background-color: #14203a;
  border-top: var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}
.promo-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.promo-bar__media {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.promo-bar__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-bar__text {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 600;
  color: #eef1f8;
  margin: 0;
}
.promo-bar__cta { flex-shrink: 0; padding: 8px 16px; font-size: 14px; }
@media (min-width: 600px) {
  .promo-bar__media { width: 56px; height: 56px; }
  .promo-bar__text { font-size: 15px; }
}