/* Tradellen cinematic marketing refresh.
   Intentionally scoped to #homepage so the product and backend UI stay untouched. */
#homepage {
  --a-ink: #101114;
  --a-paper: #f5f5f2;
  --a-white: #ffffff;
  --a-muted: #65676d;
  --a-line: rgba(16,17,20,.1);
  --a-amber: #1bd4a8;
  --a-amber-soft: #67f0cd;
  --a-dark: #071a27;
  --a-spring: cubic-bezier(.16,1,.3,1);
  background: var(--a-paper);
  color: var(--a-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

#homepage .legacy-process { display: none; }
#homepage :where(a,button) { touch-action: manipulation; }
#homepage :where(a,button,input,select):focus-visible { outline: 3px solid rgba(27,212,168,.7); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 10000; top: 8px; left: 8px; padding: 11px 15px; border-radius: 10px; color: #111; background: #fff; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

/* Floating navigation */
#homepage .nav {
  top: 14px;
  left: 50%;
  right: auto;
  width: min(1120px, calc(100% - 28px));
  padding: 0;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(20,20,22,.72);
  box-shadow: 0 18px 60px rgba(0,0,0,.16);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
}
#homepage .nav.scrolled { background: rgba(20,20,22,.88); box-shadow: 0 16px 50px rgba(0,0,0,.2); }
#homepage .nav-inner { height: 60px; max-width: none; padding: 0 10px 0 16px; }
#homepage .nav-logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg,#27E3B4,#12B894); }
#homepage .nav-logo-mark svg { width: 15px; height: 15px; }
#homepage .nav-logo-text { font-size: 13px; font-weight: 650; letter-spacing: .13em; }
#homepage .nav-links { gap: 8px; }
#homepage .nav-links > a:not(.nav-cta):not(.nav-signin) { padding: 10px 11px; color: rgba(255,255,255,.62); font-size: 12px; }
#homepage .nav-links > a:not(.nav-cta):not(.nav-signin):hover { color: #fff; }
#homepage .nav-signin,
#homepage .nav-cta { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 11px; font-size: 12px; }
#homepage .nav-signin { border: 0 !important; background: transparent; }
#homepage .nav-cta { background: #fff; color: #111 !important; }
#homepage .nav-cta:hover { background: #f2f2ef !important; transform: scale(.98) !important; }

/* Full-bleed cinematic hero */
#homepage .hero {
  min-height: 100svh;
  padding: 130px 5vw 72px;
  background:
    radial-gradient(circle at 72% 31%, rgba(27,212,168,.14), transparent 28%),
    radial-gradient(circle at 25% 75%, rgba(127,112,81,.12), transparent 30%),
    linear-gradient(145deg, #0b0c0e 0%, #151518 58%, #0b0c0e 100%);
  isolation: isolate;
}
#homepage .hero::before {
  display: block;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
#homepage .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14vw;
  bottom: -32vw;
  width: 72vw;
  height: 72vw;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(255,255,255,.012), 0 0 0 16vw rgba(255,255,255,.008);
}
#homepage .hero-inner { max-width: 1320px; grid-template-columns: .92fr 1.08fr; gap: clamp(48px,7vw,112px); }
#homepage .hero-badge { margin-bottom: 32px; border: 0; padding: 0; background: transparent; }
#homepage .hero-badge span { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .12em; }
#homepage .hero-badge::before { content: ""; width: 22px; height: 1px; margin-right: 10px; background: var(--a-amber-soft); }
#homepage .hero-h1 { max-width: 730px; margin-bottom: 28px; font-size: clamp(54px,6.3vw,96px); font-weight: 630; line-height: .94; letter-spacing: -.065em; text-wrap: balance; }
#homepage .hero-h1 em { color: var(--a-amber-soft); font-weight: inherit; }
#homepage .hero-sub { max-width: 610px; margin-bottom: 36px; color: rgba(255,255,255,.6); font-size: clamp(17px,1.45vw,21px); line-height: 1.55; letter-spacing: -.01em; }
#homepage .hero-btns { gap: 10px; }
#homepage .btn-primary,
#homepage .btn-ghost { min-height: 54px; border-radius: 14px; padding: 0 22px; font-size: 14px; font-weight: 620; transition: transform .22s var(--a-spring), background .22s ease, box-shadow .22s ease; }
#homepage .btn-primary { background: #fff; color: #111; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
#homepage .btn-primary:hover { background: #f4f4f1; transform: translateY(-2px) scale(1.015); box-shadow: 0 20px 44px rgba(0,0,0,.3); }
#homepage .btn-ghost { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.055); }
#homepage .btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
#homepage .hero-trust { gap: 18px; margin-top: 32px; }
#homepage .hero-trust-item { color: rgba(255,255,255,.38); font-size: 11px; }
#homepage .hero-trust-item svg { color: var(--a-amber-soft); }

/* Hero product object */
#homepage .ops-brief {
  position: relative;
  color: #eef0ec;
  background: linear-gradient(155deg, rgba(48,49,51,.93), rgba(23,24,26,.97));
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  box-shadow: 0 70px 140px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
  transform: perspective(1200px) rotateY(-5deg) rotateX(1deg);
  transition: transform .7s var(--a-spring);
}
#homepage .ops-brief:hover { transform: perspective(1200px) rotateY(-1deg) translateY(-6px); }
#homepage .ops-brief::before { content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit; background: linear-gradient(125deg, rgba(255,255,255,.16), transparent 26%, transparent 70%, rgba(27,212,168,.07)); opacity: .7; }
#homepage .ops-brief-head { padding: 22px 24px; border-color: rgba(255,255,255,.08); background: transparent; }
#homepage .ops-kicker { color: rgba(255,255,255,.36); }
#homepage .ops-brief-head strong { color: #fff; }
#homepage .ops-live { color: #d6e6d8; }
#homepage .ops-live i { background: #78ca8d; box-shadow: 0 0 0 5px rgba(120,202,141,.1); }
#homepage .ops-context { padding: 15px 24px; background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.07); }
#homepage .ops-context span,
#homepage .ops-customer span { color: rgba(255,255,255,.34); }
#homepage .ops-context strong { color: rgba(255,255,255,.78); }
#homepage .ops-case { padding: 28px 24px 20px; background: transparent; }
#homepage .ops-case-top { color: rgba(255,255,255,.34); }
#homepage .ops-case h3 { color: #fff; font-size: 22px; letter-spacing: -.02em; }
#homepage .ops-case p { color: rgba(255,255,255,.48); }
#homepage .ops-customer { border-color: var(--a-amber-soft); }
#homepage .ops-customer strong { color: #fff; }
#homepage .ops-customer small { color: rgba(255,255,255,.35); }
#homepage .ops-flow { padding: 0 24px 20px; background: transparent; }
#homepage .ops-flow li { border-color: rgba(255,255,255,.07); }
#homepage .ops-flow strong { color: rgba(255,255,255,.88); }
#homepage .ops-flow small { color: rgba(255,255,255,.35); }
#homepage .ops-flow li > span { border-color: rgba(255,255,255,.2); background: transparent; }
#homepage .ops-flow li.complete > span { background: #77a789; border-color: #77a789; }
#homepage .ops-flow li.current > span { background: var(--a-amber-soft); border-color: var(--a-amber-soft); box-shadow: 0 0 0 6px rgba(27,212,168,.1); }
#homepage .ops-foot { padding: 18px 24px; background: rgba(0,0,0,.2); border-top: 1px solid rgba(255,255,255,.07); }

