*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 1rem; }

:root {
  --navy:        #0B1929;
  --navy-mid:    #0F2337;
  --navy-light:  #172F47;
  --navy-card:   #112035;
  --border:      #1E3A58;
  --border-light:#2A4A68;
  --gold:        rgb(217,152,73);
  --gold-light:  rgb(204,111,58);
  --gold-pale:   rgb(213,138,68);
  --gold-dim:    rgb(171,132,69);
  --gold-glow:   rgba(217,152,73,0.12);
  --white:       #FFFFFF;
  --off-white:   #F4F6F9;
  --text-primary:#E8ECF2;
  --text-sec:    #8FA8C4;
  --text-muted:  #4A6A88;
  --red:         #E84545;
  --red-pale:    rgba(232,69,69,0.12);
  --teal:        #1A9070;
  --teal-pale:   rgba(26,144,112,0.12);
  --blue:        #2A72C0;
  --blue-pale:   rgba(42,114,192,0.12);
  --font: 'Inter', -apple-system, sans-serif;
  --mono: 'DM Mono', monospace;

  --lender: rgb(217,152,73);
  --lender-pale: rgba(217,152,73,0.12);
  --lender-border: rgba(217,152,73,0.35);
  --owner: rgb(42,114,192);
  --owner-pale: rgba(42,114,192,0.12);
  --owner-border: rgba(42,114,192,0.35);
  --taxeq: rgb(91,183,156); 
  --taxeq-pale: rgba(91,183,156,0.12);
  --taxeq-border: rgba(91,183,156,0.35);
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { letter-spacing: -0.02em; font-weight: 700; }
.mono { font-family: var(--mono); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(11,25,41,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex; align-items: center;
  padding: 0 3rem;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  text-decoration: none; letter-spacing: -0.02em; flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }

.nav-tracks {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.25rem;
}
.track-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 0.375rem 0.875rem;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: var(--text-sec);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.track-pill .pip {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.track-pill.lender .pip { background: var(--lender); }
.track-pill.owner  .pip { background: var(--owner); }
.track-pill.taxeq  .pip { background: var(--taxeq); }
.track-pill:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.track-pill.active { background: var(--navy-light); color: var(--white); }
.track-pill.lender.active { box-shadow: 0 0 0 1px var(--lender-border); }
.track-pill.owner.active  { box-shadow: 0 0 0 1px var(--owner-border); }
.track-pill.taxeq.active  { box-shadow: 0 0 0 1px var(--taxeq-border); }

.nav-right {
  display: flex; align-items: center; gap: 20px;
  flex-shrink: 0;
}
.nav-about {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-about:hover { color: var(--white); }

.nav-cta {
  background: var(--gold); color: var(--navy);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.5625rem 1.375rem; border-radius: 6px;
  border: none; cursor: pointer; flex-shrink: 0;
  transition: background 0.2s;
  font-family: var(--font);
}
.nav-cta:hover { background: var(--gold-light); }

/* ─── PAGE SYSTEM ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── LANDING ─── */
.landing-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 7.5rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.landing-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(196,154,60,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 25% 80%, rgba(42,114,192,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 75% 80%, rgba(196,154,60,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.landing-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.landing-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  background: var(--gold-glow);
  position: relative;
  opacity: 0;
  animation: fade-up 0.6s ease 0.1s forwards;
}

.landing-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  max-width: 960px;
  margin: 0 auto 1.75rem;
  color: var(--white);
  position: relative;
  opacity: 0;
  animation: fade-up 0.65s ease 0.2s forwards;
}
.landing-hero h1 .accent { color: var(--gold); display: inline-block; padding-top: 1.0rem }

.landing-sub {
  font-size: 1.1875rem;
  color: var(--text-sec);
  max-width: 740px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
  position: relative;
  opacity: 0;
  animation: fade-up 0.65s ease 0.3s forwards;
}

.landing-tagline {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  opacity: 0;
  animation: fade-up 0.6s ease 0.38s forwards;
}

.hero-cta-group {
  display: flex; gap: 14px; justify-content: center;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fade-up 0.6s ease 0.42s forwards;
  flex-wrap: wrap;
}
.hero-cta-primary {
  background: var(--gold); color: var(--navy);
  font-size: 0.875rem; font-weight: 700;
  padding: 0.875rem 1.75rem; border-radius: 6px;
  border: none; cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.hero-cta-primary:hover { background: var(--gold-light); }
.hero-cta-secondary {
  background: transparent; color: var(--text-primary);
  font-size: 0.875rem; font-weight: 600;
  padding: 0.875rem 1.75rem; border-radius: 6px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.hero-cta-secondary:hover { border-color: var(--gold); color: var(--gold-light); }

.audience-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto 1.5rem;
  position: relative;
  opacity: 0;
  animation: fade-up 0.65s ease 0.55s forwards;
}

.aud-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.aud-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 10px 10px 0 0;
}
.aud-card.lender::before { background: var(--lender); }
.aud-card.owner::before  { background: var(--owner); }
.aud-card.taxeq::before  { background: var(--taxeq); }

.aud-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  background: var(--navy-light);
}
.aud-card.lender:hover { border-color: var(--lender-border); box-shadow: 0 8px 32px rgba(42,114,192,0.14); }
.aud-card.owner:hover  { border-color: var(--owner-border);  box-shadow: 0 8px 32px rgba(26,144,112,0.12); }
.aud-card.taxeq:hover  { border-color: var(--taxeq-border);  box-shadow: 0 8px 32px rgba(196,154,60,0.12); }

.aud-card-label {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.aud-card.lender .aud-card-label { color: var(--lender); }
.aud-card.owner  .aud-card-label { color: var(--owner); }
.aud-card.taxeq  .aud-card-label { color: var(--taxeq); }

.aud-card h3 {
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.75rem; line-height: 1.25;
}
.aud-card p {
  font-size: 0.875rem; color: var(--text-sec); line-height: 1.6; margin-bottom: 1.375rem;
}
.aud-card-cta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; font-weight: 600;
}
.aud-card.lender .aud-card-cta { color: var(--lender); }
.aud-card.owner  .aud-card-cta { color: var(--owner); }
.aud-card.taxeq  .aud-card-cta { color: var(--taxeq); }

/* Owner beneficiary blurb */
.owner-blurb {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  opacity: 0;
  animation: fade-up 0.65s ease 0.7s forwards;
}
.owner-blurb-inner {
  background: rgba(26,144,112,0.04);
  border: 1px solid rgba(26,144,112,0.22);
  border-radius: 10px;
  padding: 1.125rem 1.375rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}
.owner-blurb-icon {
  font-size: 1.375rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.owner-blurb-text { flex: 1; }
.owner-blurb-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--owner);
  margin-bottom: 0.375rem;
}
.owner-blurb-text p {
  font-size: 0.8125rem;
  color: var(--text-sec);
  line-height: 1.55;
  margin: 0;
}
.owner-blurb-text a {
  color: var(--owner);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s;
}
.owner-blurb-text a:hover { border-bottom-color: var(--owner); }

/* ─── WHY NOW ─── */
.why-now {
  padding: 6.25rem 3rem;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-now-inner { max-width: 1160px; margin: 0 auto; }
.why-now-tag {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.875rem;
}
.why-now h2 {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--white);
  max-width: 820px;
}
.why-now-lead {
  font-size: 1.0625rem; color: var(--text-sec);
  line-height: 1.65; max-width: 780px;
  margin-bottom: 3.5rem;
}
.why-now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.625rem;
}
.why-card-num {
  font-family: var(--mono); font-size: 0.6875rem;
  color: var(--gold); margin-bottom: 0.875rem;
  letter-spacing: 0.1em;
}
.why-card h4 {
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.625rem; line-height: 1.3;
}
.why-card p {
  font-size: 0.8125rem; color: var(--text-sec); line-height: 1.6;
}

/* ─── INTELLIGENCE LAYER (Architecture Diagram) ─── */
.architecture-section {
  padding: 6.25rem 3rem;
  background: var(--navy);
}
.architecture-inner { max-width: 1160px; margin: 0 auto; }
.architecture-section .section-tag {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.875rem;
}
.architecture-section h2 {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.08; margin-bottom: 1.125rem; color: var(--white);
}
.architecture-section .section-sub {
  font-size: 1.0625rem; color: var(--text-sec);
  line-height: 1.65; max-width: 720px; margin-bottom: 3.5rem;
}

/* INGEST→MAP→SURFACE GRAPHIC */
.how-graphic {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hg-col-label {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; font-family: var(--mono);
  color: var(--text-muted); margin-bottom: 0.875rem; text-align: center;
}

.hg-input-cards { display: flex; flex-direction: column; gap: 10px; }
.hg-icard {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.875rem 1rem;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.hg-icard.mon { border-left-color: var(--lender); }
.hg-icard.fin { border-left-color: var(--taxeq); }
.hg-icard.leg { border-left-color: var(--gold); }
.hg-icard-icon { font-size: 1.125rem; flex-shrink: 0; line-height: 1; margin-top: 0.0625rem; }
.hg-icard-title { font-size: 0.8125rem; font-weight: 600; color: var(--white); margin-bottom: 0.1875rem; }
.hg-icard-sub   { font-size: 0.6875rem; color: var(--text-muted); line-height: 1.4; }

.hg-engine {
  display: flex; align-items: center; gap: 0;
  position: relative; padding: 0 0.75rem;
}

.hg-arrows-in, .hg-arrows-out {
  display: flex; flex-direction: column; gap: 24px;
  align-items: center; padding: 0.625rem 0;
}
.hg-arrow-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--border-light));
  position: relative;
}
.hg-arrows-in  .hg-arrow-line::after,
.hg-arrows-out .hg-arrow-line::after {
  content: '';
  position: absolute; right: -1px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--border-light);
}
.hg-arrows-out .hg-arrow-line {
  background: linear-gradient(90deg, var(--border-light), var(--border));
}
.hg-arrows-out .hg-arrow-line::after {
  border-left-color: var(--border);
}

