
:root {
  --lime: #D1EB0C;
  --lime-dim: #B8CE0A;
  --lime-soft: rgba(209, 235, 12, 0.12);
  --teal: #004F64;
  --teal-deep: #003647;
  --teal-darker: #00222D;
  --teal-soft: rgba(0, 79, 100, 0.06);
  --ink: #0A1416;
  --ink-soft: #2A3A3F;
  --bone: #FAFBFA;
  --bone-warm: #F4F2EC;
  --line: rgba(0, 79, 100, 0.12);
  --line-dark: rgba(255, 255, 255, 0.1);
  --font-display: 'Be Vietnam Pro', -apple-system, sans-serif;
  --font-sans: 'Be Vietnam Pro', -apple-system, sans-serif;
  --font-mono: 'Be Vietnam Pro', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* ============================
   TYPOGRAPHY UTILITIES
   ============================ */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: 'opsz' 144;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mono { font-family: var(--font-mono); }

/* ============================
   NAVIGATION
   ============================ */

nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1280px;
  z-index: 130;
  padding: 10px 16px 10px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-radius: 999px;
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  background: rgba(0, 18, 28, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

/* ----- Light theme variant ----- */
nav.nav-light {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 8px 40px rgba(0, 79, 100, 0.1),
    0 2px 8px rgba(0, 79, 100, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* ----- Hero: no tint, keep blur/border/shadow (declared after nav-light to override it) ----- */
nav.nav-hero {
  background: transparent;
}

/* Logo dual-variant swap — one for dark backgrounds, one for light */
.logo-svg {
  transition: opacity 0.3s ease;
}

.logo-svg.logo-on-light {
  display: none;
}

/* When nav is in light mode, swap variants */
nav.nav-light .logo-svg.logo-on-dark {
  display: none;
}

nav.nav-light .logo-svg.logo-on-light {
  display: block;
}

/* Nav center container — light variant */
/* Nav links — light variant */
nav.nav-light .nav-link {
  color: rgba(10, 20, 22, 0.7);
}

nav.nav-light .nav-link:hover {
  color: var(--teal-deep);
  background: rgba(0, 79, 100, 0.06);
}

nav.nav-light .nav-dropdown-wrap.open .nav-link {
  color: var(--teal-deep);
  background: rgba(0, 79, 100, 0.08);
}

nav.nav-light .nav-link svg {
  opacity: 0.5;
}

nav.nav-light .nav-dropdown-wrap.open .nav-link svg {
  color: var(--teal);
  opacity: 1;
}

/* Nav links transition smoothly */
.nav-link,
.nav-link svg,
.nav-center {
  transition: color 0.45s ease, background 0.45s ease, border-color 0.45s ease;
}

/* In light mode, the CTA hover stays lime (doesn't flip to white) for contrast */
nav.nav-light .nav-cta:hover {
  background: var(--lime-dim);
  box-shadow: 0 8px 24px rgba(0, 79, 100, 0.15);
}

/* ============================
   MOBILE MENU (hamburger + off-canvas)
   ============================ */

.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

nav.nav-light .nav-hamburger {
  background: rgba(0, 79, 100, 0.05);
  border-color: rgba(0, 79, 100, 0.1);
}

nav.nav-light .nav-hamburger:hover {
  background: rgba(0, 79, 100, 0.08);
}

.nav-hamburger-bars {
  width: 18px;
  height: 14px;
  position: relative;
}

.nav-hamburger-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--lime);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center;
}

.nav-hamburger-bars span:nth-child(1) { top: 0; }
.nav-hamburger-bars span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 12px; }
.nav-hamburger-bars span:nth-child(3) { bottom: 0; }

/* Open state (X) */
.nav-hamburger.open .nav-hamburger-bars span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-hamburger.open .nav-hamburger-bars span:nth-child(2) {
  opacity: 0;
  width: 18px;
}
.nav-hamburger.open .nav-hamburger-bars span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Scrim backdrop */
.mobile-menu-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 30, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
  z-index: 199;
}

.mobile-menu-scrim.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Off-canvas panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: rgba(0, 22, 30, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 200;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.4s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4);
}

/* Header inside menu */
.mobile-menu-header {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.mobile-menu-header .logo-svg {
  height: 28px;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lime);
}

/* Scrollable nav body */
.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 22px 28px;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 22px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-section-label:first-child {
  margin-top: 0;
}

.mobile-menu-section-label::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--lime);
}

/* Primary nav links */
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  margin: 0 -12px;
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s;
  letter-spacing: -0.01em;
  background: none;
  border: none;
  cursor: pointer;
  width: calc(100% + 24px);
  font-family: var(--font-sans);
  text-align: left;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--lime);
}

.mobile-menu-link svg {
  opacity: 0.4;
  transition: all 0.2s;
}

.mobile-menu-link:hover svg {
  opacity: 1;
  color: var(--lime);
  transform: translateX(3px);
}

/* About — featured card */
.mobile-menu-feature {
  margin-top: 8px;
  padding: 18px;
  background: linear-gradient(155deg, rgba(209, 235, 12, 0.08) 0%, transparent 70%);
  border: 1px solid rgba(209, 235, 12, 0.15);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.mobile-menu-feature::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(209, 235, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-menu-feature-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-menu-feature-label::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
}

.mobile-menu-feature-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  position: relative;
}

.mobile-menu-feature-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.mobile-menu-feature-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 14px;
  position: relative;
}

.mobile-menu-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  padding: 7px 12px;
  background: rgba(209, 235, 12, 0.1);
  border: 1px solid rgba(209, 235, 12, 0.25);
  border-radius: 999px;
  position: relative;
}

.mobile-menu-feature-cta:active {
  background: var(--lime);
  color: var(--teal-darker);
}

/* About — accordion sub-sections */
.mobile-menu-accordion {
  margin-top: 18px;
}

.mobile-menu-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-accordion-item:last-child {
  border-bottom: none;
}

.mobile-menu-accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: -0.005em;
}

.mobile-menu-accordion-trigger-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-accordion-trigger-icon svg:first-child {
  color: var(--lime);
  opacity: 0.7;
}

.mobile-menu-accordion-chevron {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.5;
}

.mobile-menu-accordion-item.open .mobile-menu-accordion-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--lime);
}

.mobile-menu-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu-accordion-item.open .mobile-menu-accordion-content {
  max-height: 400px;
}

.mobile-menu-accordion-inner {
  padding: 4px 0 14px;
  display: grid;
  gap: 2px;
}

.mobile-menu-sub-link {
  display: block;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s;
  background: none;
  border: none;
  width: calc(100% + 24px);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
}

.mobile-menu-sub-link:hover,
.mobile-menu-sub-link:active {
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-sub-link-title {
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-bottom: 1px;
  letter-spacing: -0.005em;
}

.mobile-menu-sub-link-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* "View full page" link inside each accordion */
.mobile-menu-view-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  margin: 0 -12px 6px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(209, 235, 12, 0.06);
  border: 1px solid rgba(209, 235, 12, 0.18);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  transition: background 0.15s;
}

.mobile-menu-view-page:hover,
.mobile-menu-view-page:active {
  background: rgba(209, 235, 12, 0.12);
}

.mobile-menu-view-page svg {
  transition: transform 0.2s;
}

.mobile-menu-view-page:hover svg {
  transform: translateX(3px);
}

/* Sticky CTA at the bottom of the mobile menu */
.mobile-menu-footer {
  padding: 16px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 22, 30, 0.5);
  flex-shrink: 0;
}

.mobile-menu-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--lime);
  color: var(--teal-darker);
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: all 0.2s;
  text-decoration: none;
}

.mobile-menu-cta:active {
  background: white;
}

.mobile-menu-login {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: all 0.2s;
  text-decoration: none;
  margin-bottom: 10px;
}