/* Minimal proof and metrics */
#homepage .proof-bar { padding: 18px 5%; background: #0b0c0e; border: 0; }
#homepage .proof-inner { max-width: 1220px; gap: 4px 24px; }
#homepage .proof-label { color: rgba(255,255,255,.28); }
#homepage .proof-item { padding: 5px 7px; color: rgba(255,255,255,.5); background: none; border: 0; font-weight: 520; }
#homepage .stats-section { padding: clamp(90px,11vw,160px) 5%; background: var(--a-paper); }
#homepage .stats-inner { max-width: 1200px; gap: 0; border-top: 1px solid var(--a-line); border-bottom: 1px solid var(--a-line); }
#homepage .stat-card { padding: 56px 34px; background: transparent; border-right: 1px solid var(--a-line); border-radius: 0 !important; }
#homepage .stat-card:last-child { border: 0; }
#homepage .stat-num { font-size: clamp(48px,5vw,72px); font-weight: 580; letter-spacing: -.055em; }
#homepage .stat-num.orange,
#homepage .stat-num .orange { color: var(--a-ink); }
#homepage .stat-num [style*="var(--teal)"] { color: var(--a-ink) !important; }
#homepage .stat-label { max-width: 240px; margin: 14px auto 0; color: var(--a-muted); font-size: 13px; line-height: 1.5; }

/* Scroll-linked product story */
#homepage .scroll-story { position: relative; padding: 150px max(5vw,24px); color: #fff; background: #090a0c; overflow: clip; }
#homepage .scroll-story::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 38%, rgba(27,212,168,.11), transparent 27%), radial-gradient(circle at 18% 72%, rgba(10,132,255,.07), transparent 28%); pointer-events: none; }
#homepage .story-intro { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto 40px; }
#homepage .story-intro .section-eyebrow { color: var(--a-amber-soft); }
#homepage .story-intro h2 { max-width: 900px; margin: 18px 0 30px; font-size: clamp(58px,8vw,122px); font-weight: 610; line-height: .92; letter-spacing: -.07em; }
#homepage .story-intro > p { max-width: 590px; color: rgba(255,255,255,.48); font-size: 18px; line-height: 1.65; }
#homepage .story-shell { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(48px,8vw,130px); max-width: 1180px; margin: 20px auto 0; }
#homepage .story-copy { position: relative; z-index: 2; }
#homepage .story-chapter { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; opacity: .2; transform: translateY(26px); transition: opacity .55s ease, transform .7s var(--a-spring); }
#homepage .story-chapter.is-active { opacity: 1; transform: none; }
#homepage .story-chapter > span { color: var(--a-amber-soft); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
#homepage .story-chapter h3 { max-width: 430px; margin: 20px 0 22px; color: #fff; font-size: clamp(38px,4vw,60px); font-weight: 590; line-height: 1.04; letter-spacing: -.05em; }
#homepage .story-chapter p { max-width: 430px; color: rgba(255,255,255,.48); font-size: 17px; line-height: 1.65; }
#homepage .story-visual-wrap { position: relative; }
#homepage .story-visual-wrap { height: 100%; }
#homepage .story-glow { position: sticky; top: 16vh; width: 100%; height: 68vh; background: radial-gradient(circle, rgba(27,212,168,.12), transparent 64%); filter: blur(24px); }
#homepage .story-device { position: sticky; top: 14vh; z-index: 2; width: 100%; height: min(68vh,680px); min-height: 520px; margin-top: calc(-68vh); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 34px; background: linear-gradient(145deg, #191a1e, #101114); box-shadow: 0 55px 120px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.1); }
#homepage .device-top { position: relative; z-index: 5; height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
#homepage .device-brand { color: rgba(255,255,255,.8); font-size: 11px; font-weight: 680; letter-spacing: .12em; }
#homepage .device-brand span { color: var(--a-amber-soft); }
#homepage .device-status { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.42); font-size: 10px; }
#homepage .device-status i { width: 6px; height: 6px; border-radius: 50%; background: #75c38a; box-shadow: 0 0 0 5px rgba(117,195,138,.09); }
#homepage .device-scene { position: absolute; inset: 66px 0 0; display: flex; flex-direction: column; padding: clamp(34px,5vw,72px); opacity: 0; transform: translateY(34px) scale(.97); pointer-events: none; transition: opacity .45s ease, transform .7s var(--a-spring); }
#homepage .device-scene.is-active { opacity: 1; transform: none; }
#homepage .scene-kicker { margin-bottom: 20px; color: rgba(255,255,255,.34); font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
#homepage .device-scene h4 { color: #fff; font-size: clamp(28px,3.2vw,46px); font-weight: 580; line-height: 1.04; letter-spacing: -.045em; }
#homepage .device-scene > p { margin-top: 12px; color: rgba(255,255,255,.47); font-size: 14px; line-height: 1.6; }
/* grid-auto-flow:column keeps the three voice bars side by side as a waveform — default
   row flow stacked them into one vertical line bleeding through the orb */
#homepage .call-orb { position: relative; width: 150px; height: 150px; display: grid; grid-auto-flow: column; place-items: center; justify-content: center; margin: 5% auto 9%; border: 1px solid rgba(27,212,168,.28); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #67f0cd, #0d8d70 70%); box-shadow: 0 0 70px rgba(27,212,168,.22); }
#homepage .call-orb::before,
#homepage .call-orb::after { content: ""; position: absolute; inset: -22px; border: 1px solid rgba(27,212,168,.14); border-radius: 50%; animation: ariaPulse 2.8s ease-out infinite; }
#homepage .call-orb::after { inset: -48px; animation-delay: .7s; }
#homepage .call-orb span,
#homepage .call-orb i,
#homepage .call-orb b { width: 5px; height: 36px; margin: 0 5px; display: inline-block; border-radius: 5px; background: rgba(20,15,7,.66); transform-origin: center; animation: voiceWave 1.1s ease-in-out infinite alternate; }
#homepage .call-orb i { height: 58px; animation-delay: -.3s; }
#homepage .call-orb b { height: 28px; animation-delay: -.6s; }
#homepage .scene-call h4,
#homepage .scene-call > p { text-align: center; }
#homepage .scene-pill { align-self: center; margin-top: 20px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; color: rgba(255,255,255,.5); background: rgba(255,255,255,.035); font-size: 10px; }
#homepage .record-customer { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.045); }
#homepage .record-customer > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #1c170d; background: var(--a-amber-soft); font-size: 12px; font-weight: 700; }
#homepage .record-customer div { flex: 1; }
#homepage .record-customer b,
#homepage .record-customer small { display: block; }
#homepage .record-customer b { font-size: 14px; }
#homepage .record-customer small { margin-top: 4px; color: rgba(255,255,255,.36); font-size: 10px; }
#homepage .record-customer em { padding: 6px 9px; border-radius: 999px; color: #b9ffeb; background: rgba(27,212,168,.13); font-size: 9px; font-style: normal; }
#homepage .record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
#homepage .record-grid > div { padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.025); }
#homepage .record-grid span,
#homepage .record-grid b { display: block; }
#homepage .record-grid span { color: rgba(255,255,255,.32); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
#homepage .record-grid b { margin-top: 9px; color: rgba(255,255,255,.8); font-size: 15px; font-weight: 560; }
#homepage .mini-map { position: relative; height: 250px; margin-top: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; background: #1c1d20; }
#homepage .mini-map::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 38px 38px; }
#homepage .mini-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#homepage .mini-map path { fill: none; stroke: var(--a-amber-soft); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 9; opacity: .7; }
#homepage .map-home,
#homepage .map-tech { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; }
#homepage .map-home { right: 12%; top: 15%; width: 13px; height: 13px; border: 3px solid var(--a-amber-soft); box-shadow: 0 0 0 7px rgba(27,212,168,.1); }
#homepage .map-tech { left: 12%; bottom: 14%; width: 38px; height: 38px; color: #111; background: var(--a-amber-soft); font-size: 10px; font-weight: 700; box-shadow: 0 8px 28px rgba(0,0,0,.4); }
/* Street lines so the mini-map reads as an actual map (the route + home + tech pins sit on it),
   instead of two markers floating on an empty box. */
