/* Layout concept: a navy "site board" framing each page, with orange used like
   survey tape — to mark what is verified, live, or clickable. */
:root {
  --navy-900: #0B1A3A;
  --navy-800: #102552;
  --navy-700: #183372;
  --orange: #F39A1E;
  --orange-soft: #F7B860;
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --ink: #0F1D3D;
  --muted: #55627F;
  --line: #DCE1EC;
  --accent: #D9800C;          /* orange tuned for text on light */
  --on-navy: #EEF2FA;
  --on-navy-muted: #A9B6D3;
  --ok: #1F8A5B;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 14px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #081330; --surface: #0F1E44; --ink: #E9EEF8; --muted: #9AA8C7;
    --line: #22355F; --accent: #F7B05A; --navy-900: #050E26; --navy-800: #0C1C42; --navy-700: #15306A;
    --ok: #3BC488; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #081330; --surface: #0F1E44; --ink: #E9EEF8; --muted: #9AA8C7;
  --line: #22355F; --accent: #F7B05A; --navy-900: #050E26; --navy-800: #0C1C42; --navy-700: #15306A;
  --ok: #3BC488; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.eyebrow {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer; font-family: var(--font-body); line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #14213F; }
.btn-primary:hover { background: var(--orange-soft); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(243,154,30,.12); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--navy-900) 94%, transparent);
  backdrop-filter: blur(10px); color: var(--on-navy); border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name b { color: var(--orange); font-weight: 800; }
.brand-tag { display: block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; padding: .55em .9em; border-radius: 999px; font-weight: 550; font-size: .98rem; color: var(--on-navy-muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-navy); background: rgba(255,255,255,.07); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; background: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: .7em 1.15em; font-size: .95rem; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: var(--on-navy); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-900); padding: 12px clamp(16px, 4vw, 40px) 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open a { padding: .9em .6em; font-size: 1.05rem; }
  .nav-links.open a[aria-current="page"] { border-radius: 0; box-shadow: inset 3px 0 0 var(--orange); }
}
@media (max-width: 480px) { .nav-cta .btn-primary span.long { display: none; } .brand-tag { display: none; } }

/* Hero */
.hero {
  color: var(--on-navy); position: relative; overflow: hidden;
  background: var(--navy-900);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 35%; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 8s ease-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after { z-index: 1; }
.video-slide { background-size: cover; background-position: center; transform: none !important; }
.video-slide video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%;
}
.hero-dots button:first-child.is-active { animation: none; }
.hero-dots { position: absolute; z-index: 3; right: clamp(16px, 4vw, 40px); bottom: 24px; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 5px; border-radius: 5px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: var(--orange); width: 52px; }
.hero-dots button:hover { background: rgba(255,255,255,.75); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,19,48,.94) 0%, rgba(8,19,48,.82) 38%, rgba(8,19,48,.35) 72%, rgba(8,19,48,.15) 100%),
              linear-gradient(0deg, rgba(8,19,48,.75) 0%, transparent 35%);
}
.hero-grid { z-index: 2; }
.hero-pattern-unused {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 640px); align-items: center; min-height: clamp(560px, 82vh, 760px); padding-block: clamp(56px, 8vw, 110px); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1, .hero .lede { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { color: #DCE4F3; }
.launch-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(243,154,30,.12); border: 1px solid rgba(243,154,30,.4); font-size: .9rem; color: var(--on-navy);
}
.launch-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.launch-pill .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); animation: pulse 1.8s infinite; }
.launch-pill strong { font-family: var(--font-mono); font-weight: 600; font-size: .82rem; color: var(--orange); }
@keyframes pulse { 50% { transform: scale(.55); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--on-navy-muted); text-transform: uppercase; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }

.hero-media { position: relative; min-width: 0; }
.hero-photo { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-photo figcaption { padding: 12px 16px; font-size: .85rem; background: var(--navy-800); color: var(--on-navy-muted); }
.milestone-card {
  position: absolute; left: -28px; bottom: 54px; width: min(300px, 78%); background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: 14px 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); display: grid; gap: 8px;
  border-top: 4px solid var(--orange); font-size: .88rem;
}
.milestone-card .mc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mc-tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mc-ok { color: var(--ok); font-weight: 700; font-size: .78rem; display: inline-flex; align-items: center; gap: 5px; }
.mc-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.mc-bar i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, var(--orange), var(--orange-soft)); }
.mc-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.mc-row b { font-family: var(--font-mono); font-size: .86rem; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .milestone-card { left: 12px; bottom: 60px; }
}
@media (max-width: 520px) { .milestone-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -24px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy-900); color: var(--on-navy); position: relative; overflow: hidden; }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 96px); display: grid; gap: 18px; position: relative; }
.page-hero .lede { color: var(--on-navy-muted); }
.page-hero .eyebrow { color: var(--orange); }
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(243,154,30,.10);
}
.crumb { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--on-navy-muted); }
.crumb a { color: var(--on-navy-muted); }

/* Stakeholders */
.stake-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stake { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, transform .2s; }
.stake:nth-child(4), .stake:nth-child(5) { grid-column: span 3; }
.stake:hover { border-color: var(--orange); transform: translateY(-3px); }
.stake .role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.stake p { color: var(--muted); }
.stake ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .96rem; }
.stake li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.stake li::before { content: ""; width: 10px; height: 10px; margin-top: .5em; border: 2px solid var(--orange); border-radius: 2px; transform: rotate(45deg); }
.stake .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-900); display: grid; place-items: center; }
.stake .icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 1.8; }
@media (max-width: 900px) { .stake-grid { grid-template-columns: 1fr 1fr; } .stake, .stake:nth-child(4), .stake:nth-child(5) { grid-column: span 1; } .stake:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .stake-grid { grid-template-columns: 1fr; } }