.mobile-menu-login:active {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-footer-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.mobile-menu-footer-meta::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.nav-left { justify-self: start; }
.nav-right { justify-self: end; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.logo-svg {
  height: 32px;
  width: auto;
  display: block;
}

/* Centered nav links */
.nav-center {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 999px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  cursor: pointer;
  letter-spacing: -0.005em;
  line-height: 1;
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link svg {
  transition: transform 0.25s;
  opacity: 0.6;
}

/* Nav CTA — readable, consistent with hero primary */
.nav-cta {
  background: var(--lime);
  color: var(--teal-darker);
  padding: 11px 18px 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  line-height: 1;
  white-space: nowrap;
}

.nav-cta:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(209, 235, 12, 0.25);
}

.nav-cta svg {
  transition: transform 0.25s;
}

.nav-cta:hover svg {
  transform: translateX(3px);
}

/* Right zone container — holds phone, login, CTA, hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Phone link */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  line-height: 1;
}

.nav-phone:hover {
  background: rgba(209, 235, 12, 0.1);
  border-color: rgba(209, 235, 12, 0.3);
  color: var(--lime);
}

.nav-phone svg {
  color: var(--lime);
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.25s;
}

.nav-phone:hover svg {
  transform: rotate(-12deg) scale(1.1);
}

nav.nav-light .nav-phone {
  background: rgba(0, 79, 100, 0.04);
  border-color: rgba(0, 79, 100, 0.1);
  color: rgba(10, 20, 22, 0.75);
}

nav.nav-light .nav-phone:hover {
  background: rgba(209, 235, 12, 0.12);
  border-color: rgba(0, 79, 100, 0.2);
  color: var(--teal-deep);
}

nav.nav-light .nav-phone svg {
  color: var(--teal);
}

/* Login button (ghost / outlined) */
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.005em;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.nav-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

nav.nav-light .nav-login {
  border-color: rgba(0, 79, 100, 0.18);
  color: var(--teal-deep);
}

nav.nav-light .nav-login:hover {
  background: rgba(0, 79, 100, 0.06);
  border-color: rgba(0, 79, 100, 0.3);
}

/* ============================
   NAV DROPDOWN — MEGA MENU (click-activated)
   ============================ */

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-wrap.open .nav-link {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-wrap.open .nav-link svg {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--lime);
}

/* The dropdown is fixed-positioned and centered on viewport,
   so it stays balanced regardless of trigger position */
.nav-dropdown {
  position: fixed;
  top: 78px;
  left: 50%;
  width: min(980px, calc(100vw - 48px));
  background: rgba(0, 22, 30, 0.94);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-12px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Body scrim when dropdown is open (subtle) */
.nav-dropdown-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 30, 0.3);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 125;
}

.nav-dropdown-scrim.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
}

/* Compact single-section dropdown (Solutions / About / Resources / Contact) */
.nav-dropdown.nav-dropdown--menu {
  width: min(840px, calc(100vw - 48px));
}

.nav-dropdown--menu .nav-dropdown-inner {
  grid-template-columns: 320px 1fr;
}

.nav-dropdown--menu .nav-dropdown-cols {
  grid-template-columns: 1fr;
}

/* Link cards laid out in 2 columns; header spans the full width */
.nav-dropdown--menu .nav-dropdown-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  align-content: start;
}

.nav-dropdown--menu .nav-dropdown-col-header {
  grid-column: 1 / -1;
}

.nav-dropdown--menu .nav-dropdown-item {
  margin-left: 0;
  margin-right: 0;
}

/* Featured panel on the left */
.nav-dropdown-feature {
  padding: 44px 32px 36px;
  background: linear-gradient(155deg, rgba(209, 235, 12, 0.08) 0%, transparent 55%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.nav-dropdown-feature::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(209, 235, 12, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.nav-dropdown-feature::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(209, 235, 12, 0.2) 50%, transparent 100%);
}

.nav-dropdown-feature-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.nav-dropdown-feature-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--lime);
}

.nav-dropdown-feature-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  position: relative;
}

.nav-dropdown-feature-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.nav-dropdown-feature-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin-bottom: 24px;
  position: relative;
}

.nav-dropdown-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  padding: 10px 18px;
  background: rgba(209, 235, 12, 0.1);
  border: 1px solid rgba(209, 235, 12, 0.3);
  border-radius: 999px;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-dropdown-feature-cta:hover {
  background: var(--lime);
  color: var(--teal-darker);
  border-color: var(--lime);
  transform: translateY(-1px);
}

.nav-dropdown-feature-cta svg {
  transition: transform 0.2s;
}

.nav-dropdown-feature-cta:hover svg {
  transform: translateX(3px);
}

/* Right columns area */
.nav-dropdown-cols {
  padding: 36px 36px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nav-dropdown-col-header {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 600;
  cursor: pointer;
  justify-content: flex-start;
}

a.nav-dropdown-col-header:hover {
  color: var(--lime);
  border-bottom-color: rgba(209, 235, 12, 0.3);
}

.nav-dropdown-col-header svg.col-icon {
  color: var(--lime);
  opacity: 0.85;
  flex-shrink: 0;
}

.nav-dropdown-col-header .col-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
  color: var(--lime);
}

a.nav-dropdown-col-header:hover .col-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-dropdown-item {
  display: block;
  padding: 11px 12px;
  margin: 0 -12px 2px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
  position: relative;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-item-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
  color: var(--lime);
}

.nav-dropdown-item-title svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
  color: var(--lime);
}

.nav-dropdown-item:hover .nav-dropdown-item-title svg {
  opacity: 1;
  transform: translateX(0);
}

.nav-dropdown-item-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.45;
}

/* Footer strip in dropdown */
.nav-dropdown-footer {
  grid-column: 1 / -1;
  padding: 16px 36px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nav-dropdown-footer-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-dropdown-footer-links {
  display: flex;
  gap: 18px;
}

.nav-dropdown-footer-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-dropdown-footer-link:hover {
  color: var(--lime);
}

/* ============================
   SECTION 01 — HERO
   ============================ */

.hero {
  background:
    linear-gradient(180deg, rgba(0, 54, 71, 0.92) 0%, rgba(0, 34, 45, 0.96) 100%),
    url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?w=2000&q=80&auto=format&fit=crop') center/cover no-repeat,
    var(--teal-deep);
  color: white;
  padding: 130px 48px 90px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 25%, rgba(209, 235, 12, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(0, 130, 160, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.hero-left {
  max-width: 540px;
}

.hero-eyebrow {
  display: block;
  color: var(--lime);
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.hero-eyebrow .pulse {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(209, 235, 12, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(209, 235, 12, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 144;
}

.hero h1 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
  font-weight: 300;
}

/* Horizontal feature row — "what's included" reassurances */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(209, 235, 12, 0.1);
  border: 1px solid rgba(209, 235, 12, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  flex-shrink: 0;
}

.hero-feature-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* "How it works" scroll-down button */
.hero-howitworks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
  cursor: pointer;
  line-height: 1;
}

.hero-howitworks:hover {
  color: white;
}

.hero-howitworks-arrow {
  display: flex;
  align-items: center;
  color: var(--lime);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-howitworks:hover .hero-howitworks-arrow {
  transform: translateY(3px);
}

@keyframes heroArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.hero-howitworks-arrow {
  animation: heroArrowBounce 2.4s ease-in-out 2s infinite;
}

.hero-howitworks:hover .hero-howitworks-arrow {
  animation: none;
}

/* ============================
   HERO CALCULATOR (focal point)
   ============================ */

.hero-calc-wrap {
  position: relative;
}

.hero-calc-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 30%, rgba(209, 235, 12, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-calc {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-calc-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.hero-calc-header-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-calc-header-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-calc-header-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-calc-body {
  padding: 28px;
}

/* Result display - the star */
.hero-calc-result {
  margin-bottom: 28px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(209, 235, 12, 0.08) 0%, rgba(209, 235, 12, 0.02) 100%);
  border: 1px solid rgba(209, 235, 12, 0.2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.hero-calc-result::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(209, 235, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-calc-result-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
  position: relative;
}

.hero-calc-result-value {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 400;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  transition: transform 0.3s ease;
}

.hero-calc-result-value.bump { transform: scale(1.02); }

.hero-calc-result-value .peso {
  color: var(--lime);
  font-style: italic;
  font-weight: 300;
  font-size: 0.7em;
}

.hero-calc-result-value .dash {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65em;
  margin: 0 4px;
}

.hero-calc-result-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  position: relative;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-calc-result-meta strong {
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 13px;
}

/* Inputs */
.hero-calc-field {
  margin-bottom: 18px;
}

.hero-calc-field:last-of-type {
  margin-bottom: 22px;
}

.hero-calc-field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.hero-calc-field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-calc-field-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: white;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero-calc-field-value .peso {
  color: var(--lime);
  font-style: italic;
  font-weight: 300;
  margin-right: 2px;
  font-size: 16px;
}

.hero-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  position: relative;
}

.hero-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
}

.hero-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--lime);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--teal-deep);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: -9px;
  box-shadow: 0 0 0 0 rgba(209, 235, 12, 0);
}

.hero-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(209, 235, 12, 0.2);
}

.hero-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--lime);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--teal-deep);
}

