/* AllianceOracle — portal dark palette (main site + vault) */
:root {
  /* Exact portal palette */
  --ao-bg: #0a0f1c;
  --ao-section: #111827;
  --ao-accent: #14b8a6;
  --ao-heading: #f1f5f9;
  --ao-body: #cbd5e1;
  --ao-grid: #1e2937;
  --ao-overlay: rgba(10, 15, 28, 0.78);

  /* Vault core — mapped to portal palette */
  --vault-navy: #0a0f1c;
  --vault-navy-deep: #0a0f1c;
  --vault-panel: #111827;
  --vault-panel-mid: #111827;
  --vault-teal: #14b8a6;
  --vault-teal-dim: rgba(20, 184, 166, 0.15);
  --vault-teal-glow: rgba(20, 184, 166, 0.35);
  --vault-text: #f1f5f9;
  --vault-muted: #94a3b8;
  --vault-border: #1e2937;

  /* Sketch backgrounds */
  --sketch-filter: invert(1) grayscale(1) contrast(1.15);
  --sketch-opacity: 0.24;
  --sketch-opacity-strong: 0.28;
  --sketch-opacity-subtle: 0.18;
  --sketch-1: url('/images/sketch-1-oilfield.png');
  --sketch-2: url('/images/sketch-2-hero.png');
  --sketch-3: url('/images/sketch-3-lithium.png');
  --sketch-4: url('/images/sketch-4-battery.png');
  --sketch-5: url('/images/sketch-5-crystals.png');

  /* Main site aliases */
  --bg: var(--ao-bg);
  --s1: var(--ao-section);
  --s2: var(--ao-section);
  --border: var(--ao-grid);
  --b1: var(--ao-grid);
  --b2: #334155;
  --text: var(--ao-heading);
  --t1: var(--ao-heading);
  --mid: var(--ao-body);
  --t2: var(--ao-body);
  --muted: var(--vault-muted);
  --t3: var(--vault-muted);
  --amber: var(--ao-accent);
  --am: var(--ao-accent);
  --am2: #2dd4bf;
  --accent: var(--ao-accent);
  --accent-bg: rgba(20, 184, 166, 0.1);
  --amber-light: var(--ao-section);
  --amber-dark: #2dd4bf;
  --cream: var(--ao-bg);
  --cream-dark: var(--ao-section);
  --white: var(--ao-section);
  --off-white: var(--ao-section);
  --green: #5BD98A;
  --green-bg: rgba(91, 217, 138, 0.14);
  --orange: #E8A855;
  --orange-bg: rgba(232, 168, 85, 0.12);
  --red: #F07171;
  --red-bg: rgba(240, 113, 113, 0.12);
  --neutral: #A8A8A8;
  --neutral-bg: rgba(20, 184, 166, 0.06);
  --am-glow: var(--vault-teal-glow);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --fd: 'Fraunces', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --fm: 'JetBrains Mono', monospace;

  /* Light-surface contrast tokens */
  --ink: #0A0E14;
  --ink-2: #11161F;
  --ink-3: #1A2230;
  --ink-muted: #334155;
  --ink-subtle: #475569;
  --ink-faint: #64748b;
  --rule: #e2e8f0;
  --rule-2: #cbd5e1;
  --paper: #ffffff;
  --paper-muted: #f8fafc;
  --paper-2: #94a3b8;
  --paper-3: #64748b;
  --on-light: var(--ink);
  --on-light-body: var(--ink-muted);
  --on-light-muted: var(--ink-faint);
}

/* ── Sketch section utility ─────────────────────────────────── */
.sketch-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sketch-section > * {
  position: relative;
  z-index: 1;
}

.sketch-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--sketch-opacity);
  filter: var(--sketch-filter);
  background: center / min(72%, 420px) auto no-repeat;
}

.sketch-section--1::after { background-image: var(--sketch-1); background-position: right 8% center; }
.sketch-section--2::after { background-image: var(--sketch-2); background-position: left 6% center; }
.sketch-section--3::after { background-image: var(--sketch-3); background-position: center right; }
.sketch-section--4::after { background-image: var(--sketch-4); background-position: center left; }
.sketch-section--5::after { background-image: var(--sketch-5); background-position: center; }

