:root {
  --ink: #0a1221;
  --ink-2: #121c2e;
  --navy-2: #0d1728;
  --mute: #5f6b78;
  --line: rgba(10, 18, 33, 0.1);
  --line-dark: rgba(94, 231, 240, 0.16);
  --paper: #e8eef4;
  --paper-2: #f2f5f8;
  --lie: #c24532;
  --lie-soft: #e8a090;
  --truth: #0f6b52;
  --truth-2: #1aa37a;
  --cyan: #5ee7f0;
  --cyan-deep: #1ab8c4;
  --steel: #0a1221;
  --steel-2: #152036;
  --max: 74rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}
.mono {
  font-family: var(--mono);
  font-size: 0.86em;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: clamp(1.15rem, 3.5vw, 2rem);
}
.wrap.narrow {
  width: min(38rem, 100%);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— NAV —— */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem clamp(1.15rem, 3.5vw, 2rem);
  transition: background 0.35s var(--ease), border-color 0.35s ease;
  border-bottom: 1px solid transparent;
  max-width: 100vw;
}
.top.scrolled {
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.home .top:not(.scrolled) .brand,
.home .top:not(.scrolled) .nav a {
  color: rgba(244, 246, 248, 0.78);
}
.home .top:not(.scrolled) .brand {
  color: #f4f6f8;
}
.home .top:not(.scrolled) .nav a:hover {
  color: #fff;
}
.home .top:not(.scrolled) .nav-toggle span {
  background: #f4f6f8;
}
.home .top:not(.scrolled) .brand-name {
  background: none;
  color: #f4f6f8;
}
.home .top:not(.scrolled) .nav-cta {
  background: #f4f6f8;
  color: var(--ink) !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .brand-name {
    font-size: 0.95rem;
  }
  .brand-name-sub {
    font-size: 0.9em;
  }
}
.brand-mark {
  width: 0.65rem;
  height: 0.65rem;
  background: var(--cyan-deep);
  transform: rotate(14deg);
}
.brand-mark-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand-name-sub {
  color: var(--cyan-deep);
  font-weight: 600;
}
.home .top:not(.scrolled) .brand-name-sub {
  color: var(--cyan);
}

.nav {
  display: none;
  gap: 1.35rem;
  align-items: center;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--mute);
}
.nav a:hover,
.nav a.active {
  color: var(--ink);
}
.nav-cta {
  padding: 0.5rem 0.95rem;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none !important;
}

/* —— Dual site mode: Shopify Ads ↔ Custom Analytics —— */
/* Product toggle lives inside .top — no separate mode bar */
.top-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
}
.top--with-toggle {
  gap: 0.75rem 1rem;
}
.top--with-toggle .site-mode-toggle {
  flex-shrink: 0;
}
/* Toggle always visible — beautiful Shopify ↔ Custom cross-sell */
@media (max-width: 1100px) {
  .top--with-toggle {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
  .top-left {
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    min-width: 0;
  }
  .top-left .site-mode-toggle {
    display: inline-flex;
  }
  .top--with-toggle .nav-toggle {
    margin-left: auto;
  }
}
@media (max-width: 720px) {
  .top-left .site-mode-toggle {
    flex: 1 1 100%;
    order: 3;
    height: 1.85rem;
    max-width: 100%;
  }
  .top-left .site-mode-toggle__opt {
    flex: 1 1 0;
    padding: 0 0.4rem;
    font-size: 0.62rem;
  }
}

/* Homepage dual-lane: Shopify App | Custom Data Solutions */
.dual-lane-band {
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(94, 231, 240, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 100%, rgba(26, 163, 122, 0.07), transparent 50%),
    var(--paper-2);
  border-block: 1px solid var(--line);
}
.dual-lane-lede {
  max-width: 40rem;
  margin: 0.65rem 0 1.75rem;
}
.dual-lane-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .dual-lane-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}
.dual-lane-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.dual-lane-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dual-lane-card > p:not(.dual-lane-kicker) {
  margin: 0;
  color: var(--mute);
  flex: 1;
  line-height: 1.45;
}
.dual-lane-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cyan-deep, #0d7377);
}
.dual-lane-card--custom .dual-lane-kicker {
  color: var(--truth, #1aa37a);
}
.dual-lane-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.dual-lane-actions .btn {
  text-decoration: none;
}
.site-mode-toggle {
  display: inline-flex;
  align-items: stretch;
  height: 1.7rem;
  padding: 0.12rem;
  border: 1px solid rgba(94, 231, 240, 0.35);
  background: rgba(255, 255, 255, 0.03);
  gap: 0;
}
.site-mode-toggle__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(238, 242, 245, 0.78);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
@media (max-width: 520px) {
  .site-mode-toggle__opt {
    padding: 0 0.5rem;
    font-size: 0.62rem;
  }
}
.site-mode-toggle__opt:hover {
  color: #fff;
  background: rgba(94, 231, 240, 0.1);
}
.site-mode-toggle__opt.is-on {
  background: var(--cyan);
  color: var(--ink);
}
/* Light pages: readable toggle next to Mcfly Ads */
.top:not(.top--analytics):not(.home-top-dark) .site-mode-toggle,
body:not(.home):not(.ca-page) .top .site-mode-toggle {
  border-color: rgba(13, 115, 119, 0.35);
  background: rgba(13, 115, 119, 0.06);
}
body:not(.home):not(.ca-page) .top .site-mode-toggle__opt {
  color: var(--mute);
}
body:not(.home):not(.ca-page) .top .site-mode-toggle__opt.is-on {
  background: var(--cyan-deep, #0d7377);
  color: #fff;
}
/* Home / Custom hero: keep toggle readable when header blurs to paper */
.home .top.scrolled .site-mode-toggle,
body.ca-page .top.scrolled .site-mode-toggle {
  border-color: rgba(13, 115, 119, 0.35);
  background: rgba(13, 115, 119, 0.06);
}
.home .top.scrolled .site-mode-toggle__opt,
body.ca-page .top.scrolled .site-mode-toggle__opt {
  color: var(--mute);
}
.home .top.scrolled .site-mode-toggle__opt.is-on,
body.ca-page .top.scrolled .site-mode-toggle__opt.is-on {
  background: var(--cyan-deep, #0d7377);
  color: #fff;
}
.site-mode-toggle__short {
  display: none;
}
@media (max-width: 520px) {
  .site-mode-toggle__full {
    display: none;
  }
  .site-mode-toggle__short {
    display: inline;
  }
}
body.home .hero-craft,
body.ca-page .ca-hero {
  padding-top: clamp(3.75rem, 6vw, 4.75rem);
}
.top--analytics.scrolled {
  background: rgba(10, 18, 33, 0.92);
  border-bottom-color: rgba(94, 231, 240, 0.16);
}
body.ca-page .top--analytics:not(.scrolled) .brand,
body.ca-page .top--analytics:not(.scrolled) .nav a {
  color: rgba(244, 246, 245, 0.78);
}
body.ca-page .top--analytics:not(.scrolled) .brand-name {
  background: none;
  color: #f4f6f8;
}
body.ca-page .top--analytics:not(.scrolled) .brand-name-sub {
  color: var(--cyan);
}
body.ca-page .top--analytics .nav-cta {
  background: var(--cyan);
  color: var(--ink) !important;
}
body.ca-page .top--analytics .nav a.active {
  color: var(--cyan);
}

@media (max-width: 420px) {
  .site-mode-toggle__opt {
    padding: 0 0.45rem;
    font-size: 0.65rem;
  }
  .site-mode-toggle__opt--compare {
    padding-left: 0.5rem;
  }
}

/* Footer product groups */
.foot-nav-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 1.25rem 1.5rem;
  width: 100%;
}
.foot-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.foot-group__label {
  margin: 0 0 0.2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mute);
}
.foot-group a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
}
.foot-group a:hover {
  color: var(--cyan-deep, #0d7377);
}
.mobile-nav__label {
  margin: 0.85rem 0 0.25rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mute);
}
.mobile-nav__label:first-child {
  margin-top: 0;
}
.foot-coming {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--mute);
  line-height: 1.45;
}
.foot-coming__label {
  display: inline-block;
  margin-right: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cyan-deep, #0d7377);
}
.coming-soon-band {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.coming-soon-band .display {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.coming-soon-band .lede {
  margin: 0;
  max-width: 40ch;
  color: var(--mute);
}

/* Ambition / roadmap — enterprise signal */
.roadmap-band {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  border-top: 1px solid rgba(94, 231, 240, 0.18);
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(94, 231, 240, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(26, 163, 122, 0.1), transparent 50%),
    #0a1221;
  color: #e8eef4;
}
.roadmap-band .eyebrow {
  color: rgba(94, 231, 240, 0.85);
}
.roadmap-band .display {
  margin: 0 0 0.85rem;
  max-width: 26ch;
  color: #f4f6f8;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
}
.roadmap-lede {
  margin: 0 0 2rem;
  max-width: 52ch;
  color: rgba(232, 238, 244, 0.78);
  font-size: 1.08rem;
  line-height: 1.55;
}
.roadmap-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .roadmap-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .roadmap-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.roadmap-card {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid rgba(94, 231, 240, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.roadmap-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4f6f8;
}
.roadmap-card p {
  margin: 0;
  color: rgba(232, 238, 244, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}
.roadmap-card__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(94, 231, 240, 0.9);
}
.roadmap-card--accent {
  border-color: rgba(94, 231, 240, 0.55);
  background:
    linear-gradient(135deg, rgba(94, 231, 240, 0.14), rgba(26, 163, 122, 0.08));
  padding: 1.65rem 1.45rem 1.75rem;
}
.roadmap-card--accent h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  max-width: 36ch;
}
.roadmap-card--accent p {
  font-size: 1.02rem;
  max-width: 62ch;
  color: rgba(232, 238, 244, 0.85);
}
@media (min-width: 1000px) {
  .roadmap-card--accent {
    grid-column: span 3;
  }
}
@media (min-width: 640px) and (max-width: 999px) {
  .roadmap-card--accent {
    grid-column: span 2;
  }
}
.roadmap-close {
  margin: 2rem 0 0;
  max-width: 48ch;
  color: rgba(232, 238, 244, 0.7);
  font-size: 1rem;
  line-height: 1.5;
}
.roadmap-cta {
  margin-top: 1.35rem;
}
.roadmap-band .btn.ghost {
  border-color: rgba(244, 246, 248, 0.35);
  color: #f4f6f8;
}
.roadmap-band .btn.ghost:hover {
  border-color: var(--cyan);
  color: #fff;
}
body.ca-page .roadmap-band .ca-wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 3.5vw, 2rem);
}