.hero-calc-field-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
}

/* Customer type pills */
.hero-calc-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.hero-calc-type {
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  letter-spacing: -0.005em;
}

.hero-calc-type:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-calc-type.active {
  background: var(--lime);
  color: var(--teal-deep);
  border-color: var(--lime);
  font-weight: 600;
}

/* CTAs */
.hero-calc-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-top: 20px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-calc-primary {
  background: var(--lime);
  color: var(--teal-deep);
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.005em;
}

.hero-calc-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(209, 235, 12, 0.3);
}

.hero-calc-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.hero-calc-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-calc-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.5;
}

/* ============================
   SECTION 02 — TRUST STRIP
   ============================ */

section {
  padding: 100px 48px;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--lime);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--teal-deep);
  max-width: 800px;
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--teal);
}

.section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 60px;
}

.trust-section {
  background: var(--bone);
  padding: 80px 48px;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}

.trust-card {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s;
}

.trust-card:last-child { border-right: none; }

.trust-card:hover {
  background: var(--teal-soft);
}

.trust-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.trust-card:hover::after {
  transform: scaleX(1);
}

.trust-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--teal);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.trust-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============================
   SECTION 03 — HOW IT WORKS
   ============================ */

.how-section {
  background: var(--bone-warm);
  padding: 120px 48px;
  scroll-margin-top: 80px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 79, 100, 0.08);
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.step-visual {
  width: 100%;
  height: 120px;
  margin-bottom: 24px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.step-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.how-callout {
  margin-top: 60px;
  padding: 28px 32px;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.how-callout svg {
  flex-shrink: 0;
  color: var(--teal);
}

.how-callout p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.how-callout strong { color: var(--teal-deep); }

.rap-band {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.rap-band span {
  color: var(--lime-dim);
  font-weight: 600;
}

/* ============================
   SECTION 04 — WHO WE SERVE
   ============================ */

.who-section { background: white; padding: 120px 48px; }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin: 50px 0 50px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 16px 24px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.tab.active {
  color: var(--teal-deep);
}

.tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.tab.active::after { transform: scaleX(1); }

.tab:hover { color: var(--teal-deep); }

.tab-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--teal-deep);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.tab-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.tab-content.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.tab-content h3 em {
  font-style: italic;
  color: var(--teal);
}

.feature-list {
  list-style: none;
  margin: 24px 0 32px;
}

.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23004F64' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.faq-preview {
  background: var(--bone-warm);
  border-radius: 12px;
  padding: 24px;
  border-left: 3px solid var(--lime);
}

.faq-preview-q {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 8px;
}

.faq-preview-a {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.tab-visual {
  background: var(--teal-deep);
  border-radius: 16px;
  padding: 32px;
  color: white;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.tab-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.mockup-header-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mockup-stat {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.mockup-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mockup-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: white;
}

.mockup-stat-value .lime { color: var(--lime); }

.mockup-stat-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.mockup-chart {
  height: 80px;
  margin-top: 16px;
}

/* ============================
   SECTION 06 — ECOSYSTEM
   ============================ */

.ecosystem-section {
  background: var(--teal-darker);
  color: white;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.ecosystem-section .section-title { color: white; }
.ecosystem-section .section-title em { color: var(--lime); }
.ecosystem-section .section-sub { color: rgba(255, 255, 255, 0.7); }
.ecosystem-section .section-eyebrow { color: var(--lime); }
.ecosystem-section .section-eyebrow::before { background: var(--lime); }

.ecosystem-diagram {
  margin: 80px auto 0;
  max-width: 1280px;
  text-align: center;
}

.ecosystem-svg-large {
  width: 100%;
  height: auto;
  max-width: 1280px;
  display: block;
  margin: 0 auto;
}

.eco-annotations-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Intermediate sizing for ~1024–1280px: keep 4 cols but tighter */
@media (max-width: 1280px) {
  .eco-annotations-grid {
    gap: 16px;
    padding: 0 24px;
  }
}

/* 2x2 grid for tablet (768–1024px) */
@media (max-width: 1024px) {
  .eco-annotations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 760px;
    padding: 0;
  }
}

/* Small tablet / large phone — keep 2 columns but tighten */
@media (max-width: 700px) {
  .eco-annotations-grid {
    gap: 14px;
    max-width: 100%;
  }
  .eco-annotation-content {
    padding: 18px;
  }
  .eco-annotation-title {
    font-size: 18px;
  }
  .eco-annotation-body {
    font-size: 12px;
  }
  .eco-annotation-num {
    font-size: 9px;
  }
}

/* Phone — single column */
@media (max-width: 480px) {
  .eco-annotations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 440px;
  }
  .eco-annotation-image {
    aspect-ratio: 16 / 9;
  }
  .eco-annotation-content {
    padding: 22px;
  }
  .eco-annotation-title {
    font-size: 20px;
  }
  .eco-annotation-body {
    font-size: 13px;
  }
}

.eco-annotation {
  background: rgba(0, 79, 100, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.eco-annotation:hover {
  background: rgba(0, 79, 100, 0.55);
  border-color: rgba(209, 235, 12, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.eco-annotation-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--teal-darker);
}

.eco-annotation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eco-annotation:hover .eco-annotation-image img {
  transform: scale(1.06);
}

.eco-annotation-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 22, 30, 0.1) 0%,
    rgba(0, 22, 30, 0.05) 50%,
    rgba(0, 79, 100, 0.45) 100%);
  pointer-events: none;
}

.eco-annotation-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.eco-annotation-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(209, 235, 12, 0.7);
  margin-bottom: 10px;
}

.eco-annotation-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--lime);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.eco-annotation-body {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.eco-closing {
  margin-top: 80px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eco-closing p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.015em;
}

/* ============================
   SECTION 07 — DASHBOARD
   ============================ */

.dashboard-section {
  background: var(--bone);
  padding: 120px 48px;
}

.dashboard-mockup {
  margin-top: 60px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 79, 100, 0.12);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.dashboard-chrome {
  background: var(--bone-warm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

.chrome-url {
  margin-left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  background: white;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 580px;
}

.dashboard-sidebar {
  background: var(--teal-deep);
  color: white;
  padding: 24px 16px;
}

.dashboard-logo {
  margin-bottom: 32px;
  padding: 0 8px;
}

.dashboard-logo svg {
  height: 24px;
  width: auto;
  display: block;
}

.sidebar-nav { list-style: none; }

.sidebar-nav li {
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-nav li.active {
  background: rgba(209, 235, 12, 0.1);
  color: var(--lime);
}

.sidebar-nav li:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.sidebar-nav li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.dashboard-main {
  padding: 32px;
  background: var(--bone);
}

.dashboard-greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard-greeting h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.015em;
}

.dashboard-greeting span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-hero {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: white;
  padding: 28px;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.insight-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(209, 235, 12, 0.15) 0%, transparent 70%);
}

.insight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
  position: relative;
}

.insight-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  position: relative;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.insight-text .highlight {
  color: var(--lime);
  font-style: italic;
}

.insight-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.dash-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.dash-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.dash-card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--teal-deep);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.dash-card-value .lime { color: var(--lime-dim); font-weight: 500; }