/* Process (navy band) */
.band { background: var(--navy-800); color: var(--on-navy); }
.band .lede { color: var(--on-navy-muted); }
.band .eyebrow { color: var(--orange); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid rgba(255,255,255,.14); }
.steps li { counter-increment: s; padding: 28px 26px 32px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; align-content: start; min-width: 0; }
.steps li:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); }
.steps li::before { content: "M" counter(s); font-family: var(--font-mono); font-weight: 600; color: var(--orange); font-size: .85rem; letter-spacing: .1em; }
.steps p { color: var(--on-navy-muted); font-size: .98rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; } }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split > * { min-width: 0; }
.prose { display: grid; gap: 18px; color: var(--muted); max-width: 64ch; }
.prose strong { color: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.fact { padding: 22px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact .v { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .fact:nth-child(odd) { border-right: 0; } .fact:nth-last-child(2) { border-bottom: 1px solid var(--line); } }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.value p { color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--font-mono); font-size: .85rem; color: var(--accent); font-weight: 600; padding-top: 3px; }
.timeline p { color: var(--muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* Partners marquee */
.partners { padding-block: 44px; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.partners-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.partners-head h2 { font-size: 1.2rem; font-family: var(--font-mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-tile {
  flex: none; height: 84px; min-width: 210px; padding: 0 28px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); display: flex; align-items: center; justify-content: center; gap: 12px;
}
.logo-tile img { max-height: 48px; width: auto; filter: grayscale(.15); }
.logo-tile .wm { font-family: var(--font-display); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; }
.logo-tile .wm small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logo-tile .mark { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; flex: none; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .marquee-track [aria-hidden="true"] { display: none; } }

/* Team */
.team-group + .team-group { margin-top: 64px; }
.team-group > h2 { font-size: 1.5rem; margin-bottom: 24px; display: flex; align-items: baseline; gap: 14px; }
.team-group > h2 span { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: .08em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--navy-800); overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait .initials {
  position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
  font-size: 3.6rem; color: var(--orange); letter-spacing: -0.03em;
  background: radial-gradient(circle at 50% 38%, var(--navy-700), var(--navy-900) 70%);
}
.portrait .initials::after { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(243,154,30,.35); border-radius: 10px; }
.member-body { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.member-body h3 { font-size: 1.15rem; }
.member-body .title { color: var(--accent); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.member-body .loc { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* CTA band */
.cta-band { background: var(--orange); color: #14213F; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 52ch; margin-top: 10px; font-size: 1.08rem; }
.cta-band .btn-primary { background: var(--navy-900); color: #fff; }
.cta-band .btn-primary:hover { background: #183372; }
.cta-band .btn-ghost { color: #14213F; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 38px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 10px; padding: .8em .9em; transition: border-color .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,154,30,.2); }
.field .err { color: #C2410C; font-size: .85rem; min-height: 1em; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.form-note { padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-note.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ink); border: 1px solid var(--ok); }
.form-note.info { background: color-mix(in srgb, var(--orange) 14%, transparent); border: 1px solid var(--orange); }
.office-card { background: var(--navy-900); color: var(--on-navy); border-radius: 18px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 22px; }
.office-card .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.office-card address { font-style: normal; font-size: 1.2rem; font-family: var(--font-display); font-weight: 600; line-height: 1.35; }
.office-card p, .office-card a { color: var(--on-navy); }
.office-card .muted { color: var(--on-navy-muted); font-size: .95rem; }
.office-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 0; }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn { font: inherit; font-size: .8rem; padding: .35em .8em; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--on-navy); cursor: pointer; }
.copy-btn:hover { border-color: var(--orange); color: var(--orange); }
.map-plate { position: relative; border-radius: 12px; overflow: hidden; background: var(--navy-800); aspect-ratio: 16/10; max-width: 100%; }
.map-plate svg { width: 100%; height: 100%; display: block; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-navy-muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-block: 64px 40px; }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy); margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.footer-grid .brand { margin-bottom: 14px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; font-family: var(--font-mono); letter-spacing: .03em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Platform page */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.feature:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.feature .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(243,154,30,.14); display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.feature p { color: var(--muted); font-size: .98rem; margin-top: 6px; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } .feature, .feature:nth-child(even) { padding: 22px 0; border-left: 0; } }

.mvp-panel { background: var(--navy-900); color: var(--on-navy); border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.mvp-panel > * { min-width: 0; position: relative; }
.mvp-panel p { color: var(--on-navy-muted); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { background: var(--navy-800); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px 8px; text-align: center; }
.countdown b { display: block; font-family: var(--font-mono); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--orange); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--on-navy-muted); }
@media (max-width: 820px) { .mvp-panel { grid-template-columns: 1fr; } }

.reveal { animation: rise .7s ease both; }
.reveal.d2 { animation-delay: .12s; } .reveal.d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-slide { transform: none !important; transition: opacity 1.4s ease; } .reveal, .launch-pill .dot::after { animation: none; } .btn:hover, .stake:hover { transform: none; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--orange); color: #14213F; padding: 10px 14px; border-radius: 8px; }

@media (max-width: 760px) {
  .hero-slide { background-position: 60% 30% !important; }
  .hero-dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 14px; }
  .hero::after { background: linear-gradient(0deg, rgba(8,19,48,.95) 0%, rgba(8,19,48,.82) 55%, rgba(8,19,48,.55) 100%); }
  .hero-grid { min-height: 0; }
}

/* Our Team banner: group photo with faces kept clear in the upper part, text in the lower part */
.page-hero.team-hero {
  background-color: var(--navy-900); background-size: cover; background-position: center 22%; background-repeat: no-repeat;
  min-height: clamp(560px, 78vh, 760px); display: flex; align-items: flex-end;
}
.page-hero.team-hero::after { display: none; }
.page-hero.team-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,19,48,.96) 0%, rgba(8,19,48,.86) 28%, rgba(8,19,48,.35) 52%, rgba(8,19,48,.05) 70%, rgba(8,19,48,.15) 100%);
}
.page-hero.team-hero .wrap { width: 100%; z-index: 1; padding-block: 40px clamp(36px, 5vw, 56px); }
.page-hero.team-hero h1, .page-hero.team-hero .lede { text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.page-hero.team-hero .lede { color: #DCE4F3; }
@media (max-width: 760px) {
  .page-hero.team-hero { min-height: 0; padding-top: 58vw; background-size: 100% auto; background-position: center top; }
  .page-hero.team-hero::before { background: linear-gradient(0deg, rgba(8,19,48,1) 0%, rgba(8,19,48,1) calc(100% - 58vw), rgba(8,19,48,.0) calc(100% - 20vw)); }
}

/* Official BuildTrack logo (white-text version for navy header and footer) */
.brand-logo { height: 62px; width: auto; display: block; }
.site-footer .brand-logo { height: 84px; }
@media (max-width: 480px) { .site-header .brand-logo { height: 42px; } }
.logo-tile .mark-img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }

/* Footer social icons */
.footer-grid .social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--on-navy); border: 1px solid rgba(255,255,255,.22); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.social a:hover, .social a:focus-visible { background: var(--orange); border-color: var(--orange); color: #14213F; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* Home CTA: two construction workers walking right to left across the orange band */
.cta-band.has-crew { position: relative; overflow: hidden; }
.cta-band.has-crew .wrap { padding-bottom: 190px; }
.crew-lane { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; pointer-events: none; overflow: hidden; }
.crew-lane::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; background: rgba(11,26,58,.28); }
.crew { position: absolute; left: 0; bottom: 10px; width: 370px; height: 165px; animation: crew-cross 30s linear infinite both; animation-delay: 0s; will-change: transform; }
.crew svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes crew-cross { 0% { transform: translateX(100vw); } 50% { transform: translateX(-420px); } 100% { transform: translateX(-420px); } }
.crew.dozer-unit { width: 279px; animation-delay: 10s; }
.crew.truck-unit { width: 319px; animation-delay: 20s; }
.crew.ipm-unit { width: 114px; animation-delay: 25s; }
.crew .truck-body { animation: dozer-rumble .22s ease-in-out infinite alternate; }
.crew.truck-unit .puff { animation-name: truck-puff; }
@keyframes truck-puff { 0% { opacity: .8; transform: translate(0,0) scale(.6); } 100% { opacity: 0; transform: translate(22px,-12px) scale(2); } }
.crew .leg, .crew .swing { transform-box: fill-box; transform-origin: 50% 0; animation: crew-stride .42s ease-in-out infinite alternate; }
.crew .leg.l2 { animation-delay: -.42s; }
.crew .swing { animation-delay: -.42s; animation-duration: .42s; }
@keyframes crew-stride { from { transform: rotate(18deg); } to { transform: rotate(-18deg); } }
.crew .bob { animation: crew-bob .21s ease-in-out infinite alternate; }
.crew .bob.b2 { animation-delay: -.1s; }
@keyframes crew-bob { to { transform: translateY(-1.6px); } }
.crew .wheel { transform-box: fill-box; transform-origin: center; animation: crew-spin .8s linear infinite; }
@keyframes crew-spin { to { transform: rotate(-360deg); } }
@media (max-width: 600px) { .crew { width: 250px; height: 112px; } .crew.dozer-unit { width: 189px; } .crew.truck-unit { width: 215px; } .crew.ipm-unit { width: 77px; } .crew-lane { height: 130px; } .cta-band.has-crew .wrap { padding-bottom: 135px; } }
/* Workers always walk, including on devices set to reduce motion (owner request) */

/* Home hero: launch countdown in the top-right corner */
.hero-countdown {
  position: absolute; z-index: 3; top: 28px; right: max(16px, calc((100vw - var(--wrap)) / 2 + 40px));
  width: 300px; padding: 14px 16px 16px; border-radius: 16px;
  background: rgba(8,19,48,.72); border: 1px solid rgba(243,154,30,.45); backdrop-filter: blur(8px);
  color: var(--on-navy); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
}
.hc-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; color: var(--on-navy); }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(243,154,30,.7); animation: hc-pulse 1.6s infinite; }
@keyframes hc-pulse { 70% { box-shadow: 0 0 0 8px rgba(243,154,30,0); } 100% { box-shadow: 0 0 0 0 rgba(243,154,30,0); } }
.hero-countdown .hc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hero-countdown .hc-grid div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 8px 2px; text-align: center; }
.hero-countdown .hc-grid b { display: block; font-family: var(--font-mono); font-size: 1.45rem; color: var(--orange); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-countdown .hc-grid span { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); }
@media (max-width: 960px) { .hero-countdown { position: relative; top: auto; right: auto; margin: 0 16px 24px; width: auto; max-width: 360px; } }
@media (prefers-reduced-motion: reduce) { .hc-dot { animation: none; } }

/* Home: boardroom photo in the space formerly used by the fact grid */
.about-photo { margin: 0; width: 100%; aspect-ratio: 510 / 305; max-width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }

/* About Us banner: house photo behind the navy overlay, text on the left */
.page-hero.about-hero { background-color: var(--navy-900); background-size: cover; background-position: center 55%; background-repeat: no-repeat; min-height: clamp(440px, 62vh, 600px); display: flex; align-items: center; }
.page-hero.about-hero::after { display: none; }
.page-hero.about-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,19,48,.95) 0%, rgba(8,19,48,.82) 40%, rgba(8,19,48,.35) 75%, rgba(8,19,48,.15) 100%); }
.page-hero.about-hero .wrap { width: 100%; z-index: 1; }
.page-hero.about-hero h1, .page-hero.about-hero .lede { text-shadow: 0 2px 16px rgba(0,0,0,.45); max-width: 20ch; }
.page-hero.about-hero .lede { max-width: 56ch; color: #DCE4F3; }
@media (max-width: 760px) { .page-hero.about-hero { background-position: 70% center; }
  .page-hero.about-hero::before { background: linear-gradient(0deg, rgba(8,19,48,.95) 0%, rgba(8,19,48,.8) 60%, rgba(8,19,48,.5) 100%); } }

/* About Us: How it works — each step in its own box */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.how-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 26px 22px 28px; display: grid; gap: 12px; align-content: start; box-shadow: 0 14px 30px -24px rgba(11,26,58,.45); transition: transform .2s, box-shadow .2s; }
.how-step:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(11,26,58,.55); }
.how-step:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); width: 16px; text-align: center; color: var(--orange); font-weight: 700; font-size: 1.1rem; }
.how-tag { justify-self: start; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: rgba(243,154,30,.12); padding: 4px 10px; border-radius: 999px; }
.how-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-900); display: grid; place-items: center; }
.how-ic svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 1.8; }
.how-step h3 { font-size: 1.2rem; }
.how-step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 1000px) { .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .how-step::after { display: none; } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .how-step:hover { transform: none; } }

