/* Marketing-first first-load focus. Keep product depth below first scroll. */
.tools-promo-bar {
  display: none !important;
}

body[data-current-page="home"] .navlinks li:has(a[href="#/demo"]),
body[data-current-page="home"] .navlinks li:has(a[href="#/tools"]),
body[data-current-page="home"] .navlinks li:has(a[href="#/atlas"]),
body[data-current-page="home"] .navlinks li:has(a[href="#/pricing"]),
body[data-current-page="home"] .lang-switch-wrap {
  display: none;
}

body[data-current-page="home"] .navlinks {
  padding-right: 94px;
}

body[data-current-page="home"] .settings-toggle,
body[data-current-page="home"] .session-recap-panel,
body[data-current-page="home"] #assistantToggle,
body[data-current-page="home"] #zenRespirationModal,
body[data-current-page="home"] #aziap-zeigarnik-hud {
  display: none !important;
}

body[data-current-page="home"] .home-frame {
  width: min(1180px, calc(100% - 32px));
}

.home-hero-focus {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: calc(100svh - 76px);
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 132px) 0 clamp(64px, 10vh, 112px);
}

body[data-current-page="home"] .home-hero-focus .home-overline {
  display: none !important;
}

body[data-current-page="home"] .home-hero-focus .home-brand-stamp {
  display: none !important;
}

.home-hero-focus .home-title-lockup {
  max-width: 920px;
  margin: 0;
}

.home-hero-focus .home-title-main {
  max-width: 10ch;
  font-size: clamp(4.5rem, 10vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #aebdc4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.home-hero-focus .home-subtitle {
  max-width: 650px;
  margin: clamp(24px, 4vh, 38px) 0 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.35;
}

.home-hero-focus .home-rotator-line {
  display: none;
}

.home-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 5vh, 44px);
}

.home-primary-actions .home-cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: var(--f-display);
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, hsl(200, 100%, 50%), hsl(230, 100%, 60%)) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

.home-primary-actions .home-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 14px 22px;
  border: 2px solid var(--surface);
  border-radius: 8px;
  font-family: var(--f-display);
  font-weight: 900;
  text-decoration: none;
}

.home-primary-actions .home-cta-secondary {
  background: transparent;
  color: var(--text);
}

.home-primary-actions .home-cta-secondary:hover,
.home-primary-actions .home-cta-secondary:focus-visible {
  background: var(--surface);
  color: var(--text-on-dark, #fff);
}

.home-hero-focus .home-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: clamp(30px, 5vh, 48px);
}

.home-hero-focus .home-proof-strip span {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.76rem;
  opacity: 1; /* a11y: was 0.72 — dimmed the near-black chip text on the translucent
                 white band over the dark hero to a faint ~5:1; full strength = ~8.9:1,
                 legible. Live-probe confirmed band rgba(255,255,255,.66) over #16213c. */
}

.home-hero-focus .home-proof-strip strong {
  color: inherit;
  font-weight: 950;
}

.home-frame > .home-audience-strip,
.home-frame > .home-route-strip,
.home-frame > .repdeck-floor-pass,
.home-frame > .home-presale-section,
.home-frame > .strand-b-founder-proof,
.home-frame > .strand-b-how-it-works,
.home-frame > .strand-b-not-list,
.home-frame > .home-moat-claim,
.home-frame > .floor-receipt-board,
.home-frame > .repdeck-company-contract,
.home-frame > .repdeck-problem-strip,
.home-frame > .future-horizon,
.home-frame > .choose-grid,
.home-frame > .home-meta,
.home-frame > .weight-class-widget,
.home-frame > .cal-widget,
.home-frame > .home-foot,
.home-frame > .home-scroll-cue {
  display: none !important;
}

.boot-overlay {
  display: none !important;
}

.boot-frame {
  display: grid;
  gap: 8px;
  width: min(420px, 86vw);
  padding: 24px 28px;
}

.boot-line,
.boot-focus {
  margin: 0;
}

.boot-focus {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

#eccentrx-auth-slot {
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 10005;
  font: 14px/1.2 system-ui, sans-serif;
}

#eccentrx-auth-slot details {
  position: relative;
}

#eccentrx-auth-slot summary,
#eccentrx-auth-slot button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(10, 13, 18, 0.92);
  color: #f5f7fa;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#eccentrx-auth-slot summary {
  display: flex;
  align-items: center;
  list-style: none;
}

#eccentrx-auth-slot summary::-webkit-details-marker {
  display: none;
}

#eccentrx-auth-slot form {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: min(360px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(10, 13, 18, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

#eccentrx-auth-slot input,
#eccentrx-auth-slot .auth-message {
  grid-column: 1 / -1;
}

#eccentrx-auth-slot input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: inherit;
}