#homepage .map-road { position: absolute; z-index: 1; background: rgba(255,255,255,.09); border-radius: 4px; }
#homepage .map-road.road-one { left: -12%; right: -12%; top: 34%; height: 12px; transform: rotate(-10deg); }
#homepage .map-road.road-two { top: -12%; bottom: -12%; left: 44%; width: 10px; transform: rotate(8deg); }
#homepage .mini-map::after { content: ""; position: absolute; z-index: 1; left: -12%; right: -12%; bottom: 22%; height: 7px; background: rgba(255,255,255,.06); border-radius: 4px; transform: rotate(-10deg); }
#homepage .dispatch-row,
#homepage .revenue-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; color: rgba(255,255,255,.55); font-size: 11px; }
#homepage .dispatch-row b { color: var(--a-amber-soft); }
#homepage .scene-revenue h4 { margin-top: 6%; font-size: clamp(68px,8vw,112px); }
#homepage .revenue-bars { height: 180px; display: flex; align-items: flex-end; gap: 9px; margin-top: 38px; }
#homepage .revenue-bars i { flex: 1; height: var(--bar); border-radius: 8px 8px 2px 2px; background: linear-gradient(to top, #0a6f59, var(--a-amber-soft)); transform-origin: bottom; animation: barGrow .9s var(--a-spring) both; }
#homepage .revenue-foot { margin-top: 18px; }
#homepage .revenue-foot b { color: #8fd19d; }

/* The rest of the page: editorial, spacious, tactile */
#homepage .section { padding: clamp(100px,11vw,160px) 5%; }
#homepage .section-inner { max-width: 1200px; }
#homepage .section-eyebrow { color: #0eae89; font-size: 10px; letter-spacing: .15em; }
#homepage .section-h2 { max-width: 900px; font-size: clamp(48px,6vw,84px); font-weight: 590; line-height: .98; letter-spacing: -.06em; }
#homepage .section-sub { max-width: 760px; color: var(--a-muted); font-size: 17px; line-height: 1.7; }
#homepage #about { background: #ecece8 !important; }
#homepage #about .section-inner > div[style*="background:var(--canvas2)"] { margin-top: 70px !important; padding: clamp(24px,4vw,52px) !important; border-color: var(--a-line) !important; border-radius: 28px !important; background: rgba(255,255,255,.58) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
#homepage #about .section-inner > div [style*="background:var(--canvas)"] { border-color: var(--a-line) !important; border-radius: 20px !important; background: rgba(255,255,255,.55) !important; }
#homepage #features { background: var(--a-paper); }
#homepage .feat-showcase { gap: 16px; margin-top: 64px; }
#homepage .show-card { overflow: hidden; border: 1px solid var(--a-line); border-radius: 24px; background: rgba(255,255,255,.7); box-shadow: 0 2px 0 rgba(255,255,255,.8) inset; transition: transform .5s var(--a-spring), box-shadow .5s var(--a-spring); }
#homepage .show-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(30,30,28,.1); }
#homepage .show-stage { min-height: 270px; background: #16171a; }
#homepage .show-body { padding: 30px; }
#homepage .show-eyebrow { color: #0eae89; font-size: 10px; letter-spacing: .12em; }
#homepage .show-h3 { margin-top: 9px; font-size: 24px; font-weight: 610; letter-spacing: -.03em; }
#homepage .show-p { color: var(--a-muted); font-size: 14px; line-height: 1.65; }
#homepage .feat-grid-label { margin-top: 100px; color: var(--a-muted); }
#homepage .features-grid { gap: 1px; overflow: hidden; border: 1px solid var(--a-line); border-radius: 24px; background: var(--a-line); }
#homepage .feat-card { padding: 32px; border: 0; border-radius: 0; background: #fff; }
#homepage .feat-icon { width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(27,212,168,.2); border-radius:14px; background:rgba(27,212,168,.09); }
#homepage .feat-icon svg { stroke: #0eae89; }
#homepage .feat-h3 { font-size: 16px; }
#homepage .feat-p { color: var(--a-muted); line-height: 1.6; }
#homepage .integrations-strip { margin-top: 28px; min-height:176px; padding:32px!important; justify-content:center; box-sizing:border-box; border-color: var(--a-line); border-radius: 18px; background: rgba(255,255,255,.6); }
#homepage .integrations-strip .int-label,
#homepage .integrations-strip .int-logos { width:100%; margin:0; justify-content:center; text-align:center; }
#homepage .nav-links a { white-space:nowrap; }
#homepage .testi-section { padding: clamp(100px,11vw,160px) 5%; background: #0b0c0e; }
#homepage .testi-section .section-h2 { color: #fff; }
#homepage .testi-grid { gap: 12px; margin-top: 56px; }
#homepage .testi-card { min-height: 260px; padding: 30px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(255,255,255,.04); }
#homepage .testi-card:hover { transform: translateY(-5px); border-color: rgba(27,212,168,.24); background: rgba(255,255,255,.055); }
#homepage .testi-quote { color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.55; }
#homepage .testi-avatar { border-radius: 50%; background: var(--a-amber-soft) !important; color: #111; }
#homepage .testi-name { color: #fff; }
#homepage .pricing-section { padding: clamp(110px,11vw,160px) 5%; background: #ecece8; }
#homepage .pricing-grid { align-items: stretch; gap: 14px; margin-top: 64px; }
#homepage .price-card { padding: 36px; border: 1px solid var(--a-line); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; }
#homepage .price-card.featured { transform: none; border-color: #17181a; border-radius: 24px; background: #17181a; box-shadow: 0 24px 60px rgba(0,0,0,.15); }
#homepage .price-card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(0,0,0,.1); }
#homepage .price-card.featured:hover { transform: translateY(-6px); }
#homepage .price-badge { border-radius: 999px; background: var(--a-amber-soft); }
#homepage .price-btn { min-height: 48px; display: grid; place-items: center; border-radius: 13px; }
#homepage .form-section { padding: clamp(100px,11vw,160px) 5%; background: #0b0c0e; }
#homepage .form-section .section-h2 { max-width: 800px !important; }
#homepage .form-card { max-width: 660px; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #f6f6f3; box-shadow: 0 40px 90px rgba(0,0,0,.4); }
#homepage .form-input { min-height: 48px; border-color: rgba(16,17,20,.12); border-radius: 12px; background: #fff; }
#homepage .form-submit { min-height: 52px; border-radius: 13px; background: #16171a; }
#homepage .footer { padding: 36px 5%; border-top: 1px solid rgba(255,255,255,.08); background: #0b0c0e; }
#homepage .footer-logo-mark { border-radius: 9px; background: linear-gradient(135deg,#27E3B4,#12B894); }

@keyframes ariaPulse { 0% { opacity: .65; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.16); } }
@keyframes voiceWave { to { transform: scaleY(.45); } }
@keyframes barGrow { from { transform: scaleY(0); } }

@media (max-width: 980px) {
  #homepage .hero { min-height: auto; padding-top: 126px; }
  #homepage .hero-inner { grid-template-columns: 1fr; }
  #homepage .hero-h1 { max-width: 820px; }
  #homepage .ops-brief { max-width: 700px; margin: 20px auto 0; transform: none; }
  #homepage .story-shell { grid-template-columns: .8fr 1.2fr; gap: 38px; }
  #homepage .story-device { min-height: 470px; }
}