/* Bulldozer following the workers */
.crew .dozer-body { animation: dozer-rumble .18s ease-in-out infinite alternate; }
@keyframes dozer-rumble { to { transform: translateY(-1px); } }
.crew .track { animation: dozer-track .5s linear infinite; }
@keyframes dozer-track { to { stroke-dashoffset: 22; } }
.crew .puff { transform-box: fill-box; transform-origin: center; opacity: 0; animation: dozer-puff 1.8s ease-out infinite; }
.crew .puff.p2 { animation-delay: .6s; } .crew .puff.p3 { animation-delay: 1.2s; }
@keyframes dozer-puff { 0% { opacity: .85; transform: translate(0,0) scale(.6); } 100% { opacity: 0; transform: translate(10px,-22px) scale(2.2); } }
.crew .dirt { transform-box: fill-box; transform-origin: bottom center; animation: dozer-dirt .35s ease-in-out infinite alternate; }
@keyframes dozer-dirt { to { transform: scaleY(.85) translateX(-1px); } }

/* Partners page */
.role-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.role-chip { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em .55em .6em; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s; }
.role-chip:hover { background: var(--orange); border-color: var(--orange); color: #14213F; }
.role-chip span { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; }
.role-chip svg { width: 16px; height: 16px; stroke: var(--orange); fill: none; stroke-width: 2; }
.role-section { scroll-margin-top: 80px; }
.role-section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.role-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.role-section.alt .role-copy { order: 2; }
.role-grid > * { min-width: 0; }
.role-copy { display: grid; gap: 18px; }
.role-badge { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.role-badge span { width: 38px; height: 38px; border-radius: 10px; background: var(--navy-900); display: grid; place-items: center; }
.role-badge svg { width: 20px; height: 20px; stroke: var(--orange); fill: none; stroke-width: 1.8; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp { border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; font-size: .95rem; }
.cmp .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.cmp.before { background: color-mix(in srgb, var(--muted) 10%, transparent); border: 1px dashed var(--line); color: var(--muted); }
.cmp.after { background: var(--navy-900); color: var(--on-navy); border: 1px solid var(--navy-900); }
.cmp.after .k { color: var(--orange); }
.role-cta { justify-self: start; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, transform .2s; }
.role-section:not(.alt) .benefit { background: var(--surface); }
.benefit:hover { border-color: var(--orange); transform: translateY(-3px); }
.b-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(243,154,30,.14); display: grid; place-items: center; }
.b-ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.benefit h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.benefit p { color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .role-grid { grid-template-columns: 1fr; } .role-section.alt .role-copy { order: 0; } }
@media (max-width: 520px) { .benefits, .compare { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .benefit:hover { transform: none; } }
.onboard .steps li::before { content: "Step " counter(s); }
.nav-links a { white-space: nowrap; }
@media (max-width: 1120px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); padding: 12px clamp(16px, 4vw, 40px) 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open a { padding: .9em .6em; font-size: 1.05rem; }
  .nav-links.open a[aria-current="page"] { border-radius: 0; box-shadow: inset 3px 0 0 var(--orange); }
}
.page-hero.partners-hero { background-position: center 30%; }

/* About Us dropdown with Our Team */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: .3em !important; }
.sub-toggle { background: none; border: 0; color: var(--on-navy-muted); width: 26px; height: 32px; display: grid; place-items: center; cursor: pointer; border-radius: 6px; padding: 0; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.has-sub:hover .sub-toggle, .has-sub.open .sub-toggle { color: var(--on-navy); }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--orange); border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: .6em .9em !important; border-radius: 8px !important; color: var(--on-navy-muted); box-shadow: none !important; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: rgba(243,154,30,.14) !important; color: var(--on-navy) !important; }
@media (max-width: 1120px) {
  .nav-links.open .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .nav-links.open .sub-menu { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid rgba(243,154,30,.5); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 8px; min-width: 0; background: transparent; display: none; }
  .nav-links.open .has-sub.open .sub-menu { display: grid; }
  .nav-links.open .sub-toggle { width: 44px; height: 44px; }
}
@media (max-width: 1120px) { .nav-links.open a { display: block; } }

/* FAQ page */
.faq-wrap .wrap { display: grid; gap: clamp(48px, 6vw, 80px); }
.faq-group { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; scroll-margin-top: 90px; }
.faq-side { position: sticky; top: 100px; display: grid; gap: 12px; }
.faq-side h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.faq-side p { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.faq-list { display: grid; gap: 14px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; }
.qa h3 { font-size: 1.12rem; display: flex; gap: 12px; align-items: baseline; }
.q-badge { flex: none; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; color: #14213F; background: var(--orange); border-radius: 6px; padding: 3px 7px; position: relative; top: -2px; }
.qa p { color: var(--muted); padding-left: 44px; }
@media (max-width: 860px) { .faq-group { grid-template-columns: 1fr; } .faq-side { position: static; } }
@media (max-width: 480px) { .qa p { padding-left: 0; } }

/* Partners hub cards + role pages */
.partner-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.partner-card { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 12px; align-content: start; transition: transform .2s, box-shadow .2s, border-color .2s; }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(11,26,58,.55); border-color: var(--orange); }
.pc-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--navy-900); display: grid; place-items: center; }
.pc-ic svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 1.8; }
.pc-role { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.partner-card h3 { font-size: 1.15rem; line-height: 1.2; }
.partner-card p { color: var(--muted); font-size: .95rem; }
.pc-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--accent); font-size: .95rem; margin-top: 4px; }
.pc-go svg { width: 16px; height: 16px; transition: transform .2s; }
.partner-card:hover .pc-go svg { transform: translateX(4px); }
@media (max-width: 1100px) { .partner-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partner-cards { grid-template-columns: 1fr; } }
.role-badge.on-dark { color: var(--orange); }
.page-hero .crumb a { color: var(--on-navy-muted); }
.role-chip.light { background: var(--surface); border-color: var(--line); color: var(--ink); }
.role-chip.light:hover { background: var(--orange); border-color: var(--orange); color: #14213F; }
.other-roles { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }

/* All Partners: faint Escrow Console dashboard behind the role cards */
.partners-choose { position: relative; overflow: hidden; }
.partners-choose .dash-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .09; pointer-events: none; filter: saturate(.8); }
.partners-choose .dash-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.partners-choose .wrap { position: relative; z-index: 1; }

