/* Shared chrome for /compare landings. Loaded after each page's CSS so
   buttons, header, type, and surfaces match the main marketing site.
   The standalone pages retain links to the core product and company pages. */

@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/mulish-v13-latin-500.woff2') format('woff2');
}

:root {
  --blue: #5578ff;
  --blue-deep: #4d6ce6;
  --navy: #244486;
  --ink: #334155;
  --ink-soft: #5b677a;
  --wash: #ffffff;
  --wash-2: #eef3ff;
  --line: #cdd5e1;
  --green: #b8ed62;
  --green-soft: #d1f595;
  --radius: 1rem;
  --radius-sm: 0.75rem;
}

html,
body {
  background: #fff;
}

body::before,
body::after {
  display: none;
}

.container {
  max-width: 80rem;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

header.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: sticky;
  top: 0;
  z-index: 20;
}
header.site-header .nav {
  min-height: 5rem;
  gap: 1rem;
}
header.site-header .logo {
  color: #fff;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.25rem;
}
.lang-toggle__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 44px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.lang-toggle__option:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.lang-toggle__option.is-current {
  background: #fff;
  color: var(--navy);
}

.btn,
.btn-nav {
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0;
  min-height: 44px;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.06),
    0 8px 24px -8px rgba(11, 21, 38, 0.18);
  transform: none;
}
.btn:hover,
.btn-nav:hover,
.btn:focus,
.btn-nav:focus {
  transform: none;
}
.btn-nav,
.btn-primary,
.btn-green {
  background: var(--green);
  color: #0b1526;
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.06),
    0 8px 24px -8px rgba(11, 21, 38, 0.18);
}
.btn-nav:hover,
.btn-primary:hover,
.btn-green:hover,
.btn-nav:focus,
.btn-primary:focus,
.btn-green:focus {
  background: #a9e653;
  color: #0b1526;
}
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid rgba(11, 21, 38, 0.16);
  box-shadow: none;
}
.btn-ghost:hover,
.btn-ghost:focus {
  border-color: var(--blue-deep);
  background: #fff;
  color: var(--navy);
}

.hero {
  background: #fff;
  padding: 4rem 0 3.5rem;
}
.hero::before {
  display: none;
}
.hero h1 {
  color: #1a202c;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero p.lede {
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.625;
}
.eyebrow {
  border-radius: 999px;
  background: #eaf8d6;
  color: #2f6a12;
}