@media (max-width: 760px) {
  #homepage .nav { top: 8px; width: calc(100% - 16px); border-radius: 16px; }
  #homepage .nav-inner { height: 56px; padding-left: 12px; }
  #homepage .nav-logo-text { font-size: 11px; }
  #homepage .nav-signin { display: none; }
  #homepage .nav-cta { min-height: 38px; padding: 0 13px; }
  #homepage .hero { padding: 110px 22px 70px; }
  #homepage .hero-h1 { font-size: clamp(50px,15vw,70px); }
  #homepage .hero-btns { flex-direction: column; }
  #homepage .btn-primary,
  #homepage .btn-ghost { justify-content: center; width: 100%; }
  #homepage .ops-brief { border-radius: 22px; }
  #homepage .proof-inner { justify-content: flex-start; }
  #homepage .stats-inner { grid-template-columns: 1fr; }
  #homepage .stat-card { border-right: 0; border-bottom: 1px solid var(--a-line); }
  #homepage .scroll-story { padding: 110px 22px; }
  #homepage .story-intro h2 { font-size: clamp(56px,17vw,86px); }
  #homepage .story-shell { display: flex; flex-direction: column; gap: 0; }
  #homepage .story-copy { order: 2; }
  #homepage .story-chapter { min-height: 62vh; padding: 100px 0 38px; }
  #homepage .story-visual-wrap { order: 1; position: sticky; top: 78px; z-index: 3; height: auto; }
  #homepage .story-glow { display: none; }
  #homepage .story-device { position: relative; top: auto; height: 500px; min-height: 0; margin: 0; border-radius: 24px; }
  #homepage .device-scene { padding: 30px 24px; }
  #homepage .call-orb { width: 116px; height: 116px; margin-top: 6%; }
  #homepage .mini-map { height: 215px; }
  #homepage .scene-revenue h4 { font-size: 70px; }
  #homepage .section { padding: 100px 22px; }
  #homepage .section-h2 { font-size: clamp(44px,13vw,64px); }
  #homepage .feat-showcase { grid-template-columns: 1fr; }
  #homepage .features-grid { grid-template-columns: 1fr; }
  #homepage .pricing-grid { grid-template-columns: 1fr; }
  #homepage .form-card { padding: 24px 18px; }
}

/* Standard public homepage — faithful to the established Tradellen aesthetic. */
#homepage {
  --std-navy: #071a27;
  --std-navy-2: #0a2230;
  --std-teal: #1bd4a8;
  --std-orange: #ff6535;
}
#homepage .nav {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  border: 0;
  border-bottom: 1px solid rgba(27,212,168,.08);
  border-radius: 0;
  background: rgba(7,26,39,.94);
  box-shadow: none;
}
#homepage .nav.scrolled { background: rgba(7,26,39,.98); box-shadow: 0 8px 28px rgba(0,0,0,.16); }
#homepage .nav-inner { max-width: 1320px; height: 72px; padding: 0 24px; }
#homepage .nav-logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg,#27E3B4,#12B894); }
#homepage .nav-logo-text { font-size: 15px; letter-spacing: .18em; }
#homepage .nav-links { gap: 18px; }
#homepage .nav-links > a:not(.nav-cta):not(.nav-signin) { font-size: 13px; }
#homepage .nav-signin { min-height: 42px; padding: 0 18px; border: 1px solid rgba(255,255,255,.16) !important; border-radius: 9px; background: rgba(255,255,255,.06); }
#homepage .nav-cta { min-height: 42px; padding: 0 20px; border-radius: 9px; color: #071a27 !important; background: var(--std-teal); }
#homepage .nav-cta:hover { background: #24e4b5 !important; }
#homepage .hero {
  min-height: 100svh;
  padding: 120px 5vw 68px;
  background:
    radial-gradient(circle at 80% 45%, rgba(27,212,168,.055), transparent 30%),
    linear-gradient(145deg, #071925 0%, #0a2130 55%, #071925 100%);
}
#homepage .hero::before { opacity: .16; background-size: 80px 80px; }
#homepage .hero::after { display: none; }
#homepage .hero-inner { max-width: 1320px; grid-template-columns: 1.03fr .97fr; gap: clamp(54px,7vw,108px); }
#homepage .hero-badge { width: auto; margin-bottom: 34px; padding: 8px 15px; border: 1px solid rgba(27,212,168,.28); border-radius: 999px; background: rgba(27,212,168,.08); }
#homepage .hero-badge::before { display: none; }
#homepage .hero-badge .badge-dot { display: block; width: 7px; height: 7px; background: var(--std-teal); }
#homepage .hero-badge span { color: var(--std-teal); font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; }
#homepage .hero-h1 { max-width: 690px; margin-bottom: 30px; font-size: clamp(54px,5.6vw,82px); font-weight: 720; line-height: .98; letter-spacing: -.055em; }
#homepage .hero-h1 em { color: var(--std-orange); }
#homepage .hero-sub { max-width: 620px; margin-bottom: 34px; color: rgba(226,235,239,.62); font-size: clamp(17px,1.35vw,20px); line-height: 1.65; }
#homepage .btn-primary,
#homepage .btn-ghost { min-height: 54px; border-radius: 11px; font-size: 15px; }
#homepage .btn-primary { color: #071a27; background: var(--std-teal); box-shadow: 0 10px 30px rgba(27,212,168,.17); }
#homepage .btn-primary:hover { background: #24e4b5; box-shadow: 0 14px 36px rgba(27,212,168,.24); }
#homepage .btn-ghost { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
#homepage .hero-trust { margin-top: 25px; }
#homepage .hero-trust-item { color: rgba(226,235,239,.42); }
#homepage .hero-trust-item svg { color: var(--std-teal); }
#homepage .hero-policy-links { margin-top: 25px; color: rgba(226,235,239,.42); font-size: 12.5px; line-height: 1.6; }
#homepage .hero-policy-links a { color: var(--std-teal); font-weight: 650; text-underline-offset: 3px; }
#homepage .ops-brief {
  border-color: rgba(27,212,168,.25);
  border-radius: 18px;
  background: #06141e;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  transform: none;
}
#homepage .ops-brief:hover { transform: translateY(-3px); }
#homepage .ops-live,
#homepage .ops-kicker { color: var(--std-teal); }
#homepage .ops-live i,
#homepage .ops-flow li.complete > span { background: var(--std-teal); border-color: var(--std-teal); }
#homepage .ops-flow li.current > span { background: var(--std-orange); border-color: var(--std-orange); box-shadow: 0 0 0 6px rgba(255,101,53,.1); }
#homepage .ops-customer { border-color: var(--std-orange); }
#homepage .proof-bar { background: #061722; }
#homepage .story-intro .section-eyebrow,
#homepage .story-chapter > span { color: var(--std-teal); }
#homepage .story-glow { background: radial-gradient(circle, rgba(27,212,168,.12), transparent 64%); }
#homepage .section-eyebrow,
#homepage .show-eyebrow { color: #08785f; }

@media (max-width: 760px) {
  #homepage .nav { top: 0; width: 100%; border-radius: 0; }
  #homepage .nav-inner { height: 64px; padding: 0 15px; }
  #homepage .hero { padding-top: 100px; }
  #homepage .hero-h1 { font-size: clamp(48px,14vw,66px); }
}

@media (prefers-reduced-motion: reduce) {
  #homepage *, #homepage *::before, #homepage *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  #homepage .ops-brief { transform: none; }
  #homepage .story-chapter { opacity: 1; transform: none; }
}

/* Homepage alignment and typography rail pass */
#homepage .nav-logo,
#homepage .nav-links,
#homepage .hero-badge,
#homepage .hero-btns,
#homepage .hero-trust-item,
#homepage .footer-logo,
#homepage .footer-links { align-items: center; }
#homepage .nav-logo-text,
#homepage .footer-logo-text { line-height: 1; }
#homepage .nav-links a,
#homepage .btn-primary,
#homepage .btn-ghost,
#homepage .price-btn,
#homepage .form-submit { line-height: 1.2; text-align: center; }
#homepage .hero-inner > div:first-child { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
#homepage .hero-badge { min-height: 20px; align-self: flex-start; }
#homepage .hero-badge::before { flex: 0 0 22px; }
#homepage .hero-h1 { width: 100%; margin-left: 0; margin-right: 0; text-align: left; overflow-wrap: normal; }
#homepage .hero-sub { width: 100%; margin-left: 0; margin-right: 0; text-align: left; text-wrap: pretty; }
#homepage .hero-btns { width: 100%; align-items: stretch; }
#homepage .btn-primary svg { flex: 0 0 auto; }
#homepage .hero-trust { width: 100%; align-items: center; }
#homepage .hero-trust-item { min-height: 24px; line-height: 1.35; }
#homepage .ops-brief :where(h3,p,strong,small,span) { text-align: left; }