.nav-toggle {
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  top: 3.5rem;
  left: 0;
  right: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-nav[hidden] {
  display: none !important;
}
.mobile-nav a {
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none !important;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* —— HERO CRAFT —— */
.hero-craft {
  position: relative;
  min-height: 100svh;
  color: #f4f6f8;
  overflow: hidden;
  background-color: #0a1221;
  background-image: none;
  display: flex;
  align-items: stretch;
  padding-bottom: 0.5rem;
}
/* Soft navy exit — kills hard navy→white cliff into bridge */
.hero-craft::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(2.75rem, 8vh, 4.5rem);
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 18, 33, 0) 0%,
    rgba(10, 18, 33, 0.45) 55%,
    #0a1221 100%
  );
}
@media (max-width: 859px) {
  .hero-craft {
    /* Soften full-viewport lock so explorer isn’t clipped on ~390px */
    min-height: auto;
  }
}

/* Full-bleed atmosphere plane — edge-to-edge under mesh/vignette */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-atmosphere picture,
.hero-atmosphere img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-atmosphere img {
  opacity: 0.42;
}
.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 62% 38%, transparent 12%, rgba(10, 18, 33, 0.55) 58%, #0a1221 92%),
    linear-gradient(185deg, rgba(10, 18, 33, 0.35) 0%, rgba(10, 18, 33, 0.72) 55%, #0a1221 100%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 65% 50% at 88% 18%, rgba(94, 231, 240, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 88%, rgba(26, 184, 196, 0.08), transparent 50%),
    linear-gradient(165deg, rgba(10, 18, 33, 0.28) 0%, rgba(16, 27, 46, 0.45) 45%, rgba(21, 32, 54, 0.55) 100%);
  animation: mesh 16s var(--ease) infinite alternate;
}
.hero-gridline {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(238, 242, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 245, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 10%, transparent 70%);
  opacity: 0.55;
}
@keyframes mesh {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05) translate(-1%, 1%);
  }
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.15rem, 3.5vw, 2rem) clamp(2.75rem, 7vh, 4rem);
  display: grid;
  gap: 2.25rem;
  align-items: end;
  color: #f4f6f8;
}
.hero-copy {
  opacity: 1;
}
.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.85rem, 9vw, 5.15rem);
  letter-spacing: -0.058em;
  line-height: 0.9;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.brand-hero-mark {
  width: clamp(3.1rem, 8.5vw, 4.35rem);
  height: clamp(3.1rem, 8.5vw, 4.35rem);
  object-fit: contain;
  flex-shrink: 0;
}
.brand-hero-sub {
  display: inline-block;
  font-weight: 700;
  color: var(--cyan);
  opacity: 1;
  letter-spacing: -0.045em;
}
.hero-craft h1 {
  margin: 0 0 1.05rem;
  max-width: 17ch;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  letter-spacing: -0.038em;
  line-height: 1.12;
  color: #ffffff;
}
.formula-inline {
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.lede {
  margin: 0 0 1.25rem;
  max-width: 34ch;
  color: rgba(244, 246, 248, 0.88);
  font-size: 1.1rem;
  line-height: 1.5;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero CTA: cyan solid — brand signal over generic green */
.hero-craft .btn.primary,
.hero-craft .btn.primary.solid {
  background: var(--cyan);
  color: #0a1221;
  border-radius: 6px;
}
.hero-craft .btn.primary:hover,
.hero-craft .btn.primary.solid:hover {
  background: #7aedf4;
  color: #0a1221;
}
.hero-craft .btn.ghost {
  border-radius: 6px;
}

/* —— Proof: one quiet line under the primary CTA (hero budget) —— */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.hero-proof {
  margin: 0;
  max-width: 44ch;
  border: 0;
  background: none;
  padding: 0;
  box-shadow: none;
  font-size: clamp(0.78rem, 0.72rem + 0.22vw, 0.88rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: rgba(244, 246, 248, 0.55);
}
.hero-proof .proof-claim,
.hero-proof .proof-accent {
  white-space: nowrap; /* never split a number from its label mid-wrap */
}
.hero-proof .proof-accent {
  color: var(--cyan);
  font-weight: 600;
}
.hero-proof .proof-sep {
  margin: 0 0.28em;
  color: rgba(244, 246, 248, 0.32);
  font-weight: 400;
}
/* Struck claim — static (motion budget reserved for brand/H1, formula, desk) */
.hero-proof .proof-claim {
  text-decoration: none;
  color: rgba(244, 246, 248, 0.42);
  background-image: linear-gradient(var(--lie-soft), var(--lie-soft));
  background-position: 0 56%;
  background-repeat: no-repeat;
  background-size: 100% 1.5px;
}
@media (max-width: 859px) {
  .hero-actions {
    width: 100%;
    gap: 0.5rem;
  }
  .hero-actions .cta-row {
    width: 100%;
  }
  .hero-proof {
    max-width: none;
  }
}
@media (min-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
    align-items: start;
    gap: 2rem 2.5rem;
    min-height: calc(100svh - 1rem);
  }
  .hero-copy {
    position: sticky;
    top: 4.25rem;
    padding-top: 0.25rem;
  }
}
@media (max-width: 979px) {
  .hero-layout {
    min-height: auto;
    padding-top: clamp(3.75rem, 8vh, 4.75rem);
  }
  .hero-craft h1 {
    max-width: 26ch;
  }
}

/* —— Hero demo: true glass MER desk on navy (ME Explorer only) —— */
.hero-demo {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  width: 100%;
}
.hero .sx-demo {
  --sx-mer: #f4f6f8;
  position: relative;
  margin-top: 0;
  padding: 1rem 0.95rem 0.9rem;
  overflow: hidden;
  background: rgba(9, 17, 32, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
  color: #f4f6f8;
}
.hero .sx-demo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #5ee7f0;
  pointer-events: none;
  z-index: 2;
}
.hero .sx-claim {
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f6f8;
}
.hero .sx-claim .lie {
  color: #f0a090;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.hero .sx-claim .truth {
  color: #5ee7f0;
}
.hero .sx-claim__sep {
  color: rgba(244, 246, 248, 0.35);
  font-weight: 600;
}
.hero .sx-claim__note {
  font-weight: 600;
  color: rgba(244, 246, 248, 0.55);
}
/* Monthly pacing — dark glass desk (replaces sx-eq strip) */
.hero .sx-pace {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}
.hero .sx-pace__title {
  color: #f4f6f8;
}
.hero .sx-pace__muted,
.hero .sx-pace__k,
.hero .sx-pace__bar-row,
.hero .sx-pace__eq-meta,
.hero .sx-pace__gauge-label {
  color: rgba(244, 246, 248, 0.55);
}
.hero .sx-pace__v {
  color: #f4f6f8;
}
.hero .sx-pace__stat {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.hero .sx-pace__track {
  background: rgba(255, 255, 255, 0.12);
}
.hero .sx-pace svg .sx-pace__gauge-track {
  stroke: rgba(255, 255, 255, 0.18);
}
.hero .sx-pace__target-tick {
  stroke: #f4f6f8;
}
.hero .sx-pace__gauge-value,
.hero .sx-eq__me--up {
  color: #6ee7b7;
}
.hero .sx-eq__me--flat,
.hero .sx-eq__me--down,
.hero .sx-pace__gauge-value--empty {
  color: rgba(244, 246, 248, 0.7);
}
.hero .sx-demo__controls {
  margin: 0.55rem 0 0.5rem;
  gap: 0.4rem 0.5rem;
}
.hero .sx-demo__seg {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}
.hero .sx-demo__btn {
  font-size: 0.76rem;
  padding: 0.34rem 0.5rem;
  color: rgba(244, 246, 248, 0.62);
}
.hero .sx-demo__btn.is-on {
  background: #5ee7f0;
  color: #0a1221;
}
.hero .sx-demo__chart-wrap {
  border-color: var(--line-dark);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(9, 17, 32, 0.35) 50%
  );
}
.hero .sx-demo__grid {
  stroke: rgba(255, 255, 255, 0.08);
}
.hero .sx-demo__axis-lbl,
.hero .sx-demo__x-lbl {
  fill: rgba(244, 246, 248, 0.55);
}
.hero .sx-demo__target {
  stroke: #5ee7f0;
}
.hero .sx-demo__target-lbl {
  fill: #5ee7f0;
}
.hero .sx-demo__mer-line {
  stroke: #f4f6f8;
}
.hero .sx-demo__mer-dot {
  fill: #f4f6f8;
}
.hero .sx-demo__mer-dot--up {
  fill: #6ee7b7;
}
.hero .sx-demo__mer-dot--down {
  fill: #f0a090;
}
.hero .sx-demo__chart {
  min-height: 200px;
}
.hero .sx-demo__readout {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(244, 246, 248, 0.72);
}
.hero .sx-demo__readout--on {
  border-color: rgba(94, 231, 240, 0.55);
  background: rgba(94, 231, 240, 0.14);
  box-shadow: none;
  color: rgba(244, 246, 248, 0.9);
}
.hero .sx-demo__readout strong {
  color: #ffffff;
}
.hero .sx-demo__readout span {
  color: rgba(244, 246, 248, 0.82);
}
.hero .sx-demo__legend {
  color: rgba(244, 246, 248, 0.7);
}
/* Light tip on navy glass — high-contrast selected-column detail */
.hero .sx-demo__tip {
  background: #f4f6f8;
  border: 1px solid rgba(10, 18, 33, 0.22);
  color: #0a1221;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.hero .sx-demo__tip strong {
  color: #0a1221;
  font-weight: 700;
}

/* Instruments: sibling dark glass under explorer — continuous desk plane */
.hero-instruments {
  position: relative;
  background: rgba(9, 17, 32, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  color: #f4f6f8;
  padding: 0.7rem 0.8rem 0.65rem;
  border-radius: 2px;
  overflow: hidden;
}
.hero-instruments::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #5ee7f0;
  pointer-events: none;
  opacity: 0.85;
}
.hero .hero-instruments--band {
  margin-top: 0.85rem;
  opacity: 1;
}
.hero .hero-instruments--band .hi-col header h3 {
  font-size: 0.82rem;
  color: #f4f6f8;
}
.hero .hero-instruments--band .hi-col header p {
  font-size: 0.66rem;
  color: rgba(244, 246, 248, 0.55);
}
.hero .hero-instruments--band .hi-slider {
  font-size: 0.66rem;
  margin-bottom: 0.4rem;
  color: rgba(244, 246, 248, 0.55);
}
.hero .hero-instruments--band .hi-slider output {
  color: #f4f6f8;
}
.hero .hero-instruments--band .hi-meters .lab,
.hero .hero-instruments--band .hi-meters .sub {
  color: rgba(244, 246, 248, 0.55);
}
.hero .hero-instruments--band .hi-meters strong {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: #f4f6f8;
}
.hero .hero-instruments--band .hi-meters .lie {
  color: #f0a090;
}
.hero .hero-instruments--band .hi-meters .truth {
  color: #6ee7b7;
}
.hero .hero-instruments--band .hi-verdict {
  color: #6ee7b7;
  font-size: 0.68rem;
}
.hero .hero-instruments--band .hi-verdict.lie {
  color: #f0a090;
}
.hero .hero-instruments--band .hi-verdict.truth {
  color: #6ee7b7;
}
.hero .hero-instruments--band .hi-rec {
  font-size: 0.68rem;
  color: rgba(244, 246, 248, 0.78);
  border-top-color: var(--line-dark);
}
/* Dark range — cyan thumb on frosted track */
.hero .hero-instruments--band .hi-slider input[type="range"] {
  accent-color: #5ee7f0;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}
.hero .hero-instruments--band .hi-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #5ee7f0;
  border: 1px solid rgba(10, 18, 33, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.hero .hero-instruments--band .hi-slider input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #5ee7f0;
  border: 1px solid rgba(10, 18, 33, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.hero .hero-instruments--band .hi-slider input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}
.hi-cols {
  display: grid;
  gap: 0;
}
@media (min-width: 860px) {
  .hi-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hi-col + .hi-col {
    border-left: 1px solid var(--line-dark);
    padding-left: 0.75rem;
    margin-left: 0.15rem;
  }
}
.hi-col {
  min-width: 0;
  padding: 0.35rem 0.2rem 0.45rem;
}
@media (max-width: 859px) {
  .hi-col + .hi-col {
    border-top: 1px solid var(--line-dark);
    padding-top: 0.7rem;
    margin-top: 0.15rem;
  }
}
.hi-col header h3 {
  margin: 0 0 0.1rem;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  color: #f4f6f8;
}
.hi-col header p {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: rgba(244, 246, 248, 0.55);
}
.hi-slider {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(244, 246, 248, 0.55);
}
.hi-slider span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.hi-slider output {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f4f6f8;
  letter-spacing: -0.02em;
}
.hi-slider input[type="range"] {
  width: 100%;
  accent-color: #5ee7f0;
  margin: 0;
}
.hi-meters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.45rem;
}
.hi-meters--two {
  grid-template-columns: 1fr 1fr;
}
.hi-meters .lab {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(244, 246, 248, 0.55);
  margin-bottom: 0.1rem;
}
.hi-meters strong {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: -0.03em;
  color: #f4f6f8;
  line-height: 1.15;
}
.hi-meters .sub {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(244, 246, 248, 0.55);
  line-height: 1.25;
}
.hi-meters .lie {
  color: #f0a090;
}
.hi-meters .truth {
  color: #6ee7b7;
}
.hi-verdict {
  margin: 0.4rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  color: #6ee7b7;
  max-width: none;
}
.hi-rec {
  margin: 0.55rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(244, 246, 248, 0.82);
}
.hi-footnote {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(244, 246, 248, 0.55);
}
.feel-hero-link {
  margin: 0.85rem auto 0;
  max-width: 42rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.feel-hero-link a {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}
.feel-hero-link a:hover,
.feel-hero-link a:focus-visible {
  color: var(--ink);
}

/* —— Hero mobile budget (~390px): one composition, not a stacked desk dashboard —— */
@media (max-width: 859px) {
  .hero-craft {
    align-items: flex-start;
  }
  .hero-layout {
    gap: 1.15rem;
    padding:
      clamp(4.6rem, 9vh, 5.5rem)
      clamp(1.05rem, 3.5vw, 1.35rem)
      clamp(1.1rem, 3vh, 1.6rem);
    align-items: stretch;
  }
  .brand-hero {
    margin-bottom: 0.5rem;
    font-size: clamp(2.35rem, 10.5vw, 3.1rem);
    gap: 0.45rem;
  }
  .brand-hero-mark {
    width: 2.75rem;
    height: 2.75rem;
  }
  .hero-craft h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.25rem, 4.8vw, 1.5rem);
    line-height: 1.16;
    max-width: 22ch;
  }
  .lede {
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 36ch;
  }
  .hero-actions {
    gap: 0.5rem;
  }
  .cta-row {
    gap: 0.55rem;
    flex-direction: column;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
    padding: 0.72rem 1.05rem;
    font-size: 0.95rem;
  }

  .hero-demo {
    gap: 0.65rem;
  }
  .hero .sx-demo {
    padding: 0.8rem 0.7rem 0.75rem;
  }
  .hero .sx-demo__chart {
    min-height: 190px;
  }
  .hero-instruments {
    padding: 0.6rem 0.65rem 0.55rem;
  }
}

/* Phone viewport (~390): stack explorer + instruments cleanly */
@media (max-width: 430px) {
  .hero-layout {
    gap: 1rem;
  }
  .lede {
    font-size: 0.94rem;
    margin-bottom: 0.7rem;
  }
  .hi-meters {
    grid-template-columns: 1fr 1fr;
  }
  .hi-meters > div:last-child {
    grid-column: 1 / -1;
  }
}

@keyframes rise {
  from {
    opacity: 0.2;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Crafted desk UI — the product, not a stock photo */
.desk {
  border: 1px solid rgba(238, 242, 245, 0.14);
  background: rgba(11, 14, 18, 0.72);
  backdrop-filter: blur(10px);
  opacity: 1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: #f4f6f8;
}
.desk-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(238, 242, 245, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(238, 242, 245, 0.45);
}
.desk-chrome .dot {
  width: 0.45rem;
  height: 0.45rem;
  background: rgba(238, 242, 245, 0.2);
}
.desk-chrome .dot:first-child {
  background: #c24532;
}
.desk-title {
  margin-left: 0.5rem;
  font-family: var(--mono);
  text-transform: none;
  letter-spacing: -0.02em;
}
.desk-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--truth-2);
  font-weight: 600;
}
.desk-live i {
  width: 0.4rem;
  height: 0.4rem;
  background: var(--truth-2);
  display: inline-block;
  animation: blink 2s ease infinite;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.desk-body {
  padding: 1rem 1rem 1.15rem;
  display: grid;
  gap: 1rem;
}
.desk-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.desk-kpis .wide {
  grid-column: 1 / -1;
}
.kpi span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 242, 245, 0.45);
  margin-bottom: 0.25rem;
}
.kpi .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.kpi em {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--truth-2);
  font-weight: 600;
}
.lie-t {
  color: var(--lie-soft);
}
.truth-t {
  color: #9ee0c6;
}
.mer-t {
  font-size: clamp(2.4rem, 6vw, 3.2rem) !important;
  color: #fff;
}