h1,
h2 {
  color: #1a202c;
  font-family: 'Cardo', serif;
  font-weight: 400;
}
h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  color: #1a202c;
}
.accent {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.pay-card {
  border: 1px solid #dfe9ff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.06),
    0 8px 24px -8px rgba(11, 21, 38, 0.18);
}
.pay-card header {
  background: transparent;
  border: 0;
  min-height: 0;
  backdrop-filter: none;
}

footer {
  background: #1d3a73;
  border-top: 0;
  color: #c9daff;
}
footer a {
  color: #fff;
}
footer p {
  color: #c9daff;
}

:focus-visible {
  outline: 3px solid rgba(85, 120, 255, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  header.site-header .nav {
    min-height: 4rem;
    gap: 0.5rem;
  }
  header.site-header .logo svg {
    width: 96px;
    height: auto;
  }
  .nav-end {
    gap: 0.4rem;
  }
  .lang-toggle__option {
    min-height: 36px;
    min-width: 38px;
    padding: 0 0.45rem;
    font-size: 12px;
  }
  .btn-nav {
    padding: 0.5rem 0.7rem;
    font-size: 0.8125rem;
    min-height: 36px;
    white-space: nowrap;
  }
}

/* Main-site navigation and product surfaces, shared by both languages. */
html {
  font-synthesis: none;
  scroll-padding-top: 6.5rem;
}
body {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.625;
}
.compare-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.compare-nav a,
.compare-login {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.compare-nav a:hover,
.compare-login:hover {
  color: var(--green);
}
.compare-mobile-menu {
  display: none;
}
.compare-skip {
  position: fixed;
  top: -8rem;
  left: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: white;
  color: var(--navy);
}
.compare-skip:focus {
  top: 1rem;
}
header.site-header :focus-visible {
  outline-color: var(--green);
}
.hero h1 {
  font-size: 4.5rem;
  letter-spacing: -0.015em;
}
.hero-grid {
  gap: 3.5rem;
}
h2,
.problem h2,
.final h2 {
  font-size: 2.75rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.pay-card {
  padding: 1.5rem;
}
.pay-card .tag,
.zerofx {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.pay-node {
  background: #f4f7fc;
  border-color: #e2e8f0;
}
.pay-node strong {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.pay-node span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-top: 0.25rem;
}
.payouts {
  gap: 0;
}
.payouts li {
  background: #fff;
  border-radius: 0;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 0;
  font-size: 0.9375rem;
  gap: 1rem;
}
.pay-total {
  background: #edf8dd;
  border: 0;
  border-radius: 0.75rem;
  padding: 1rem;
  align-items: center;
}
.pay-total span {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.example-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}
.problem,
.map-card,
.final-panel {
  background: var(--navy);
  border-radius: 1.5rem;
}
.orbit-decor,
.fx-symbols,
.stage::before,
.stage::after {
  display: none;
}
.arc,
.pulse,
.ring {
  animation: none !important;
}
.col.us,
td.us-col,
.save-note {
  background: #edf8dd;
}
.card {
  border-radius: 1rem;
  box-shadow: none;
}
.card:hover {
  transform: none;
  box-shadow: none;
}
.card .icon {
  font-family: 'Mulish', sans-serif;
}
.card p,
.math .fine,
footer,
footer p {
  font-size: 1rem;
  line-height: 1.625;
}
footer p {
  max-width: 65ch;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 1279px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .compare-nav {
    gap: 1.25rem;
  }
  .compare-login {
    display: none;
  }
}
@media (max-width: 1023px) {
  .hero h1 {
    font-size: 2.75rem;
    line-height: 1.18;
    letter-spacing: -0.01em;
  }
  h2,
  .problem h2,
  .final h2 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-grid {
    gap: 2.5rem;
  }
  header.site-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
  }
  header.site-header .logo {
    color: var(--navy);
  }
  .compare-nav,
  .nav-end > .btn-nav {
    display: none;
  }
  .lang-toggle {
    border-color: #e2e8f0;
  }
  .lang-toggle__option,
  .lang-toggle__option:hover {
    color: var(--ink-soft);
  }
  .lang-toggle__option.is-current {
    color: var(--navy);
    background: #eef3ff;
  }
  .compare-mobile-menu {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .compare-mobile-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    list-style: none;
    color: var(--navy);
    cursor: pointer;
    font-size: 1.4rem;
  }
  .compare-mobile-menu summary::-webkit-details-marker,
  .compare-mobile-menu summary::after {
    display: none;
  }
  .compare-mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0.25rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 12px 24px -16px rgba(11, 21, 38, 0.2);
  }
  .compare-mobile-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
  }
  header.site-header :focus-visible {
    outline-color: var(--blue-deep);
  }
}
@media (max-width: 640px) {
  header.site-header .nav {
    min-height: 5rem;
  }
  .lang-toggle__option {
    min-height: 44px;
    min-width: 44px;
    font-size: 0.8125rem;
  }
  .hero {
    padding: 3rem 0;
  }
  .hero p.lede {
    font-size: 1rem;
  }
  .pay-card {
    padding: 1.25rem;
  }
  .pay-flow {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.4rem;
  }
  .pay-node {
    padding: 0.75rem 0.5rem;
  }
  .pay-node strong {
    font-size: 1.125rem;
  }
  .pay-arrow {
    transform: none;
  }
  .pay-total {
    flex-wrap: wrap;
  }
  .pay-total b {
    font-size: 1.5rem;
  }
}