#homepage .section-inner > .section-eyebrow,
#homepage .section-inner > .section-h2,
#homepage .section-inner > .section-sub,
#homepage .story-intro > :where(.section-eyebrow,h2,p) { margin-left: 0; margin-right: 0; text-align: left; }
#homepage .section-h2,
#homepage .story-intro h2 { text-wrap: balance; }
#homepage .section-sub,
#homepage .story-intro > p,
#homepage .story-chapter p,
#homepage .show-p,
#homepage .testi-quote { text-wrap: pretty; }
#homepage #about .section-inner > .section-sub { margin-bottom: 0; }
#homepage #about .section-inner > div[style*="background:var(--canvas2)"] { text-align: left; }
#homepage #about .section-inner > div [style*="display:flex"] { align-items: center !important; }
#homepage #features .section-inner > .section-h2 { margin-bottom: 0; }
#homepage .story-chapter { align-items: flex-start; text-align: left; }
#homepage .story-chapter :where(h3,p) { width: 100%; }
#homepage .show-body { min-height: 245px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
#homepage .show-h3 { line-height: 1.16; }
#homepage .show-p { margin-top: 12px; }
#homepage .features-grid .feat-card { text-align: left; }
#homepage .feat-h3 { line-height: 1.25; }
#homepage .feat-p { margin-top: 8px; }
#homepage .testi-section .section-inner > :where(.section-eyebrow,.section-h2) { text-align: left; }
#homepage .testi-card { display: flex; flex-direction: column; text-align: left; }
#homepage .testi-author { margin-top: auto; }
#homepage .pricing-section .section-inner > :where(.section-eyebrow,.section-h2) { text-align: left; }
#homepage .pricing-grid { align-items: stretch; }
#homepage .price-card { display: flex; flex-direction: column; text-align: left; }
#homepage .price-btn { width: 100%; margin-top: auto; }
#homepage .form-section .section-inner > :where(.section-eyebrow,.section-h2,.section-sub) { text-align: center; }
#homepage .form-card { text-align: left; }
#homepage .form-label { display: block; text-align: left; }
#homepage .footer-inner { align-items: center; }
#homepage .footer-copy { text-align: center; line-height: 1.5; }
#homepage .footer-links { justify-content: flex-end; }

@media (max-width: 760px) {
  #homepage .hero-inner > div:first-child { align-items: stretch; }
  #homepage .hero-badge { align-self: flex-start; }
  #homepage .hero-h1 { font-size: clamp(48px,14vw,68px); line-height: .96; letter-spacing: -.055em; }
  #homepage .hero-sub { max-width: 34rem; }
  #homepage .hero-btns { align-items: stretch; }
  #homepage .hero-trust { display: grid; grid-template-columns: 1fr; gap: 7px; }
  #homepage .story-intro,
  #homepage .section-inner { width: 100%; }
  #homepage .show-body { min-height: 0; }
  #homepage .footer-inner,
  #homepage .footer-links { align-items: flex-start; text-align: left; }
  #homepage .footer-copy { text-align: left; }
}

/* 2026-06-23 fidelity pass: one uninterrupted Tradellen navy/teal homepage. */
#homepage {
  --std-page: #071a27;
  --std-surface: #0a2230;
  --std-surface-2: #0c2736;
  --std-line: rgba(27,212,168,.14);
  --std-text: #f5f8fa;
  --std-muted: rgba(226,235,239,.62);
  color: var(--std-text);
  background: var(--std-page);
}
#homepage .hero,
#homepage .proof-bar,
#homepage .stats-section,
#homepage .scroll-story,
#homepage .section,
#homepage #about,
#homepage #features,
#homepage .testi-section,
#homepage .pricing-section,
#homepage .form-section,
#homepage .footer {
  color: var(--std-text);
  background: var(--std-page) !important;
}
#homepage .proof-bar,
#homepage .stats-section,
#homepage .scroll-story,
#homepage .section,
#homepage .testi-section,
#homepage .pricing-section,
#homepage .form-section,
#homepage .footer { border-color: var(--std-line); }
#homepage .stats-inner { border-color: var(--std-line); }
#homepage .stat-card { border-color: var(--std-line); background: var(--std-surface); }
#homepage .stat-num,
#homepage .stat-num.orange,
#homepage .stat-num .orange,
#homepage .stat-num [style*="var(--teal)"],
#homepage .section-h2,
#homepage .show-h3,
#homepage .feat-h3,
#homepage .price-setup { color: var(--std-text) !important; }
#homepage .stat-label,
#homepage .section-sub,
#homepage .show-p,
#homepage .feat-p,
#homepage .feat-grid-label { color: var(--std-muted); }
#homepage .section-eyebrow,
#homepage .show-eyebrow { color: var(--std-teal); }
#homepage #about .section-inner > div[style*="background:var(--canvas2)"],
#homepage #about .section-inner > div [style*="background:var(--canvas)"],
#homepage .show-card,
#homepage .feat-card,
#homepage .integrations-strip,
#homepage .price-card,
#homepage .form-card {
  color: var(--std-text);
  border-color: var(--std-line) !important;
  background: var(--std-surface) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
#homepage #about :where(h2,h3,b,strong),
#homepage .price-card :where(.price-name,.price-setup,.price-monthly),
#homepage .form-card :where(h2,h3,label) { color: var(--std-text) !important; }
#homepage #about :where(p,span),
#homepage .price-card :where(p,li,.price-tier),
#homepage .form-card :where(p,.form-label) { color: var(--std-muted) !important; }
#homepage .features-grid { border-color: var(--std-line); background: var(--std-line); }
#homepage .feat-icon { width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(27,212,168,.2); border-radius:14px; background:rgba(27,212,168,.09); }
#homepage .feat-icon svg { stroke: var(--std-teal); }
#homepage .price-card.featured { border-color: var(--std-teal) !important; background: #06141e !important; }
#homepage .form-input { color: var(--std-text); border-color: var(--std-line); background: #06141e; }
#homepage .form-input::placeholder { color: rgba(226,235,239,.38); }
#homepage .form-submit { color: #071a27; background: var(--std-teal); }
#homepage .footer-logo-mark { background: linear-gradient(135deg,#27E3B4,#12B894); }

/* Hero copy and the original demo-call terminal from the supplied reference. */
#homepage .hero-google-copy { max-width: 690px; margin: 24px 0 0; padding:14px 16px; border:1px solid rgba(94,240,203,.14); border-left:3px solid var(--std-teal); border-radius:12px; color:#b8c9d0; background:rgba(255,255,255,.035); font-size: 12.5px; line-height: 1.65; }
#homepage .hero-google-copy strong { color: rgba(245,248,250,.78); }
#homepage .hero-google-copy a { color: var(--std-teal); font-weight: 700; text-decoration: none; }
#homepage .hero-policy-links { margin-top: 12px; }
#homepage .terminal { width: 100%; border-color: rgba(27,212,168,.26); border-radius: 18px; background: #06141e; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
#homepage .term-bar { min-height: 50px; padding: 13px 20px; background: #0a2230; }
#homepage .term-title { color: rgba(27,212,168,.55); font-size: 11px; letter-spacing: .08em; }
#homepage .term-body { min-height: 470px; padding: 26px; }
#homepage .term-result { padding-top: 16px; }
#homepage .term-result.show { display: block; }
#homepage .term-result-summary { display: flex; gap: 8px; margin: 0 0 5px; color: rgba(245,248,250,.78); font-size: 11px; }
#homepage .term-result-summary .money { color: var(--std-text); }
#homepage .term-outcomes { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
#homepage .term-outcomes > div { min-height: 76px; padding: 14px; border: 1px solid rgba(27,212,168,.2); border-radius: 12px; background: rgba(27,212,168,.055); }
#homepage .term-outcomes strong,
#homepage .term-outcomes small { display: block; }
#homepage .term-outcomes strong { color: var(--std-text); font-family: inherit; font-size: 12px; }
#homepage .term-outcomes small { margin-top: 7px; color: rgba(226,235,239,.42); font-family: inherit; font-size: 10px; line-height: 1.35; }