.desk-chart {
  border-top: 1px solid rgba(238, 242, 245, 0.1);
  padding-top: 0.85rem;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(238, 242, 245, 0.45);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.spark {
  width: 100%;
  height: 3.25rem;
  display: block;
}

.desk-mix {
  display: grid;
  gap: 0.45rem;
}
.mix-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 2.5rem;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(238, 242, 245, 0.7);
}
.track {
  height: 0.35rem;
  background: rgba(238, 242, 245, 0.08);
}
.track b {
  display: block;
  height: 100%;
  width: var(--p);
  transition: width 0.5s var(--ease);
}
.track .m {
  background: #2f9d78;
}
.track .g {
  background: #4a7fa8;
}
.track .o {
  background: #8a7a5a;
}
.mix-row .mono {
  text-align: right;
  color: rgba(238, 242, 245, 0.55);
}

.desk-rec {
  border-top: 1px solid rgba(238, 242, 245, 0.1);
  padding-top: 0.85rem;
}
.rec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--truth-2);
  margin-bottom: 0.35rem;
}
.desk-rec p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(238, 242, 245, 0.85);
  max-width: 42ch;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary,
.btn.primary.solid {
  background: var(--truth-2);
  color: #04150f;
}
.btn.primary:hover {
  background: #2db890;
}
.btn.ghost {
  border-color: rgba(238, 242, 245, 0.32);
  color: #eef2f5;
  background: transparent;
}
.btn.ghost:hover {
  background: rgba(238, 242, 245, 0.08);
}