#eccentrx-auth-slot .auth-message {
  min-height: 1em;
  color: #ffb4b4;
  font-size: 0.75rem;
}

/* Final acquisition funnel: product proof, company proof, conversion. */
.market-home-funnel {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(64px, 10vw, 128px);
}

.market-product-proof,
.market-trust-receipt,
.market-final-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px;
  background:
    linear-gradient(rgba(27, 76, 93, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 76, 93, 0.045) 1px, transparent 1px),
    #11131a !important; /* a11y: opaque dark card. 0.65 alpha bled the light body through to mid-gray #61646a, collapsing every text pair to <3.1:1 */
  background-size: 40px 40px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4) !important;
}

/* Funnel entrance: each section fades + rises as it scrolls into view.
   Double-gated — feature support AND motion preference — so the static base
   (fully visible) is the reduced-motion / no-support / render-skip fallback,
   i.e. current behavior unchanged. GPU-only (opacity + transform), scroll-
   driven via the view() timeline (no JS, no scroll listener). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .market-product-proof,
    .market-trust-receipt,
    .market-final-cta {
      animation: marketSectionReveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 58%;
    }
    @keyframes marketSectionReveal {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: none; }
    }
  }
}

.market-product-proof {
  padding: clamp(48px, 8vw, 96px) clamp(22px, 6vw, 78px);
}

.market-label {
  margin: 0;
  color: #5b9dff !important; /* brand blue — de-neon doctrine, no legacy cyan */
  font: 800 0.72rem/1.2 var(--f-mono);
  letter-spacing: 0.16em;
}

.market-section-head {
  max-width: 780px;
  margin: 0 auto clamp(34px, 6vw, 64px);
  text-align: center;
}

.market-section-head .market-label {
  margin-bottom: 18px;
  text-align: left;
}

.market-section-head h2,
.market-trust-copy h2,
.market-final-cta h2 {
  margin: 0;
  color: #f5f7fa !important;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.market-section-head h2 {
  font-size: clamp(3rem, 6vw, 6.1rem);
  line-height: 0.95;
}

.market-section-head > p:last-child {
  max-width: 540px;
  margin: 20px auto 0;
  color: #aebdc4 !important;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.market-product-loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
  align-items: stretch;
}

.market-loop-stage {
  display: flex;
  min-height: 360px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #f5f7fa !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none;
  flex-direction: column;
}

.market-loop-stage-primary {
  border-color: #10181d;
  background: #10181d;
  color: #f5fbff;
}

.market-stage-number {
  color: #9ecbff; /* de-neon: retired lime accent -> brand light-blue */
  font: 900 0.9rem/1 var(--f-mono);
}

.market-loop-stage > strong {
  margin-top: 18px;
  color: inherit;
  font: 800 clamp(1.7rem, 3vw, 2.55rem)/1 var(--f-display);
  letter-spacing: -0.045em;
}

.market-loop-stage > p {
  margin: 18px 0 0;
  color: #aebdc4 !important;
  font-size: 0.98rem;
  line-height: 1.55;
}

.market-loop-stage-primary > p,
.market-loop-stage-primary .market-stage-action {
  color: #d7e3e8;
}