/* Scroll story: stable sticky rail and topic-synchronized scene motion. */
#homepage .scroll-story { overflow: visible; padding-top: clamp(110px,10vw,150px); background: linear-gradient(180deg,#071a27 0%,#081d2a 48%,#071a27 100%) !important; }
#homepage .scroll-story::before { position: absolute; inset: 0; background: radial-gradient(circle at 72% 34%,rgba(27,212,168,.1),transparent 28%),radial-gradient(circle at 18% 72%,rgba(27,212,168,.045),transparent 30%); }
#homepage .story-intro,
#homepage .story-shell { width: min(1180px,100%); }
#homepage .story-intro { margin-bottom: 72px; }
#homepage .story-intro .section-eyebrow,
#homepage .story-chapter > span { color: var(--std-teal); }
#homepage .story-shell { grid-template-columns: minmax(320px,.88fr) minmax(480px,1.12fr); gap: clamp(56px,7vw,104px); align-items: start; }
#homepage .story-copy { min-width: 0; }
#homepage .story-chapter { min-height: 88vh; justify-content: center; opacity: .42; transform: translateY(16px); transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
#homepage .story-chapter.is-active { opacity: 1; transform: translateY(0); }
#homepage .story-chapter h3 { max-width: 460px; }
#homepage .story-chapter p { max-width: 450px; color: rgba(226,235,239,.62); }
#homepage .story-visual-wrap { position: relative; height: 100%; min-width: 0; align-self: stretch; }
#homepage .story-glow { position: absolute; inset: 8% -10% auto; width: 120%; height: 72vh; background: radial-gradient(circle,rgba(27,212,168,.14),transparent 64%); filter: blur(28px); }
#homepage .story-device { position: sticky; top: clamp(96px,13vh,140px); height: min(72vh,650px); min-height: 520px; margin: 0; border-color: rgba(27,212,168,.18); background: linear-gradient(145deg,#0c2736,#06141e); box-shadow: 0 45px 100px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.07); }
#homepage .device-brand span { color: var(--std-teal); }
#homepage .device-scene { transform: translateY(22px) scale(.985); transition: opacity .32s ease,transform .5s cubic-bezier(.22,1,.36,1); }
#homepage .device-scene.is-active { opacity: 1; transform: none; }
#homepage .call-orb { border-color: rgba(27,212,168,.32); background: radial-gradient(circle at 40% 35%,#67f0cd,#0d8d70 70%); box-shadow: 0 0 70px rgba(27,212,168,.2); }
#homepage .call-orb::before,
#homepage .call-orb::after { border-color: rgba(27,212,168,.16); }
#homepage .record-customer > span,
#homepage .map-tech { color: #071a27; background: var(--std-teal); }
#homepage .map-home { border-color: var(--std-teal); box-shadow: 0 0 0 7px rgba(27,212,168,.1); }
#homepage .mini-map path { stroke: var(--std-teal); }
#homepage .dispatch-row b,
#homepage .revenue-foot b { color: var(--std-teal); }
#homepage .revenue-bars i { background: linear-gradient(to top,#0a6f59,var(--std-teal)); animation-play-state: paused; }
#homepage .scene-revenue.is-active .revenue-bars i { animation-play-state: running; }
#homepage .scene-record.is-active .record-customer,
#homepage .scene-record.is-active .record-grid > div { animation: storyItemIn .5s cubic-bezier(.22,1,.36,1) both; }
#homepage .scene-record.is-active .record-grid > div:nth-child(2) { animation-delay: .06s; }
#homepage .scene-record.is-active .record-grid > div:nth-child(3) { animation-delay: .12s; }
#homepage .scene-record.is-active .record-grid > div:nth-child(4) { animation-delay: .18s; }
#homepage .scene-dispatch.is-active .mini-map path { stroke-dasharray: 9 9; animation: routeFlow 1.2s linear infinite; }
#homepage .scene-dispatch.is-active .map-tech { animation: techArrive .8s cubic-bezier(.22,1,.36,1) both; }
@keyframes storyItemIn { from { opacity:0; transform:translateY(14px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes routeFlow { to { stroke-dashoffset:-36; } }
@keyframes techArrive { from { opacity:0; transform:translate(-34px,28px) scale(.8); } to { opacity:1; transform:none; } }

@media (max-width: 980px) {
  #homepage .hero-inner { grid-template-columns: 1fr; }
  #homepage .terminal { max-width: 760px; margin: 10px auto 0; }
  #homepage .story-shell { grid-template-columns: minmax(280px,.82fr) minmax(390px,1.18fr); gap: 36px; }
}
@media (max-width: 760px) {
  #homepage .term-body { min-height: 430px; padding: 20px; }
  #homepage .term-outcomes { grid-template-columns: 1fr; }
  /* Mobile story = compact guided scroll: device pinned on top, short chapters scroll
     underneath. Keep the flex column (NOT display:block) so the sticky device stays
     pinned for the whole section, and keep the device ABOVE the copy in z-index so the
     read chapter scrolls behind it. (The authoritative copy of these rules lives in the
     inline <style> in index.html; kept consistent here so the two never disagree.) */
  #homepage .story-shell { display: flex; flex-direction: column; gap: 0; }
  #homepage .story-visual-wrap { order: 1; position: sticky; top: 64px; z-index: 4; height: auto; }
  #homepage .story-copy { order: 2; position: relative; z-index: 2; }
  #homepage .story-glow { display: none; }
  #homepage .story-device { position: relative; top: auto; height: clamp(248px,44vh,360px); min-height: 0; }
  #homepage .story-chapter { min-height: 38vh; padding: 22px 0 16px; }
}

/* Global homepage alignment rail — keep every section on the same grid. */
#homepage {
  --page-max: 1320px;
  --page-gutter: clamp(24px,5vw,96px);
  font-family: -apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','Helvetica Neue',Arial,sans-serif;
  text-align: left;
}
#homepage :where(a,button,input,select,textarea) { font: inherit; }
#homepage :where(h1,h2,h3,h4,p,span,strong,small,a,button,label) { text-rendering: optimizeLegibility; }
#homepage :where(h1,h2,h3,h4,p) { margin-inline: 0; }

#homepage .nav { padding-inline: var(--page-gutter); }
#homepage .nav-inner,
#homepage .hero-inner,
#homepage .proof-inner,
#homepage .stats-inner,
#homepage .section-inner,
#homepage .story-intro,
#homepage .story-shell,
#homepage .testi-section > .section-inner,
#homepage .pricing-section > .section-inner,
#homepage .form-section > .section-inner,
#homepage .footer-inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
}
#homepage .nav-inner { padding-inline: 0; }
#homepage .hero,
#homepage .proof-bar,
#homepage .stats-section,
#homepage .section,
#homepage .scroll-story,
#homepage .testi-section,
#homepage .pricing-section,
#homepage .form-section,
#homepage .footer { padding-inline: var(--page-gutter); }

/* Reliable vertical centering for every interactive text control. */
#homepage :where(.nav-signin,.nav-cta,.btn-primary,.btn-ghost,.price-btn,.form-submit) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
#homepage .nav-links,
#homepage .nav-links > a,
#homepage .nav-logo,
#homepage .hero-btns,
#homepage .hero-trust,
#homepage .hero-trust-item,
#homepage .proof-inner,
#homepage .footer-logo,
#homepage .footer-links { align-items: center; }
#homepage .nav-links > a { min-height: 44px; }
#homepage #navSigninBtn,
#homepage #navDashBtn {
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}
#homepage .nav-legal {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
#homepage .nav-legal:hover { color: var(--std-teal); }
#homepage .nav-links > a,
#homepage .nav-logo,
#homepage .proof-item,
#homepage .footer-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
#homepage .nav-signin,
#homepage .nav-cta { padding-block: 0; }
#homepage .btn-primary,
#homepage .btn-ghost { min-height: 54px; padding-block: 0; }
#homepage .btn-primary svg,
#homepage .hero-trust-item svg { display: block; flex: 0 0 auto; }