/* —— BANDS —— */
.band {
  padding: clamp(3.75rem, 9vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.eyebrow.on-dark {
  color: var(--truth-2);
}
.display {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.lede-soft {
  margin: 0 0 1.75rem;
  max-width: 42ch;
  color: var(--mute);
  font-size: 1.08rem;
}

.digest-band {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 28%);
}
.digest-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .digest-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.digest-card {
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--paper-2);
  border-top: 3px solid var(--ink);
}
.digest-card-accent {
  background: var(--ink);
  color: #f4f6f8;
  border-top-color: var(--cyan);
}
.digest-card-accent p {
  color: rgba(244, 246, 248, 0.78);
}
.digest-n {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--cyan-deep);
  font-size: 0.85rem;
}
.digest-card-accent .digest-n {
  color: var(--cyan);
}
.digest-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.digest-card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
}
.formula-mini {
  margin: 0 0 0.65rem !important;
  color: var(--cyan) !important;
  font-size: 1.05rem !important;
}

.lie-band {
  background:
    radial-gradient(560px 260px at 100% 0%, rgba(194, 69, 50, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--navy-2) 100%);
  color: #eef2f5;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.lie-band .eyebrow {
  color: #e8a090;
}
.lie-band .display {
  color: #f4f6f8;
}
.lie-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .lie-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.lie-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
.lie-grid p {
  margin: 0;
  color: rgba(238, 242, 245, 0.62);
}

