/* ═══════════════════════════════════════════════════════════════
   GSustain Design System — Base Stylesheet
   Version: 2.0 (2026-05-13 audit rebuild)
   Covers: tokens, reset, nav, hero, features, pricing, CTA, footer,
           buttons, results, forms, payment, responsive, animations,
           accessibility, social proof, FAQ
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --navy: #0e273d;
  --navy-light: #163350;
  --navy-dark: #091b2d;
  --bronze: #c69766;
  --bronze-light: #d4ad82;
  --bronze-dim: rgba(198, 151, 102, 0.15);
  --green: #2e7d32;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --blue: #1565c0;
  --blue-pale: #e3f2fd;
  --red: #ef4444;
  --red-pale: #fef2f2;
  --amber: #f59e0b;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --ink: #0e273d;
  --body: #3a4a5c;
  --muted: #6b7d92;
  --subtle: #7a8a9c; /* was #94a3b8 — contrast fix (4.5:1 on white) */
  --line: #e2e8f0;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(14, 39, 61, 0.08);
  --shadow-lg: 0 12px 40px rgba(14, 39, 61, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

fieldset { border: none; padding: 0; margin: 0; }

/* ── Accessibility: Skip Nav ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--bronze);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Accessibility: Visually Hidden (for SR-only content) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Accessibility: Global Focus Visible ── */
:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

/* ── Glass Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 39, 61, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(198, 151, 102, 0.15);
  transition: background 0.3s var(--ease);
}

.nav--scrolled {
  background: rgba(14, 39, 61, 0.95);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav__logo span { color: var(--bronze); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--bronze);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bronze);
  border-radius: 1px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 40px;
  height: 40px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 8px;
  transition: all 0.3s var(--ease);
}

.nav__toggle span:nth-child(1) { top: 12px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 26px; }

/* Hamburger → X animation */
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* ── Hero Section ── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(198, 151, 102, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(46, 125, 50, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(198, 151, 102, 0.06);
  pointer-events: none;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--bronze);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--bronze);
  opacity: 0.5;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--bronze);
}

.hero__desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78); /* contrast fix: was 0.6 */
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.hero__badge svg { flex-shrink: 0; }

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Features Section ── */
.features {
  padding: 80px 0;
  background: var(--white);
}

.features__header {
  text-align: center;
  margin-bottom: 48px;
}

.features__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  margin-bottom: 12px;
}

.features__header p {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze), var(--green));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bronze-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--bronze);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* DesalBench blue variant */
.feature-card--blue::before {
  background: linear-gradient(90deg, var(--bronze), var(--blue));
}

/* ── Form Styles ── */
.readiness {
  padding: 80px 0;
  background: var(--off-white);
}

.readiness__header {
  text-align: center;
  margin-bottom: 48px;
}

.readiness__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  margin-bottom: 12px;
}

.readiness__header p {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.readiness__form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.form-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.form-section__title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 20px;
}

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

.form-row--full { grid-template-columns: 1fr; }
.form-row--three { grid-template-columns: 1fr 1fr 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(198, 151, 102, 0.35); /* contrast fix: was 0.12 */
}

/* Form validation error states */
.form-group--error input,
.form-group--error select {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-group__error {
  color: var(--red);
  font-size: 11px;
  margin-top: 4px;
  display: none;
}
.form-group--error .form-group__error { display: block; }

.form-group .form-hint {
  font-size: 11px;
  color: var(--subtle);
  margin-top: 4px;
}

/* Honeypot field */
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Readiness assessment questions */
.readiness-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.readiness-question:last-child { border-bottom: none; }

.readiness-question__text {
  font-size: 14px;
  color: var(--body);
  flex: 1;
  padding-right: 20px;
}

.readiness-question__number {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 12px;
  min-width: 24px;
}

/* Toggle groups (Yes/No radios) — accessible version */
.toggle-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.toggle-group label {
  padding: 10px 20px; /* touch target fix: was 6px 16px */
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Visually hidden but accessible radios (was display:none — WCAG fix) */
.toggle-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toggle-group input:focus-visible + label {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

.toggle-group input:checked + label {
  background: var(--green-pale);
  border-color: var(--green);
  color: var(--green);
}

.toggle-group input[value="no"]:checked + label {
  background: var(--red-pale);
  border-color: var(--red);
  color: var(--red);
}

/* Consent checkbox */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--bronze);
}

.consent-group label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.consent-group a {
  color: var(--bronze);
  text-decoration: underline;
}

.consent-group.form-group--error {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  min-height: 44px; /* touch target */
}

.btn--bronze {
  background: var(--bronze);
  color: var(--white);
}

.btn--bronze:hover {
  background: var(--bronze-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 151, 102, 0.3);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn--outline:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Button spinner */
.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.btn--loading .btn__spinner { display: inline-block; }
.btn--loading .btn__text { display: none; }

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

/* ── Results Panel ── */
.results-panel {
  display: none;
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.results-panel.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.results-panel h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 8px;
}

.results-panel__score {
  font-size: 56px;
  font-weight: 800;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 4px;
}

.results-panel__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65); /* contrast fix: was 0.5 */
  margin-bottom: 24px;
}

.results-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.results-bar__fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s var(--ease);
}

.results-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.results-breakdown__item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.results-breakdown__item h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65); /* contrast fix: was 0.5 */
  margin-bottom: 4px;
}

.results-breakdown__item p {
  font-size: 14px;
  color: var(--white);
}

/* Fallback notice */
.results-fallback {
  display: none;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}
.results-fallback.visible { display: block; }

.results-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.results-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65); /* contrast fix */
  margin-bottom: 16px;
}

.results-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ── Pricing Section ── */
.pricing {
  padding: 80px 0;
  background: var(--white);
}