.dash-card-meta {
  font-size: 12px;
  color: var(--ink-soft);
}

.progress-track {
  width: 100%;
  height: 4px;
  background: var(--bone-warm);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 2px;
  width: 64%;
}

.chart-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.chart-svg { width: 100%; height: 120px; }

/* Feature tiles */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
  box-shadow: 0 14px 30px rgba(0, 79, 100, 0.06);
}

.tile-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  color: var(--teal);
}

.tile h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

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

/* ============================
   SECTION 08 — SOCIAL PROOF
   ============================ */

.community-section {
  background: var(--teal-deep);
  color: white;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.community-section .section-title { color: white; }
.community-section .section-title em { color: var(--lime); }
.community-section .section-sub { color: rgba(255, 255, 255, 0.7); }
.community-section .section-eyebrow { color: var(--lime); }
.community-section .section-eyebrow::before { background: var(--lime); }

.live-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
}

.counter {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.counter:last-child { border-right: none; }

.counter-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.counter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.testimonial {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 3.2;
  max-height: 420px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  background: var(--teal-darker);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.testimonial-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonial:hover .testimonial-photo {
  transform: scale(1.04);
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 22, 30, 0.45) 0%,
    rgba(0, 22, 30, 0.05) 35%,
    rgba(0, 22, 30, 0.4) 65%,
    rgba(0, 22, 30, 0.85) 100%);
  pointer-events: none;
}

/* Top label */
.testimonial-toplabel {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  z-index: 2;
}

.testimonial-toplabel-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.testimonial-toplabel-text .org {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-toplabel-text .loc {
  display: block;
  opacity: 0.75;
}

.testimonial-toplabel-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s;
}

.testimonial:hover .testimonial-toplabel-arrow {
  background: var(--lime);
  color: var(--teal-darker);
  border-color: var(--lime);
  transform: rotate(-45deg);
}

/* Frosted glass bottom panel */
.testimonial-panel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(20, 30, 35, 0.55);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px 22px;
  z-index: 2;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: white;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

.testimonial-quote::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 38px;
  color: var(--lime);
  position: absolute;
  left: 0;
  top: -4px;
  line-height: 1;
}

.testimonial-quote strong {
  color: var(--lime);
  font-weight: 500;
  font-style: italic;
}

.testimonial-credit {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-credit-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 3px;
}

.testimonial-credit-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.testimonial-credit-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  background: rgba(209, 235, 12, 0.15);
  border: 1px solid rgba(209, 235, 12, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
}

.testimonial-credit-badge::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
}

.partner-strip {
  margin-top: 70px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.partner-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 12px;
}

.partner-mark {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
}

/* ============================
   SECTION 09 — OUR PARTNERS
   ============================ */

.partners-section {
  background: var(--bone-warm);
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--lime) 0%, transparent 100%);
}

.partners-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.partners-header .section-eyebrow {
  justify-content: center;
}

.partners-header .section-eyebrow::before,
.partners-header .section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--lime);
}

.partners-header .section-eyebrow::after {
  background: var(--lime);
}

.partners-header .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.partners-header .section-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

/* Partner type cards grid */
.partner-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.partner-type-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.partner-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.partner-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 79, 100, 0.08);
  border-color: rgba(209, 235, 12, 0.4);
}

.partner-type-card:hover::before {
  transform: scaleX(1);
}

.partner-type-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.partner-type-card:hover .partner-type-icon {
  background: var(--lime);
  color: var(--teal-deep);
}

.partner-type-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.partner-type-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.partner-type-card-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 5px 10px;
  background: var(--teal-soft);
  border-radius: 999px;
}

.partner-type-card-count strong {
  color: var(--lime-dim);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
}

/* Become a partner block */
.partner-become {
  background: var(--teal-deep);
  border-radius: 24px;
  padding: 0;
  margin-bottom: 80px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 79, 100, 0.15);
}

.partner-become-visual {
  background: var(--teal-darker);
  position: relative;
  overflow: hidden;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.partner-become-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(209, 235, 12, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 130, 160, 0.2) 0%, transparent 50%);
}

.partner-become-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Network visualization */
.partner-network-viz {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  z-index: 1;
}

.partner-network-viz svg {
  width: 100%;
  height: 100%;
}

.partner-network-stats {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: rgba(0, 22, 30, 0.6);
  border: 1px solid rgba(209, 235, 12, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}

.partner-network-stat {
  text-align: center;
}

.partner-network-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.partner-network-stat span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.partner-become-content {
  padding: 48px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-become-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.partner-become-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--lime);
}

.partner-become-content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.partner-become-content h3 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.partner-become-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

.partner-benefits-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.partner-benefits {
  list-style: none;
  margin-bottom: 32px;
  display: grid;
  gap: 12px;
}

.partner-benefits li {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.partner-benefits li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--lime);
}

.partner-become-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.partner-become-primary {
  background: var(--lime);
  color: var(--teal-darker);
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.005em;
}

.partner-become-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(209, 235, 12, 0.3);
}

.partner-become-primary svg {
  transition: transform 0.2s;
}

.partner-become-primary:hover svg {
  transform: translateX(3px);
}

.partner-become-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.partner-become-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Partner logos strip */
.partners-logos-wrap {
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.partners-logos-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.partners-logos-label::before,
.partners-logos-label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--lime);
  opacity: 0.5;
}

/* Partner logos — auto-scrolling marquee */
.partners-logos {
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-logos-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: logoScroll 32s linear infinite;
}

.partners-logos:hover .partners-logos-track {
  animation-play-state: paused;
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partner-mark {
  flex-shrink: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  opacity: 0.55;
  transition: opacity 0.3s, color 0.3s;
}

.partner-mark:hover {
  opacity: 1;
  color: var(--teal-deep);
}

.partner-mark svg {
  height: 32px;
  width: auto;
  display: block;
}

/* CTA banner at bottom of section */
.partner-cta-banner {
  margin-top: 64px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.partner-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--lime) 0%, var(--teal) 100%);
}

.partner-cta-banner-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dim) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-darker);
  flex-shrink: 0;
}

.partner-cta-banner-text h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.partner-cta-banner-text p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.partner-cta-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================
   SECTION 09 — REGULATORY DEEP-DIVE (renumbered to 10)
   ============================ */

.reg-section {
  background: var(--bone);
  padding: 120px 48px;
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.reg-narrative p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.reg-narrative strong { color: var(--teal-deep); }

.reg-cards {
  display: grid;
  gap: 16px;
}

.reg-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  transition: all 0.3s;
}

.reg-card:hover {
  border-color: var(--lime);
  box-shadow: 0 8px 20px rgba(0, 79, 100, 0.05);
}

.reg-card-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.reg-card-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.reg-card-content .sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.reg-card-content .ref {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.reg-link {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--lime);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.reg-link:hover { color: var(--teal-deep); }

/* ============================
   SECTION 10 — FAQ
   ============================ */

.faq-section { background: white; padding: 120px 48px; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  margin-top: 40px;
}

.faq-side {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-side h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.faq-side p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* FAQ audience deck — clickable cards linking to Solutions by user type */
.aud-deck {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 360px;
}
.aud-deck-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.aud-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--teal-deep);
  box-shadow: 0 10px 22px -14px var(--aud-shadow);
  transform: rotate(var(--aud-tilt, 0deg));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.aud-card:nth-of-type(even) { --aud-tilt: 1.3deg; }
.aud-card:nth-of-type(odd) { --aud-tilt: -1.3deg; }
.aud-card:hover {
  transform: rotate(0deg) translateY(-3px) scale(1.02);
  box-shadow: 0 18px 32px -12px var(--aud-shadow);
  border-color: transparent;
}
.aud-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aud-tint);
  color: var(--aud-ink);
}
.aud-card-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.aud-card-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.aud-card-sub { font-size: 12.5px; color: var(--ink-soft); }
.aud-card-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: transform 0.28s ease, color 0.28s ease;
}
.aud-card:hover .aud-card-arrow { transform: translateX(3px); color: var(--teal); }