.band-intro {
  max-width: 40ch;
}

.formula-band {
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(26, 163, 122, 0.08), transparent 55%),
    var(--paper-2);
}
.formula-panel {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(15, 107, 82, 0.22);
  background:
    linear-gradient(160deg, rgba(26, 163, 122, 0.08), transparent 50%),
    #fff;
}
.formula-line {
  margin: 0 0 0.65rem;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.formula-line.soft {
  color: var(--mute);
  font-weight: 500;
}
.formula-note {
  margin: 1rem 0 0;
  max-width: 46ch;
  color: var(--mute);
  font-size: 0.98rem;
}

.reveal {
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in,
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.better-band {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--line);
}
.better-lede {
  max-width: 52ch;
}
.better-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .better-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}
.better-grid article {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}
.better-grid article.better-us {
  border-color: rgba(15, 107, 82, 0.35);
  background:
    linear-gradient(165deg, rgba(26, 163, 122, 0.1), transparent 55%),
    #fff;
  box-shadow: 0 18px 40px rgba(15, 107, 82, 0.08);
}
.better-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.better-us .better-kicker {
  color: var(--cyan-deep);
}
.better-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.better-grid p:last-child {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
}

.live-band {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 55%);
}

/* Monthly pacing — Apps Script semi gauge + 6 KPI tiles (sample desk) */
.sx-pace {
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.7rem 0.65rem;
  border: 1px solid rgba(10, 18, 33, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.sx-pace__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.2rem;
}
.sx-pace__title {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.sx-pace__muted {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--mute);
}
.sx-pace__grid {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 0.75rem 1.1rem;
  align-items: center;
}
@media (max-width: 700px) {
  .sx-pace__grid {
    grid-template-columns: 1fr;
  }
}
.sx-pace__gauge {
  text-align: center;
}
.sx-pace__gauge svg {
  display: block;
  max-width: 100%;
  margin-inline: auto;
}
.sx-pace svg .sx-pace__gauge-track {
  stroke: #e2e8f0;
}
.sx-pace__target-tick {
  stroke: #0f172a;
}
.sx-pace__gauge-value {
  margin: -1.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #059669;
}
.sx-eq__me--up {
  color: #059669;
}
.sx-eq__me--flat,
.sx-eq__me--down,
.sx-pace__gauge-value--empty {
  color: var(--mute);
}
.sx-pace__gauge-label {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
}
.sx-pace__eq-meta {
  margin: 0.3rem 0 0;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.sx-pace__eq-asof {
  display: inline;
}
.sx-pace__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
@media (max-width: 520px) {
  .sx-pace__stats {
    grid-template-columns: 1fr 1fr;
  }
}
.sx-pace__stat {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(10, 18, 33, 0.08);
  border-radius: 2px;
  padding: 0.4rem 0.45rem;
  min-width: 0;
}
.sx-pace__k {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mute);
  line-height: 1.25;
}
.sx-pace__v {
  margin: 0.15rem 0 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  word-break: break-word;
}
.sx-pace__bars {
  margin-top: 0.65rem;
}
.sx-pace__bar-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--mute);
}
.sx-pace__bar-row + .sx-pace__track + .sx-pace__bar-row {
  margin-top: 0.5rem;
}
.sx-pace__track {
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.35rem;
}
.sx-pace__fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: #0284c7;
  transition: width 160ms ease;
}
.sx-pace__fill--good {
  background: #059669;
}
.sx-pace__fill--warn {
  background: #d97706;
}
.sx-pace__fill--bad {
  background: #94a3b8;
}
.sx-pace__fill--calendar {
  background: #1ab8c4;
}

.sx-demo__readout {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0.2rem 0 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(10, 18, 33, 0.1);
  background: rgba(248, 250, 252, 0.92);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mute);
  line-height: 1.35;
}
.sx-demo__readout--on {
  border-color: rgba(26, 184, 196, 0.45);
  background: rgba(232, 248, 250, 0.95);
  box-shadow: inset 0 0 0 1px rgba(94, 231, 240, 0.2);
}
.sx-demo__readout strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sx-demo__readout span {
  display: block;
}

/* Spend explorer demo — Apps Script features, mcflyads.com aesthetic */
.sx-demo {
  --sx-meta: #7dd3e8;
  --sx-google: #e8a090;
  --sx-microsoft: #c4d4a8;
  --sx-email: #9aa8b8;
  --sx-total: #5f6b78;
  --sx-accent: var(--cyan-deep);
  --sx-mer: var(--ink);
  --sx-surface: var(--paper);
  position: relative;
  margin-top: 1.5rem;
  padding: 1.25rem 1.15rem 1.1rem;
  max-width: 100%;
  min-width: 0;
  background: var(--sx-surface);
  border: 1px solid var(--line);
  box-shadow: none;
  font-family: var(--body);
}
.sx-demo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.sx-demo__chip {
  display: grid;
  gap: 0.15rem;
  min-width: 6.5rem;
  flex: 1 1 auto;
  padding: 0.55rem 0.7rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.sx-demo__chip--mute {
  background: transparent;
  border-color: var(--line);
}
.sx-demo__chip-k {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mute);
}
.sx-demo__chip-v {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sx-demo__chip-v--up {
  color: var(--truth);
}
.sx-demo__chip-v--down {
  color: var(--lie);
}
.sx-demo__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 1rem 0 0.85rem;
  min-width: 0;
}
.sx-demo__primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}
.sx-demo__seg {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: rgba(10, 18, 33, 0.03);
  border-radius: 0;
}
.sx-demo__btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  padding: 0.4rem 0.58rem;
  border: 0;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.sx-demo__btn.is-on {
  background: var(--ink);
  color: var(--paper);
}
.sx-demo__btn:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: -2px;
}
.sx-demo__chart-wrap {
  position: relative;
  margin-top: 0.35rem;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-2), var(--paper) 42%);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.sx-demo__chart {
  min-height: 240px;
  min-width: 0;
  max-width: none;
}
.sx-demo__scroll {
  display: block;
  max-width: none;
}
.sx-demo__svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  min-height: 0;
}
.sx-demo__grid {
  stroke: rgba(10, 18, 33, 0.08);
  stroke-width: 1;
}
.sx-demo__target {
  stroke: var(--cyan-deep);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}