.hg-engine-box {
  background: var(--navy-light);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(196,154,60,0.08), 0 8px 32px rgba(0,0,0,0.4);
}
.hg-engine-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(196,154,60,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hg-engine-badge {
  text-align: center; font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.875rem; letter-spacing: -0.02em;
}
.hg-engine-badge span { color: var(--gold); }
.hg-engine-tagline {
  text-align: center; font-size: 0.625rem;
  color: var(--gold-light); font-family: var(--mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.125rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.hg-engine-steps { display: flex; flex-direction: column; gap: 0; }
.hg-step { padding: 0.625rem 0; }
.hg-step-num {
  font-family: var(--mono); font-size: 0.625rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.125rem;
}
.hg-step-label {
  font-size: 0.875rem; font-weight: 700; color: var(--white); margin-bottom: 0.1875rem;
}
.hg-step-desc { font-size: 0.6875rem; color: var(--text-sec); line-height: 1.4; }
.hg-step-divider {
  height: 1px; background: var(--border); margin: 0;
}

.hg-output-cards { display: flex; flex-direction: column; gap: 10px; }
.hg-ocard {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.875rem 1rem;
  background: var(--navy-card);
  border: 1px solid;
  border-radius: 8px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.hg-ocard-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 0.25rem;
}
.hg-ocard-title { font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.1875rem; }
.hg-ocard-sub   { font-size: 0.6875rem; color: var(--text-muted); line-height: 1.4; }

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 40px rgba(196,154,60,0.08), 0 8px 32px rgba(0,0,0,0.4); }
  50%       { box-shadow: 0 0 60px rgba(196,154,60,0.18), 0 8px 32px rgba(0,0,0,0.4); }
}
.hg-engine-box { animation: pulse-border 3s ease-in-out infinite; }

@keyframes flow {
  0%   { left: 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
.hg-arrow-line { overflow: visible; }
.hg-arrow-line::before {
  content: '';
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: flow 2.4s ease-in-out infinite;
  opacity: 0;
}
.hg-arrows-in  .hg-arrow-line:nth-child(1)::before { animation-delay: 0s; }
.hg-arrows-in  .hg-arrow-line:nth-child(2)::before { animation-delay: 0.8s; }
.hg-arrows-in  .hg-arrow-line:nth-child(3)::before { animation-delay: 1.6s; }
.hg-arrows-out .hg-arrow-line:nth-child(1)::before { background: var(--lender); animation-delay: 0.6s; }
.hg-arrows-out .hg-arrow-line:nth-child(2)::before { background: var(--taxeq); animation-delay: 1.6s; }

/* ─── ECONOMIC OUTCOMES ─── */
.outcomes-section {
  padding: 6.25rem 3rem;
  background: var(--navy-mid);
}
.outcomes-inner { max-width: 1160px; margin: 0 auto; }
.outcomes-tag {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.875rem;
}
.outcomes-section h2 {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.08; margin-bottom: 1.125rem; color: var(--white);
}
.outcomes-section .section-sub {
  font-size: 1.0625rem; color: var(--text-sec);
  line-height: 1.65; max-width: 720px; margin-bottom: 3.5rem;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.outcome-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.375rem;
  position: relative;
  overflow: hidden;
}
.outcome-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.outcome-val {
  font-size: 2.25rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.03em;
  font-family: var(--font); line-height: 1;
  margin-bottom: 0.375rem;
}
.outcome-val span {
  font-size: 1.125rem; color: var(--gold);
  font-weight: 600;
}
.outcome-label {
  font-size: 0.75rem; font-weight: 600;
  color: var(--gold-light); margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.outcome-desc {
  font-size: 0.8125rem; color: var(--text-sec);
  line-height: 1.55;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 3rem;
}
.trust-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 56px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.trust-val {
  font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: -0.03em;
}
.trust-val span { color: var(--gold); }
.trust-lab {
  font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.1em; font-family: var(--mono);
}
.trust-div { width: 1px; height: 40px; background: var(--border); }

/* ─── INTEGRATIONS ─── */
.integrations-section {
  padding: 5rem 3rem;
  background: var(--navy);
}
.integrations-inner {
  max-width: 1160px; margin: 0 auto; text-align: center;
}
.integrations-label {
  font-size: 0.6875rem; font-family: var(--mono); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 2rem;
}
.integration-pills {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.int-pill {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem; font-weight: 500; color: var(--text-sec);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ─── VISION SECTION ─── */
.vision-section {
  padding: 7.5rem 3rem;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.vision-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(196,154,60,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.vision-inner {
  max-width: 880px; margin: 0 auto;
  text-align: center;
  position: relative;
}
.vision-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  background: var(--gold-glow);
}
.vision-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1; color: var(--white);
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.vision-section h2 .accent { color: var(--gold); }
.vision-section p {
  font-size: 1.125rem; color: var(--text-sec);
  line-height: 1.65; max-width: 720px; margin: 0 auto;
}

/* ─── SECTION SHARED ─── */
.section {
  padding: 6rem 3rem;
}
.section.bg-mid { background: var(--navy-mid); }
.section.bg-card { background: var(--navy-card); }
.section-inner {
  max-width: 1160px; margin: 0 auto;
}
.section-tag {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: var(--mono);
  margin-bottom: 0.875rem;
}
.section-h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.125rem; color: var(--white);
}
.section-sub {
  font-size: 1rem; color: var(--text-sec); line-height: 1.65; max-width: 580px;
}

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start; margin-top: 3.5rem;
}
.two-col.center { align-items: center; }

.pill-list { display: flex; flex-direction: column; gap: 12px; }
.pill-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1.125rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.pill-icon {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.0625rem; flex-shrink: 0;
}
.pill-item h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--white); }
.pill-item p  { font-size: 0.8125rem; color: var(--text-sec); line-height: 1.5; }

.blockquote {
  font-size: 1.125rem; font-weight: 400; font-style: italic;
  color: var(--text-sec); line-height: 1.6;
  padding-left: 1.25rem; border-left: 3px solid;
  margin-top: 2rem;
}

.layers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 3.25rem;
}
.layer-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  position: relative; overflow: hidden;
}
.layer-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.layer-num {
  font-family: var(--mono); font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.125rem;
}
.layer-card h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 0.625rem; }
.layer-card > p { font-size: 0.8125rem; color: var(--text-sec); line-height: 1.55; margin-bottom: 1.25rem; }
.layer-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.layer-list li {
  font-size: 0.8125rem; color: var(--text-sec);
  display: flex; align-items: flex-start; gap: 8px;
}
.layer-list li::before { content: '→'; font-size: 0.75rem; flex-shrink: 0; margin-top: 0.0625rem; }