.aud-card--teal { --aud-tint: rgba(0, 79, 100, 0.10); --aud-ink: var(--teal); --aud-shadow: rgba(0, 79, 100, 0.28); }
.aud-card--lime { --aud-tint: rgba(203, 219, 45, 0.24); --aud-ink: #6f7d0e; --aud-shadow: rgba(150, 170, 20, 0.34); }
.aud-card--gold { --aud-tint: rgba(199, 154, 46, 0.18); --aud-ink: #a9791f; --aud-shadow: rgba(199, 154, 46, 0.30); }
.aud-card--deep { --aud-tint: rgba(0, 79, 100, 0.15); --aud-ink: var(--teal-deep); --aud-shadow: rgba(0, 79, 100, 0.30); }

.faq-list { margin-bottom: 40px; }

.faq-group-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-group-title::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--lime);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.faq-q {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.015em;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--teal); }

.faq-toggle {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--teal);
}

.faq-item.open .faq-toggle {
  background: var(--lime);
  border-color: var(--lime);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 0 24px;
}

.faq-a p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 700px;
}

/* ============================
   SECTION 11 — FINAL CTA
   ============================ */

.final-cta {
  background: var(--teal-darker);
  color: white;
  padding: 140px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(209, 235, 12, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 130, 160, 0.15) 0%, transparent 50%);
}

.final-cta-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.final-cta h2 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.final-cta p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  font-weight: 300;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--lime);
  color: var(--teal-deep);
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  letter-spacing: -0.005em;
}

.btn-cta-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(209, 235, 12, 0.3);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--lime);
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--lime);
  transition: all 0.25s;
  letter-spacing: -0.005em;
}

.btn-cta-secondary:hover {
  background: rgba(209, 235, 12, 0.1);
  transform: translateY(-2px);
}

.final-reassurance {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.final-trust-bar {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.final-trust-bar span { display: flex; align-items: center; gap: 8px; }

.final-trust-bar span::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
}

/* ============================
   FOOTER
   ============================ */

footer {
  background: black;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  position: relative;
}

/* ----- Newsletter band (top) ----- */
.footer-newsletter {
  position: relative;
  padding: 72px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 79, 100, 0.15) 0%, transparent 100%);
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 40%, rgba(209, 235, 12, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 60%, rgba(0, 130, 160, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-newsletter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lime) 50%, transparent 100%);
  opacity: 0.4;
}

.footer-newsletter-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* FAQ CTA under the newsletter form */
.footer-newsletter-faq {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-newsletter-faq-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-newsletter-faq-text svg { color: var(--lime); flex-shrink: 0; }

.faq-rotator {
  display: inline-block;
  color: var(--lime);
  font-weight: 600;
  border-right: 2px solid var(--lime);
  margin-right: 1px;
  padding-right: 3px;
  animation: faq-caret 0.85s step-end infinite;
}

@keyframes faq-caret {
  0%, 100% { border-color: var(--lime); }
  50% { border-color: transparent; }
}

.footer-newsletter-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  padding: 11px 20px;
  border: 1px solid rgba(209, 235, 12, 0.4);
  border-radius: 999px;
  transition: background 0.22s ease, color 0.22s ease, gap 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.footer-newsletter-faq-link:hover {
  background: var(--lime);
  color: var(--teal-deep);
  gap: 11px;
  box-shadow: 0 8px 22px rgba(209, 235, 12, 0.25);
}

@media (max-width: 640px) {
  .footer-newsletter-faq { flex-direction: column; align-items: flex-start; gap: 16px; }
}

.footer-newsletter-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-newsletter-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--lime);
}

.footer-newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 14px;
  max-width: 460px;
}

.footer-newsletter-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.footer-newsletter-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 440px;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-newsletter-row {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px;
  transition: border-color 0.2s;
}

.footer-newsletter-row:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(209, 235, 12, 0.1);
}

.footer-newsletter-input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: white;
  outline: none;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-input:-webkit-autofill,
.footer-newsletter-input:-webkit-autofill:hover,
.footer-newsletter-input:-webkit-autofill:focus {
  -webkit-text-fill-color: white;
  box-shadow: inset 0 0 0 1000px rgba(30, 50, 40, 0.95);
  border-radius: 999px;
  transition: background-color 9999s ease-in-out 0s;
}

.footer-newsletter-submit {
  background: var(--lime);
  color: var(--teal-darker);
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.footer-newsletter-submit:hover {
  background: white;
  transform: translateY(-1px);
}

.footer-newsletter-submit svg {
  transition: transform 0.2s;
}

.footer-newsletter-submit:hover svg {
  transform: translateX(3px);
}

.footer-newsletter-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
}

.footer-newsletter-disclaimer svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-newsletter-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: rgba(209, 235, 12, 0.08);
  border: 1px solid rgba(209, 235, 12, 0.3);
  border-radius: 12px;
  color: var(--lime);
  font-size: 14px;
}

.footer-newsletter-success.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.footer-newsletter-success-icon {
  width: 28px;
  height: 28px;
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-darker);
  flex-shrink: 0;
}

/* ----- Main footer grid ----- */
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 48px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1.2fr;
  gap: 56px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

.footer-brand-col {
  max-width: 380px;
}

.footer-brand {
  margin-bottom: 22px;
}

.footer-brand svg {
  height: 32px;
  width: auto;
  display: block;
}

.footer-tagline {
  line-height: 1.6;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
}

.footer-compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(209, 235, 12, 0.06);
  border: 1px solid rgba(209, 235, 12, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--lime);
  text-transform: uppercase;
}

.footer-compliance-badge svg {
  color: var(--lime);
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h5::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--lime);
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 12px; }

.footer-col a, .footer-col button {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover, .footer-col button:hover { color: var(--lime); }

.footer-col a svg, .footer-col button svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}

.footer-col a:hover svg, .footer-col button:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* Contact column specifics */
.footer-contact-page-link { margin-bottom: 16px; }

.footer-contact-col .footer-company-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: white;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-bottom: 0;
}

.footer-contact-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  flex-shrink: 0;
  transition: all 0.2s;
}

.footer-contact-list li:hover .footer-contact-icon {
  background: rgba(209, 235, 12, 0.08);
  border-color: rgba(209, 235, 12, 0.3);
}

.footer-contact-text {
  flex: 1;
  padding-top: 5px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-text a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-text a:hover {
  color: var(--lime);
}

/* ----- Social strip ----- */
.footer-social {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-social-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social-icons {
  display: flex;
  gap: 8px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.footer-social-icon:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--teal-darker);
  transform: translateY(-2px);
}

.footer-made-in {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-made-in::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ----- Bottom legal strip ----- */
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 28px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--lime);
}

/* ============================
   MODAL / FLOW SYSTEM
   ============================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 30, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bone);
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}

.modal-overlay.open .modal {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  background: var(--teal-deep);
  color: white;
  padding: 32px 40px 28px;
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  flex-shrink: 0; /* fixed header — never compress while the body scrolls */
}

.modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 30%, rgba(209, 235, 12, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--lime);
  color: var(--teal-deep);
  border-color: var(--lime);
  transform: rotate(90deg);
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
  position: relative;
}

.modal-title em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.modal-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

/* Progress bar */
.modal-progress {
  display: flex;
  gap: 6px;
  margin-top: 22px;
  position: relative;
}

.modal-progress-dot {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.modal-progress-dot.active {
  background: var(--lime);
}

.modal-progress-dot.complete {
  background: rgba(209, 235, 12, 0.5);
}

.modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 40px 40px 0;
}

.modal-step {
  display: none;
  animation: stepIn 0.4s ease;
}

.modal-step.active {
  display: block;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--lime);
}