.sx-demo__target-lbl {
  fill: var(--cyan-deep);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}
.sx-demo__axis-lbl {
  fill: var(--mute);
  font-family: var(--mono);
  font-size: 10px;
}
.sx-demo__x-lbl {
  fill: var(--mute);
  font-family: var(--body);
  font-size: 9px;
  font-weight: 600;
}
.sx-demo__col {
  cursor: pointer;
}
.sx-demo__hit {
  fill: transparent;
  cursor: pointer;
}
.sx-demo__col--on .sx-demo__hit {
  fill: rgba(94, 231, 240, 0.16);
  stroke: rgba(94, 231, 240, 0.45);
  stroke-width: 1;
}
.sx-demo__bar {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 0.4;
}
.sx-demo__bar--meta,
.sx-demo__swatch--meta {
  fill: var(--sx-meta);
  background: var(--sx-meta);
}
.sx-demo__bar--google,
.sx-demo__swatch--google {
  fill: var(--sx-google);
  background: var(--sx-google);
}
.sx-demo__bar--microsoft,
.sx-demo__swatch--microsoft {
  fill: var(--sx-microsoft);
  background: var(--sx-microsoft);
}
.sx-demo__bar--email,
.sx-demo__swatch--email {
  fill: var(--sx-email);
  background: var(--sx-email);
}
.sx-demo__bar--total,
.sx-demo__swatch--total {
  fill: var(--sx-total);
  background: var(--sx-total);
}
.sx-demo__mer-line {
  stroke: var(--sx-mer);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.sx-demo__sales-line {
  stroke: var(--cyan-deep);
  stroke-width: 1.75;
  stroke-dasharray: 4 3;
  opacity: 0.9;
  vector-effect: non-scaling-stroke;
}
.sx-demo__mer-dot {
  fill: var(--sx-mer);
  stroke: var(--paper);
  stroke-width: 1;
}
.sx-demo__mer-dot--up {
  fill: var(--truth);
}
.sx-demo__mer-dot--down {
  fill: var(--lie);
}
.sx-demo__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mute);
}
.sx-demo__leg-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.sx-demo__swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid rgba(10, 18, 33, 0.12);
}
.sx-demo__swatch--mer {
  background: var(--ink);
}
.sx-demo__swatch--target {
  background: transparent;
  border: 0;
  box-shadow: inset 0 -2px 0 0 var(--cyan-deep);
  height: 0.55rem;
}
.sx-demo__swatch--sales {
  background: transparent;
  border: 0;
  box-shadow: inset 0 -2px 0 0 var(--cyan);
  height: 0.55rem;
}
.sx-demo__tip {
  position: absolute;
  z-index: 4;
  min-width: 10rem;
  max-width: min(16rem, calc(100% - 1rem));
  padding: 0.55rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(10, 18, 33, 0.32);
}
.sx-demo__tip strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--mono);
  font-size: 0.82rem;
}
.sx-demo__empty {
  margin: 0;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--mute);
  font-weight: 600;
}

/* Phone: keep range + grain visible */
@media (max-width: 430px) {
  .sx-demo__primary {
    width: 100%;
  }
  .sx-demo__primary .sx-demo__seg {
    width: 100%;
  }
  .sx-demo__primary .sx-demo__btn {
    flex: 1 1 auto;
    text-align: center;
    min-width: 2.6rem;
    padding: 0.38rem 0.35rem;
    font-size: 0.74rem;
  }
  .sx-demo__chip {
    min-width: calc(50% - 0.35rem);
  }
  .sx-demo__chart {
    min-height: 200px;
  }
  .hero .sx-demo__chart {
    min-height: 200px;
  }
}
.lie {
  color: var(--lie);
}
.truth {
  color: var(--truth);
}
input[type="number"] {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
}

.how-rail {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .how-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 860px) and (max-width: 1099px) {
  .how-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
.how-rail li {
  display: grid;
  gap: 0.5rem;
}
.how-rail .n {
  color: var(--cyan-deep);
  font-weight: 600;
  font-size: 0.9rem;
}
.how-rail a {
  color: var(--cyan-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.how-rail a:hover,
.how-rail a:focus-visible {
  color: var(--ink);
}
.how-rail h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
.how-rail p {
  margin: 0;
  color: var(--mute);
}
.how-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}
.text-link {
  color: var(--cyan-deep);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
  color: var(--ink);
}

.dark-band {
  background: var(--steel);
  color: #eef2f5;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.dark-band .display {
  color: #eef2f5;
}
.dark-band .compare th,
.dark-band .compare td {
  border-bottom-color: var(--line-dark);
}
.table-scroll {
  overflow-x: auto;
  margin-top: 1.5rem;
}
.compare {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}
@media (min-width: 720px) {
  .compare {
    min-width: 40rem;
  }
}
.compare th,
.compare td {
  padding: 0.95rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(238, 242, 245, 0.12);
  vertical-align: top;
}
.compare.on-dark td,
.compare.on-dark tbody th {
  color: rgba(238, 242, 245, 0.62);
}
.compare.on-dark thead th,
.compare.on-dark td:nth-child(2) {
  color: #fff;
  font-weight: 500;
}
.compare thead th {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contrast-note {
  margin: 1.25rem 0 0;
  max-width: 48ch;
  color: rgba(238, 242, 245, 0.6);
  font-size: 0.95rem;
}

.close {
  padding-bottom: clamp(4.5rem, 12vw, 7rem);
}
/* Navy → navy: kill double seam between dark-band and close when close stays paper */
.dark-band + .close {
  border-top: 0;
  margin-top: 0;
}
.waitlist {
  display: grid;
  gap: 1rem;
}
.waitlist label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.waitlist input,
.waitlist select {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  width: 100%;
  border-radius: 0;
}
.waitlist input:focus,
.waitlist select:focus {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 1px;
}
.waitlist .opt {
  font-weight: 400;
  color: var(--mute);
  font-size: 0.9em;
}
.row2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 540px) {
  .row2 {
    grid-template-columns: 1fr 1fr;
  }
}
.note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mute);
}
.note a {
  color: var(--cyan-deep);
}
.waitlist-confirm .confirm-title {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--cyan-deep);
  font-size: 1.25rem;
}
.email-plain {
  user-select: all;
  -webkit-user-select: all;
  font-weight: 600;
  color: var(--ink);
}
.email-plain-row {
  display: grid;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
}
.email-plain-row .note {
  margin: 0;
}
.btn-copy-email {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.45rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--cyan-deep);
  cursor: pointer;
}
.btn-copy-email:hover,
.btn-copy-email:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 1px;
}
.waitlist-preview {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  max-height: 14rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink);
  user-select: text;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  background: var(--paper-2);
}
.foot-grid {
  display: grid;
  gap: 1rem;
}
.foot-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.foot-brand img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}
.foot nav:not(.foot-nav-groups) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}
.foot a {
  color: var(--mute);
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot .foot-group a:hover {
  text-decoration: none;
}
.fine {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mute);
}