.sketch-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--ao-overlay);
}

/* Subpage hero sketch strip */
.subpage-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.subpage-hero > * {
  position: relative;
  z-index: 1;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(48%, 380px);
  height: min(70%, 320px);
  z-index: 0;
  pointer-events: none;
  opacity: var(--sketch-opacity-strong);
  filter: var(--sketch-filter);
  background: center / contain no-repeat;
}

.subpage-hero--1::after { background-image: var(--sketch-1); }
.subpage-hero--2::after { background-image: var(--sketch-2); }
.subpage-hero--3::after { background-image: var(--sketch-3); }
.subpage-hero--4::after { background-image: var(--sketch-4); }
.subpage-hero--5::after { background-image: var(--sketch-5); }

/* Subpages — use full width, avoid narrow column dead space */
.page-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px 64px;
  width: 100%;
}
.page-footer {
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  font-size: 12px;
  color: var(--muted);
  background: var(--ao-bg);
}
.page-footer a {
  color: var(--amber);
  text-decoration: none;
  transition: opacity 0.15s;
}
.page-footer a:hover {
  opacity: 0.85;
}
.page-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.page-prose {
  max-width: 760px;
}
.page-header,
.site-header,
header {
  background: var(--ao-section);
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header logo — teal mark on navy */
.logo img,
.logo-mark img {
  filter: none;
  opacity: 1;
  margin: 0;
  display: inline-block;
}

/* Content images — B&W/muted by default; bright variant for light sections */
.content-img {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  border-radius: 8px;
  filter: grayscale(1);
}

.content-img--bright {
  filter: none;
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
}

section {
  position: relative;
  padding: 4rem 0;
}

/* Legacy overlay panels (subpages / vault) */
.overlay-fix {
  background: rgba(10, 15, 28, 0.88);
  padding: 3.5rem 5%;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 1100px;
}

.overlay-fix h2,
.overlay-fix h3 {
  color: #f1f5f9;
}

.overlay-fix ul,
.overlay-fix p,
.overlay-fix li {
  color: #e2e8f0;
  line-height: 2.2;
}

.overlay-fix--compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: rgba(15, 23, 42, 0.95);
}

@media (max-width: 768px) {
  .overlay-fix--compare {
    grid-template-columns: 1fr;
  }
}

/* ── Clean light sections (index middle content) ─────────────── */
.section-light {
  background: var(--paper);
  color: var(--ink);
  padding: 4rem 5%;
  border-bottom: 1px solid var(--rule);
}

.section-light__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.content-box {
  background: var(--paper-muted);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
}