.pricing__header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  margin-bottom: 12px;
}

.pricing__header p {
  font-size: 15px;
  color: var(--muted);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing__grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
}

.price-card--featured {
  border-color: var(--bronze);
  box-shadow: 0 8px 32px rgba(198, 151, 102, 0.2);
  transform: scale(1.03);
}

.price-card--featured .price-card__badge {
  display: block;
}

.price-card__badge {
  display: none;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.price-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
}

.price-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.price-card__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.price-card__price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price-card__desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.price-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.price-card__features li {
  font-size: 13px;
  color: var(--body);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-card__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-pale);
  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='%232e7d32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
  margin-top: 2px;
}

/* ── Payment Section ── */
.payment {
  padding: 60px 0;
  background: var(--off-white);
}

.payment__inner {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
}

.payment__inner h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}

.payment__inner > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.payment__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.payment__tab {
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--muted);
  transition: all 0.2s;
}

.payment__tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.payment__stripe {
  display: none;
  text-align: center;
}
.payment__stripe.active { display: block; }

.payment__bank {
  display: none;
}
.payment__bank.active { display: block; }

.payment__note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.payment__subtext {
  font-size: 11px;
  color: var(--subtle);
  margin-top: 16px;
}

.payment__stripe-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment__stripe-grid {
  display: grid;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.payment__stripe-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
}

.payment__stripe-tier {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.payment__stripe-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.payment__bank-warning {
  font-size: 11px;
  color: var(--subtle);
  margin-top: 16px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.bank-detail:hover { background: var(--off-white); }

.bank-detail:last-child { border-bottom: none; }

.bank-detail__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  min-width: 160px;
}

.bank-detail__value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Code', monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bank-detail__copy {
  font-size: 10px;
  color: var(--subtle);
  opacity: 0;
  transition: opacity 0.2s;
}
.bank-detail:hover .bank-detail__copy { opacity: 1; }

/* ── Tool Embed (iframe tools) ── */
.tool-embed {
  padding: 60px 0;
  background: var(--off-white);
}

.tool-embed__frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  min-height: 900px;
}

.tool-embed iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  display: block;
}

/* iframe loading state */
.tool-embed__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  z-index: 2;
  transition: opacity 0.3s;
}

.tool-embed__loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.tool-embed__loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--bronze);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.tool-embed__loader p {
  font-size: 14px;
  color: var(--muted);
}

/* Lead capture overlay for iframe tools */
.tool-embed__gate {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(14, 39, 61, 0.95) 40%);
  z-index: 3;
  text-align: center;
}

.tool-embed__gate.visible { display: block; }

.tool-embed__gate p {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
}

.tool-embed__gate-form {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.tool-embed__gate-form input {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 14px;
  flex: 1;
  min-width: 180px;
}

.tool-embed__gate-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* ── Use Cases (for iframe tools) ── */
.use-cases {
  padding: 80px 0;
  background: var(--off-white);
}

.use-cases__header {
  text-align: center;
  margin-bottom: 48px;
}

.use-cases__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  margin-bottom: 12px;
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.use-case {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.use-case__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--bronze);
  font-family: var(--font-heading);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.use-case h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
}

.use-case p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Social Proof Section ── */
.social-proof {
  padding: 48px 0;
  background: var(--off-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-proof__inner {
  text-align: center;
}

.social-proof__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--subtle);
  margin-bottom: 16px;
}

.social-proof__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.social-proof__stat {
  text-align: center;
}

.social-proof__stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.social-proof__stat-label {
  font-size: 12px;
  color: var(--muted);
}

.social-proof__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.social-proof__badges img {
  height: 36px;
  filter: grayscale(100%);
  transition: filter 0.3s, opacity 0.3s;
}

.social-proof__badges img:hover {
  filter: none;
  opacity: 1;
}

/* ── FAQ Section ── */
.faq {
  padding: 80px 0;
  background: var(--off-white);
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.faq__question::after {
  content: '+';
  font-size: 20px;
  color: var(--bronze);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item.open .faq__question::after {
  content: '−';
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.faq__answer p {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq__item.open .faq__answer {
  max-height: 600px;
}

/* ── CTA Section ── */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(198, 151, 102, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.cta h2 em {
  font-style: normal;
  color: var(--bronze);
}

.cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65); /* contrast fix */
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Cross-Sell Section ── */
.cross-sell {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.cross-sell__header {
  text-align: center;
  margin-bottom: 32px;
}

.cross-sell__header h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--ink);
}

.cross-sell__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.cross-sell__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.cross-sell__card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cross-sell__card h3 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.cross-sell__card p {
  font-size: 12px;
  color: var(--muted);
}

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.65); /* contrast fix: was 0.5 */
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand .footer__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand .footer__logo span { color: var(--bronze); }

.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75); /* contrast fix */
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65); /* contrast fix */
  transition: color 0.2s;
}

.footer__col ul li a:hover { color: var(--bronze); }

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy { font-size: 13px; }

.footer__bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65); /* contrast fix */
  transition: color 0.2s;
}

.footer__bottom-links a:hover { color: var(--bronze); }

/* ── Toast Notification ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1100px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .features__grid,
  .use-cases__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing__grid,
  .pricing__grid--three {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .price-card--featured { transform: none; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .social-proof__stats { gap: 32px; }

  .cross-sell__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(14, 39, 61, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(198, 151, 102, 0.15);
  }
  .nav__toggle { display: flex; align-items: center; justify-content: center; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero__desc { font-size: 15px; }
  .hero__badges { gap: 12px; }

  .features, .readiness, .pricing, .cta, .payment,
  .use-cases, .faq, .cross-sell { padding: 56px 0; }

  .form-row,
  .form-row--three { grid-template-columns: 1fr; }

  .results-breakdown { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