/* Inner pages */
.page-hero {
  padding: clamp(5.5rem, 12vw, 7.5rem) clamp(1.15rem, 3.5vw, 2rem) 2rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.page-hero .brand-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  letter-spacing: -0.04em;
}
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 22ch;
}
.page-hero p {
  margin: 0;
  max-width: 48ch;
  color: var(--mute);
  font-size: 1.08rem;
}
.prose {
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 3.5vw, 2rem) clamp(3rem, 8vw, 5rem);
}
.prose h2 {
  margin: 2rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.prose p,
.prose li {
  color: var(--mute);
}
.price-block {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 1rem clamp(1.15rem, 3.5vw, 2rem) clamp(3rem, 8vw, 5rem);
}
.price-block .plan {
  max-width: 30rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.price-block .plan-featured {
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(15, 107, 82, 0.28);
  background: linear-gradient(165deg, rgba(26, 163, 122, 0.08), transparent 60%);
  max-width: 34rem;
}
.plan-badge {
  margin: 0 0 0.65rem;
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--truth);
}
.price-block .amount {
  font-family: var(--display);
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  margin: 0.35rem 0;
}
.price-block .amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--mute);
}
.feature-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 3.5vw, 2rem) clamp(3rem, 8vw, 5rem);
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.feature-grid article {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.feature-grid h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
}
.feature-grid p {
  margin: 0;
  color: var(--mute);
}
.status {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--truth);
}
.status.planned {
  color: var(--mute);
}
.panel {
  padding-top: 0.5rem;
}
.show-frame {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.show-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(0.9rem);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 859px) {
  .cta-row .btn {
    width: 100%;
  }
  .sx-demo {
    padding: 1rem 0.85rem 0.95rem;
  }
  .sx-demo__controls {
    align-items: stretch;
  }
  .sx-demo__view select {
    max-width: none;
    width: 100%;
  }
}

/* —— Sticky mobile waitlist CTA retired (Candidate B waitlist-dock) —— */

@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .hero-grain,
  .desk-live i,
  .hero-copy,
  .hero-copy > .brand-hero,
  .hero-copy > h1,
  .hero-proof,
  .hero-craft .desk,
  .desk,
  .hero-craft .hero-demo,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* overnight motion */
/* Hero mesh: softer multi-axis drift (overrides earlier mesh keyframes) */
@keyframes mesh {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.055) translate3d(-1.4%, 1.1%, 0);
  }
}
.hero-mesh {
  animation: mesh 18s var(--ease) infinite alternate;
  will-change: transform;
}

/* Hero grain: subtle film-grain drift (2nd intentional ambient motion) */
@keyframes grain-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.32;
  }
  33% {
    transform: translate3d(-1.2%, 0.8%, 0);
    opacity: 0.38;
  }
  66% {
    transform: translate3d(0.9%, -0.6%, 0);
    opacity: 0.3;
  }
}
.hero-grain {
  animation: grain-drift 9s steps(2, end) infinite;
  will-change: transform, opacity;
}