.content-box__title {
  font-family: var(--fd);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.ao-list--light li {
  color: var(--ink-muted);
  line-height: 1.85;
}

.ao-list--light li::before {
  color: var(--ao-accent);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  margin-top: 2rem;
  background: var(--paper);
  color: var(--ink);
}

.compare-grid__col h3 {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.compare-source--light {
  color: var(--ink-faint);
  margin-top: 1.5rem;
}

.mcdaniel-body--light {
  color: var(--ink-muted);
}

.mcdaniel-body--light p:last-child {
  color: var(--ink);
  font-weight: 500;
}

.light-container,
.pricing-box {
  background: var(--paper-muted);
  color: var(--ink);
  border: 1px solid var(--rule);
}

@media (max-width: 768px) {
  .section-light {
    padding: 3rem 5%;
  }

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-box {
    padding: 2rem 1.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  border-radius: 8px;
  filter: grayscale(1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .page-main { padding: 36px 20px 56px; }
  .page-header { padding: 0 20px; }
  .page-footer { padding: 20px; }
  .page-footer-inner { flex-direction: column; text-align: center; }
  .sketch-section::after { opacity: 0.16; background-size: min(85%, 280px) auto; }
  .subpage-hero::after { opacity: 0.18; width: min(55%, 260px); }
}

/* ── Mobile navigation (shared) ─────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--b1, var(--border));
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--t1, var(--text));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-height, 68px);
  z-index: 998;
  background: rgba(10, 15, 28, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.mobile-nav-links a {
  display: block;
  font-family: var(--fd, var(--font-display));
  font-size: 22px;
  font-weight: 500;
  color: var(--t1, var(--text));
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--b1, var(--border));
  transition: color 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  color: var(--am, var(--amber));
}

.mobile-nav-links .mobile-nav-cta {
  margin-top: 20px;
  font-family: var(--fb, var(--font-body));
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  background: var(--am, var(--amber));
  color: var(--vault-navy-deep);
  border: none;
  padding: 16px 24px;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-desktop,
  .nav-links,
  .header-nav .header-link,
  .header-nav > a:not(.btn-access):not(.btn-sell):not(.btn-need):not(.nav-signin) {
    display: none !important;
  }

  .nav-btn--desktop,
  .header-nav .btn-access,
  .header-nav .btn-sell,
  .header-nav .btn-need {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ── Form feedback ──────────────────────────────────────────── */
.form-feedback {
  font-family: var(--font-mono, var(--fm));
  font-size: 13px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border, var(--b1));
}
.form-feedback.success {
  color: var(--green);
  background: var(--green-bg);
  border-color: rgba(91, 217, 138, 0.35);
}
.form-feedback.error {
  color: var(--red);
  background: var(--red-bg);
  border-color: rgba(240, 113, 113, 0.35);
}
.form-feedback[hidden] {
  display: none;
}

.nav-signin {
  font-size: 13px;
  color: var(--muted, var(--t3));
  text-decoration: none;
  transition: color 0.15s;
}
.nav-signin:hover {
  color: var(--text, var(--t1));
}

/* ── Auth & dashboard pages ───────────────────────────────────── */
.auth-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.auth-shell.wide {
  max-width: 1120px;
}
.auth-card {
  background: var(--s1);
  border: 1px solid var(--border, var(--b1));
  padding: 32px;
}
.auth-card h1 {
  font-family: var(--font-display, var(--fd));
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.auth-card .auth-sub {
  font-size: 14px;
  color: var(--mid, var(--t2));
  margin-bottom: 24px;
  line-height: 1.6;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.auth-field label {
  font-family: var(--font-mono, var(--fm));
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted, var(--t3));
}
.auth-field input,
.auth-field select {
  font-family: var(--font-body, var(--fb));
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border, var(--b1));
  background: var(--bg);
  color: var(--text, var(--t1));
  outline: none;
  width: 100%;
}
.auth-field input:focus,
.auth-field select:focus {
  border-color: var(--amber, var(--am));
}
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn-primary {
  font-family: var(--font-body, var(--fb));
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--vault-teal) 0%, #14b8a6 50%, #0d9488 100%);
  color: var(--vault-navy-deep);
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-primary:hover {
  opacity: 0.88;
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-secondary {
  font-family: var(--font-body, var(--fb));
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: var(--mid, var(--t2));
  border: 1px solid var(--border, var(--b1));
  padding: 11px 20px;
  cursor: pointer;
}
.btn-secondary:hover {
  color: var(--text, var(--t1));
  border-color: var(--vault-teal);
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border, var(--b1));
}
.auth-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted, var(--t3));
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  margin-bottom: -1px;
  cursor: pointer;
}
.auth-tab.active {
  color: var(--vault-teal);
  border-bottom-color: var(--vault-teal);
}
.dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dash-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid, var(--t2));
  background: var(--s1);
  border: 1px solid var(--border, var(--b1));
  padding: 8px 16px;
  cursor: pointer;
}
.dash-tab.active {
  color: var(--vault-navy-deep);
  background: var(--vault-teal);
  border-color: var(--vault-teal);
}
.dash-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.dash-filters select {
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid var(--border, var(--b1));
  background: var(--s1);
  color: var(--text, var(--t1));
}
.dash-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border, var(--b1));
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dash-table th,
.dash-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border, var(--b1));
  vertical-align: top;
}
.dash-table th {
  font-family: var(--font-mono, var(--fm));
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted, var(--t3));
  background: var(--s1);
  white-space: nowrap;
}
.dash-table tr:last-child td {
  border-bottom: none;
}
.dash-table tbody tr:hover {
  background: rgba(20, 184, 166, 0.04);
}

