/* Homepage marketing presentation; no dependencies or changes to pricing/legal pages. */
.competition .section-head { max-width: 820px; }
.competition-modes { display: grid; gap: 76px; }
.competition-mode { min-width: 0; border-top: 1px solid #35412d; padding-top: 28px; }
.mode-heading { max-width: 770px; margin-bottom: 30px; }
.mode-step { display: inline-block; color: var(--muted); font-size: 10px; letter-spacing: .14em; font-weight: 750; margin-right: 20px; }
.mode-label { color: var(--lime); font-size: 10px; letter-spacing: .17em; font-weight: 850; }
.mode-heading h3 { font-size: clamp(29px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.055em; margin: 18px 0 14px; }
.mode-heading p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }
.solo-layout { display: grid; grid-template-columns: 1.24fr 1fr; gap: 16px; }
.solo-card { min-width: 0; border: 1px solid #3b4931; border-radius: 16px; padding: 28px; background: linear-gradient(145deg, #1a2216, #0e130d 82%); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.solo-feature { position: relative; overflow: hidden; padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,.22), inset 0 1px rgba(215,251,67,.08); }
.solo-feature:before { content: ""; position: absolute; pointer-events: none; inset: 0; background: radial-gradient(ellipse at 100% 0, rgba(215,251,67,.09), transparent 55%); }
.solo-feature > * { position: relative; }
.solo-examples { display: grid; gap: 16px; }
.competition-mode--solo .challenge-top { flex-wrap: wrap; }
.solo-feature .solo-entry-detail { margin-top: 8px; color: var(--lime); }
.solo-feature .challenge-ring { background: radial-gradient(closest-side,#10160e 84%, transparent 85%), conic-gradient(var(--lime) 0 var(--completion,71.1%), #283322 var(--completion,71.1%) 100%); }
.solo-feature .solo-join { margin-top: 24px; font-size: 12px; }
.solo-flow { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 22px 0 0; }
.solo-flow strong { display: block; color: var(--lime); font-size: 10px; letter-spacing: .12em; margin-bottom: 8px; }
.challenge-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #35412d; }
.challenge-kicker { font-size: 9px; font-weight: 750; letter-spacing: .1em; color: #aebca3; }
.challenge-status { display: flex; flex-shrink: 0; align-items: center; gap: 7px; font-size: 9px; letter-spacing: .12em; color: var(--lime); }
.challenge-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.featured-challenge-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 36px 0 32px; }
.challenge-category { font-size: 9px; font-weight: 800; letter-spacing: .14em; color: var(--lime); }
.solo-feature h4 { margin: 10px 0 8px; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -.055em; }
.featured-challenge-content p { margin: 0; color: var(--muted); font-size: 13px; }
.challenge-ring { width: 118px; height: 118px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #445335; background: radial-gradient(closest-side,#10160e 84%, transparent 85%), conic-gradient(var(--lime) 0 71.1%, #283322 71.1% 100%); }
.progress-number { color: var(--text); font-size: 27px; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ring-caption { color: var(--muted); font-size: 7px; letter-spacing: .16em; }
.progress-label, .example-progress-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; margin-bottom: 10px; }
.progress-label strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.progress-label > span:last-child, .example-progress-label > span:last-child { font-size: 8px; letter-spacing: .07em; color: #8e9c83; }
.challenge-meter { height: 5px; overflow: hidden; border-radius: 99px; background: #293323; }
.challenge-meter span { display: block; height: 100%; width: var(--completion,71.1%); transform: scaleX(1); transform-origin: left; border-radius: inherit; background: var(--lime); }
.challenge-footnote { display: block; margin-top: 24px; color: #9eaf8f; font-size: 11px; }
.challenge-footnote strong { color: var(--lime); font-size: 9px; letter-spacing: .09em; font-weight: 750; }
.more-challenges { color: #95a486; font-size: 11px; margin: 19px 0 0; line-height: 1.7; }
.more-challenges span { color: #c4d2b7; }
.challenge-example h4 { font-size: 22px; font-weight: 750; letter-spacing: -.04em; line-height: 1.15; margin: 12px 0 10px; }
.challenge-example p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 0; max-width: 380px; }
.example-progress { margin-top: 23px; }
.challenge-note { display: block; color: #a7b994; font-size: 9px; font-weight: 750; letter-spacing: .1em; margin-top: 22px; }
.versus-layout { display: grid; grid-template-columns: minmax(0, 1fr) 94px minmax(0, 1fr); align-items: center; }
.competitor-card { position: relative; overflow: hidden; border: 1px solid #38442f; border-radius: 14px; padding: 32px; background: linear-gradient(135deg, #1b2317, #0f140e); min-height: 205px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.competitor-card:after { content: ""; position: absolute; pointer-events: none; width: 170px; height: 170px; border: 1px solid rgba(215,251,67,.1); border-radius: 50%; right: -75px; bottom: -95px; }
.competitor-index { color: var(--lime); font-size: 9px; font-weight: 750; letter-spacing: .15em; }
.competitor-card strong { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.06em; margin: 16px 0 7px; line-height: 1; }
.competitor-caption { color: #a1b091; font-size: 9px; letter-spacing: .1em; }
.versus-mark { color: var(--lime); text-align: center; font-size: 24px; font-weight: 850; letter-spacing: -.06em; }
.comparison-metrics { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 18px 0 0; margin: 0; list-style: none; }
.comparison-metrics li { color: #a3b396; font-size: 11px; }
.comparison-metrics li:before { content: ""; display: inline-block; height: 3px; width: 3px; background: #a4c251; margin: 0 8px 2px 0; }
.competitor-card--gym { min-height: 230px; background: linear-gradient(135deg, #202b1a, #10170e); border-color: #445637; }
.competitor-card--gym:after { box-shadow: 0 0 0 24px rgba(215,251,67,.025),0 0 0 48px rgba(215,251,67,.015); width: 250px; height: 250px; }
.pr-example { border-top: 1px solid #35412d; margin-top: 20px; padding-top: 14px; }
.pr-caption { display: block; color: #8fa17f; font-size: 8px; letter-spacing: .06em; margin-bottom: 12px; }
.pr-readout { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 7px 0; font-size: 9px; letter-spacing: .05em; color: var(--muted); }
.pr-readout strong { color: #dce5d4; font-size: 19px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-readout i { font-style: normal; color: #718366; }
.pr-readout--today strong { color: var(--lime); }
.new-pr { display: inline-block; margin-top: 7px; border: 1px solid #506335; border-radius: 4px; padding: 4px 7px; color: var(--lime); font-size: 8px; letter-spacing: .13em; font-weight: 800; }
.product-story .steps { grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; }
.product-story .step { min-width: 0; padding: 22px 14px 22px 20px; }
.journey-tag { display: block; margin-top: 21px; font-size: 9px; font-weight: 800; letter-spacing: .09em; color: var(--lime); }
.product-story .step h3 { margin-top: 13px; }
.hero .device-frame { transform: translate3d(var(--preview-pointer-x,0px),calc(var(--preview-parallax,0px) + var(--preview-pointer-y,0px)),0); }
.hero h1 .hero-line { display: block; color: var(--text); }
.hero h1 .hero-line--lime { color: var(--lime); }
.hero h1 .hero-line:after { content: none; }
.hero .record-row { min-width: 0; }
.hero .record-icon { flex-shrink: 0; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .solo-card:hover { transform: translateY(-4px); border-color: #687c49; box-shadow: 0 15px 34px rgba(0,0,0,.22); }
  .hero .hero-actions .button:hover { transform: translateY(-2px) scale(1.015); }
  .hero .hero-actions .button:active { transform: scale(.98); }
}
@media (prefers-reduced-motion:no-preference) {
  .motion-ready .hero h1 { animation: none; }
  .motion-ready .hero h1 .hero-line { display: block; animation: hz-up .55s .18s both var(--hz); }
  .motion-ready .hero h1 .hero-line:nth-child(2) { animation-delay: .29s; }
  .motion-ready .hero h1 .hero-line:nth-child(3) { animation-delay: .4s; }
  .motion-ready .hero h1 .hero-line:not(.hero-line--lime) { color: var(--text); }
  .motion-ready .hero h1 .hero-line:after { content: none; }
  .motion-ready .hero-copy { animation-delay: .56s; }
  .motion-ready .hero-actions { animation-delay: .69s; }
  .motion-ready .hero .hero-rise { animation-delay: .82s; }
  .motion-ready .hero-stage:before { animation: hz-glow .8s 1.2s both ease-out, hz-breathe 18s 2s ease-in-out infinite; }
  .motion-ready .hero .record-row { animation: hz-up .5s 1s both var(--hz); }
  .motion-ready .hero .record-row:nth-child(2) { animation-delay: 1.1s; }
  .motion-ready .hero .record-row:nth-child(3) { animation-delay: 1.2s; }
  .motion-ready .hero .record-row:nth-child(4) { animation-delay: 1.3s; }
  .solo-card.reveal-pending.is-visible { animation: rg-card .7s both cubic-bezier(.2,.8,.2,1); }
  .solo-card.is-visible .challenge-meter span { animation: challenge-meter-in .9s .12s both cubic-bezier(.2,.8,.2,1); }
  .competition-mode.is-visible .competitor-card--left { animation: competitor-left .7s both cubic-bezier(.2,.8,.2,1); }
  .competition-mode.is-visible .competitor-card--right { animation: competitor-right .7s .08s both cubic-bezier(.2,.8,.2,1); }
  .feature-card--progress.is-visible .new-pr { animation: new-pr-pulse .8s .5s both ease-out; }
}
@keyframes challenge-meter-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes competitor-left { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes competitor-right { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes new-pr-pulse { 0%,100% { box-shadow: 0 0 0 rgba(215,251,67,0); } 45% { box-shadow: 0 0 15px rgba(215,251,67,.22); } }
@keyframes hz-breathe { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-48%,-52%) scale(1.045); } }
@media (max-width:900px) {
  .solo-layout { grid-template-columns: 1fr; }
  .solo-examples { grid-template-columns: 1fr 1fr; }
  .product-story .steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .competition-modes { gap: 54px; }
  .mode-step,.mode-label { display: block; margin: 0 0 7px; font-size: 9px; }
  .solo-examples { grid-template-columns: 1fr; }
  .solo-card { padding: 23px; }
  .challenge-top { align-items: flex-start; gap: 12px; }
  .challenge-kicker { font-size: 8px; max-width: 165px; }
  .featured-challenge-content { gap: 12px; margin: 29px 0; }
  .solo-feature h4 { font-size: 33px; }
  .challenge-ring { height: 90px; width: 90px; }
  .progress-number { font-size: 23px; }
  .progress-label { align-items: flex-start; flex-direction: column; }
  .versus-layout { grid-template-columns: minmax(0,1fr) 42px minmax(0,1fr); }
  .competitor-card { min-height: 172px; padding: 18px 13px; }
  .competitor-card strong { font-size: clamp(23px,5.8vw,30px); }
  .competitor-caption { font-size: 7px; line-height: 1.6; letter-spacing: .06em; }
  .versus-mark { font-size: 17px; }
  .comparison-metrics { gap: 8px 17px; }
  .product-story .steps { grid-template-columns: 1fr; gap: 22px; }
  .product-story .step { position: relative; padding: 14px 18px; }
  .product-story .step:not(:last-child):after { content: "↓"; position: absolute; left: 18px; bottom: -22px; color: var(--lime); font-size: 14px; }
  .motion-ready .hero .hero-float { animation: none; }
}
@media (max-width:360px) {
  .solo-card { padding: 18px; }
  .featured-challenge-content { flex-wrap: wrap; }
  .challenge-status { font-size: 8px; }
  .challenge-category { font-size: 8px; }
  .competitor-card { padding: 16px 11px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero .device-frame { transform: none; }
  .hero h1 .hero-line { display: block; }
  .hero h1 .hero-line:not(.hero-line--lime) { color: var(--text); }
  .hero h1 .hero-line:after { content: none; }
}

/* Ambient backgrounds only: soft gradients, compositor-only drift, no input handlers. */
main { isolation: isolate; }
main::before, main::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  width: min(96vmin, 900px);
  height: min(96vmin, 900px);
  background: radial-gradient(ellipse, rgba(215,251,67,.055), rgba(139,180,40,.018) 38%, transparent 70%);
}
main::before { top: 10vh; left: -20vmin; }
main::after {
  bottom: -18vmin;
  right: -24vmin;
  background: radial-gradient(ellipse, rgba(174,217,53,.04), rgba(139,180,40,.012) 40%, transparent 70%);
}
/* Let the same ambient light continue through the existing section gradient. */
main > .competition { background: linear-gradient(180deg, rgba(12,15,11,.6), rgba(8,10,8,.7)); }
@media (prefers-reduced-motion:no-preference) {
  main::before, main::after { will-change: transform; }
  main::before { animation: rg-ambient-drift 48s ease-in-out infinite alternate; }
  main::after { animation: rg-ambient-drift 64s -24s ease-in-out infinite alternate-reverse; }
}
@media (min-width:901px) and (prefers-reduced-motion:no-preference) {
  .hero::after { inset: -24px; }
  .motion-ready .hero::after {
    animation: rg-grid 1.5s .15s both ease-out, rg-ambient-grid 80s 1.65s ease-in-out infinite;
  }
}
@keyframes rg-ambient-drift {
  from { transform: translate3d(-12px, -10px, 0); }
  to { transform: translate3d(30px, 24px, 0); }
}
@keyframes rg-ambient-grid {
  0%,100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(16px, 12px, 0); }
}
@media (max-width:900px) {
  /* Just one small composited glow on mobile/tablet; no moving full-screen grid. */
  main::before { width: 82vmin; height: 82vmin; opacity: .65; }
  main::after { display: none; animation: none; will-change: auto; }
}
@media (max-width:900px) and (prefers-reduced-motion:no-preference) {
  main::before { animation-duration: 64s; }
}
@media (prefers-reduced-motion:reduce), (update:slow) {
  main::before, main::after { animation: none; transform: none; will-change: auto; }
  .motion-ready .hero::after { animation: none; transform: none; }
}