* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #000;
}

/* Google Translate select */
.goog-te-combo {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #333 !important;
}

/* Global heading scale (mirrors the source app's base typography).
   !important guards against Tailwind's injected preflight reset, which
   loads asynchronously and can otherwise win the cascade race. */
h1 {
  font-size: 2.25rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
h2 {
  font-size: 1.875rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}
h3 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
h4 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
h5 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}
h6 {
  font-size: 0.875rem !important;
  color: #059669 !important;
  line-height: 1.3 !important;
}
@media (min-width: 640px) {
  h1 { font-size: 3rem !important; }
  h2 { font-size: 2.25rem !important; }
  h3 { font-size: 1.5rem !important; }
  h4 { font-size: 1.25rem !important; }
  h5 { font-size: 1.125rem !important; }
  h6 { font-size: 1rem !important; }
}
@media (min-width: 768px) {
  h1 { font-size: 3.75rem !important; }
  h2 { font-size: 3rem !important; }
  h3 { font-size: 1.875rem !important; }
  h4 { font-size: 1.5rem !important; }
  h5 { font-size: 1.25rem !important; }
  h6 { font-size: 1.125rem !important; }
}
@media (min-width: 1280px) {
  h1 { font-size: 4.5rem !important; }
  h2 { font-size: 3.75rem !important; }
  h3 { font-size: 2.25rem !important; }
  h4 { font-size: 1.875rem !important; }
  h5 { font-size: 1.5rem !important; }
  h6 { font-size: 1.25rem !important; }
}

/* Roadmap heading uses a smaller scale than the global h2 default */
.roadmap-heading {
  font-size: 1.875rem !important;
  font-weight: 700 !important;
}
@media (min-width: 768px) {
  .roadmap-heading { font-size: 2.25rem !important; }
}

/* Roadmap connector lines draw in on load */
.draw-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 1.2s ease-in-out forwards;
}
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* Roadmap phase active marker */
.phase-dot {
  background: #fff;
  border-color: #d1d5dc;
}
.phase-card.is-open .phase-dot {
  background: #22c55e;
  border-color: #16a34a;
  transform: translateX(-50%) scale(1.1);
}
.phase-card.is-open h4 {
  color: #16a34a;
}

/* FAQ accordion */
.faq-answer {
  display: none;
}
.faq-item.is-open .faq-answer {
  display: block;
}
.faq-item.is-open h5 {
  color: #047857;
}

/* Mobile nav */
header {
  position: relative;
}
#mobileNav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
#mobileNav.is-open {
  display: block;
}

/* Swiper hero */
.hero-swiper,
.hero-swiper .swiper-slide {
  height: 100vh;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: #fff;
}

/* ===== Card page (card.html) ===== */

.tier-material {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #059669;
  background: #eafaf2;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.tier-material.tm-partner {
  color: #000;
  background: #ecfdf5;
}
.tier-material.tm-principal {
  color: #b8860b;
  background: #fdf8ee;
}

.card-svg-wrap {
  border-radius: 22px !important;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), filter 0.45s;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.22));
}
.card-svg-wrap:hover {
  transform: translateY(-10px) scale(1.03);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.3));
}

.feat-list li .icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e8f7ef;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-list li .icon-pill svg {
  width: 12px;
  height: 12px;
  margin: 0;
}

.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: #4b5563;
}
.feat-list li svg {
  color: #059669;
  margin-top: 2px;
  flex-shrink: 0;
}

.payout-badge {
  background: linear-gradient(135deg, #000, #064e3b);
  border-radius: 18px;
  padding: 18px 10px;
  margin: 20px 0;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.payout-badge .payout-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}
.payout-badge .payout-stat .payout-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.payout-badge .payout-stat .payout-value {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  color: #10b981;
}
.payout-badge .payout-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.14);
}

.btn-rounded {
  border-radius: 9999px !important;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-outline-white:hover {
  background: #fff;
  color: #000;
}
.btn-solid-green {
  background: #059669;
  color: #fff;
  border: 2px solid #059669;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-solid-green:hover {
  background: #047857;
  border-color: #047857;
}
.btn-solid-dark {
  background: #000;
  color: #fff;
  border: 2px solid #000;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-solid-dark:hover {
  background: #111827;
  border-color: #111827;
}

.deco-lines-tl,
.deco-lines-br {
  position: absolute;
  opacity: 0.4;
  pointer-events: none;
}
.deco-lines-tl {
  top: 0;
  left: 0;
}
.deco-lines-br {
  bottom: 0;
  right: 0;
}

/* ===== Cards page — structural redesign ===== */

/* Stat bar (replaces icon+paragraph triad) */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 0 28px;
  position: relative;
}
.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item .stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-item .stat-num span {
  color: #10b981;
}
.stat-item .stat-caption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 640px) {
  .stat-bar {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .stat-item {
    padding: 0 12px;
  }
  .stat-item + .stat-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 30px;
  }
}