/* ── Portal full-bleed sections ─────────────────────────────── */
.hero-fullbleed,
.section-fullbleed {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.hero-fullbleed {
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
}

.section-fullbleed {
  padding: 64px 0;
  min-height: min(420px, 55vh);
}

/* Solid strip between adjacent image sections — prevents sketch seam clash */
.section-fullbleed-gap {
  height: 12px;
  background: var(--ao-section);
  border: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.hero-fullbleed__bg,
.section-fullbleed__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero-fullbleed--1 .hero-fullbleed__bg { background-image: url('/attachments/1.jpg'); }
.section-fullbleed--3 .section-fullbleed__bg {
  background-image: url('/attachments/3.jpg');
  background-position: center 45%;
}
.section-fullbleed--4 .section-fullbleed__bg {
  background-image: url('/attachments/4.jpg');
  background-position: center 70%;
}

.section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 15, 28, 0.78);
  pointer-events: none;
}

.hero-fullbleed .hero,
.section-fullbleed .content-inner {
  position: relative;
  z-index: 2;
}

.teal-btn,
.btn-p,
.btn-form,
.nav-btn {
  font-size: 15px;
  font-weight: 600;
  background: var(--ao-accent);
  color: var(--ao-bg);
  padding: 16px 32px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
  text-decoration: none;
  display: inline-block;
}

.teal-btn:hover,
.btn-p:hover,
.btn-form:hover {
  box-shadow: 0 8px 30px var(--am-glow);
  transform: translateY(-2px);
  opacity: 0.92;
}

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

.portal-footer-security {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ao-accent);
  text-align: center;
  padding: 20px 48px;
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  background: var(--ao-section);
}

.portal-footer-security span {
  color: var(--t2);
}

.section-spaced {
  margin-top: 48px;
}

.content-img-block {
  padding-bottom: 2rem;
}