.market-set-readout {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.market-set-readout span,
.market-set-readout em {
  color: #aebdc4;
  font: 700 0.7rem/1.3 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-set-readout b {
  color: #fff;
  font: 800 clamp(2.3rem, 4vw, 4.5rem)/1 var(--f-display);
  letter-spacing: -0.06em;
}

.market-loop-stage ul {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.market-loop-stage li {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #aebdc4 !important;
  font-size: 0.82rem;
}

.market-loop-stage li b {
  color: #fff !important;
  font-family: var(--f-mono);
  font-size: 0.7rem;
}

.market-stage-action {
  margin-top: auto;
  padding-top: 26px;
  color: #9ecbff;
  font: 900 0.76rem/1.2 var(--f-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-loop-summary {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: clamp(32px, 5vw, 58px) 0 0;
  color: #9ecbff;
  font: 900 0.82rem/1.2 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-loop-summary b {
  color: #9ecbff; /* de-neon: retired lime accent -> brand light-blue */
}

.market-trust-receipt {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: center;
  padding: clamp(52px, 9vw, 110px) clamp(24px, 8vw, 104px);
}

.market-founder-mark {
  position: relative;
  display: grid;
  width: min(32vw, 300px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(8, 117, 138, 0.3);
  border-radius: 50%;
  place-items: center;
}

.market-founder-mark::before,
.market-founder-mark::after {
  position: absolute;
  border: 1px solid rgba(8, 117, 138, 0.18);
  border-radius: inherit;
  content: "";
  inset: 10%;
}

.market-founder-mark::after {
  inset: 24%;
}

.market-founder-mark span {
  position: relative;
  z-index: 1;
  color: #0d0e12;
  font: 800 clamp(3.2rem, 8vw, 7rem)/1 "Playfair Display", Georgia, serif;
  letter-spacing: -0.08em;
}

.market-founder-mark i {
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  border: 4px solid rgba(248, 252, 253, 0.9);
  border-radius: 50%;
  background: #2563eb; /* de-neon: brand blue, retired lime */
  right: 6%;
  top: 20%;
}

.market-trust-copy h2 {
  max-width: 9ch;
  margin-top: 18px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.95;
}

.market-trust-intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: #aebdc4 !important;
  font-size: 1.05rem;
  line-height: 1.6;
}

.market-trust-list {
  display: grid;
  gap: 0;
  margin: clamp(30px, 5vw, 54px) 0 0;
}

.market-trust-list div {
  position: relative;
  padding: 20px 0 20px 58px;
  border-top: 1px solid rgba(24, 48, 60, 0.14);
}

.market-trust-list div::before {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(8, 117, 138, 0.34);
  border-radius: 50%;
  background: #2563eb; /* de-neon: brand blue, retired lime */
  content: "";
  left: 0;
  top: 22px;
}

.market-trust-list dt {
  color: #f5f7fa !important;
  font-size: 1rem;
  font-weight: 900;
}

.market-trust-list dd {
  margin: 5px 0 0;
  color: #aebdc4 !important;
  font-size: 0.9rem;
  line-height: 1.5;
}

.market-trust-links {
  display: flex;
  gap: 22px;
  margin: 24px 0 0;
  flex-wrap: wrap;
}

.market-trust-links a {
  color: #9ecbff !important;
  font: 900 0.76rem/1.3 var(--f-mono);
  text-decoration: none;
  text-transform: uppercase;
}

.market-final-cta {
  display: grid;
  justify-items: center;
  padding: clamp(54px, 9vw, 110px) clamp(22px, 7vw, 90px);
  text-align: center;
}

.market-final-cta h2 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  line-height: 0.92;
}

.market-final-cta > p:not(.market-label) {
  margin: 20px 0 0;
  color: #aebdc4 !important;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.market-final-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 330px));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 50px);
}

.market-final-primary,
.market-final-secondary {
  display: inline-flex;
  min-height: 58px;
  padding: 14px 22px;
  border: 2px solid #08758a;
  border-radius: 8px;
  color: #0d0e12 !important;
  font: 900 1rem/1.2 var(--f-display);
  text-decoration: none;
  align-items: center;
  justify-content: center;
}

.market-final-primary {
  position: relative; /* anchor + clip the hover sheen */
  overflow: hidden;
  border-color: #1d4ed8;
  background: #2563eb; /* de-neon: brand blue replaces retired lime on the primary CTA */
  color: #fff !important; /* white on #2563eb = 5.12:1, AA pass (shared rule's #0d0e12 fails on blue) */
}

/* Premium hover light-sweep on the most-pressed button. Compositor-only
   (transform of a clipped overlay — no paint/layout in the animation),
   motion-gated by construction (the ::after only exists under no-preference),
   and clipped to the button by overflow:hidden above. */
@media (prefers-reduced-motion: no-preference) {
  .market-final-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.26) 50%, transparent 58%);
    transform: translateX(-130%);
    pointer-events: none;
  }
  .market-final-primary:hover::after,
  .market-final-primary:focus-visible::after {
    transform: translateX(130%);
    transition: transform 0.72s var(--ease-spring, cubic-bezier(0.22, 0.61, 0.36, 1));
  }
}

.market-final-secondary {
  background: rgba(255, 255, 255, 0.7);
}

.market-final-facts {
  display: grid;
  width: min(900px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(42px, 7vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.market-final-facts li {
  display: grid;
  gap: 6px;
  padding: 0 22px;
  border-right: 1px solid rgba(24, 48, 60, 0.14);
}

.market-final-facts li:last-child {
  border-right: 0;
}

.market-final-facts strong {
  color: #9ecbff;
  font-size: 0.86rem;
}

.market-final-facts span {
  color: #F6FBFF;
  font-size: 0.78rem;
}

body[data-current-page="home"] .footer {
  padding: 36px 20px 42px !important;
}

body[data-current-page="home"] .footer .accent-secondary,
body[data-current-page="home"] .footer .footer-proof,
body[data-current-page="home"] .footer .footer-legal,
body[data-current-page="home"] .footer-nav a[href="#/demo"],
body[data-current-page="home"] .footer-nav a[href="#/gym"],
body[data-current-page="home"] .footer-nav a[href="#/tools"],
body[data-current-page="home"] .footer-nav a[href="/tools.html"],
body[data-current-page="home"] .footer-nav a[href="#/pricing"] {
  display: none !important;
}

body[data-current-page="home"] .footer .container {
  display: grid;
  gap: 14px;
  justify-items: center;
}

body[data-current-page="home"] .footer-line,
body[data-current-page="home"] .footer-nav {
  margin: 0;
}

@media (max-width: 700px) {
  body[data-current-page="home"] .sticky-mobile-cta,
  body[data-current-page="home"] .mobile-app-nav {
    display: none !important;
  }

  .home-hero-focus {
    min-height: auto;
    padding: 12px 0 12px;
  }

  .home-hero-focus .home-title-main {
    max-width: 9ch;
    font-size: clamp(3.4rem, 18vw, 5.4rem);
    line-height: 0.9;
  }

  .home-hero-focus .home-rotator-line {
    display: none;
  }

  .home-primary-actions {
    width: 100%;
  }

  .home-primary-actions .home-cta-main,
  .home-primary-actions .home-cta-secondary {
    width: 100%;
  }

  .home-hero-focus .home-proof-strip {
    display: grid;
    gap: 8px;
  }

  body[data-current-page="home"] .navlinks {
    display: none !important;
  }

  #eccentrx-auth-slot {
    position: fixed !important;
    top: 12px !important;
    right: 10px !important;
    z-index: 10005 !important;
    width: auto !important;
    margin: 0 !important;
  }

  #eccentrx-auth-slot summary {
    min-height: 42px;
    padding: 7px 12px;
  }

  .market-home-funnel {
    gap: 24px;
    padding-bottom: 52px;
  }

  .market-product-proof,
  .market-trust-receipt,
  .market-final-cta {
    border-radius: 12px;
  }

  .market-product-proof,
  .market-trust-receipt,
  .market-final-cta {
    padding: 18px 14px;
  }

  .market-section-head {
    margin-bottom: 12px;
    text-align: left;
  }

  .market-section-head .market-label {
    margin-bottom: 6px;
  }

  .market-section-head h2,
  .market-trust-copy h2,
  .market-final-cta h2 {
    font-size: clamp(1.85rem, 9.6vw, 2.65rem);
  }

  .market-section-head > p:last-child {
    margin: 6px 0 0;
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .market-product-loop,
  .market-trust-receipt,
  .market-final-actions,
  .market-final-facts {
    grid-template-columns: 1fr;
  }

  .market-loop-stage {
    min-height: 176px;
    padding: 16px;
  }

  .market-loop-stage p {
    margin: 8px 0 0;
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .market-stage-number {
    margin-bottom: 8px;
  }

  .market-stage-action {
    margin-top: 12px;
    font-size: 0.7rem;
  }

  .market-loop-summary {
    gap: 9px;
    font-size: 0.66rem;
  }

  .market-founder-mark {
    width: min(66vw, 230px);
  }

  .market-trust-copy h2 {
    max-width: 8ch;
  }

  .market-trust-list div {
    padding-left: 48px;
  }

  .market-final-actions {
    width: 100%;
  }

  .market-final-facts {
    gap: 20px;
  }

  .market-final-facts li {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 48, 60, 0.14);
  }

  .market-final-facts li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  body[data-current-page="home"] .footer {
    padding: 28px 14px 34px !important;
  }

  body[data-current-page="home"] .footer-nav {
    gap: 10px 18px;
  }
}

body[data-current-page='home'] .repdeck-floor-pass { display: none !important; }

/* Phase 201: Behavioral Economics Value Framing */
.value-framing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* inside the framing grid the action pair stacks; the standalone 2-col grid
   rule elsewhere still owns every other placement */
.value-framing-grid .market-final-actions { display: flex; flex-direction: column; gap: 12px; }
.market-pricing-anchor {
  display: flex;
  padding: 16px;
  border: 1px solid #4f7ee8;
  border-radius: 12px;
  background: #101a33;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  justify-content: center;
}
.market-pricing-anchor > p {
  margin: 0;
  color: #d7e3e8;
  font-size: 0.85rem;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .value-framing-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }
}
/* honest free-anchor — the $14.99/mo strike + red "Free Today" urgency badge
   were manufactured loss-aversion for a price that never existed (commerce
   guard C1+C2 RED). The product IS free; say so plainly. */
.anchor-badge { background: rgba(37, 99, 235, 0.14); border: 1px solid #4f7ee8; color: #9ecbff; font-family: var(--f-mono); padding: 4px 12px; text-transform: uppercase; letter-spacing: 0.1em; border-radius: var(--radius); font-size: 0.7rem; align-self: flex-start; }
.anchor-price-free { font-family: var(--f-mono); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