.modal-step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.modal-step h3 em {
  font-style: italic;
  color: var(--teal);
}

.modal-step .question-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.55;
}

.contact-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Option cards */
.option-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.option-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.option-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-family: var(--font-sans);
  color: var(--ink);
  width: 100%;
}

.option-card:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.option-card.selected {
  border-color: var(--lime);
  background: rgba(209, 235, 12, 0.08);
  box-shadow: 0 0 0 2px var(--lime);
}

.option-card-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  transition: all 0.2s;
}

.option-card.selected .option-card-icon {
  background: var(--lime);
  color: var(--teal-deep);
}

.option-card-text {
  flex: 1;
}

.option-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.option-card-meta {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.option-card-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.option-card.selected .option-card-check {
  background: var(--lime);
  border-color: var(--lime);
}

.option-card-check svg {
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--teal-deep);
}

.option-card.selected .option-card-check svg {
  opacity: 1;
}

/* ── Customer-category cards (Step 1A) ─────────────────────────── */
.category-card {
  align-items: flex-start;
}
.category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.category-badge {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--teal, #004f64);
  background: var(--teal-soft, #eef6f8);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  padding: 3px 9px;
  cursor: help;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.option-card.selected .category-badge {
  border-color: var(--lime, #d1eb0c);
  background: rgba(209, 235, 12, 0.12);
}

/* ── Classification sub-steps (Step 1 B/C) ────────────────────── */
.classify-substep-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft, #64748b);
  padding: 4px 0;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.classify-substep-back:hover {
  color: var(--teal, #004f64);
}
.classify-modal-search {
  position: relative;
  margin-bottom: 14px;
}
.classify-modal-search input {
  width: 100%;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-sans, sans-serif);
  font-size: 14px;
  color: var(--ink, #0f172a);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.classify-modal-search input::placeholder {
  color: var(--ink-soft, #94a3b8);
}
.classify-modal-search input:focus {
  outline: none;
  border-color: var(--teal, #004f64);
  box-shadow: 0 0 0 3px rgba(0, 79, 100, 0.08);
}
.classify-modal-list {
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  background: #f8fafc;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  overscroll-behavior: contain;
}
.classify-modal-list::-webkit-scrollbar {
  width: 8px;
}
.classify-modal-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
  border: 2px solid #f8fafc;
}
.classify-modal-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.classify-modal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 10px;
  padding: 13px 15px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.classify-modal-list li:hover {
  border-color: var(--teal, #004f64);
  background: var(--teal-soft, #eef6f8);
  transform: translateY(-1px);
}
.classify-modal-list li.classify-selected {
  border-color: var(--lime, #d1eb0c);
  background: rgba(209, 235, 12, 0.08);
  box-shadow: 0 0 0 1.5px var(--lime, #d1eb0c);
}
.classify-modal-list .classify-item-label {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink, #0f172a);
  line-height: 1.35;
  /* Override the legacy popup .classify-item-label truncation — show full names */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.classify-modal-list .classify-item-arrow,
.classify-modal-list .classify-item-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--teal, #004f64);
}
.classify-modal-list .classify-item-arrow {
  color: var(--ink-soft, #94a3b8);
  transition: transform 0.15s, color 0.15s;
}
.classify-modal-list li:hover .classify-item-arrow {
  color: var(--teal, #004f64);
  transform: translateX(2px);
}
.classify-modal-list li[data-no-result],
.classify-modal-list li.classify-modal-empty {
  justify-content: center;
  color: var(--ink-soft, #94a3b8);
  font-size: 13px;
  cursor: default;
  border-style: dashed;
  background: transparent;
}
.classify-modal-list li[data-no-result]:hover,
.classify-modal-list li.classify-modal-empty:hover {
  border-color: var(--line, #e2e8f0);
  background: transparent;
  transform: none;
}

/* ── RAP eligibility verdict boxes (results step) ─────────────── */
.elig-box {
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink, #0f172a);
}
.elig-box p { margin: 0 0 10px; }
.elig-box p:last-child { margin-bottom: 0; }
.elig-box--yes { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.35); }
.elig-box--no { background: rgba(2, 132, 199, 0.06); border: 1px solid rgba(2, 132, 199, 0.25); }
.elig-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display, sans-serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.elig-box--yes .elig-head { color: #047857; }
.elig-box--no .elig-head { color: #0369a1; }
.elig-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}
.elig-icon--yes { background: #10b981; }
.elig-icon--no { background: #0ea5e9; }
.elig-demand {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 14px;
}
.elig-sub-head {
  font-weight: 700;
  color: var(--teal-deep, #003040);
  margin: 14px 0 6px;
  font-size: 14px;
}
.elig-list { margin: 6px 0 12px; padding-left: 20px; }
.elig-list li { margin-bottom: 4px; }
.elig-help {
  border: 1px dashed var(--line, #e2e8f0);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ink-soft, #475569);
}
.elig-help .elig-sub-head { margin-top: 0; color: var(--teal, #004f64); }
.elig-help p { margin: 0 0 10px; }
.elig-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.elig-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal, #004f64);
  font-weight: 600;
  text-decoration: none;
}
.elig-contact a:hover { text-decoration: underline; }

/* Input fields */
.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  transition: all 0.2s;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23004F64' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 79, 100, 0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-sans);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 4px;
}

/* Divider between ct-fields group and basic contact fields */
.form-section-divider {
  border-top: 1px solid var(--line);
  margin: 8px 0 24px;
}

/* Customer-type context fields in Reserve step */
.ct-fields {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 8px;
}

/* Upload zone wrapper (for cancel button positioning) */
/* Upload + Scan-with-Phone options side by side */
.upload-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .upload-options { grid-template-columns: 1fr 1fr; }
}

.upload-zone-wrap {
  position: relative;
  display: flex;
}

/* Scan with Phone — clickable card mirroring the upload zone styling */
.scan-phone-card {
  width: 100%;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.scan-phone-card:hover {
  border-color: var(--lime);
  background: rgba(209, 235, 12, 0.04);
}
.scan-phone-card:hover .scan-phone-btn {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--teal-deep);
}
/* Desktop = QR scan copy; mobile = camera capture copy. */
.scan-phone-card .scan-mobile { display: none; }
@media (max-width: 559px) {
  .scan-phone-card .scan-desktop { display: none; }
  .scan-phone-card .scan-mobile { display: inline; }
}
.scan-phone-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 3px;
}
.scan-phone-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 14px;
}
.scan-phone-btn {
  margin-top: 14px;
  background: var(--lime);
  color: var(--teal-deep);
  border: 1px solid var(--lime);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.scan-phone-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--teal-deep);
}

.upload-clear-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  z-index: 2;
  transition: all 0.15s;
}
.upload-clear-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Upload zone */
.upload-zone {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--lime);
  background: rgba(209, 235, 12, 0.04);
}

.upload-zone.uploaded {
  border-style: solid;
  border-color: var(--lime);
  background: rgba(209, 235, 12, 0.06);
}

/* "Click to upload" pill — highlights on hover, hidden once a file is chosen */
.upload-zone:hover .scan-phone-btn,
.upload-zone.dragover .scan-phone-btn {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--teal-deep);
}
.upload-zone.uploaded .upload-cta {
  display: none;
}

.upload-icon {
  width: 38px;
  height: 38px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--teal);
}

.upload-zone.uploaded .upload-icon {
  background: var(--lime);
  color: var(--teal-deep);
}

.upload-zone h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.upload-zone p {
  font-size: 13px;
  color: var(--ink-soft);
}

.upload-input { display: none; }

.upload-extract-status {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  background: var(--bone-warm);
  border: 1px solid var(--line);
}
.upload-extract-status.success {
  background: #f0fdf4;
  border: 1px solid rgba(22, 101, 52, 0.25);
  color: #166534;
}
.upload-extract-status.error {
  background: rgba(255, 100, 80, 0.08);
  border: 1px solid rgba(255, 100, 80, 0.2);
  color: rgba(255, 120, 100, 0.9);
}
.upload-extract-status.loading {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.extract-progress-label {
  display: block;
}
.extract-progress-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.extract-progress-bar {
  width: 8%;
  height: 100%;
  border-radius: 999px;
  background: var(--teal);
  transition: width 0.3s ease;
}

/* OR divider between upload and manual */
.upload-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.upload-or::before,
.upload-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.upload-or span {
  flex-shrink: 0;
}

/* Manual amount card */
.manual-amount {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.manual-amount:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 79, 100, 0.08);
}

.manual-amount-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.manual-amount-input {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.manual-amount-input .peso {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--lime-dim);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.manual-amount-input .suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.manual-amount-input input {
  border: none;
  background: none;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--teal-deep);
  flex: 1;
  min-width: 0;
  outline: none;
  letter-spacing: -0.02em;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.manual-amount-input input::-webkit-outer-spin-button,
.manual-amount-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Step actions — sticky footer within the scrolling modal body */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  bottom: 0;
  margin-top: 32px;
  padding-top: 20px;
  padding-bottom: 24px;
  background: var(--bone);
  border-top: 1px solid var(--line);
  z-index: 5;
}

.step-back {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.2s;
}

.step-back:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.step-back:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.step-next {
  background: var(--teal-deep);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.step-next:hover:not(:disabled) {
  background: var(--lime);
  color: var(--teal-deep);
  transform: translateY(-1px);
}

.step-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Analysis loading state */
.analyzing {
  text-align: center;
  padding: 60px 20px;
}

.analyzing-orb {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  position: relative;
}

.analyzing-orb::before,
.analyzing-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--lime);
  opacity: 0;
  animation: analyze-pulse 2s ease-out infinite;
}

.analyzing-orb::after {
  animation-delay: 1s;
}

.analyzing-orb-core {
  position: absolute;
  inset: 25%;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes analyze-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.analyzing h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--teal-deep);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.analyzing-steps {
  margin-top: 24px;
  display: inline-block;
  text-align: left;
}

.analyzing-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
  opacity: 0.3;
  transition: opacity 0.3s;
}

.analyzing-step.done {
  opacity: 1;
  color: var(--teal-deep);
}

.analyzing-step.current {
  opacity: 1;
  color: var(--teal);
  font-weight: 500;
}

.analyzing-step-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analyzing-step.done .analyzing-step-icon {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--teal-deep);
}

/* Results screen */
.results-hero {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: white;
  padding: 36px;
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.results-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(209, 235, 12, 0.18) 0%, transparent 70%);
}

.results-hero-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
  position: relative;
}

.results-hero-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
}

.results-hero-prefix {
  font-family: var(--font-mono);
  font-size: 0.28em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  vertical-align: middle;
  margin-right: 4px;
}
.results-hero-value .peso {
  color: var(--lime);
  font-size: 38px;
  font-style: italic;
  font-weight: 300;
  margin-right: 4px;
}

.results-hero-value .small {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.4);
}

.results-hero-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

/* ── Phase breakdown table for unified assessment modal ── */
.results-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.results-phase-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: white;
}
.results-phase-featured {
  background: white;
}
@media (max-width: 560px) {
  .results-phases { grid-template-columns: 1fr; }
}
.results-phase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.results-phase-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.results-phase-badge {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  background: rgba(122, 184, 0, 0.14);
  color: #5a8a00;
  flex-shrink: 0;
}
.results-phase-badge.phase2 { background: rgba(0, 151, 178, 0.12); color: #0078a0; }
.results-phase-badge.phase3 { background: rgba(106, 63, 212, 0.12); color: #5a2ec4; }
.results-phase-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-deep);
}
.results-phase-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 4px;
}
.results-status--1 { background: rgba(122, 184, 0, 0.12); color: #4e7a00; }
.results-status--2 { background: rgba(0, 151, 178, 0.12); color: #0078a0; }
.results-status--3 { background: rgba(106, 63, 212, 0.1); color: #5a2ec4; }
.results-phase-right { text-align: left; }
.results-phase-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.results-phase-unit {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-left: 2px;
}
.results-phase-pct {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--lime-dim);
  margin-top: 2px;
  font-weight: 600;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.result-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.result-tile-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.result-tile-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--teal-deep);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.result-tile-value .lime { color: var(--lime-dim); font-weight: 500; }
.result-tile-value .small { font-size: 16px; color: var(--ink-soft); }

.result-tile-meta {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Not eligible panel */
#assessNotEligible {
  text-align: center;
  padding: 12px 0 4px;
}
.not-eligible-icon {
  width: 60px;
  height: 60px;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #dc2626;
}

.insight-card {
  background: var(--bone-warm);
  border-left: 3px solid var(--lime);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: start;
  gap: 14px;
}

.insight-card-icon {
  width: 32px;
  height: 32px;
  background: var(--lime);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-deep);
  flex-shrink: 0;
}

.insight-card-content .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.insight-card-content p {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.insight-card-content p .highlight {
  color: var(--lime-dim);
  font-style: italic;
}

/* Success state */
.success-state {
  text-align: center;
  /* Top space comes from the modal body's own padding; only add the bottom here
     so top/bottom visually match the left/right body padding. */
  padding: 0 0 40px;
}

/* Check circle centered above the message. */
.success-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 22px;
}
.success-head-text {
  text-align: center;
  min-width: 0;
}

@media (max-width: 559px) {
  .success-state { padding: 0 0 24px; }
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0;
  flex-shrink: 0;
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-deep);
  position: relative;
}