/* Consistent text blocks and baselines. */
#homepage .hero-inner > div,
#homepage .section-inner,
#homepage .story-intro,
#homepage .story-chapter,
#homepage .show-body,
#homepage .feat-card,
#homepage .testi-card,
#homepage .price-card { min-width: 0; }
#homepage .hero-h1 { line-height: .98; }
#homepage .hero-sub { line-height: 1.62; }
#homepage .hero-google-copy { line-height: 1.65; }
#homepage .hero-policy-links { line-height: 1.5; }
#homepage .section-eyebrow,
#homepage .show-eyebrow,
#homepage .process-step-num,
#homepage .scene-kicker { line-height: 1.25; }
#homepage .section-h2,
#homepage .story-intro h2,
#homepage .story-chapter h3,
#homepage .show-h3,
#homepage .feat-h3,
#homepage .price-setup { text-align: left; }
#homepage .section-h2 { line-height: 1.02; }
#homepage .section-sub,
#homepage .story-intro > p,
#homepage .story-chapter p,
#homepage .show-p,
#homepage .feat-p,
#homepage .testi-quote { line-height: 1.65; }
#homepage .show-body,
#homepage .feat-card,
#homepage .testi-card,
#homepage .price-card { align-items: flex-start; }
#homepage .show-h3,
#homepage .feat-h3,
#homepage .testi-quote,
#homepage .price-tier { width: 100%; }

/* Terminal type needs its own precise mono baseline. */
#homepage .terminal { transform: none; }
#homepage .term-bar { display: flex; align-items: center; }
#homepage .term-dot,
#homepage .term-live { flex: 0 0 auto; }
#homepage .term-title,
#homepage .term-live-txt,
#homepage .term-body { font-family: 'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace; }
#homepage .term-title,
#homepage .term-live-txt,
#homepage .term-phone-line,
#homepage .term-speaker { line-height: 1.3; }
#homepage .term-title { display: block; margin-block: 0; }
#homepage .term-status { align-items: center; }
#homepage .term-text { max-width: 100%; line-height: 1.55; overflow-wrap: anywhere; }
#homepage .term-result-summary { align-items: flex-start; line-height: 1.45; }
#homepage .term-outcomes > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; }

/* Card grids share top edges and internal rhythm. */
#homepage .stats-inner,
#homepage .feat-showcase,
#homepage .features-grid,
#homepage .testi-grid,
#homepage .pricing-grid { align-items: stretch; }
#homepage .stat-card { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; }
#homepage .stat-num,
#homepage .stat-label { width: 100%; text-align: center; }
#homepage .show-body { justify-content: flex-start; }
#homepage .show-eyebrow { margin-bottom: 0; }
#homepage .show-h3 { margin: 9px 0 0; }
#homepage .show-p { margin: 12px 0 0; }
#homepage .feat-icon { display: flex; align-items: center; justify-content: center; }
#homepage .feat-h3 { margin: 0; }
#homepage .feat-p { margin: 8px 0 0; }
#homepage .testi-author { align-items: center; }
#homepage .integrations-strip,
#homepage .int-logos,
#homepage .int-brand { align-items: center; }
#homepage .price-card { display: flex; flex-direction: column; }
#homepage .price-btn { width: 100%; margin-top: auto; }
#homepage .form-card { margin-inline: auto; }
#homepage .form-label { display: block; line-height: 1.35; }

/* Footer uses the same rail and balanced baselines as the page above it. */
#homepage .footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
#homepage .footer-logo { justify-self: start; }
#homepage .footer-copy { justify-self: center; margin: 0; text-align: center; }
#homepage .footer-links { justify-self: end; justify-content: flex-end; }

@media (max-width: 980px) {
  #homepage { --page-gutter: clamp(22px,5vw,52px); }
  #homepage .hero-inner { gap: 48px; }
}
@media (max-width: 760px) {
  #homepage { --page-gutter: 22px; }
  #homepage .nav { padding-inline: 15px; }
  #homepage .hero-btns { align-items: stretch; }
  #homepage .btn-primary,
  #homepage .btn-ghost { width: 100%; }
  #homepage .footer-inner { display: flex; flex-direction: column; align-items: flex-start; }
  #homepage .footer-logo,
  #homepage .footer-copy,
  #homepage .footer-links { justify-self: auto; text-align: left; }
}
@media (max-width: 700px) {
  #homepage .nav-legal { display: none; }
}

/* 2026 conversion pass: one navy/teal visual system, stronger contrast, deeper product story. */
#homepage { --a-amber:var(--std-teal); --a-amber-soft:#67f0cd; --a-dark:var(--std-navy); }
#homepage :where(a,button,input,select):focus-visible { outline-color:rgba(27,212,168,.72); }
#homepage .scroll-story { color:var(--std-text); background:linear-gradient(180deg,#071a27 0%,#0a2230 52%,#071a27 100%)!important; }
#homepage .scroll-story::before { background:radial-gradient(circle at 72% 24%,rgba(27,212,168,.13),transparent 28%),radial-gradient(circle at 14% 74%,rgba(10,132,255,.08),transparent 29%)!important; }
#homepage .story-intro > p { color:rgba(238,245,248,.76); }
#homepage .story-chapter { opacity:.82; }
#homepage .story-chapter.is-active { opacity:1; }
#homepage .story-chapter h3 { color:#fff; text-shadow:0 1px 0 rgba(0,0,0,.2); }
#homepage .story-chapter p { color:rgba(238,245,248,.78); }
#homepage .story-chapter ul { display:grid; gap:8px; margin:22px 0 0; padding:0; list-style:none; }
#homepage .story-chapter li { display:flex; align-items:center; gap:9px; color:rgba(238,245,248,.72); font-size:12.5px; font-weight:620; }
#homepage .story-chapter li::before { content:'✓'; width:19px; height:19px; display:grid; place-items:center; flex:0 0 auto; border-radius:6px; color:#06141e; background:var(--std-teal); font-size:10px; font-weight:900; }
#homepage .story-device { border-color:rgba(27,212,168,.22); background:linear-gradient(145deg,#103447,#082331)!important; }
#homepage .device-scene { color:#f5f8fa; }
#homepage .device-scene > p,#homepage .scene-kicker,#homepage .device-status { color:rgba(238,245,248,.76); }
#homepage .call-orb span,#homepage .call-orb i,#homepage .call-orb b { background:rgba(6,32,43,.72); }
#homepage .record-customer em { color:#b9ffeb; background:rgba(27,212,168,.13); }
#homepage .record-grid span,#homepage .record-customer small { color:rgba(238,245,248,.7); }
#homepage .record-grid b { color:#f5f8fa; }
#homepage .mini-map { background:#0a2230; }
#homepage .testi-card:hover { border-color:rgba(27,212,168,.26); }
#homepage .testi-avatar { color:#06141e; background:var(--std-teal)!important; }