/* ── Main site (index) ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--t1);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.16, 1, .3, 1), transform 0.9s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--b1);
  --header-height: 68px;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo em { color: var(--am); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--am);
  transition: width 0.25s;
}

.nav-links a:hover { color: var(--t1); }
.nav-links a:hover::after { width: 100%; }

.nav-btn {
  font-size: 14px;
  padding: 10px 24px;
  border: 1px solid var(--am);
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--am);
  transform: translateX(-100%);
  transition: transform 0.3s;
  z-index: -1;
}

.nav-btn:hover::before { transform: translateX(0); }
.nav-btn:hover { color: var(--ao-bg); }

.hero { position: relative; padding: 72px 48px 56px; max-width: 1240px; margin: 0 auto; width: 100%; }

.hero-eyebrow {
  font-family: var(--fm);
  font-size: 12px;
  color: var(--t2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--am);
}

.hero h1 {
  font-family: var(--fd);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  max-width: 18ch;
  color: var(--t1);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

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

.hero-content { max-width: 640px; }

.hero-sub {
  font-size: 17px;
  color: var(--t2);
  line-height: 1.75;
  max-width: 52ch;
}

.hero-sub + .hero-sub { margin-top: 20px; }
.hero-sub strong { color: var(--t1); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-s {
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  color: var(--t1);
  border: 1px solid var(--b2);
  padding: 16px 32px;
  text-align: center;
  transition: all 0.25s;
}

.btn-s:hover {
  border-color: var(--am);
  color: var(--am);
  transform: translateY(-2px);
}

.section-eyebrow {
  font-family: var(--fm);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--t1);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.content-section { border-bottom: 1px solid var(--b1); background: var(--s1); }
.content-inner { max-width: 1240px; margin: 0 auto; padding: 40px 48px; }

.how-steps-num { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.how-step-item { display: flex; align-items: flex-start; gap: 16px; }
.how-step-item p { font-size: 16px; color: var(--t2); line-height: 1.75; }

.exp-num {
  font-family: var(--fm);
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
  background: var(--bg);
  border: 1.5px solid var(--b2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ao-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.ao-list li {
  font-size: 16px;
  line-height: 1.75;
  padding-left: 18px;
  position: relative;
}

.ao-list:not(.ao-list--light) li {
  color: var(--t2);
}

.ao-list li::before {
  content: '•';
  position: absolute;
  left: 0;
}

.ao-list:not(.ao-list--light) li::before {
  color: var(--am);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  border: 1px solid var(--b1);
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: left;
  border: 1px solid var(--b1);
  font-size: 15px;
  line-height: 1.65;
  vertical-align: top;
}

.compare-table th {
  font-family: var(--fm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t2);
  background: rgba(10, 15, 28, 0.5);
  width: 50%;
}

.compare-table td { color: var(--t2); }
.compare-table tr td:last-child { color: var(--t1); background: rgba(20, 184, 166, 0.04); }

.compare-source {
  font-family: var(--fm);
  font-size: 12px;
  color: #94a3b8;
  margin-top: 16px;
  text-align: center;
}

.mcdaniel-body { font-size: 17px; color: var(--t2); line-height: 1.85; max-width: 62ch; }
.mcdaniel-body p { margin-bottom: 16px; }
.mcdaniel-body p:last-child { color: var(--t1); font-weight: 500; }

.ticker-section { border-bottom: 1px solid var(--b1); background: var(--bg); position: relative; overflow: hidden; }
.ticker-header { max-width: 1240px; margin: 0 auto; padding: 24px 48px 0; display: flex; align-items: center; justify-content: space-between; }
.ticker-head-label { font-family: var(--fm); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--t2); }
.ticker-head-status { font-family: var(--fm); font-size: 11px; color: var(--t3); display: flex; align-items: center; gap: 6px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #5BD98A; box-shadow: 0 0 8px #5BD98A; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.ticker-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ticker-scroll::-webkit-scrollbar { height: 0; }
.ticker-row { max-width: 1240px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(7, 1fr); min-width: 920px; }
.tick { padding: 28px 0 28px 24px; border-right: 1px solid var(--b1); transition: background 0.25s; }
.tick:hover { background: rgba(255, 255, 255, 0.03); }
.tick:first-child { padding-left: 0; }
.tick:last-child { border-right: none; }
.tick-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-right: 16px; }
.tick-name { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--t2); }
.tick-badge-live { font-family: var(--fm); font-size: 9px; color: #5BD98A; letter-spacing: 0.1em; display: flex; align-items: center; gap: 3px; }
.tick-badge-live::before { content: '●'; font-size: 6px; }
.tick-badge-daily { font-family: var(--fm); font-size: 10px; color: var(--t3); letter-spacing: 0.1em; }
.tick-price { font-family: var(--fm); font-size: 24px; font-weight: 500; color: var(--t1); letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.tick-unit { font-family: var(--fm); font-size: 10px; color: var(--t3); margin-bottom: 16px; }
.tick-score-row { display: flex; align-items: baseline; gap: 8px; padding-top: 12px; border-top: 1px solid var(--b1); padding-right: 16px; }
.tick-score-n { font-family: var(--fm); font-size: 18px; font-weight: 500; color: var(--am); }
.tick-score-s { font-family: var(--fm); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--t3); line-height: 1.4; }

.sides-section { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--b1); }
.side-col { padding: 40px 48px; position: relative; transition: background 0.4s; background: var(--s1); }
.side-col:hover { background: rgba(255, 255, 255, 0.02); }
.side-col:first-child { border-right: 1px solid var(--b1); }
.side-tag { font-family: var(--fm); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--am); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.side-tag::before { content: ''; width: 20px; height: 1px; background: var(--am); }
.side-col h2 { font-family: var(--fd); font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 22px; }
.side-col h2 em { font-style: italic; color: var(--am); }
.side-body { font-size: 16px; color: var(--t2); line-height: 1.85; margin-bottom: 36px; }
.side-body strong { color: var(--t1); }
.client-block { border-top: 1px solid var(--b1); padding-top: 28px; margin-bottom: 28px; }
.client-block-label { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--t2); margin-bottom: 16px; }
.client-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 13px; }
.ci-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--am); flex-shrink: 0; margin-top: 7px; }
.ci-text { font-size: 15px; color: var(--t2); line-height: 1.65; }
.ci-text strong { color: var(--t1); }
.side-fee { font-family: var(--fm); font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: 0.08em; padding: 16px 0; border-top: 1px solid var(--b1); }
.side-fee em { color: var(--am); font-style: normal; }
.side-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--am); margin-top: 24px; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: all 0.25s; }
.side-link::after { content: '→'; transition: transform 0.25s; }
.side-link:hover { border-color: var(--am); }
.side-link:hover::after { transform: translateX(4px); }

.flow-section { border-bottom: 1px solid var(--b1); background: var(--s1); position: relative; overflow: hidden; }
.flow-inner { max-width: 1240px; margin: 0 auto; padding: 40px 48px 48px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; position: relative; }
.flow-steps::before { content: ''; position: absolute; top: 52px; left: 10%; right: 10%; height: 2px; background: var(--b1); z-index: 0; }
.flow-step { text-align: center; position: relative; z-index: 1; opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.flow-step.in { opacity: 1; transform: translateY(0); }
.flow-circle { width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--am); background: var(--bg); margin: 0 auto 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.flow-circle.filled { background: var(--am); border-color: var(--am); }
.flow-circle.filled .flow-circle-kicker,
.flow-circle.filled .flow-circle-sub,
.flow-circle.filled .flow-circle-score { color: var(--ao-bg); }
.flow-circle-kicker { font-family: var(--fm); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t1); }
.flow-circle-sub { font-family: var(--fm); font-size: 12px; color: var(--t3); }
.flow-circle-score { font-family: var(--fm); font-size: 34px; font-weight: 600; color: var(--t1); line-height: 1; }
.flow-circle-label { font-family: var(--fm); font-size: 11px; color: var(--t3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.flow-caption { font-family: var(--fb); font-size: 16px; color: var(--t1); line-height: 1.55; max-width: 240px; margin: 0 auto; }

.context-section { border-bottom: 1px solid var(--b1); background: var(--bg); }
.context-inner { max-width: 1240px; margin: 0 auto; padding: 40px 48px; }
.context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--b1); margin-top: 8px; }
.context-card { padding: 36px 32px; border-right: 1px solid var(--b1); background: var(--s1); }
.context-card:last-child { border-right: none; }
.context-tag { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--t2); margin-bottom: 12px; }
.context-title { font-family: var(--fd); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.context-desc { font-size: 16px; color: var(--t2); line-height: 1.7; margin-bottom: 16px; }
.context-names { font-family: var(--fm); font-size: 12px; color: var(--t3); line-height: 1.7; padding-top: 16px; border-top: 1px solid var(--b1); }

.how-section { border-bottom: 1px solid var(--b1); background: var(--s1); }
.how-inner { max-width: 1240px; margin: 0 auto; padding: 40px 48px; }
.score-sample { background: var(--bg); border: 1px solid var(--b1); padding: 44px; position: relative; overflow: hidden; }
.score-dims { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; margin-bottom: 34px; position: relative; z-index: 2; }
.dim-label { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--t2); margin-bottom: 13px; }
.dim-bar { height: 2px; background: var(--b1); margin-bottom: 10px; position: relative; overflow: hidden; }
.dim-fill { height: 2px; background: var(--am); position: absolute; top: 0; left: 0; width: 0; transition: width 1.4s cubic-bezier(.16, 1, .3, 1); }
.dim-fill.animated { box-shadow: 0 0 8px var(--am-glow); }
.dim-val { font-family: var(--fm); font-size: 21px; font-weight: 500; color: var(--t1); }
.score-footer { display: flex; align-items: baseline; gap: 22px; padding-top: 30px; border-top: 1px solid var(--b1); position: relative; z-index: 2; }
.score-big { font-family: var(--fd); font-size: 68px; font-weight: 700; color: var(--am); letter-spacing: -0.04em; line-height: 1; }
.score-desc-main { font-family: var(--fm); font-size: 12px; color: var(--t2); text-transform: uppercase; letter-spacing: 0.08em; }
.score-desc-sub { font-family: var(--fm); font-size: 11px; color: var(--t3); margin-top: 5px; }

.numbers-section { border-bottom: 1px solid var(--b1); background: var(--bg); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--b1); }
.num-box { padding: 44px 36px; border-right: 1px solid var(--b1); border-bottom: 1px solid var(--b1); background: var(--s1); transition: background 0.3s; }
.num-box:hover { background: rgba(255, 255, 255, 0.02); }
.num-val { font-family: var(--fd); font-size: clamp(40px, 4vw, 64px); font-weight: 700; color: var(--am); letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.num-label { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--t2); margin-bottom: 11px; }
.num-desc { font-size: 15px; color: var(--t2); line-height: 1.65; }

.demand-section { background: var(--s1); border-bottom: 1px solid var(--b1); }
.demand-inner { max-width: 1240px; margin: 0 auto; padding: 48px; }
.demand-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--b1); margin-top: 16px; }
.demand-cell { padding: 32px 28px; border-right: 1px solid var(--b1); transition: background 0.3s; background: var(--bg); }
.demand-cell:hover { background: rgba(255, 255, 255, 0.02); }
.demand-cell:last-child { border-right: none; }
.demand-tier { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--t1); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--b2); padding: 10px 14px; margin-bottom: 20px; display: inline-block; font-weight: 600; }
.demand-cell h3 { font-family: var(--fd); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 15px; line-height: 1.25; }
.demand-cell p { font-size: 15px; color: var(--t2); line-height: 1.75; margin-bottom: 18px; }
.demand-names { font-family: var(--fm); font-size: 11px; color: var(--t2); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.9; }

.broker-section { background: var(--s1); }

.contact-section { border-bottom: 1px solid var(--b1); background: var(--bg); position: relative; overflow: hidden; }
.contact-inner { max-width: 1240px; margin: 0 auto; padding: 40px 48px; position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-left h2 { font-family: var(--fd); font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 26px; }
.contact-left h2 em { font-style: italic; color: var(--am); }
.contact-left p { font-size: 16px; color: var(--t2); line-height: 1.85; margin-bottom: 32px; }
.contact-email { font-family: var(--fm); font-size: 20px; font-weight: 500; color: var(--t1); border-bottom: 1.5px solid var(--b2); padding-bottom: 6px; display: inline-flex; align-items: center; gap: 10px; transition: all 0.25s; }
.contact-email::after { content: '→'; transition: transform 0.25s; }
.contact-email:hover { border-color: var(--t1); }
.contact-email:hover::after { transform: translateX(6px); }
.contact-detail { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--b1); }
.contact-detail-row { display: flex; justify-content: space-between; font-family: var(--fm); font-size: 13px; padding: 12px 0; border-bottom: 1px solid var(--b1); }
.contact-detail-label { color: var(--t3); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-detail-val { color: var(--t2); }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.fg label { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--t2); }
.fg input, .fg select, .fg textarea { font-family: var(--fb); font-size: 15px; background: var(--s1); color: var(--t1); border: 1px solid var(--b1); padding: 14px 16px; outline: none; transition: border-color 0.25s; width: 100%; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--am); }
.fg select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23cbd5e1' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.fg textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-form { width: 100%; margin-top: 6px; }
.form-note { font-family: var(--fm); font-size: 11px; color: var(--t3); text-align: center; margin-top: 14px; text-transform: uppercase; letter-spacing: 0.08em; }

footer { max-width: 1240px; margin: 0 auto; padding: 48px 48px 0; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--b1); }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--t3); max-width: 280px; line-height: 1.7; }
.footer-col h5 { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--t2); margin-bottom: 22px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14px; color: var(--t2); transition: color 0.25s; }
.footer-col a:hover { color: var(--am); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-family: var(--fm); font-size: 11px; color: var(--t3); }
.footer-bottom a { color: var(--t3); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--am); }

@media (max-width: 900px) {
  .header-inner, .ticker-header, .ticker-row, .how-inner, .demand-inner, .contact-inner, .footer-grid, footer, .hero, .flow-inner, .context-inner, .content-inner { padding-left: 24px; padding-right: 24px; }
  .header-inner { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 64px 24px 48px; }
  .hero-fullbleed { min-height: auto; }
  .hero h1 { max-width: none; }
  .sides-section { grid-template-columns: 1fr; }
  .side-col:first-child { border-right: none; border-bottom: 1px solid var(--b1); }
  .side-col { padding: 36px 24px; }
  .score-dims { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .demand-grid { grid-template-columns: 1fr; }
  .demand-cell { border-right: none; border-bottom: 1px solid var(--b1); }
  .context-grid { grid-template-columns: 1fr; }
  .context-card { border-right: none; border-bottom: 1px solid var(--b1); }
  .context-card:last-child { border-bottom: none; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .flow-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .portal-footer-security { padding: 20px 24px; }
}

@media (max-width: 600px) {
  .header-inner { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 52px 16px 40px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .side-col { padding: 32px 16px; }
  .ticker-header, .ticker-row { padding-left: 16px; padding-right: 16px; }
  .hero-actions { flex-direction: column; }
  .teal-btn, .btn-s { width: 100%; }
}
.status-badge {
  display: inline-block;
  font-family: var(--font-mono, var(--fm));
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid var(--border, var(--b1));
  color: var(--mid, var(--t2));
}
.status-badge.pending { color: var(--orange); border-color: rgba(232, 168, 85, 0.4); }
.status-badge.scoring,
.status-badge.sourcing { color: var(--vault-teal); }
.status-badge.listed,
.status-badge.matched { color: var(--green); border-color: rgba(91, 217, 138, 0.4); }
.status-badge.closed { color: var(--muted, var(--t3)); }
.dash-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted, var(--t3));
  font-size: 14px;
}
.dash-user-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border, var(--b1));
}
.dash-user-bar span {
  font-size: 13px;
  color: var(--mid, var(--t2));
}
.dash-section-title {
  font-family: var(--font-display, var(--fd));
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 16px;
}
@media (max-width: 640px) {
  .auth-card { padding: 24px 20px; }
  .dash-table th:nth-child(n+5),
  .dash-table td:nth-child(n+5) { display: none; }
}

/* ── Contrast: light-surface text (cascade-safe overrides) ─── */
.section-light,
.section-light__inner,
.content-box,
.compare-grid,
.light-container,
.pricing-box,
.pricing,
#pay-section,
#pricing {
  color: var(--on-light);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light p,