/* Escropro Platform page: light gold sections */
:root { --gold-bg: #FCF1DA; --gold-line: #F1DDB2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --gold-bg: #231D10; --gold-line: #3A3020; } }
:root[data-theme="dark"] { --gold-bg: #231D10; --gold-line: #3A3020; }
.gold { background: var(--gold-bg); }
.partners.gold { border-color: var(--gold-line); }
.partners.gold .logo-tile { background: var(--surface); }
.gold + .gold { border-top: 1px solid var(--gold-line); }
.go-main { margin-top: 32px; display: flex; justify-content: center; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.go-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.go-card { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 10px; align-content: start; transition: transform .2s, box-shadow .2s, border-color .2s; }
.go-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 22px 40px -24px rgba(11,26,58,.5); }
.go-card h3 { font-size: 1.15rem; }
.go-card p { color: var(--muted); font-size: .95rem; }
.go-card .btn { justify-self: start; margin-top: 8px; font-size: .92rem; padding: .75em 1.1em; }
@media (max-width: 1100px) { .go-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .go-grid { grid-template-columns: 1fr; } .go-main .btn { white-space: normal; text-align: center; justify-content: center; } }

/* Escropro Platform page: tighter spacing between sections */
.section.gold { padding-block: clamp(40px, 4.5vw, 60px); }
.section.gold .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.section.gold .go-main { margin-top: 24px; }
.partners.gold { padding-block: 32px; }

/* Stakeholders strip on the Escropro Platform page */
.stake-track { animation-duration: 46s; }
.st-tile .mark.st-developer { background: var(--navy-700); }
.st-tile .mark.st-vendor { background: var(--orange); color: #14213F; }
.st-tile .mark.st-ipm { background: #1F8A5B; }
.st-tag { font-weight: 700; padding: 1px 6px; border-radius: 4px; margin-right: 4px; color: #fff; font-size: .6rem; }
.st-tag.st-developer { background: var(--navy-700); }
.st-tag.st-vendor { background: var(--orange); color: #14213F; }
.st-tag.st-ipm { background: #1F8A5B; }

/* IPM pricing */
.ipm-pricing { background: var(--surface); border-block: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 14px; align-content: start; }
.price-card.featured { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); box-shadow: 0 24px 44px -26px rgba(11,26,58,.7); }
.price-tag { justify-self: start; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: rgba(243,154,30,.14); padding: 4px 10px; border-radius: 999px; }
.price-card.featured .price-tag { color: var(--orange); background: rgba(243,154,30,.18); }
.price { display: grid; gap: 2px; }
.price b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; }
.price-card.featured .price b { color: var(--orange); }
.price span { color: var(--muted); font-size: .95rem; }
.price-card.featured .price span, .price-card.featured li { color: var(--on-navy-muted); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--muted); }
.price-card li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.price-card li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.price-card.featured li::before { color: var(--orange); }
.calc { display: grid; gap: 10px; font-variant-numeric: tabular-nums; }
.calc div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--muted); }
.calc b { font-family: var(--font-mono); color: var(--ink); }
.calc .net { border-bottom: 0; padding-top: 2px; }
.calc .net span { color: var(--ink); font-weight: 650; }
.calc .net b { color: var(--ok); font-size: 1.1rem; }
.price-card.example p { font-size: .8rem; color: var(--muted); }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.calc b { white-space: nowrap; }
.ipm-pricing { background: var(--gold-bg); border-color: var(--gold-line); }
.ipm-pricing .price-card:not(.featured) { background: var(--surface); border-color: var(--gold-line); }

/* Investor pricing extras */
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price-split div { display: grid; gap: 2px; }
.price-split b { font-family: var(--font-display); font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; color: var(--orange); }
.price-split span { color: var(--on-navy-muted); font-size: .9rem; }
.urge { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; background: var(--surface); border: 1px solid var(--gold-line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 20px 24px; }
.urge p { max-width: 62ch; color: var(--muted); }
.urge strong { color: var(--ink); }

/* Developer pricing: light variant of split figures */
.price-split.light b { color: var(--ink); font-size: clamp(1.6rem, 2.4vw, 2rem); }
.price-split.light span { color: var(--muted); }
.price-split.light strong { color: var(--ok); }
.price-split.light { grid-template-columns: 1fr; gap: 12px; }

/* ROI calculator (Investors page) */
.roi-calc { background: var(--surface); border-bottom: 1px solid var(--line); }
.rc-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 22px; }
.rc-tab { font: inherit; font-weight: 650; font-size: .95rem; border: 0; background: transparent; color: var(--muted); padding: .6em 1.4em; border-radius: 999px; cursor: pointer; }
.rc-tab.is-on { background: var(--navy-900); color: #fff; }
.rc-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.rc-panel[hidden] { display: none !important; }
.rc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rc-group { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.rc-group:first-child { margin-top: 0; }
.rc-field { display: grid; gap: 6px; min-width: 0; }
.rc-field label { font-size: .88rem; font-weight: 600; }
.rc-input { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.rc-input:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,154,30,.2); }
.rc-input span { padding: 0 10px; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.rc-input input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: .7em .4em .7em 0; font-variant-numeric: tabular-nums; outline: none; }
.rc-input span:first-child + input { padding-left: 0; }
.rc-input input:first-child { padding-left: 12px; }
.rc-field select { font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: .7em .8em; }
.rc-field:has(select) { grid-column: 1 / -1; }
.rc-out { background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; position: sticky; top: 96px; }
.rc-hero { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.rc-hero span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.rc-hero b { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rc-hero small { color: var(--on-navy-muted); font-size: .92rem; }
.rc-out .pos { color: #5BD69B; } .rc-out .neg { color: #FF8A7A; }
.rc-out dl { margin: 0; display: grid; gap: 10px; }
.rc-out dl div { display: flex; justify-content: space-between; gap: 14px; font-size: .93rem; }
.rc-out dt { color: var(--on-navy-muted); }
.rc-out dd { margin: 0; font-family: var(--font-mono); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-out dl .tot { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
.rc-out dl .tot dt { color: #fff; font-weight: 650; }
.rc-note { margin-top: 16px; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .rc-panel { grid-template-columns: 1fr; } .rc-out { position: static; } }
@media (max-width: 520px) { .rc-form { grid-template-columns: 1fr; } }

/* Vendor order & payout terms */
.terms-box { margin-top: 24px; background: var(--surface); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 22px 24px; }
.terms-box h3 { font-size: 1.15rem; margin-bottom: 14px; }
.terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: t; }
.terms li { counter-increment: t; display: grid; gap: 6px; align-content: start; font-size: .93rem; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--orange); }
.terms li::before { content: "0" counter(t); font-family: var(--font-mono); font-weight: 600; font-size: .75rem; color: var(--accent); }
.terms b { color: var(--ink); }
@media (max-width: 960px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .terms { grid-template-columns: 1fr; } }
/* Contact hero: portrait photo anchored right, navy fill on the left */
.page-hero.contact-hero { background-size: auto 100%; background-position: right top; }
@media (min-width: 761px) { .page-hero.contact-hero::before { inset: 0 0 0 auto; height: 100%; aspect-ratio: 520 / 650; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(8,19,48,.55) 22%, rgba(8,19,48,0) 45%); } }
@media (max-width: 760px) { .page-hero.contact-hero { background-size: cover; background-position: center 20%; } }
/* Contact form: required markers and invalid state */
.req { color: #C2410C; font-weight: 700; }
.field [aria-invalid="true"] { border-color: #C2410C; box-shadow: 0 0 0 3px rgba(194,65,12,.15); }
.consent:has([aria-invalid="true"]) span { color: #C2410C; }
/* Phone field with country code picker */
.phone-group { display: flex; gap: 8px; align-items: stretch; }
.phone-group input { flex: 1; min-width: 0; }
.cc-pick { position: relative; flex: 0 0 auto; }
.cc-face { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: .95rem; white-space: nowrap; pointer-events: none; }
.cc-flag { font-size: 1.15rem; line-height: 1; }
.cc-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cc-pick:focus-within .cc-face { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,154,30,.2); }
.field .hint { color: var(--muted); font-size: .8rem; }
/* Legal pages (Privacy Policy, Terms of Service) */
.legal-date { font-family: "JetBrains Mono", monospace; font-size: .82rem; color: #C9D3E6; letter-spacing: .02em; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: .9rem; }
.legal-toc p { font-weight: 700; margin-bottom: 10px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 2px 0 2px 14px; color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--orange); }
.legal-body { max-width: 72ch; display: grid; gap: 36px; }
.legal-sec { scroll-margin-top: 96px; display: grid; gap: 12px; }
.legal-sec h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); display: flex; gap: 12px; align-items: baseline; }
.legal-sec h2 span { font-family: "JetBrains Mono", monospace; font-size: .8rem; color: var(--orange); }
.legal-sec p, .legal-sec li { color: var(--ink); line-height: 1.7; }
.legal-sec ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal-sec a { color: var(--orange); }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; } }
/* Pricing hub (footer-only page) */
.price-hub { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price-hub-card h3 { font-size: 1.35rem; }
.ph-rows { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.ph-rows li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }
.ph-rows b { color: var(--ink); text-align: right; }
/* Light / dark mode toggle (top-right of header) */
.theme-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); color: var(--on-navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; flex: 0 0 auto; }
.theme-btn:hover { color: var(--orange); border-color: var(--orange); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
/* ---------------- Blog ---------------- */
.blog-wrap .wrap { display: grid; gap: clamp(32px, 4vw, 48px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-meta .post-cat { color: var(--accent); font-weight: 600; }
.post-meta.on-dark { color: #C9D3E6; }
.post-meta.on-dark .post-cat { color: var(--orange); }
.blog-cover-fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: var(--orange); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.blog-featured:hover, .blog-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(11,26,58,.45); }
.blog-featured-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.blog-featured-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: center; }
.blog-featured-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.blog-featured-body p { color: var(--muted); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filters button { font: inherit; font-size: .9rem; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.blog-filters button.is-on, .blog-filters button:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.blog-card[hidden] { display: none; }
.blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-body { padding: 20px 22px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.blog-card-body h3 { font-size: 1.2rem; }
.blog-card-body p { color: var(--muted); font-size: .95rem; }
.blog-card .pc-go, .blog-featured .pc-go { color: var(--accent); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.blog-card .pc-go svg, .blog-featured .pc-go svg { width: 16px; height: 16px; }
.blog-empty { text-align: center; padding: 48px 0; display: grid; gap: 10px; }
.blog-empty p { color: var(--muted); }
.post-hero h1 { max-width: 22ch; }
.post-hero .post-meta { margin-bottom: 14px; }
.post-author { margin-top: 18px; color: #C9D3E6; font-size: .95rem; }
.post-grid { display: grid; justify-items: center; }
.post-body { width: 100%; max-width: 760px; display: grid; gap: 28px; }
.post-cover { margin: 0; border-radius: 18px; overflow: hidden; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose-body { font-size: 1.1rem; line-height: 1.8; display: grid; gap: 18px; }
.prose-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 18px; }
.prose-body h3 { font-size: 1.25rem; margin-top: 10px; }
.prose-body ul, .prose-body ol { padding-left: 1.3em; margin: 0; display: grid; gap: 8px; }
.prose-body a { color: var(--accent); }
.prose-body img { border-radius: 12px; margin: 8px 0; height: auto; }
.prose-body blockquote { margin: 8px 0; padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--gold-bg); border-radius: 0 12px 12px 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.prose-body blockquote p { margin: 0; }
.prose-body code { font-family: var(--font-mono); font-size: .9em; background: var(--line); padding: .1em .35em; border-radius: 4px; }
.prose-body hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.prose-body table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose-body th, .prose-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.post-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.post-share span { font-weight: 600; margin-right: 6px; }
.post-share a { padding: .45em .95em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.post-share a:hover { border-color: var(--orange); color: var(--accent); }
.post-back { color: var(--accent); font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured-img { min-height: 220px; aspect-ratio: 16 / 9; } }
.footer-grid .admin-link { display: inline-flex; align-items: center; gap: 6px; }
.footer-grid .admin-link svg { width: 14px; height: 14px; }
/* ---------------- Flash intro (home page, once per visit) ---------------- */
html.intro-on, html.intro-on body { overflow: hidden; }
.bt-intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(circle at 50% 50%, #16306B 0%, #0B1A3A 55%, #050E26 100%);
  animation: btIntroBg 2.6s ease both; }
.bt-intro.is-out { animation: btIntroOut .6s cubic-bezier(.6,0,.2,1) forwards; pointer-events: none; }
.bt-intro-stage { position: relative; display: grid; place-items: center; gap: 22px; perspective: 900px; }
.bt-intro-shield { width: clamp(120px, 22vmin, 190px); height: auto; transform-style: preserve-3d; backface-visibility: visible;
  filter: drop-shadow(0 0 24px rgba(243,154,30,.55)) drop-shadow(0 18px 30px rgba(0,0,0,.45));
  animation: btShieldIn .45s cubic-bezier(.2,1.4,.4,1) both, btShieldSpin 1.35s cubic-bezier(.65,0,.35,1) .45s forwards, btShieldGlow 2.6s ease both; }
.bt-intro-flash { position: absolute; left: 50%; top: 42%; width: 70vmax; height: 70vmax; border-radius: 50%; transform: translate(-50%,-50%) scale(0);
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(247,184,96,.75) 18%, rgba(243,154,30,.25) 40%, transparent 65%);
  animation: btFlash .7s ease-out .05s both; pointer-events: none; }
.bt-intro-ring { position: absolute; left: 50%; top: 42%; width: clamp(180px, 34vmin, 290px); aspect-ratio: 1; border-radius: 50%;
  border: 3px solid #F39A1E; transform: translate(-50%,-50%) scale(.4); opacity: 0; animation: btRing 1.2s ease-out 1.75s both; }
.bt-intro-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4.5vmin, 2.4rem); letter-spacing: -.02em; color: #fff;
  opacity: 0; transform: translateY(10px); animation: btWord .5s ease-out 1.8s both; }
.bt-intro-word b { color: #F39A1E; font-weight: 800; }
@keyframes btIntroBg { from { background-color: #050E26; } }
@keyframes btFlash { 0% { transform: translate(-50%,-50%) scale(0); opacity: 1; } 60% { opacity: .9; } 100% { transform: translate(-50%,-50%) scale(1); opacity: 0; } }
@keyframes btShieldIn { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: scale(1); } }
@keyframes btShieldSpin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes btShieldGlow { 0%, 20% { filter: drop-shadow(0 0 0 rgba(243,154,30,0)) brightness(2.2); } 35% { filter: drop-shadow(0 0 34px rgba(243,154,30,.9)) brightness(1.15); } 100% { filter: drop-shadow(0 0 22px rgba(243,154,30,.5)) drop-shadow(0 18px 30px rgba(0,0,0,.45)); } }
@keyframes btRing { 0% { opacity: .9; transform: translate(-50%,-50%) scale(.45); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.7); } }
@keyframes btWord { to { opacity: 1; transform: none; } }
@keyframes btIntroOut { to { opacity: 0; transform: scale(1.06); visibility: hidden; } }
/* About: founder's welcome note */
.welcome-note { background: var(--gold-bg); border-bottom: 1px solid var(--gold-line); }
.welcome-grid { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.welcome-portrait { margin: 0; position: sticky; top: 100px; }
.welcome-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 18px; box-shadow: 0 24px 50px -28px rgba(11,26,58,.55); border: 4px solid var(--surface); }
.welcome-portrait figcaption { margin-top: 14px; display: grid; gap: 2px; }
.welcome-portrait figcaption span { color: var(--muted); font-size: .9rem; }
.welcome-letter { display: grid; gap: 18px; max-width: 70ch; }
.welcome-letter h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.welcome-letter p { font-size: 1.08rem; line-height: 1.8; }
.welcome-letter .welcome-lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); font-weight: 500; border-left: 4px solid var(--orange); padding-left: 18px; }
.welcome-sign { margin-top: 6px; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5 !important; }
.welcome-sign span { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .welcome-grid { grid-template-columns: 1fr; } .welcome-portrait { position: static; max-width: 260px; } }
.founder-li { margin-top: 10px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: .5em .95em; border-radius: 999px; background: #0A66C2; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; transition: background .2s, transform .2s; }
.founder-li:hover { background: #004182; transform: translateY(-1px); }
.founder-li svg { width: 16px; height: 16px; }
/* About: company values */
.company-values { position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-navy); }
.company-values::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); }
.company-values .wrap { position: relative; }
.cv-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.cv-head h2 { color: #fff; }
.cv-head .eyebrow { color: var(--orange); }
.cv-head .lede { color: var(--on-navy-muted); }
.cv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: cv; }
.cv-card { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px 24px 30px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1);
  transition: transform .25s, border-color .25s, background .25s; overflow: hidden; }
.cv-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.cv-card:hover { transform: translateY(-6px); border-color: rgba(243,154,30,.55); background: linear-gradient(180deg, rgba(243,154,30,.12), rgba(255,255,255,.02)); }
.cv-card:hover::after { transform: scaleX(1); }
.cv-num { position: absolute; right: 16px; top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 4.2rem; line-height: 1; color: rgba(255,255,255,.06); letter-spacing: -.04em; }
.cv-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(243,154,30,.14); color: var(--orange); border: 1px solid rgba(243,154,30,.35); }
.cv-ic svg { width: 26px; height: 26px; }
.cv-card h3 { color: #fff; font-size: 1.45rem; }
.cv-card p { color: var(--on-navy-muted); font-size: .98rem; line-height: 1.7; }
@media (max-width: 1020px) { .cv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cv-grid { grid-template-columns: 1fr; } }
/* IPM page: illustrated construction-site banner */
.page-hero.ipm-hero { background-position: 70% 60%; }
.page-hero.vendor-hero { background-position: 100% 70%; }
.page-hero.investor-hero { background-position: 80% 30%; }
.page-hero.dev-hero { background-position: center 62%; }
@media (max-width: 760px) { .page-hero.dev-hero { background-size: auto 150%; background-position: 62% 55%; } }
/* Home hero: rotating headline that follows the slides */
.hero-msgs { display: grid; }
.hero-msg { grid-area: 1 / 1; display: grid; gap: 18px; align-content: start; opacity: 0; transform: translateY(18px); visibility: hidden;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), visibility 0s linear .7s; }
.hero-msg.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .7s ease .15s, transform .7s cubic-bezier(.2,.8,.2,1) .15s, visibility 0s; }
.hero-msg .hero-h { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: #fff; }
.hero-msg .hero-h em { font-style: normal; color: var(--orange); }
.hero-tag { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: var(--orange); letter-spacing: -0.01em; }
.hero-msg .lede strong { color: #fff; }
.hero .hero-h, .hero .hero-tag { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-msg { align-self: end; }
/* Home page: header logo gently turns left and right */
.brand.brand-anim { perspective: 700px; }
.brand.brand-anim .brand-logo { transform-origin: 50% 50%; animation: btLogoSway 4.5s ease-in-out infinite; will-change: transform; }
.brand.brand-anim:hover .brand-logo { animation-play-state: paused; }
html[data-page]:not([data-page="index"]) .brand.brand-anim .brand-logo { animation: none; }
@keyframes btLogoSway {
  0%, 100% { transform: rotateY(0deg); }
  25% { transform: rotateY(-28deg); }
  50% { transform: rotateY(0deg); }
  75% { transform: rotateY(28deg); }
}
.partner-cards.faq-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
/* Home page: floating WhatsApp chat button */
.wa-fab { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 900; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa-fab-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.45), 0 0 0 4px rgba(37,211,102,.18); transition: transform .2s; }
.wa-fab-btn svg { width: 32px; height: 32px; }
.wa-fab-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: waPulse 2.4s ease-out infinite; }
.wa-fab-label { display: grid; padding: 8px 14px; border-radius: 12px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.25;
  box-shadow: 0 8px 24px -10px rgba(11,26,58,.45); border: 1px solid var(--line); opacity: 0; transform: translateX(10px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-fab-label small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.wa-fab:hover .wa-fab-btn, .wa-fab:focus-visible .wa-fab-btn { transform: scale(1.08); }
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label, .wa-fab.peek .wa-fab-label { opacity: 1; transform: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
html.intro-on .wa-fab { opacity: 0; }
html[data-page]:not([data-page="index"]) .wa-fab { display: none; }
@media (max-width: 560px) { .wa-fab-btn { width: 54px; height: 54px; } .wa-fab-btn svg { width: 28px; height: 28px; } }
/* Language switch (EN / FR) */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); flex: 0 0 auto; }
.lang-switch button { font: 700 .78rem/1 var(--font-mono); letter-spacing: .06em; color: var(--on-navy-muted); background: none; border: 0; padding: 8px 10px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-on { background: var(--orange); color: var(--navy-900); }
@media (max-width: 480px) { .lang-switch button { padding: 7px 8px; } }
html.i18n-pending body { visibility: hidden; animation: i18nReveal 0s 2.5s forwards; }
@keyframes i18nReveal { to { visibility: visible; } }
/* Keep the header tidy when labels are longer (French) */
.nav .brand { flex: 0 0 auto; }
.nav-cta .btn { white-space: nowrap; }
html[lang="fr"] .nav-links { gap: 2px; }
html[lang="fr"] .nav-links a { padding-inline: .6em; }

/* French labels are longer: switch to the menu button earlier */
@media (max-width: 1360px) {
  html[lang="fr"] .menu-btn { display: inline-grid; place-items: center; }
  html[lang="fr"] .nav-links, html[lang="fr"] .nav-cta .btn-ghost { display: none; }
  html[lang="fr"] .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); padding: 12px clamp(16px, 4vw, 40px) 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  html[lang="fr"] .nav-links.open a { display: block; padding: .9em .6em; font-size: 1.05rem; }
  html[lang="fr"] .nav-links.open a[aria-current="page"] { border-radius: 0; box-shadow: inset 3px 0 0 var(--orange); }
  html[lang="fr"] .nav-links.open .has-sub { display: grid; grid-template-columns: 1fr auto; }
  html[lang="fr"] .nav-links.open .sub-menu { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid rgba(243,154,30,.5); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 8px; min-width: 0; background: transparent; display: none; }
  html[lang="fr"] .nav-links.open .has-sub.open .sub-menu { display: grid; }
  html[lang="fr"] .nav-links.open .sub-toggle { width: 44px; height: 44px; }
}
html[lang="fr"] .onboard .steps li::before { content: "Étape " counter(s); }
html[lang="fr"] .steps li::before { content: "J" counter(s); }
/* Small phones: compact header (logo, Escropro arrow, EN/FR, theme, menu) */
@media (max-width: 560px) {
  .nav { gap: 8px; }
  .brand-logo { height: 46px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-primary { font-size: 0; gap: 0; padding: 0; width: 40px; height: 40px; justify-content: center; border-radius: 50%; }
  .nav-cta .btn-primary svg { width: 18px; height: 18px; margin: 0; }
  .theme-btn, .menu-btn { width: 40px; height: 40px; }
  .lang-switch button { padding: 7px 7px; font-size: .72rem; }
}
/* ---------------- Pricing: Basic & Standard plans ---------------- */
.tier-chip { display: inline-block; font: 700 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.tier-chip.std { background: var(--orange); color: var(--navy-900); border-color: var(--orange); }
.plan-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; align-items: stretch; max-width: 1020px; margin-inline: auto; }
.plan-card { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(26px, 3.4vw, 38px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(11,26,58,.45); }
.plan-card.standard { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); box-shadow: 0 30px 60px -30px rgba(11,26,58,.8); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-for { font-size: .85rem; color: var(--muted); }
.plan-card.standard .plan-for { color: var(--on-navy-muted); }
.plan-price { display: grid; gap: 4px; }
.plan-price b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.plan-card.standard .plan-price b { color: var(--orange); font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.plan-price span { font-size: .9rem; color: var(--muted); }
.plan-card.standard .plan-price span { color: var(--on-navy-muted); }
.plan-desc { color: var(--muted); }
.plan-card.standard .plan-desc { color: #DCE4F3; }
.plan-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.plan-card.standard .plan-list { border-color: rgba(255,255,255,.12); }
.plan-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .97rem; }
.plan-list li svg { width: 20px; height: 20px; margin-top: 1px; }
.plan-list li.y svg { color: var(--ok); }
.plan-card.standard .plan-list li.y svg { color: var(--orange); }
.plan-list li.n { color: var(--muted); }
.plan-list li.n svg { color: #C2410C; opacity: .8; }
.plan-cta { justify-self: start; margin-top: 6px; }
.plan-card.basic .plan-cta { color: var(--ink); border-color: var(--ink); }
.plan-ribbon { position: absolute; top: -13px; right: 26px; background: var(--orange); color: var(--navy-900); font: 700 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(243,154,30,.8); }
.upgrade-path { list-style: none; margin: clamp(32px, 4vw, 48px) auto 0; padding: 0; max-width: 1020px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: up; }
.upgrade-path li { position: relative; display: grid; gap: 4px; padding: 18px 18px 0 0; border-top: 3px solid var(--gold-line); counter-increment: up; }
.upgrade-path li::before { content: counter(up); position: absolute; top: -16px; left: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--orange); font: 700 .8rem/1 var(--font-mono); }
.upgrade-path li:nth-child(3)::before, .upgrade-path li:nth-child(4)::before { background: var(--orange); color: var(--navy-900); }
.upgrade-path li:nth-child(n+3) { border-top-color: var(--orange); }
.upgrade-path b { font-family: var(--font-display); font-size: 1.05rem; }
.upgrade-path span { font-size: .9rem; color: var(--muted); }
.plan-compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.plan-compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.plan-compare th, .plan-compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: .97rem; }
.plan-compare tbody tr:last-child th, .plan-compare tbody tr:last-child td { border-bottom: 0; }
.plan-compare tbody th { text-align: left; font-weight: 500; }
.plan-compare thead th { vertical-align: bottom; background: var(--bg); }
.plan-compare thead th:first-child { text-align: left; font: 700 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-compare thead small { display: block; margin-top: 8px; font-size: .8rem; color: var(--muted); font-weight: 500; }
.plan-compare td:last-child { background: rgba(243,154,30,.07); }
.cmp-yes svg, .cmp-no svg { width: 20px; height: 20px; }
.cmp-yes { color: var(--ok); } .cmp-no { color: #C2410C; opacity: .7; }
.price-hub-card .tier-chip { justify-self: start; }
.tier-note { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--gold-line); font-size: .93rem; color: var(--muted); }
.tier-note span { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } .upgrade-path { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 480px) { .upgrade-path { grid-template-columns: 1fr; } }
.page-hero.partners-hub-hero { background-position: 65% 40%; }
/* Growth Partners page */
.page-hero.gp-hero { background: radial-gradient(ellipse at 85% 20%, rgba(243,154,30,.22), transparent 55%), var(--navy-900); }
.gp-net { position: absolute; inset: 0; color: var(--orange); pointer-events: none; }
.gp-hero .wrap { z-index: 1; }
.gp-hero .lede { max-width: 760px; }
.gp-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(243,154,30,.14); color: var(--orange); border: 1px solid rgba(243,154,30,.35); flex: 0 0 auto; }
.gp-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.gp-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gp-facts li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.gp-facts h4 { font-size: 1.08rem; margin-bottom: 4px; }
.gp-facts p { color: var(--muted); font-size: .97rem; }
.gp-regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gp-region { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: 18px; background: var(--navy-900); color: var(--on-navy); overflow: hidden; }
.gp-region::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); }
.gp-region h3 { color: #fff; font-size: 1.7rem; }
.gp-region p { color: var(--on-navy-muted); font-size: .98rem; }
.gp-k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.gp-two { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gp-criteria { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: gc; }
.gp-criteria li { counter-increment: gc; position: relative; padding: 16px 18px 16px 58px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); line-height: 1.6; }
.gp-criteria li::before { content: ""; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.gp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gp-steps li { display: grid; gap: 10px; align-content: start; padding: 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.gp-n { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--orange); }
.gp-steps h3 { font-size: 1.2rem; }
.gp-steps p { color: var(--muted); font-size: .96rem; }
.gp-note { margin-top: 26px; display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 14px; background: rgba(243,154,30,.1); border: 1px solid rgba(243,154,30,.35); font-weight: 500; }
.gp-note span { color: var(--orange); display: grid; }
.gp-note svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.gp-does .b-ic svg { fill: none; stroke: currentColor; }
@media (max-width: 1020px) { .gp-steps { grid-template-columns: repeat(2, 1fr); } .gp-intro, .gp-two { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .gp-regions { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gp-steps { grid-template-columns: 1fr; } }
.gp-criteria-wrap { background: var(--gold-bg); }
.gp-criteria li { border-color: var(--gold-line); }
.section.gp-how { padding-bottom: 8px; }
/* Growth Partners hero: team network */
.gp-net svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gp-net line { stroke: var(--orange); stroke-opacity: .45; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 5 7; animation: gpFlow 6s linear infinite; }
.gp-node { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; padding: 3px; background: var(--orange);
  box-shadow: 0 0 0 4px rgba(243,154,30,.18), 0 10px 24px rgba(0,0,0,.45); animation: gpFloat 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.gp-node.hub { width: 92px; height: 92px; margin: -46px 0 0 -46px; padding: 4px; box-shadow: 0 0 0 7px rgba(243,154,30,.22), 0 12px 30px rgba(0,0,0,.5); }
.gp-node img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 22%; display: block; border: 2px solid var(--navy-900); background: var(--navy-800); }
.gp-node::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(243,154,30,.55); animation: gpPulse 3.2s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes gpFlow { to { stroke-dashoffset: -48; } }
@keyframes gpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes gpPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }
.gp-hero .lede { max-width: 600px; }
.gp-hero h1 { max-width: 640px; }
@media (max-width: 1100px) { .gp-node { width: 52px; height: 52px; margin: -26px 0 0 -26px; } .gp-node.hub { width: 74px; height: 74px; margin: -37px 0 0 -37px; } }
@media (max-width: 860px) { .gp-net { opacity: .28; } .gp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,58,.2), rgba(11,26,58,.55)); z-index: 0; pointer-events: none; } }
@media (max-width: 560px) { .gp-node { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .gp-node.hub { width: 58px; height: 58px; margin: -29px 0 0 -29px; } }
@media (prefers-reduced-motion: reduce) { .gp-node, .gp-node::after, .gp-net line { animation: none; } }
/* Growth Partners: where BuildTrack is represented (scrolling strip) */
.gp-represented { padding-block: 34px 40px; border-top: 1px solid var(--line); background: var(--surface); }
.gp-rep-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.gp-rep-head h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.gp-marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.gp-marquee-track { list-style: none; margin: 0; padding: 0 9px; display: flex; gap: 18px; flex: 0 0 auto; min-width: max-content; animation: gpMarquee 32s linear infinite; }
.gp-marquee:hover .gp-marquee-track { animation-play-state: paused; }
@keyframes gpMarquee { to { transform: translateX(-100%); } }
.gp-country { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); white-space: nowrap; }
.gp-flag { width: 42px; height: 28px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: 0 0 auto; display: block; }
.gp-flag svg { width: 100%; height: 100%; display: block; }
.gp-country strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); line-height: 1.2; }
.gp-country small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .gp-marquee-track { animation: none; flex-wrap: wrap; min-width: 0; } .gp-marquee-track[aria-hidden="true"] { display: none; } }
/* Growth Partners: representative photo under "Who we are looking for" */
.gp-rep-photo { position: relative; margin: 34px 0 0; max-width: 400px; padding: 0 18px 18px 0; }
.gp-rep-photo::before { content: ""; position: absolute; inset: 18px 0 0 18px; border-radius: 26px; border: 2px solid var(--orange); background: repeating-linear-gradient(135deg, rgba(243,154,30,.16) 0 2px, transparent 2px 12px); }
.gp-rep-frame { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 50px rgba(11,26,58,.28); }
.gp-rep-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform .6s ease; }
.gp-rep-photo:hover .gp-rep-frame img { transform: scale(1.04); }
.gp-rep-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,26,58,.55)); }
.gp-rep-badge { position: absolute; left: -14px; bottom: 44px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--navy-900); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.3); border: 1px solid rgba(243,154,30,.4); }
.gp-rep-badge .gp-ic { width: 40px; height: 40px; border-radius: 12px; }
.gp-rep-badge strong { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.2; }
.gp-rep-badge small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
@media (max-width: 1020px) { .gp-rep-photo { max-width: 360px; } }
@media (max-width: 560px) { .gp-rep-photo { max-width: 100%; } .gp-rep-badge { left: 10px; bottom: 34px; } }
/* Growth Partners: light-gold criteria band with network lines on the right */
.gp-criteria-wrap { position: relative; overflow: hidden; background: linear-gradient(135deg, #FDF5E3 0%, #FAEBC8 100%); }
.gp-criteria-wrap::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 46%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 800'%3E%3Cg stroke='%23D9800C' stroke-opacity='.45' stroke-width='1.4' fill='none'%3E%3Cline x1='540' y1='60' x2='580' y2='210'/%3E%3Cline x1='150' y1='620' x2='60' y2='760'/%3E%3Cline x1='150' y1='620' x2='330' y2='600'/%3E%3Cline x1='80' y1='450' x2='250' y2='420'/%3E%3Cline x1='60' y1='90' x2='300' y2='230'/%3E%3Cline x1='80' y1='450' x2='150' y2='620'/%3E%3Cline x1='260' y1='770' x2='440' y2='780'/%3E%3Cline x1='380' y1='120' x2='300' y2='230'/%3E%3Cline x1='420' y1='480' x2='590' y2='560'/%3E%3Cline x1='330' y1='600' x2='500' y2='660'/%3E%3Cline x1='330' y1='600' x2='260' y2='770'/%3E%3Cline x1='470' y1='300' x2='560' y2='420'/%3E%3Cline x1='120' y1='260' x2='300' y2='230'/%3E%3Cline x1='300' y1='230' x2='470' y2='300'/%3E%3Cline x1='120' y1='260' x2='80' y2='450'/%3E%3Cline x1='540' y1='60' x2='470' y2='300'/%3E%3Cline x1='300' y1='230' x2='250' y2='420'/%3E%3Cline x1='500' y1='660' x2='440' y2='780'/%3E%3Cline x1='500' y1='660' x2='590' y2='560'/%3E%3Cline x1='60' y1='90' x2='210' y2='40'/%3E%3Cline x1='250' y1='420' x2='420' y2='480'/%3E%3Cline x1='210' y1='40' x2='380' y2='120'/%3E%3Cline x1='60' y1='90' x2='120' y2='260'/%3E%3Cline x1='420' y1='480' x2='560' y2='420'/%3E%3Cline x1='210' y1='40' x2='300' y2='230'/%3E%3Cline x1='470' y1='300' x2='580' y2='210'/%3E%3Cline x1='150' y1='620' x2='260' y2='770'/%3E%3Cline x1='80' y1='450' x2='60' y2='760'/%3E%3Cline x1='420' y1='480' x2='330' y2='600'/%3E%3Cline x1='380' y1='120' x2='540' y2='60'/%3E%3Cline x1='560' y1='420' x2='590' y2='560'/%3E%3Cline x1='330' y1='600' x2='440' y2='780'/%3E%3Cline x1='580' y1='210' x2='560' y2='420'/%3E%3Cline x1='60' y1='760' x2='260' y2='770'/%3E%3C/g%3E%3Cg fill='none' stroke='%23D9800C' stroke-opacity='.5' stroke-width='1.2'%3E%3Ccircle cx='60' cy='90' r='11'/%3E%3Ccircle cx='300' cy='230' r='11'/%3E%3Ccircle cx='420' cy='480' r='11'/%3E%3Ccircle cx='590' cy='560' r='11'/%3E%3C/g%3E%3Cg fill='%23D9800C' fill-opacity='.75'%3E%3Ccircle cx='60' cy='90' r='5'/%3E%3Ccircle cx='210' cy='40' r='3.5'/%3E%3Ccircle cx='380' cy='120' r='3.5'/%3E%3Ccircle cx='540' cy='60' r='3.5'/%3E%3Ccircle cx='120' cy='260' r='5'/%3E%3Ccircle cx='300' cy='230' r='3.5'/%3E%3Ccircle cx='470' cy='300' r='3.5'/%3E%3Ccircle cx='580' cy='210' r='3.5'/%3E%3Ccircle cx='80' cy='450' r='5'/%3E%3Ccircle cx='250' cy='420' r='3.5'/%3E%3Ccircle cx='420' cy='480' r='3.5'/%3E%3Ccircle cx='560' cy='420' r='3.5'/%3E%3Ccircle cx='150' cy='620' r='5'/%3E%3Ccircle cx='330' cy='600' r='3.5'/%3E%3Ccircle cx='500' cy='660' r='3.5'/%3E%3Ccircle cx='590' cy='560' r='3.5'/%3E%3Ccircle cx='60' cy='760' r='5'/%3E%3Ccircle cx='260' cy='770' r='3.5'/%3E%3Ccircle cx='440' cy='780' r='3.5'/%3E%3C/g%3E%3C/svg%3E") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.gp-criteria-wrap .wrap { position: relative; z-index: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gp-criteria-wrap { background: linear-gradient(135deg, #231D10, #2C2312); } :root:not([data-theme="light"]) .gp-criteria-wrap::before { opacity: .6; } }
:root[data-theme="dark"] .gp-criteria-wrap { background: linear-gradient(135deg, #231D10, #2C2312); }
:root[data-theme="dark"] .gp-criteria-wrap::before { opacity: .6; }
@media (max-width: 1020px) { .gp-criteria-wrap::before { width: 55%; opacity: .45; } }
/* IPM page: "Join us" helmet poster banner, shown whole on the right */
.page-hero.about-hero.ipm-hero { background-color: #F0D48C; background-size: auto 100%; background-position: right center; }
.page-hero.about-hero.ipm-hero::before { background: linear-gradient(90deg, rgba(8,19,48,.97) 0%, rgba(8,19,48,.94) 42%, rgba(8,19,48,.55) 56%, rgba(8,19,48,0) 66%); }
@media (max-width: 1100px) { .page-hero.about-hero.ipm-hero::before { background: linear-gradient(90deg, rgba(8,19,48,.96) 0%, rgba(8,19,48,.9) 55%, rgba(8,19,48,.35) 80%, rgba(8,19,48,.1) 100%); } }
@media (max-width: 760px) { .page-hero.about-hero.ipm-hero { background-size: cover; background-position: center top; }
  .page-hero.about-hero.ipm-hero::before { background: linear-gradient(0deg, rgba(8,19,48,.96) 0%, rgba(8,19,48,.85) 60%, rgba(8,19,48,.55) 100%); } }
@media (min-width: 1101px) { .page-hero.about-hero.ipm-hero h1 { font-size: clamp(2.2rem, 3.4vw, 3.1rem); max-width: 15ch; } .page-hero.about-hero.ipm-hero .lede { max-width: 40ch; } }
@media (min-width: 761px) and (max-width: 1100px) {
  .page-hero.about-hero.ipm-hero::before { background: linear-gradient(90deg, rgba(8,19,48,.97) 0%, rgba(8,19,48,.95) 48%, rgba(8,19,48,.55) 60%, rgba(8,19,48,0) 72%); }
  .page-hero.about-hero.ipm-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); max-width: 13ch; }
  .page-hero.about-hero.ipm-hero .lede { max-width: 34ch; font-size: 1rem; } }
@media (max-width: 760px) { .page-hero.about-hero.ipm-hero::before { background: linear-gradient(0deg, rgba(8,19,48,.97) 0%, rgba(8,19,48,.92) 65%, rgba(8,19,48,.78) 100%); } }
/* About: founder welcome letter salutation and closing line */
.welcome-salute { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.welcome-invite { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--accent); }
/* Escrosave (coming soon) */
.page-hero.es-hero { background: radial-gradient(ellipse at 80% 30%, rgba(243,154,30,.22), transparent 55%), var(--navy-900); }
.es-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.es-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.es-card { display: grid; gap: 10px; align-content: start; padding: 26px 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
a.es-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.es-card.soon { border-style: dashed; }
.es-card p { color: var(--muted); }
.es-tag { justify-self: start; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(243,154,30,.14); color: var(--accent); }
.es-tag.live { background: rgba(31,138,91,.14); color: var(--ok); }
@media (max-width: 900px) { .es-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .es-cards { grid-template-columns: 1fr; } }
.es-callout { display: inline-flex; align-items: center; gap: 12px; justify-self: start; margin-top: 4px; padding: 12px 18px 12px 12px; border-radius: 14px; background: rgba(243,154,30,.12); border: 1px solid rgba(243,154,30,.4); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.es-callout span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: var(--navy-900); flex: 0 0 auto; }
.es-callout svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
#es-waitlist { background: var(--gold-bg); scroll-margin-top: 80px; }
html { scroll-behavior: smooth; }
/* QA fixes: small-screen fit */
@media (max-width: 860px) { .faq-group { grid-template-columns: minmax(0, 1fr); } .faq-side h2 { overflow-wrap: anywhere; } }
@media (max-width: 560px) { .plan-compare { min-width: 0; } .plan-compare th, .plan-compare td { padding: 11px 10px; font-size: .88rem; } .plan-compare thead small { font-size: .72rem; } }
.faq-group > *, .qa { min-width: 0; }
.qa p, .qa h3 { overflow-wrap: anywhere; }
@media (max-width: 480px) { .qa { padding: 18px 16px; } .qa p { padding-left: 0; } }
/* Escrosave hero: animated card */
.es-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; column-gap: clamp(28px, 5vw, 72px); }
.es-hero-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.es-card-stage { position: relative; perspective: 1400px; padding: 30px 0 40px; }
.es-card3d { position: relative; width: 100%; max-width: 520px; margin-left: auto; aspect-ratio: 960 / 606; border-radius: 4.2% / 6.6%; overflow: hidden;
  transform-style: preserve-3d; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(243,154,30,.25);
  animation: esFloat 7s ease-in-out infinite, esIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
.es-card3d img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.012); }
.es-card-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 45%, rgba(255,255,255,.06) 52%, transparent 60%);
  background-size: 250% 100%; mix-blend-mode: screen; animation: esShine 5.5s ease-in-out infinite 1.2s; pointer-events: none; }