#homepage .field-brief { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:26px; }
#homepage .field-brief > div { padding:15px; border:1px solid rgba(255,255,255,.09); border-radius:14px; background:rgba(255,255,255,.035); }
#homepage .field-brief span,#homepage .field-brief b,#homepage .field-brief small { display:block; }
#homepage .field-brief span { color:rgba(238,245,248,.68); font-size:8px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
#homepage .field-brief b { margin-top:6px; color:#fff; font-size:12px; }
#homepage .field-brief small { margin-top:4px; color:rgba(238,245,248,.68); font-size:9px; line-height:1.4; }
#homepage .field-checks { display:grid; gap:7px; margin-top:12px; }
#homepage .field-checks p { display:flex; align-items:center; gap:9px; margin:0; padding:9px 11px; border:1px solid rgba(255,255,255,.07); border-radius:10px; color:rgba(238,245,248,.72); background:rgba(255,255,255,.025); font-size:10px; }
#homepage .field-checks i { width:18px; height:18px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(255,255,255,.2); border-radius:5px; color:#06141e; font-size:9px; font-style:normal; }
#homepage .field-checks p:nth-child(-n+2) i { border-color:var(--std-teal); background:var(--std-teal); }
#homepage .scene-action-row { display:flex; justify-content:space-between; align-items:center; margin-top:14px; padding:12px 14px; border:1px solid rgba(27,212,168,.18); border-radius:11px; color:rgba(238,245,248,.58); background:rgba(27,212,168,.055); font-size:9.5px; }
#homepage .scene-action-row b { color:var(--std-teal); }

#homepage .proposal-options { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:30px; }
#homepage .proposal-options > div { position:relative; min-height:150px; padding:19px 13px; border:1px solid rgba(255,255,255,.1); border-radius:15px; background:rgba(255,255,255,.035); }
#homepage .proposal-options .recommended { border-color:rgba(27,212,168,.55); background:rgba(27,212,168,.08); box-shadow:0 0 26px rgba(27,212,168,.09); }
#homepage .proposal-options em { position:absolute; top:-9px; left:10px; padding:4px 7px; border-radius:999px; color:#06141e; background:var(--std-teal); font-size:7px; font-style:normal; font-weight:850; text-transform:uppercase; }
#homepage .proposal-options span,#homepage .proposal-options b,#homepage .proposal-options small { display:block; }
#homepage .proposal-options span { color:rgba(238,245,248,.62); font-size:9px; text-transform:uppercase; }
#homepage .proposal-options b { margin-top:15px; color:#fff; font-size:24px; }
#homepage .proposal-options small { margin-top:9px; color:rgba(238,245,248,.68); font-size:9px; line-height:1.4; }

#homepage .inventory-list { display:grid; gap:8px; margin-top:26px; }
#homepage .inventory-list > div { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:10px; padding:12px 13px; border:1px solid rgba(255,255,255,.08); border-radius:11px; background:rgba(255,255,255,.03); }
#homepage .inventory-list span { color:#fff; font-size:10px; }
#homepage .inventory-list b { color:rgba(238,245,248,.72); font-size:9px; }
#homepage .inventory-list em { padding:4px 7px; border-radius:999px; color:#ffd5c9; background:rgba(255,101,53,.14); font-size:7px; font-style:normal; font-weight:800; text-transform:uppercase; }
#homepage .inventory-list em.ok { color:#b9ffeb; background:rgba(27,212,168,.13); }
#homepage .po-card { margin-top:12px; padding:15px; border:1px solid rgba(27,212,168,.2); border-radius:13px; background:rgba(27,212,168,.06); }
#homepage .po-card span,#homepage .po-card b,#homepage .po-card small { display:block; }
#homepage .po-card span { color:var(--std-teal); font-size:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
#homepage .po-card b { margin-top:7px; color:#fff; font-size:11px; }
#homepage .po-card small { margin-top:5px; color:rgba(238,245,248,.68); font-size:9px; }

#homepage .customer-timeline { display:grid; gap:8px; margin-top:25px; }
#homepage .customer-timeline > div { display:flex; align-items:center; gap:11px; padding:11px 12px; border:1px solid rgba(255,255,255,.07); border-radius:11px; background:rgba(255,255,255,.025); }
#homepage .customer-timeline i { width:11px; height:11px; flex:0 0 auto; border:2px solid rgba(255,255,255,.24); border-radius:50%; }
#homepage .customer-timeline .done i { border-color:var(--std-teal); background:var(--std-teal); box-shadow:0 0 0 5px rgba(27,212,168,.08); }
#homepage .customer-timeline .active { border-color:rgba(10,132,255,.28); background:rgba(10,132,255,.07); }
#homepage .customer-timeline .active i { border-color:#72b0ff; box-shadow:0 0 0 5px rgba(10,132,255,.09); }
#homepage .customer-timeline span,#homepage .customer-timeline b,#homepage .customer-timeline small { display:block; }
#homepage .customer-timeline b { color:#fff; font-size:10px; }
#homepage .customer-timeline small { margin-top:3px; color:rgba(238,245,248,.68); font-size:8.5px; }

#homepage .switch-proof { padding:clamp(90px,10vw,140px) var(--page-gutter); border-top:1px solid var(--std-line); border-bottom:1px solid var(--std-line); color:var(--std-text); background:#061722; }
#homepage .switch-proof-inner { width:100%; max-width:var(--page-max); display:grid; grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr); gap:clamp(50px,8vw,110px); align-items:center; margin:0 auto; }
#homepage .switch-proof-copy > span { color:var(--std-teal); font-size:9px; font-weight:850; letter-spacing:.13em; text-transform:uppercase; }
#homepage .switch-proof-copy h2 { max-width:650px; margin:15px 0 20px; color:#fff; font-size:clamp(42px,5.2vw,72px); line-height:.98; letter-spacing:-.055em; }
#homepage .switch-proof-copy p { max-width:590px; color:rgba(238,245,248,.72); font-size:15px; line-height:1.7; }
#homepage .switch-proof-copy a { display:inline-flex; margin-top:21px; color:#06141e; padding:12px 16px; border-radius:10px; background:var(--std-teal); font-size:12px; font-weight:800; text-decoration:none; }
#homepage .switch-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:21px; }
#homepage .switch-proof-copy .switch-actions a { min-height:44px; align-items:center; margin:0; border:1px solid var(--std-teal); }
#homepage .switch-proof-copy .switch-actions a:last-child { color:#eef8fa; border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.04); }
#homepage .switch-steps { display:grid; gap:10px; }
#homepage .switch-steps article { display:grid; grid-template-columns:45px minmax(0,1fr); gap:16px; padding:20px; border:1px solid rgba(255,255,255,.09); border-radius:16px; background:rgba(255,255,255,.035); }
#homepage .switch-steps i { width:45px; height:45px; display:grid; place-items:center; border-radius:13px; color:#06141e; background:var(--std-teal); font-size:10px; font-style:normal; font-weight:850; }
#homepage .switch-steps b { color:#fff; font-size:13px; }
#homepage .switch-steps p { margin:5px 0 0; color:rgba(238,245,248,.62); font-size:11px; line-height:1.55; }

@media(max-width:900px){#homepage .switch-proof-inner{grid-template-columns:1fr}#homepage .switch-proof-copy h2{max-width:760px}}
@media(max-width:760px){#homepage .field-brief,#homepage .proposal-options{grid-template-columns:1fr}#homepage .proposal-options>div{min-height:0}#homepage .story-device{height:64vh;min-height:500px}}

/* Light Google-permission section must win over the earlier global dark homepage tokens. */
#homepage #about { color:#0d1b2a; background:#edf1f0 !important; }
#homepage #about .section-eyebrow { color:#078c70 !important; }
#homepage #about .section-h2 { color:#0d1b2a !important; }
#homepage #about .section-sub { color:#526b7d !important; }
#homepage #about .google-access-card { color:#0d1b2a !important; background:#fff !important; }
#homepage #about .google-access-intro,
#homepage #about .google-permission-card p { color:#526b7d !important; }
#homepage #about .google-permission-card { color:#0d1b2a !important; background:#f8fafb !important; }
#homepage #about .google-permission-head h3 { color:#0d1b2a !important; }
#homepage #about .google-permission-head h3 span { color:#078c70 !important; background:rgba(27,212,168,.11) !important; }
#homepage #about .google-permission-card strong { color:#263e52 !important; }
#homepage #about .google-access-note { color:#657d8d !important; }
#homepage #about .google-access-note a { color:#078c70 !important; }