.success-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  opacity: 0.3;
  animation: analyze-pulse 2s infinite;
}

.success-state h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--teal-deep);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.success-state h3 em {
  font-style: italic;
  color: var(--teal);
}

.success-state p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: none;
  margin: 0;
}

/* Webmail link on "check your inbox" (only when the provider is known) */
.inbox-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inbox-link:hover { color: var(--teal-deep); }

.success-next-steps {
  background: var(--bone-warm);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0;
  max-width: none;
  text-align: left;
}

.success-next-steps-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.next-step {
  display: flex;
  align-items: start;
  gap: 14px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.next-step-num {
  width: 24px;
  height: 24px;
  background: var(--teal-deep);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.success-redirect-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.redirect-timer-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal-deep);
}

.redirect-message {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  text-align: center;
}

.redirect-message strong {
  color: var(--teal-deep);
}

.redirect-fallback {
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.7;
  margin: 0;
  text-align: center;
}

.redirect-manual-link {
  color: var(--teal);
  text-decoration: underline;
  cursor: default;
}

.checkbox-row {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  margin-top: 24px;
  line-height: 1.5;
}

.checkbox-row input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--lime);
}

.checkbox-row a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: var(--lime);
}

@media (max-width: 640px) {
  .modal-overlay { padding: 0; }
  /* dvh avoids the mobile URL-bar overflow that hid the bottom of the modal; vh is the fallback */
  .modal { border-radius: 0; max-height: 100vh; height: 100vh; max-height: 100dvh; height: 100dvh; }
  .modal-header { padding: 24px 24px 22px; border-radius: 0; }
  .modal-title { font-size: 22px; }
  .modal-body { padding: 28px 24px calc(40px + env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .option-grid.two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .results-hero { padding: 28px 24px; }
  .results-hero-value { font-size: 42px; }
  .modal-step h3 { font-size: 22px; }
}

@media (max-width: 1024px) {
  nav { grid-template-columns: 1fr auto; padding: 14px 24px; gap: 12px; }
  .nav-center { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-right { display: flex; align-items: center; gap: 8px; }
  /* Hide Login on mobile (moves to hamburger menu); collapse phone to icon-only */
  .nav-login { display: none; }
  .nav-phone { padding: 10px; }
  .nav-phone .nav-phone-text { display: none; }
  .hero-grid, .reg-grid, .faq-grid, .tab-content {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .faq-side { position: static; top: auto; }
  .hero-left { max-width: none; }
  .hero h1 { font-size: clamp(36px, 5.5vw, 56px); }
  .hero-calc-result-value { font-size: clamp(36px, 8vw, 48px); }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card { border-right: 1px solid var(--line); }
  .trust-card:nth-child(2n) { border-right: none; }
  .trust-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-tiles { grid-template-columns: repeat(2, 1fr); }
  .live-counters { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(2) { border-right: none; }
  .counter:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
  .counter:nth-child(n+3) { padding-top: 20px; }
  .testimonials { grid-template-columns: 1fr; justify-items: center; }
  .testimonial { aspect-ratio: 4 / 5; max-height: 480px; width: 100%; max-width: 460px; }

  /* Resources FAQ (stacked): flatten the side column so the "Find your fit" deck
     can drop BELOW the questions, and center it */
  .faq-grid { display: flex; flex-direction: column; gap: 0; }
  .faq-side { display: contents; }
  .faq-side > h2 { order: 1; }
  .faq-side > p { order: 2; margin-bottom: 40px; }
  .faq-questions { order: 3; }
  .faq-side .aud-deck { order: 4; margin: 44px auto 0; }
  .faq-side .aud-deck-label { text-align: center; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; padding: 56px 32px 40px; }
  .footer-newsletter { padding: 56px 32px; }
  .footer-newsletter-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-social, .footer-bottom { padding-left: 32px; padding-right: 32px; }
  .partner-types-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-become { grid-template-columns: 1fr; }
  .partner-become-visual { min-height: 320px; padding: 32px; }
  .partner-cta-banner { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .partner-cta-banner-icon { margin: 0 auto; }
  .partner-cta-banner-actions { justify-content: center; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

@media (max-width: 640px) {
  nav { width: calc(100% - 40px); padding: 14px 20px; gap: 8px; }
  .nav-center { display: none; }
  .nav-phone { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .nav-cta svg { display: none; }
  section, .hero, .ecosystem-section, .community-section, .reg-section, .faq-section, .final-cta, .who-section, .how-section, .dashboard-section, .trust-section { padding: 80px 20px; }
  .hero { padding-top: 100px; padding-bottom: 80px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-calc-body { padding: 22px 18px; }
  .hero-calc-header { padding: 18px 22px 14px; }
  .hero-calc-result { padding: 20px 18px; }
  .hero-calc-result-value { font-size: 34px; flex-wrap: wrap; }
  .hero-calc-types { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .hero-calc-actions { grid-template-columns: 1fr; }
  .hero-live-network { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { border-right: none; border-bottom: 1px solid var(--line); }
  .trust-card:last-child { border-bottom: none; }
  .feature-tiles { grid-template-columns: 1fr; }
  .live-counters { grid-template-columns: 1fr; padding: 16px 0; }
  .counter { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
  .counter:last-child { border-bottom: none; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 32px; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-newsletter { padding: 48px 20px; }
  .footer-newsletter-content { gap: 28px; }
  .footer-newsletter-row { flex-direction: row; padding: 5px; }
  .footer-newsletter-submit { padding: 10px 14px; font-size: 13px; gap: 5px; }
  .footer-social { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-bottom { padding: 20px; flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; }
  .footer-legal-links { gap: 20px; }
  .partners-section { padding: 80px 20px; }
  .partner-types-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 56px; }
  .partner-become { margin-bottom: 56px; }
  .partner-become-content { padding: 36px 24px; }
  .partner-become-visual { padding: 32px 20px; min-height: 280px; }
  .partner-network-viz { max-width: 280px; }
  .partner-network-stats { padding: 12px 14px; }
  .partner-network-stat strong { font-size: 18px; }
  .partner-cta-banner { padding: 28px 24px; }
  .partner-cta-banner-actions { flex-direction: column; width: 100%; }
  .partner-cta-banner-actions button { width: 100%; justify-content: center; }
}


/* resources.html — inline grid responsive fixes */
@media (max-width: 768px) {
  /* Featured article: 1fr 1fr image+text */
  [style*="grid-template-columns:1fr 1fr"][style*="margin-bottom:32px"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  /* Guides grid: repeat(3,1fr) */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 14px !important;
  }
}
@media (max-width: 480px) {
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}


/* ==============================
   SCROLL ANIMATIONS
   ============================== */

.anim-ready {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.anim-ready.anim-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEnter 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .anim-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============= CUSTOMER CLASSIFICATION CASCADER ============= */
.form-field-helper {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  margin-top: -2px;
}

.classify-field {
  position: relative;
}

.classify-trigger {
  width: 100%;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}

.classify-trigger:hover {
  border-color: var(--teal);
}

.classify-trigger.classify-open,
.classify-trigger:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 79, 100, 0.08);
}

.classify-trigger-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}

.classify-trigger.classify-has-value .classify-trigger-text {
  color: var(--ink);
}

.classify-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  margin-bottom: 0;
}

.classify-panel-wrap {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 999;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.classify-panel-inner {
  overflow-y: auto;
  max-height: 320px;
}

.classify-panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.classify-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  text-align: center;
}

.classify-back,
.classify-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  min-width: 56px;
}

.classify-back:hover,
.classify-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.classify-close-btn {
  justify-content: flex-end;
}

.classify-breadcrumb {
  font-size: 11px;
  color: var(--ink-soft);
  padding: 8px 16px 4px;
  opacity: 0.7;
  line-height: 1.4;
}

.classify-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.classify-search {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: none;
  font-family: var(--font-sans);
  color: var(--ink);
  min-width: 0;
}

.classify-search-toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.classify-stoggle {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  line-height: 1.6;
}

.classify-stoggle:hover {
  color: var(--teal-deep);
}

.classify-stoggle.active {
  background: white;
  color: var(--teal-deep);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.classify-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.classify-list li {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
  border-radius: 8px;
  margin: 1px 6px;
}

.classify-list li:hover {
  background: rgba(0, 79, 100, 0.07);
  color: var(--teal-deep);
}

.classify-list li.classify-selected {
  background: rgba(0, 79, 100, 0.08);
  color: var(--teal-deep);
  font-weight: 500;
}

.classify-item-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classify-item-arrow,
.classify-item-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  line-height: 1;
}

.classify-list li.classify-selected .classify-item-check {
  color: var(--teal-deep);
}

.classify-item-type {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

.classify-item-type--category {
  background: rgba(0, 79, 100, 0.08);
  color: var(--teal-deep);
}

.classify-item-type--sector {
  background: rgba(209, 235, 12, 0.18);
  color: #5a6b00;
}

.classify-item-type--industry {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-soft);
}

.classify-list li[data-no-result] {
  color: var(--ink-soft);
  font-size: 13px;
  cursor: default;
  pointer-events: none;
  background: none !important;
}

.classify-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
}

.classify-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .classify-panel-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 9999;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .classify-panel-inner {
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* ============================================================
   Links to TEMPORARILY HIDDEN sections (markup kept — do not delete).
   Mirrors the hidden sections: Contact #help/#partner, Resources #blog/
   #use-cases/#energy-101/#guides/#downloads, About #team, Solutions #partners.
   Remove this block to restore.
   ============================================================ */
a[href="/contact#help"],
a[href="/contact#partner"],
a[href="/resources#blog"],
a[href="/resources#use-cases"],
a[href="/resources#energy-101"],
a[href="/resources#guides"],
a[href="/resources#downloads"],
a[href="/about#team"],
a[href="/solutions#partners"] { display: none !important; }

.footer-col li:has(> a[href="/contact#help"]),
.footer-col li:has(> a[href="/contact#partner"]),
.footer-col li:has(> a[href="/resources#blog"]),
.footer-col li:has(> a[href="/resources#use-cases"]),
.footer-col li:has(> a[href="/resources#energy-101"]),
.footer-col li:has(> a[href="/resources#guides"]),
.footer-col li:has(> a[href="/resources#downloads"]),
.footer-col li:has(> a[href="/about#team"]),
.footer-col li:has(> a[href="/solutions#partners"]) { display: none !important; }