.section-light li,
.section-light span,
.section-light label,
.content-box h1,
.content-box h2,
.content-box h3,
.content-box h4,
.content-box p,
.content-box li,
.content-box span,
.content-box label,
.content-box__title,
.compare-grid h3,
.compare-grid p,
.compare-grid li,
.compare-grid__col h3,
.compare-grid__col p,
.compare-grid__col li,
.light-container h1,
.light-container h2,
.light-container h3,
.light-container h4,
.light-container p,
.light-container li,
.pricing-box h1,
.pricing-box h2,
.pricing-box h3,
.pricing-box h4,
.pricing-box p,
.pricing-box li {
  color: var(--on-light);
}

.section-light .ao-list li,
.content-box .ao-list li,
.compare-grid .ao-list li,
.ao-list.ao-list--light li {
  color: var(--on-light-body);
}

.section-light .ao-list li::before,
.content-box .ao-list li::before,
.compare-grid .ao-list li::before,
.ao-list.ao-list--light li::before {
  color: var(--ao-accent);
}

.light-container .accent,
.pricing-box .accent {
  color: var(--ink-2);
}

.mcdaniel-body--light,
.mcdaniel-body--light p {
  color: var(--on-light-body);
}

.mcdaniel-body--light p:last-child {
  color: var(--on-light);
}

.compare-source--light {
  color: var(--on-light-muted);
}

/* Dark-surface readability: labels, nav, footer, forms */
.fg label {
  color: var(--t1);
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--t3);
  opacity: 1;
}

.nav-links a {
  color: var(--t2);
}

.footer-brand p,
.footer-bottom span,
.footer-bottom a {
  color: var(--t2);
}

.contact-detail-label {
  color: var(--t2);
}

.form-note {
  color: var(--t2);
}