/* 3. Hero demo enter — opacity + slight Y (after type settles) */
@keyframes desk-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 0.85rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-craft .desk,
.hero-craft .hero-demo {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-craft .desk,
  .hero-craft .hero-demo {
    opacity: 0;
    animation: desk-enter 0.7s var(--ease) 0.42s forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .hero-grain,
  .hero-craft .desk,
  .hero-craft .hero-demo {
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }
  .hero-grain {
    opacity: 0.28 !important;
    transform: none !important;
  }
}

/* Hero outro: honesty stays on navy; soft fade into paper (no mid-gray text) */
.hero-outro {
  position: relative;
  background: linear-gradient(
    180deg,
    #0a1221 0%,
    #0d1728 55%,
    #152036 82%,
    var(--paper-2) 100%
  );
  padding: clamp(1.35rem, 3.5vh, 2rem) 0 clamp(1.75rem, 4vh, 2.4rem);
  color: rgba(244, 246, 248, 0.78);
  overflow: hidden;
}
.hero-outro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(238, 242, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 245, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 68%);
  opacity: 0.7;
}
.hero-outro > * {
  position: relative;
  z-index: 1;
}
.hero-outro .install-honesty {
  margin: 0 auto;
  max-width: 42rem;
  color: rgba(244, 246, 248, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
}
.hero-outro .install-honesty strong {
  color: #f4f6f8;
}
.hero-outro .install-honesty .mono {
  color: rgba(244, 246, 248, 0.88);
}

/* overnight digest — paper band; spend-spine sits here with dark ink */
.digest-band {
  background:
    radial-gradient(720px 320px at 8% 0%, rgba(14, 116, 144, 0.07), transparent 58%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 28%);
}
.digest-band .spend-spine-strip {
  margin: 0 auto 1.75rem;
}
.digest-wrap .band-intro {
  max-width: 46ch;
  margin-bottom: 0;
}
.digest-read {
  margin-top: 2rem;
  max-width: 40rem;
  padding: clamp(1.35rem, 3.2vw, 1.9rem) clamp(1.2rem, 3vw, 1.75rem);
  border-left: 3px solid var(--cyan-deep);
  background:
    linear-gradient(165deg, rgba(14, 116, 144, 0.05), transparent 42%),
    var(--paper-2);
}
.digest-eq {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.25;
}
.digest-eq-op {
  color: var(--mute);
  font-weight: 500;
}
.digest-eq-answer {
  color: var(--cyan-deep);
}
.digest-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.digest-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.9rem;
  align-items: start;
}
.digest-step-n {
  margin-top: 0.15rem;
  color: var(--cyan-deep);
  font-size: 0.8rem;
  font-weight: 600;
}
.digest-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.digest-steps span:not(.digest-step-n) {
  display: block;
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.45;
}
.digest-step-answer strong {
  color: var(--cyan-deep);
}
.digest-close {
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  max-width: 36ch;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lie-wrap .display {
  margin-bottom: 0;
}
.lie-contrast {
  margin-top: 1.5rem;
  max-width: 42rem;
}
.lie-lede {
  margin: 0 0 0.85rem;
  max-width: 48ch;
  color: rgba(238, 242, 245, 0.68);
  font-size: 1.08rem;
  line-height: 1.5;
}
.lie-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}
.lie-facts li {
  margin: 0;
  color: rgba(238, 242, 245, 0.62);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.lie-facts li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 1px;
  background: #e8a090;
  vertical-align: 0.15em;
}
.lie-punch {
  margin: 0;
  max-width: 40ch;
  padding-left: 0.9rem;
  border-left: 3px solid rgba(232, 160, 144, 0.75);
  color: #f4f6f8;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.lie-more {
  margin: 1.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.lie-more a {
  color: #5ee7f0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}
.lie-more a:hover,
.lie-more a:focus-visible {
  color: #e8a090;
}

.formula-band {
  background:
    radial-gradient(480px 220px at 0% 100%, rgba(26, 163, 122, 0.07), transparent 55%),
    var(--paper-2);
}
.formula-panel-tight {
  margin-top: 1.35rem;
  max-width: 36rem;
  border-radius: 0;
  box-shadow: none;
}
.formula-wrap .formula-note {
  max-width: 44ch;
}

@media (min-width: 800px) {
  .digest-steps {
    gap: 1.15rem;
  }
  .digest-eq {
    gap: 0.55rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .digest-read.reveal,
  .lie-contrast.reveal,
  .formula-panel-tight.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Hero entrance budget (exactly 3; ambient mesh paused under reduced-motion) —— */

/* 1. Brand + H1 rise / settle — only when motion is OK (never leave opacity:0 stuck) */
@keyframes hero-type-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 0.7rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-copy > .brand-hero,
.hero-copy > h1 {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .brand-hero,
  .hero-copy > h1 {
    opacity: 0;
    animation: hero-type-rise 0.52s var(--ease) forwards;
  }
  .hero-copy > .brand-hero {
    animation-delay: 0.04s;
  }
  .hero-copy > h1 {
    animation-delay: 0.1s;
  }
}

/* 2. Formula underline draw — thesis lock */
@keyframes formula-draw {
  from {
    background-size: 0% 1.5px;
  }
  to {
    background-size: 100% 1.5px;
  }
}
.hero-craft .formula-inline {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  padding-bottom: 0.08em;
  animation: formula-draw 0.65s var(--ease) 0.38s forwards;
}

/* 3. Desk enter — see @keyframes desk-enter above */

/* Below-fold digest stagger (not hero budget) */
@keyframes digest-step {
  from {
    opacity: 0;
    transform: translate3d(0, 0.55rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.digest-read.reveal.in .digest-eq {
  animation: digest-step 0.55s var(--ease) 0.06s both;
}
.digest-read.reveal.in .digest-steps li {
  animation: digest-step 0.55s var(--ease) both;
}
.digest-read.reveal.in .digest-steps li:nth-child(1) {
  animation-delay: 0.16s;
}
.digest-read.reveal.in .digest-steps li:nth-child(2) {
  animation-delay: 0.28s;
}
.digest-read.reveal.in .digest-steps li:nth-child(3) {
  animation-delay: 0.4s;
}
.digest-read.reveal.in .digest-close {
  animation: digest-step 0.5s var(--ease) 0.52s both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy > .brand-hero,
  .hero-copy > h1,
  .hero-craft .desk,
  .digest-read.reveal .digest-eq,
  .digest-read.reveal .digest-steps li,
  .digest-read.reveal .digest-close {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-craft .formula-inline {
    animation: none !important;
    background-size: 100% 1.5px;
  }
}

/* overnight thesis */
.lie-lede {
  max-width: 52ch;
}
.contrast-lede {
  margin: 0.85rem 0 1.35rem;
  max-width: 40ch;
  color: rgba(238, 242, 245, 0.72);
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.dark-band .contrast-note {
  max-width: 44ch;
}
.dark-band .contrast-more {
  margin: 0.85rem 0 0;
  max-width: 44ch;
  color: rgba(238, 242, 245, 0.62);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.dark-band .contrast-more a {
  color: #5ee7f0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}
.dark-band .contrast-more a:hover,
.dark-band .contrast-more a:focus-visible {
  color: #7aedf4;
}

/* waitlist close band */
.close-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan-deep);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 24px 48px -32px rgba(10, 18, 33, 0.25);
}
.close .lede-soft a {
  color: var(--cyan-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.close .lede-soft a:hover,
.close .lede-soft a:focus-visible {
  color: var(--ink);
}
.close-assurances {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.88rem;
  color: var(--mute);
}
.close-assurances li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.close-assurances li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--truth-2);
  transform: translateY(-1px);
}
.close-assurances strong {
  color: var(--ink);
  font-weight: 600;
}


/* —— Multi-platform CSV spend spine —— */
.spend-spine-strip {
  margin: 1.5rem auto 0;
  max-width: 48rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(10, 18, 33, 0.1);
  border-left: 3px solid var(--cyan-deep, #2bb8c4);
  background:
    linear-gradient(120deg, rgba(94, 231, 240, 0.07), transparent 55%),
    #fff;
}
.spend-spine-strip p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
}
.spend-spine-strip strong {
  color: var(--ink);
  font-weight: 700;
}
.spend-spine-strip a {
  color: var(--cyan-deep, #2bb8c4);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}
.spend-spine-strip a:hover,
.spend-spine-strip a:focus-visible {
  color: var(--ink);
}

.spend-csv-band {
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(94, 231, 240, 0.1), transparent 55%),
    #fff;
}
.spend-flow {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .spend-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.spend-flow li {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(10, 18, 33, 0.1);
  background: var(--paper-2, #f6f8fa);
}
.spend-flow .n {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-deep, #2bb8c4);
}
.spend-flow h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.spend-flow p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.5;
}

.platform-tags {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  max-width: 52rem;
}
.platform-tags li {
  margin: 0;
  padding: 0.28rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  border: 1px solid rgba(10, 18, 33, 0.12);
  background: rgba(94, 231, 240, 0.06);
  border-radius: 2px;
}

.spend-vs {
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.25rem;
  max-width: 46rem;
  border: 1px solid rgba(10, 18, 33, 0.1);
  background:
    linear-gradient(160deg, rgba(10, 18, 33, 0.03), transparent 60%),
    #fff;
}
.spend-vs p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.55;
}
.spend-vs p + p {
  margin-top: 0.7rem;
}
.spend-vs .vs-label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-deep, #2bb8c4);
}
.spend-csv-cta {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

/* —— Home till break-even interactive (anti-slop craft) —— */
.till-band {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(94, 231, 240, 0.08), transparent 55%),
    var(--paper, #f7f8fa);
}
.till-wrap {
  max-width: 40rem;
  text-align: center;
}
.till-be {
  margin: 1.75rem auto 0;
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid rgba(10, 18, 33, 0.12);
  border-radius: 8px;
  background: #fff;
}
.till-be__gauge {
  position: relative;
  max-width: 20rem;
  margin: 0 auto 0.5rem;
}
.till-be__gauge svg {
  width: 100%;
  height: auto;
  display: block;
}
.till-be__arc {
  stroke: rgba(10, 18, 33, 0.12);
}
.till-be__needle {
  stroke: var(--cyan-deep, #2bb8c4);
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: rotate(calc(-70deg + var(--till-t, 0.4) * 140deg));
  transition: transform 0.18s ease-out;
}
.digest-band--tight {
  padding-block: 2.5rem;
}
.digest-band--tight .digest-close {
  margin-top: 0.85rem;
  font-size: 0.98rem;
  color: var(--mute);
}
.till-be__hub {
  fill: var(--navy, #0a1221);
}
.till-be__be {
  margin: 0.15rem 0 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy, #0a1221);
  line-height: 1;
}
.till-be__be-label {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--mute);
}
.till-be__control {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem auto 0;
  max-width: 22rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy, #0a1221);
}
.till-be__control input[type="range"] {
  width: 100%;
  accent-color: var(--cyan-deep, #2bb8c4);
}
.till-be__verdict {
  margin: 1.1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--navy, #0a1221);
}
.till-be__verdict[data-tone="good"] {
  color: #1a6b4a;
}
.till-be__verdict[data-tone="bad"] {
  color: #9b2c2c;
}
.till-be__math {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--mute);
}
.till-be__more {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}
.till-be__more a {
  color: var(--cyan-deep, #2bb8c4);
}
.lie-contrast--tight .lie-punch {
  margin: 0;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.5;
}
.how-band--tight .how-rail--tight p {
  font-size: 0.92rem;
}
.how-rail--tight h3 {
  margin-bottom: 0.2rem;
}
@media (prefers-reduced-motion: reduce) {
  .till-be__needle {
    transition: none;
  }
}

/* deploy-bust 20260731nav2b */

/* dual-toggle 20260731 */

/* tight-header */

/* roadmap */

/* toggle-always-20260731 */