/* Signature hero card (single, asymmetric) */
.hero-signature {
  position: relative;
}
.hero-signature::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.38), transparent 68%);
  filter: blur(40px);
  z-index: -1;
}
.hero-signature .sig-card {
  animation: sigFloat 7s ease-in-out infinite;
  transform: rotate(-6deg);
}
.hero-signature .sig-rail {
  position: absolute;
  left: 0;
  bottom: -28px;
  display: flex;
  gap: clamp(4px, 1.4vw, 10px);
  z-index: 4;
}
.hero-signature .sig-pill {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: clamp(6px, 1.6vw, 8px) clamp(9px, 3vw, 16px);
  font-size: clamp(9px, 2.4vw, 11px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .hero-signature .sig-rail {
    left: -18px;
  }
}
.hero-signature .sig-pill.is-active {
  background: #10b981;
  color: #000;
}
@keyframes sigFloat {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-signature .sig-card { animation: none; }
}

/* Tier cards — all three shown at once */
.tier-slat.tf-catalyst {
  background: linear-gradient(160deg, #f4f7f5, #fff 60%);
  border: 1px solid #e3e9e5;
}
.tier-slat.tf-momentum {
  background: linear-gradient(160deg, #eafaf2, #fff 55%);
  border: 1px solid rgba(5, 150, 105, 0.25);
}
.tier-slat.tf-apex {
  background: linear-gradient(160deg, #0c0c0c, #111 55%);
  border: 1px solid rgba(240, 208, 128, 0.25);
}
.tier-slat.is-expanded.tf-momentum {
  box-shadow: 0 30px 70px rgba(5, 150, 105, 0.2);
}
.tier-slat.is-expanded.tf-apex {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.feat-list.feat-list-dark li {
  color: rgba(255, 255, 255, 0.75);
}
.feat-list.feat-list-dark li .icon-pill {
  background: rgba(16, 185, 129, 0.18);
}

/* Ledger / statement comparison (dark) */
.ledger {
  background: #0a0a0a;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.ledger-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 700px) {
  .ledger-head,
  .ledger-row {
    grid-template-columns: 190px repeat(3, 128px);
    min-width: 574px;
  }
}
.ledger-perf {
  height: 22px;
  background-image: radial-gradient(circle, #f7f9fc 5px, transparent 5.5px);
  background-size: 26px 26px;
  background-position: center -13px;
  background-repeat: repeat-x;
}
.ledger-head {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  padding: 28px 32px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ledger-head .lh-tier {
  text-align: center;
}
.ledger-head .lh-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 6px;
}
.ledger-head .lh-name {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ledger-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}
.ledger-row:last-child {
  border-bottom: 0;
}
.ledger-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.ledger-row .lr-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
}
.ledger-row .lr-val {
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}
.ledger-row .lr-val.lr-momentum {
  color: #10b981;
  font-weight: 700;
}
.ledger-row .lr-val .lr-dash {
  color: rgba(255, 255, 255, 0.2);
}
.ledger-row .lr-val svg {
  width: 15px;
  height: 15px;
  margin: 0 auto;
}

/* Capability orbit — hub + satellite nodes */
.orbit-wrap {
  position: relative;
  width: clamp(620px, 46vw, 920px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.orbit-svg .orbit-line {
  stroke: #c9b8ee;
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  animation: orbitDash 3s linear infinite;
}
@keyframes orbitDash {
  to {
    stroke-dashoffset: -44;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-svg .orbit-line {
    animation: none;
  }
}
.orbit-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(180px, 16vw, 250px);
  height: clamp(180px, 16vw, 250px);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, #1b1030, #000 72%);
  border: 1px solid rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 0 10px rgba(124, 58, 237, 0.07), 0 24px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(18px, 1.6vw, 26px);
  z-index: 3;
}
.orbit-hub .orbit-hub-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.orbit-hub h3 {
  color: #fff;
  font-size: clamp(15px, 1.15vw, 18px) !important;
  margin-bottom: 5px !important;
  line-height: 1.15 !important;
}
.orbit-hub p {
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(10.5px, 0.85vw, 12.5px);
  line-height: 1.35;
}
.orbit-node {
  position: absolute;
  top: var(--ny);
  left: var(--nx);
  width: clamp(168px, 15.5vw, 244px);
  background: #fff;
  border-radius: 18px;
  padding: clamp(16px, 1.4vw, 22px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  border: 1px solid #eef1ee;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, box-shadow 0.3s;
}
.orbit-node:hover {
  transform: translate(-50%, -50%) translateY(-6px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16);
}
.orbit-node .orbit-icon {
  width: clamp(32px, 2.6vw, 42px);
  height: clamp(32px, 2.6vw, 42px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.orbit-node h4 {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 800;
  margin-bottom: 4px;
  color: #000;
}
.orbit-node p {
  font-size: clamp(11.5px, 0.85vw, 13px);
  color: #6b7280;
  line-height: 1.4;
}
.orbit-fallback-list {
  position: relative;
}
.orbit-fallback-list::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, #7c3aed, #4175fc, #b8860b, #e07b00, #059669);
  opacity: 0.3;
  z-index: 0;
}
.orbit-fallback-item {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eef1ee;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}
.orbit-fallback-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Tier selection boxes — sit above the expander, stay in sync with it */
.tier-select-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.tier-select-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.tier-select-box.is-selected {
  border-color: #059669;
  box-shadow: 0 14px 34px rgba(5, 150, 105, 0.16);
}
.tsb-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  flex-shrink: 0;
}
.tsb-name {
  display: block;
  font-weight: 800;
  font-size: 14px;
  color: #000;
}
.tsb-stat {
  display: block;
  font-size: 11.5px;
  color: #6b7280;
  margin-top: 2px;
}
.tier-select-box.is-selected .tsb-stat {
  color: #059669;
}
.tsb-check {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid #d1d5db;
  flex-shrink: 0;
  position: relative;
}
.tier-select-box.is-selected .tsb-check {
  border-color: #059669;
  background: #059669;
}
.tier-select-box.is-selected .tsb-check::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Mobile quick-jump row (anchors into the stacked slats below) */
.tier-jump-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.tier-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  scroll-snap-align: start;
}
.tier-jump-pill-featured {
  border-color: rgba(5, 150, 105, 0.35);
  background: #eafaf2;
  color: #047857;
}
.tier-jump-pill-dark {
  border-color: rgba(240, 208, 128, 0.4);
  background: #17140c;
  color: #f0d080;
}
.tier-slat {
  scroll-margin-top: 24px;
}

/* Tier slats — expanding panel selector, all three always present */
.tier-expander {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tier-slat {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  cursor: default;
}
.slat-popular-ribbon {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #059669;
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}
.slat-collapsed-label {
  display: none;
}
.slat-full {
  position: static;
  padding: 32px;
  opacity: 1;
}
@media (min-width: 1024px) {
  .tier-expander {
    flex-direction: row;
    gap: 14px;
    height: 640px;
    align-items: stretch;
  }
  .tier-slat {
    position: relative;
    flex: 0.6 1 0%;
    height: 100%;
    cursor: pointer;
    transition: flex-grow 0.55s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .tier-slat.is-expanded {
    flex: 3 1 0%;
    cursor: default;
  }
  .slat-collapsed-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 1;
    transition: opacity 0.25s;
    padding: 24px 0;
  }
  .tier-slat.is-expanded .slat-collapsed-label {
    opacity: 0;
    pointer-events: none;
  }
  .slat-vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 20px;
    white-space: nowrap;
  }
  .slat-full {
    position: absolute;
    inset: 0;
    padding: 44px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s 0.1s;
    overflow-y: auto;
  }
  .tier-slat.is-expanded .slat-full {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Order form — dossier split layout */
.dossier {
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}
.dossier-side {
  background: linear-gradient(165deg, #000, #064e3b);
  padding: 48px 38px;
  position: relative;
  color: #fff;
}
.dossier-timeline {
  position: relative;
  margin-top: 34px;
  padding-left: 26px;
}
.dossier-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(16, 185, 129, 0.3);
}
.dossier-step {
  position: relative;
  padding-bottom: 30px;
}
.dossier-step:last-child {
  padding-bottom: 0;
}
.dossier-step::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}
.dossier-main {
  background: #fff;
  padding: 48px 40px;
}
@media (max-width: 900px) {
  .dossier {
    grid-template-columns: 1fr;
  }
}