.outputs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 3.25rem;
}
.output-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 1.5rem; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 8px;
}
.output-icon {
  width: 42px; height: 42px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; flex-shrink: 0;
}
.output-card h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--white); }
.output-card p  { font-size: 0.8125rem; color: var(--text-sec); line-height: 1.5; }

.cta-strip {
  padding: 5.5rem 3rem; text-align: center;
  background: var(--navy-light);
  border-top: 1px solid var(--border);
}
.cta-strip h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.cta-strip p  { font-size: 1rem; color: var(--text-sec); margin-bottom: 2.25rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btn {
  padding: 0.9375rem 2.25rem; border-radius: 6px; border: none;
  font-family: var(--font); font-size: 0.9375rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s; letter-spacing: 0.02em;
}
.cta-btn:hover { opacity: 0.88; }

/* ─── MOCKUPS ─── */
.mockup-wrap {
  background: var(--navy-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.track-lender .section-tag        { color: var(--lender); }
.track-lender .blockquote         { border-color: var(--lender); }
.track-lender .layer-card::after  { background: var(--lender); }
.track-lender .layer-list li::before { color: var(--lender); }
.track-lender .output-icon        { background: var(--lender-pale); color: var(--lender); }
.track-lender .cta-btn            { background: var(--lender); color: #fff; }
.track-owner  .section-tag        { color: var(--owner); }
.track-owner  .blockquote         { border-color: var(--owner); }
.track-owner  .layer-card::after  { background: var(--owner); }
.track-owner  .layer-list li::before { color: var(--owner); }
.track-owner  .output-icon        { background: var(--owner-pale); color: var(--owner); }
.track-owner  .cta-btn            { background: var(--owner); color: #fff; }
.track-taxeq .section-tag         { color: var(--taxeq); }
.track-taxeq .blockquote          { border-color: var(--taxeq); }
.track-taxeq .layer-card::after   { background: var(--taxeq); }
.track-taxeq .layer-list li::before { color: var(--taxeq); }
.track-taxeq .output-icon         { background: var(--taxeq-pale); color: var(--taxeq); }
.track-taxeq .cta-btn             { background: var(--taxeq); color: var(--navy); }

.testi-section { padding: 5.5rem 3rem; }
.testi-section.bg-mid { background: var(--navy-mid); }
.testi-section .section-inner { max-width: 1160px; margin: 0 auto; }
.testi-section .section-tag { margin-bottom: 0.875rem; }
.testi-section .section-h2 { margin-bottom: 3rem; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-grid.single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }

.testi-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.testi-card::before {
  content: '\201C';
  position: absolute; top: 16px; right: 20px;
  font-size: 4rem; line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
}
.track-lender .testi-card { border-top: 3px solid var(--lender); }
.track-taxeq  .testi-card { border-top: 3px solid var(--taxeq); }

.testi-quote {
  font-size: 0.875rem; line-height: 1.7;
  color: var(--text-sec); font-style: italic;
  flex: 1; margin-bottom: 1.5rem;
}
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700;
  flex-shrink: 0; letter-spacing: 0.02em;
}
.testi-name  { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.testi-role  { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.0625rem; }
.testi-org   { font-size: 0.75rem; font-weight: 500; margin-top: 0.125rem; }
.track-lender .testi-org { color: var(--lender); }
.track-taxeq  .testi-org { color: var(--taxeq); }

footer {
  background: #06111e;
  border-top: 1px solid var(--border);
  padding: 2.25rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display:flex; align-items:center; width:132px; height:32px; }
.footer-logo img { display:block; width:132px; height:auto; }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); font-family: var(--mono); }

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-ghost {
  background: transparent; border: none;
  font-family: var(--font); font-size: 0.875rem; font-weight: 500;
  color: var(--text-sec); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s; padding: 0;
}
.btn-ghost:hover { color: var(--white); }
.track-lender .btn-ghost { color: var(--lender); }
.track-owner  .btn-ghost { color: var(--owner); }
.track-taxeq  .btn-ghost { color: var(--taxeq); }
.btn-ghost .arr { transition: transform 0.2s; }
.btn-ghost:hover .arr { transform: translateX(3px); }

.hero-btns { display: flex; align-items: center; gap: 24px; margin-top: 2.25rem; flex-wrap: wrap; }
.btn-primary-track {
  padding: 0.8125rem 1.75rem; border-radius: 6px; border: none;
  font-family: var(--font); font-size: 0.875rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s; letter-spacing: 0.02em;
}
.btn-primary-track:hover { opacity: 0.88; }
.track-lender .btn-primary-track { background: var(--lender); color: #fff; }
.track-owner  .btn-primary-track { background: var(--owner); color: #fff; }
.track-taxeq  .btn-primary-track { background: var(--taxeq); color: var(--navy); }

.track-hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 7.5rem 3rem 5rem;
  max-width: 1160px; margin: 0 auto;
}

.track-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: var(--mono);
  margin-bottom: 1.25rem;
}
.track-lender .track-eyebrow { color: var(--lender); }
.track-owner  .track-eyebrow { color: var(--owner); }
.track-taxeq  .track-eyebrow { color: var(--taxeq); }

.track-h1 {
  font-size: clamp(2.125rem, 4vw, 3.3rem);
  font-weight: 700; line-height: 1.07;
  color: var(--white); margin-bottom: 1.25rem;
}
.track-h1 em { font-style: normal; }
.track-lender .track-h1 em { color: var(--lender); }
.track-owner  .track-h1 em { color: var(--owner); }
.track-taxeq  .track-h1 em { color: var(--taxeq); }

.track-sub {
  font-size: 1rem; color: var(--text-sec); line-height: 1.65; max-width: 460px;
}

.panel {
  background: var(--navy-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.panel-bar {
  background: #070f1a;
  padding: 0.625rem 1rem;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.panel-dot { width: 9px; height: 9px; border-radius: 50%; }
.panel-label-bar {
  font-family: var(--mono); font-size: 0.625rem; color: var(--text-muted);
  letter-spacing: 0.08em; margin-left: 0.375rem;
}
.panel-body { padding: 1.125rem; }
.panel-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.75rem;
}
.panel-row:last-child { border-bottom: none; }
.panel-row .lbl { color: var(--text-muted); }
.panel-row .val { font-weight: 600; font-family: var(--mono); font-size: 0.8125rem; }
.val-red  { color: #e07070; }
.val-grn  { color: #4ecfa0; }
.val-ylw  { color: #e2bf70; }
.val-wht  { color: var(--white); }
.panel-verdict {
  margin-top: 0.875rem; padding: 0.75rem 0.875rem;
  border-radius: 6px; font-size: 0.75rem; font-weight: 500; line-height: 1.5;
}
.verdict-grn { background: var(--teal-pale); color: #4ecfa0; border: 1px solid rgba(26,144,112,0.3); }
.verdict-blu { background: var(--blue-pale); color: #7ab0e8; border: 1px solid rgba(42,114,192,0.3); }
.verdict-ylw { background: var(--gold-glow); color: var(--gold-light); border: 1px solid rgba(196,154,60,0.3); }
.panel-sec { font-family: var(--mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 0.875rem 0 0.5rem; }

.product-mockup {
  background: var(--navy-card);
  border: 1px solid var(--border-light);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
}
.pm-bar {
  background: #070f1a; padding: 0.625rem 1rem;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.pm-title { font-family: var(--mono); font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.08em; margin-left: 0.5rem; }
.pm-tabs {
  display: flex; background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 0 1.125rem; gap: 4px;
  align-items: center;
}
.pm-tab {
  font-size: 0.75rem; font-weight: 500; color: var(--text-muted);
  padding: 0.625rem 0.9375rem; cursor: pointer; border-bottom: 2px solid transparent;
  letter-spacing: 0.02em; transition: all 0.15s;
  border-radius: 4px 4px 0 0;
  user-select: none;
  position: relative;
}
.pm-tab:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.pm-tab.active { color: var(--white); background: rgba(255,255,255,0.04); }
.track-lender .pm-tab.active { border-color: var(--lender); }
.track-owner  .pm-tab.active { border-color: var(--owner); }
.track-taxeq  .pm-tab.active { border-color: var(--taxeq); }

.pm-tabs-hint {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 5px;
  animation: hint-pulse 2.5s ease-in-out 1.5s 3 forwards;
  opacity: 0.7;
}
.pm-tabs-hint svg { flex-shrink: 0; }
@keyframes hint-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; color: var(--gold-light); }
}

.pm-content { padding: 1.25rem; display: none; }
.pm-content.active { display: block; }

.metric-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 1rem;
}
.metric-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.875rem 0.75rem;
}
.mc-val { font-size: 1.375rem; font-weight: 700; font-family: var(--mono); line-height: 1; margin-bottom: 0.3125rem; }
.mc-lab { font-size: 0.625rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.mc-trend { font-size: 0.6875rem; margin-top: 0.25rem; font-family: var(--mono); }

.mock-table { width: 100%; border-collapse: collapse; margin-top: 0.875rem; }
.mock-table th {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); text-align: left; padding: 0.375rem 0.625rem;
  border-bottom: 1px solid var(--border); font-family: var(--mono);
}
.mock-table td {
  font-size: 0.75rem; color: var(--text-sec); padding: 0.5625rem 0.625rem;
  border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle;
}
.mock-table td.val { color: var(--white); font-weight: 500; font-family: var(--mono); }
.mock-table td.red { color: #e07070; font-weight: 600; font-family: var(--mono); }
.mock-table td.grn { color: #4ecfa0; font-weight: 600; font-family: var(--mono); }
.mock-table td.ylw { color: #e2bf70; font-weight: 600; font-family: var(--mono); }
.badge-sm {
  display: inline-block; font-size: 0.625rem; font-weight: 600;
  padding: 0.125rem 0.5rem; border-radius: 100px; letter-spacing: 0.06em;
}
.badge-red { background: rgba(232,69,69,0.15); color: #e07070; }
.badge-ylw { background: rgba(196,154,60,0.15); color: #e2bf70; }
.badge-grn { background: rgba(26,144,112,0.15); color: #4ecfa0; }

.mock-alert {
  background: rgba(232,69,69,0.08);
  border: 1px solid rgba(232,69,69,0.25);
  border-radius: 6px; padding: 0.75rem 0.875rem;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 0.625rem;
}
.mock-alert-icon { font-size: 0.875rem; flex-shrink: 0; margin-top: 0.0625rem; }
.mock-alert-title { font-size: 0.75rem; font-weight: 600; color: #f07070; margin-bottom: 0.125rem; }
.mock-alert-sub { font-size: 0.6875rem; color: var(--text-sec); line-height: 1.4; }

.mock-ok {
  background: var(--teal-pale);
  border: 1px solid rgba(26,144,112,0.3);
  border-radius: 6px; padding: 0.75rem 0.875rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.mock-ok-title { font-size: 0.75rem; font-weight: 600; color: #4ecfa0; margin-bottom: 0.125rem; }
.mock-ok-sub { font-size: 0.6875rem; color: var(--text-sec); line-height: 1.4; }

/* ─── AI CHAT DIALOG ─── */
.ai-fab {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(196,154,60,0.4), 0 0 0 1px rgba(196,154,60,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 50;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: ai-pulse 2.4s ease-in-out infinite;
}
.ai-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(196,154,60,0.5), 0 0 0 1px rgba(196,154,60,0.6);
}
.ai-fab svg { width: 26px; height: 26px; }
@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(196,154,60,0.4), 0 0 0 1px rgba(196,154,60,0.5), 0 0 0 0 rgba(196,154,60,0.5); }
  50%      { box-shadow: 0 8px 24px rgba(196,154,60,0.4), 0 0 0 1px rgba(196,154,60,0.5), 0 0 0 12px rgba(196,154,60,0); }
}

.ai-fab-label {
  position: absolute;
  bottom: 88px;
  right: 20px;
  background: var(--navy);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  padding: 0.4375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 49;
  pointer-events: none;
  opacity: 0;
  animation: hint-fade 5s ease-in-out 1s 1 forwards;
}
.ai-fab-label::after {
  content: '';
  position: absolute;
  bottom: -5px; right: 24px;
  width: 8px; height: 8px;
  background: var(--navy);
  border-right: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  transform: rotate(45deg);
}
@keyframes hint-fade {
  0%   { opacity: 0; transform: translateY(8px); }
  15%  { opacity: 1; transform: translateY(0); }
  85%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

.ai-dialog {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 420px;
  max-width: calc(100% - 40px);
  height: 560px;
  max-height: calc(100% - 40px);
  background: var(--navy-card);
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(196,154,60,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;
}
.ai-dialog.open { display: flex; animation: ai-pop 0.25s ease forwards; }
@keyframes ai-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-header {
  padding: 1rem 1.125rem;
  background: linear-gradient(180deg, rgba(196,154,60,0.08), transparent);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.ai-header-left { display: flex; align-items: center; gap: 10px; }
.ai-avatar {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 700; font-size: 0.6875rem;
  font-family: var(--mono); letter-spacing: 0.02em;
}
.ai-title { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.ai-status { font-size: 0.6875rem; color: var(--gold-light); display: flex; align-items: center; gap: 5px; margin-top: 0.0625rem; }
.ai-status::before {
  content: ''; width: 6px; height: 6px;
  background: #4ecfa0; border-radius: 50%;
  box-shadow: 0 0 8px #4ecfa0;
}
.ai-close {
  background: transparent; border: none;
  color: var(--text-muted); cursor: pointer;
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.ai-close:hover { background: rgba(255,255,255,0.06); color: var(--white); }

.ai-messages {
  flex: 1; overflow-y: auto; padding: 1.125rem;
  display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.ai-messages::-webkit-scrollbar { width: 6px; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.ai-msg {
  max-width: 88%;
  font-size: 0.8125rem; line-height: 1.55;
  padding: 0.6875rem 0.875rem; border-radius: 10px;
  animation: msg-in 0.25s ease;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ai-msg.user {
  align-self: flex-end;
  background: var(--navy-light);
  color: var(--white);
  border: 1px solid var(--border-light);
  border-bottom-right-radius: 3px;
}
.ai-msg.bot {
  align-self: flex-start;
  background: rgba(196,154,60,0.06);
  color: var(--text-primary);
  border: 1px solid rgba(196,154,60,0.2);
  border-bottom-left-radius: 3px;
}
.ai-msg.bot strong { color: var(--gold-light); font-weight: 600; }
.ai-msg.bot em { color: var(--white); font-style: normal; font-weight: 500; }

.ai-thinking {
  align-self: flex-start;
  display: flex; align-items: center; gap: 8px;
  padding: 0.6875rem 0.875rem;
  background: rgba(196,154,60,0.06);
  border: 1px solid rgba(196,154,60,0.2);
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.ai-thinking-dots {
  display: inline-flex; gap: 3px;
}
.ai-thinking-dots span {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.ai-thinking-dots span:nth-child(2) { animation-delay: 0.15s; }
.ai-thinking-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

.ai-suggestions {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 0.25rem;
}
.ai-suggestion {
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-sec);
  padding: 0.5625rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex; align-items: center; gap: 8px;
}
.ai-suggestion::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.ai-suggestion:hover {
  background: rgba(196,154,60,0.06);
  border-color: var(--gold-dim);
  color: var(--white);
}

.ai-input-wrap {
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--navy-mid);
}
.ai-input-row {
  display: flex; gap: 8px; align-items: flex-end;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.375rem 0.375rem 0.375rem 0.75rem;
  transition: border-color 0.2s;
}
.ai-input-row:focus-within { border-color: var(--gold-dim); }
.ai-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  resize: none;
  max-height: 100px;
  line-height: 1.5;
}
.ai-input::placeholder { color: var(--text-muted); }
.ai-send {
  width: 32px; height: 32px;
  background: var(--gold);
  border: none; border-radius: 7px;
  color: var(--navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.ai-send:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-1px); }
.ai-send:disabled { opacity: 0.4; cursor: not-allowed; }
.ai-disclaimer {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.avatar { width: 56px; border-radius: 50%; border: 1px solid var(--navy); }

.hubspot-card .hs-form-field{margin-bottom:0.875rem}.hubspot-card label{font-family:var(--mono);font-size:0.6875rem!important;font-weight:600!important;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)!important;margin-bottom:0.375rem;display:block}.hubspot-card input,.hubspot-card textarea,.hubspot-card select{width:100%!important;background:rgba(255,255,255,.04)!important;border:1px solid var(--border)!important;border-radius:6px!important;padding:0.6875rem 0.875rem!important;color:var(--white)!important;font-family:var(--font)!important;font-size:0.875rem!important;outline:none!important}.hubspot-card textarea{min-height:110px}.hubspot-card .hs-button{width:100%!important;background:var(--gold)!important;color:var(--navy)!important;border:none!important;padding:0.875rem!important;border-radius:6px!important;font-family:var(--font)!important;font-size:0.875rem!important;font-weight:700!important;cursor:pointer!important;letter-spacing:.02em!important}.hubspot-card .hs-button:hover{background:var(--gold-light)!important}.hubspot-card .hs-error-msg,.hubspot-card .hs-main-font-element{color:#ffb4b4!important;font-size:0.75rem!important}.hubspot-card .submitted-message{color:var(--text-primary)!important;line-height:1.6!important}

/* Production normalization pass */
.nav-logo{display:flex;align-items:center;width:138px;height:34px;background:none;border:none;padding:0}.nav-logo img{display:block;width:138px;height:auto}.nav-cta{text-decoration:none;display:inline-flex;align-items:center}.track-pill{text-decoration:none}.product-mockup,.mockup-wrap{max-width:100%;}.mock-table{min-width:720px}.pm-content{overflow-x:auto}.page{min-height:100vh}button,a,input,textarea,select{font:inherit}.contact-form input,.contact-form textarea,.contact-form select{max-width:100%}
@media (max-width: 1024px){nav{padding:0 1.5rem}.nav-inner{gap:14px}.nav-tracks{gap:2px}.track-pill{padding:0.375rem 0.625rem;font-size:0.75rem}.landing-hero,.track-hero,.section,.why-now,.architecture-section,.outcomes-section,.vision-section{padding-left:1.75rem;padding-right:1.75rem}.why-now-grid,.layers-grid,.testi-grid{grid-template-columns:1fr 1fr}.outcomes-grid{grid-template-columns:1fr 1fr}.track-hero,.two-col{grid-template-columns:1fr;gap:36px}.how-graphic{grid-template-columns:1fr;gap:18px}.hg-engine{flex-direction:column;padding:0}.hg-arrows-in,.hg-arrows-out{display:none}.hg-col-label{text-align:left}.metric-row{grid-template-columns:1fr 1fr}}
@media (max-width: 760px){html{font-size:0.9375rem}nav{height:auto;min-height:64px;padding:0.625rem 1.125rem;position:sticky}.nav-inner{align-items:flex-start;flex-wrap:wrap}.nav-logo,.nav-logo img{width:124px}.nav-tracks{order:3;width:100%;overflow-x:auto;justify-content:flex-start}.nav-right{margin-left:auto;gap:12px}.nav-about{display:none}.nav-cta{padding:0.5rem 0.8125rem;font-size:0.75rem}.landing-hero{min-height:auto;text-align:left;align-items:flex-start;padding:4rem 1.25rem 3.375rem}.landing-hero h1{font-size:2.5rem}.landing-sub{font-size:1rem}.hero-cta-group{justify-content:flex-start;margin-bottom:2rem}.audience-cards{grid-template-columns:1fr}.owner-blurb-inner{display:block}.why-now,.architecture-section,.outcomes-section,.integrations-section,.vision-section,.section,.testi-section,.cta-strip{padding:3.5rem 1.25rem}.why-now-grid,.outcomes-grid,.layers-grid,.outputs-grid,.testi-grid,.testi-grid.single{grid-template-columns:1fr}.trust-bar{padding:1.5rem 1.25rem}.trust-inner{gap:24px}.trust-div{display:none}.integration-pills{justify-content:flex-start}.track-hero{min-height:auto;padding:3.5rem 1.25rem}.track-h1{font-size:2.25rem}.track-sub,.section-sub{font-size:0.9375rem}.hero-btns{gap:14px}.panel-body,.pm-content{padding:0.875rem}.pm-tabs{overflow-x:auto;padding:0 0.625rem}.pm-tab{white-space:nowrap}.metric-row{grid-template-columns:1fr 1fr}.footer,footer{display:block;text-align:left;padding:1.75rem 1.25rem}.footer-copy{margin-top:0.625rem}.footer-logo,.footer-logo img{width:124px}.ai-dialog{position:fixed;left:12px;right:12px;bottom:12px;width:auto;max-width:none;height:min(620px,calc(100vh - 24px));max-height:calc(100vh - 24px)}.ai-fab{position:fixed!important;right:20px!important;bottom:20px!important}.ai-fab-label{display:none!important}}
@media (max-width: 460px){.landing-hero h1{font-size:2.125rem}.track-h1{font-size:1.9375rem}.metric-row{grid-template-columns:1fr}.hero-cta-primary,.hero-cta-secondary,.btn-primary-track,.cta-btn{width:100%;justify-content:center}.btn-ghost{width:100%;}.outcome-val{font-size:1.875rem}}