.es-card-nfc { position: absolute; left: 21.6%; top: 37.6%; width: 6%; height: 10%; pointer-events: none; }
.es-card-nfc i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(243,154,30,.9); opacity: 0; transform: scale(.4); animation: esNfc 2.4s ease-out infinite; }
.es-card-nfc i:nth-child(2) { animation-delay: .4s; } .es-card-nfc i:nth-child(3) { animation-delay: .8s; }
.es-card-glow { position: absolute; right: 6%; top: 18%; width: 70%; height: 60%; background: radial-gradient(closest-side, rgba(243,154,30,.38), transparent); filter: blur(20px); animation: esGlow 7s ease-in-out infinite; }
.es-card-shadow { width: 70%; max-width: 380px; height: 22px; margin: 26px 0 0 auto; margin-right: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.5), transparent); animation: esShadow 7s ease-in-out infinite; }
@keyframes esFloat { 0%,100% { transform: rotateY(-14deg) rotateX(8deg) translateY(0) rotateZ(-2deg); } 50% { transform: rotateY(-4deg) rotateX(3deg) translateY(-16px) rotateZ(1deg); } }
@keyframes esIn { from { opacity: 0; translate: 60px 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes esShine { 0%, 15% { background-position: 150% 0; } 55%, 100% { background-position: -60% 0; } }
@keyframes esNfc { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: .9; } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes esGlow { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes esShadow { 0%,100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.82); opacity: .55; } }
.es-card-stage:hover .es-card3d { animation-play-state: paused; }
@media (max-width: 900px) { .es-hero-grid { grid-template-columns: minmax(0, 1fr); } .es-card-stage { padding: 6px 0 10px; } .es-card3d { margin: 0 auto; max-width: 420px; } .es-card-shadow { margin: 18px auto 0; } }
@media (prefers-reduced-motion: reduce) { .es-card3d, .es-card-shine, .es-card-nfc i, .es-card-glow, .es-card-shadow { animation: none; } }
@media (max-width: 900px) { .es-card3d { max-width: min(420px, 88%); } }
.es-hero .wrap { z-index: 1; } .es-card-stage { z-index: 2; }
/* BuildTrack Assistant (home page) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bt-assist { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: calc(clamp(14px, 2.5vw, 28px) + 74px); z-index: 950; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bt-assist-fab { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 6px; height: 54px; border-radius: 999px; border: 0; cursor: pointer; background: var(--navy-900); color: #fff; font: 700 .92rem var(--font-body);
  box-shadow: 0 10px 28px rgba(11,26,58,.35), 0 0 0 2px var(--orange); transition: transform .2s; }
.bt-assist-fab:hover { transform: translateY(-2px); }
.bt-assist-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy-900); }
.bt-assist-ic svg { width: 22px; height: 22px; }
.bt-assist.is-open .bt-assist-fab-label { display: none; }
.bt-assist.is-open .bt-assist-fab { padding: 0 6px; }
.bt-assist-panel { order: -1; width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100vh - 190px)); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11,26,58,.35); animation: btAssistIn .25s ease-out; }
.bt-assist-panel[hidden] { display: none; }
@keyframes btAssistIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.bt-assist-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy-900); color: #fff; }
.bt-assist-head img { width: 34px; height: 34px; object-fit: contain; }
.bt-assist-head div { display: grid; flex: 1; min-width: 0; }
.bt-assist-head strong { font-family: var(--font-display); font-size: 1.02rem; }
.bt-assist-head span { font-size: .76rem; color: var(--on-navy-muted); }
.bt-assist-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.bt-assist-close svg { width: 16px; height: 16px; }
.bt-assist-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.bt-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; }
.bt-msg.bot { align-self: flex-start; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bt-msg.user { align-self: flex-end; background: var(--navy-800); color: #fff; border-bottom-right-radius: 4px; }
.bt-msg-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.bt-msg-links a { color: var(--accent); font-weight: 600; font-size: .86rem; text-decoration: none; }
.bt-msg-links a:hover { text-decoration: underline; }
.bt-msg.typing { display: flex; gap: 4px; padding: 14px; }
.bt-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: btDot 1s infinite; }
.bt-msg.typing span:nth-child(2) { animation-delay: .15s; } .bt-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes btDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.bt-assist-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 2px; background: var(--surface); scrollbar-width: none; }
.bt-assist-chips::-webkit-scrollbar { display: none; }
.bt-chip { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 600 .78rem var(--font-body); cursor: pointer; white-space: nowrap; }
.bt-chip:hover { border-color: var(--orange); color: var(--accent); }
.bt-assist-form { display: flex; gap: 8px; padding: 10px 12px; background: var(--surface); }
.bt-assist-form input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .92rem; }
.bt-assist-form input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.bt-assist-form button { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; border: 0; background: var(--orange); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.bt-assist-form button svg { width: 18px; height: 18px; }
.bt-assist-note { margin: 0; padding: 0 14px 10px; background: var(--surface); font-size: .7rem; color: var(--muted); }
@media (max-width: 560px) { .bt-assist-fab-label { display: none; } .bt-assist-fab { padding: 0 6px; } .bt-assist { bottom: calc(14px + 70px); } .bt-assist-panel { height: min(520px, calc(100vh - 170px)); } }
@media (prefers-reduced-motion: reduce) { .bt-assist-panel, .bt-msg.typing span { animation: none; } }
html[data-page]:not([data-page="index"]) .bt-assist { display: none; }
