/* Phone "lite" mode: static, quiet, fast. Loaded last on every page.
   1) the homepage's own reduced-motion rules, applied to every phone (generated from css/home.css — keep in sync)
   2) decoration that only earns its keep on a big screen is dropped
   3) no backdrop blur (the costliest thing on a phone GPU): solid surfaces instead
   JS side: home.js / brain-globe.js / system.js treat innerWidth<=900 as reduced motion (static canvases, no loops). */
@media (max-width:900px){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
  .js .rv{opacity:1;transform:none}
  .js .hero__title .line>span{transform:none}
  .proof__float .lg{animation:none;translate:none}
  .capture,.capture::before{animation:none}
  .capture::before{--p:27%}
  .wC__old{display:none}
  .wC__new i{opacity:1!important;filter:none!important;animation:none!important}
  .wC__sub{opacity:1;transform:none}
  .band__track span{transition:none}
  .edge .gl circle,.edge .eA__row li::before,.edge .eA__lbl{transition:none!important}
  .edge li.is-on .gl circle:not(.c),.edge li.is-on .gl .c{transform:none;opacity:inherit}
  .edge .eA__row li.is-on::before{opacity:0}
  .edge li.is-on .eA__lbl{color:var(--ink-soft)}
  .q__swap{transition:none}
  .q__dots button[aria-current] i{animation:none;transform:none}
  .ft-btn,.ft-btn .ft-ar{transition:none}
  .fc,.fc__b,.fgrp span,.fc__dot,.tk{transition:none}
  .band__track span::after{transition:none}
  .band__track span::after{transition:none!important}
  .acc__p,.acc__in,.acc__x,.acc__x::before,.acc__x::after{transition:none}
  .nav__tr{display:none}
  .gp,.gp__form,.gp__x,.gp__ok,.gp__tab{transition:none!important}
  .gp{transform:none}
  .fin__line .w,.fin__line b{transition:none!important;animation:none!important;filter:none!important}
  .how.is-fin .fin__line b{background-position:0 0}
  .dv__s .tip,.dv__s .kn{transition:none}
  .ft-ring path,.ft-ring circle{animation:none}
  .v03a-glow{animation:none}
  .v03a-learn i::after{animation:none}.v03a-tip{transition:none}
  .fin__cta{opacity:1;transform:none;pointer-events:auto;transition:none}
  .wC__cta{opacity:1;transform:none}
  .mbar{transition:none}
  #fchart .fc__bx,#fchart .fc__n span{transition:none}
  /* ---- 2. decoration off ---- */
  /* section dividers: the desktop's dotted root, shown on phones as a still line (RM draws it fully, no scroll-in).
     #why is hidden on phones, so its divider (03) goes too or two would stack */
  .dv{padding:0}
  .dv[data-n="03"]{display:none!important}
  .edge__rings,.flood__ring,.ft-ring,.v03a-glow,.endbox__glow,.hero__sun{display:none!important}
  .hero__layers{opacity:.45}
  #edge .eA__top .gl{display:none}
  #edge .eA__row li,#edge .eA__row li:first-child,#edge .eA__row li:nth-child(even),#edge .eA__row li:nth-child(n+3){grid-template-columns:1fr auto;grid-template-areas:"lbl n" "h3 h3" "p p"}
  #edge .eA__row li::before{display:none}
  .mbar .av3{display:none}

  /* glow blobs and ring watermarks behind sections */
  .blob,.cs2::before,.faq__l::before,.sys li::after{display:none!important}

  /* with no blur, the bars must be solid so text never shows through */
  .nav:not(.menu-open) .nav__bar{--nv-post-bg:#F4F1E8;--nv-pre-bg:#1B3B2F}
  .nav.is-light:not(.menu-open) .nav__bar{background:#F4F1E8!important}
  html[data-theme=dark] .nav:not(.menu-open) .nav__bar{--nv-post-bg:#10241A}
  html[data-theme=dark] .nav.is-light:not(.menu-open) .nav__bar{background:#10241A!important}
  .mbar{background:#163126!important}
  html[data-theme=dark] .mbar{background:#0C1A13!important}

  /* ---- 4. closer to the live arrel.ai on phones ---- */
  /* hero: one big button (like live) instead of the two-field form */
  .hero .capture,.hero .capture__note{display:none!important}
  .hero__mbtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:min(100%,320px);height:58px;margin-inline:auto;border-radius:999px;font-size:1.08rem}
  .hero__cta{display:flex;justify-content:center}
  /* section heads centred, one consistent rhythm (body content stays left) */
  #edge .eA__head,.how__in>.kicker,#how .sent,#how .wtabs__d,#case .sechead,#system .v03a-copy,#faq .faq__l{text-align:center}
  #edge .eA__head .lede,#system .lede{margin-inline:auto}
  #system .v03a-act,#faq .faq__l>p,#faq .faq__l>div{justify-content:center;align-items:center;display:flex}
  #how .how__foot{text-align:center}
  #how .how__foot .cl{display:block}
  #how .how__foot .cl::before{display:none}
  #how .fin{align-items:center}
  #how .fin__line{text-align:center!important}
  #how .fin{text-align:center}
  #how .fin__cta{display:inline-flex}

  /* ---- 5. less text: headline + one line per block; detail stays on desktop ---- */
  /* hero: only the bold payoff line under the headline */
  .hero__sub{font-size:0!important;line-height:0;max-width:none!important}
  .hero__sub b{display:block;font-size:1.06rem;line-height:1.4}
  /* edge: no lede, rows are label + title only */
  #edge .eA__head .lede,#edge .eA__row p{display:none}
  #edge .eA__row li,#edge .eA__row li:first-child,#edge .eA__row li:nth-child(even),#edge .eA__row li:nth-child(n+3){padding:16px 0}
  #edge .eA__row h3{margin-bottom:0}
  /* centred like the heading: label over title, no 01-04 numbers */
  #edge .eA__head .display{margin-inline:auto;text-align:center}
  #edge .eA__row li,#edge .eA__row li:first-child,#edge .eA__row li:nth-child(even),#edge .eA__row li:nth-child(n+3){grid-template-columns:1fr;grid-template-areas:"lbl" "h3";justify-items:center;text-align:center}
  #edge .eA__n{display:none}
  /* two-line headings on phones: "We speak your market's language." (no "Literally.") and "The brain in the middle. / Yours to keep." */
  #edge .eA__head .display .soft{display:none}
  #edge .eA__head .display{font-size:clamp(1.9rem,8.6vw,2.6rem)!important;text-wrap:balance}
  #system .v03a-copy h2{font-size:clamp(1.9rem,8.6vw,2.6rem)!important;white-space:nowrap;max-width:none!important}
  #system .v03a-copy h2 .soft{display:block}
  /* how: no extra sub-lines */
  #how .wtabs__d,#how .how__foot .cl{display:none}
  /* how headline: the short version (the verb-by-verb sentence only pays off with its animation) */
  #how .sent__tabs{display:none}
  #how .sent__m{display:block}
  #how .sent{font-size:clamp(2rem,9vw,2.6rem);line-height:1.06;letter-spacing:-.035em;text-wrap:balance}
  /* no floating Book a call bar on phones */
  .mbar{display:none!important}
  /* clients: shorter quotes, the stats carry the UR card */
  #case .cs__quote blockquote p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
  #case .q blockquote p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
  #case .q--cta{display:none!important}
  #case .cs2__qs .q{min-height:0!important;height:auto}
  #case .cs2__qs .q blockquote{flex:none}
  #case .cs2__qs .q,#case .cs2__qs .q__swap{justify-content:flex-start!important;min-height:0!important;height:auto!important}
  #case .cs2__qs .q figcaption{margin-top:18px!important}
  /* system: headline + link; steps are titles only */
  #system .lede,#system .v03a-beats p{display:none}
  /* FAQ: six questions (like the live site), all closed */
  #faq .acc__i:nth-child(n+7){display:none}
  /* end box: headline + button */
  /* the second sentence is hidden outright: a font-size:0 trick showed through on phones with a minimum font size */
  #ending .endbox__s{max-width:none!important}
  #ending .endbox__more{display:none}
  #ending .endbox__s b{font-size:1.05rem}
  /* footer: the live site's layout, centred. Logo, one line, Book a call; Explore | Resources + Legal side by side
     (the phone nav has no menu, so Explore is back); the founders and email; then the newsletter; no job titles */
  #site-footer .ft-panel{text-align:center}
  #site-footer .ft-a__top{display:flex;flex-direction:column;align-items:center;gap:0}
  #site-footer .ft-a__lead{display:contents}
  #site-footer .ft-brand{order:1;justify-content:center;align-self:center!important;margin:0 0 26px!important}
  /* no "Works the industries everyone else skips." line on phones: just the centred logo */
  #site-footer .ft-q{display:none!important}
  /* no Book a call button in the footer: the end box right above and the nav already have one */
  #site-footer .ft-cta{display:none}
  #site-footer .ft-a__cols{order:4;width:100%;grid-template-columns:1fr 1fr;grid-auto-flow:row;gap:26px 12px;padding-top:26px;margin-top:0}
  #site-footer .ft-rep{order:5;width:100%;text-align:left;margin-top:30px;padding-top:26px;border-top:1px solid var(--f-line)}
  #site-footer .ft-col{display:flex;flex-direction:column;align-items:center}
  #site-footer .ft-col h3{flex-basis:auto}
  #site-footer .ft-col a:not(.ft-who){min-height:40px;justify-content:center}
  #site-footer .ft-col[aria-label="Explore"]{grid-column:1;grid-row:1}
  #site-footer .ft-col[aria-label="Resources"]{grid-column:2;grid-row:1}
  /* legal: its own centred row under both columns, the two links side by side */
  #site-footer .ft-a__cols .ft-col[aria-label="Legal"]{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;column-gap:28px}
  #site-footer .ft-a__cols .ft-col[aria-label="Legal"] h3{flex:0 0 100%;text-align:center}
  #site-footer .ft-col--touch{grid-column:1/-1;grid-row:3;padding-top:24px;border-top:1px solid var(--f-line)}
  #site-footer .ft-people{width:100%;justify-items:center}
  #site-footer .ft-people .ft-who:not(.ft-who--mail){align-items:center}
  #site-footer .ft-who--mail{justify-content:center}
  #site-footer .ft-who i,#site-footer [class*="ft-who"] small{display:none}

  /* phones drop the Map / Reach / Book / Handoff band and the founders statement (#why) */
  #bandSec,#why{display:none!important}
  /* the system: just the brain, no Feed / Learn / Suggest / Ship steps */
  #system .v03a-beats{display:none!important}
  /* without the band the green hero met the cream page on a hard line: the page starts on the hero's colour and fades to cream (the band's old gradient) */
  .light{padding-top:28px;background:linear-gradient(180deg,#1C3F30 0,#2c5a47 22px,#9db1a0 70px,var(--cream-200) 130px) top/100% 130px no-repeat,var(--cream-200)}
  html[data-theme=dark] .light{background:linear-gradient(180deg,#163328 0,#0f2219 60px,var(--cream-200) 130px) top/100% 130px no-repeat,var(--cream-200)}
  /* headings with a max-width sat left in their box: centre the box too */
  #case .sechead h2,#system .v03a-copy h2,#faq .faq__l h2,#faq .faq__l>p{margin-inline:auto}
  /* brain tap card: one short line */
  .v03a-tip{width:auto;padding:9px 14px}
  .v03a-tip__k:empty{display:none}
  .v03a-tip__t{font-size:.92rem;font-weight:500;white-space:nowrap}

  /* ---- 6. the live site's layouts ---- */
  /* hero logos: one quiet row that drifts sideways (live arrel.ai), no label. js/home.js doubles the row for a seamless loop */
  .proof__label{display:none!important}
  .hero__title{margin-top:auto}
  .hero .proof{margin-top:auto}
  .proof{overflow:hidden;padding:18px 0 22px!important;-webkit-mask:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
  .proof__float,.proof__float.is-mq{display:flex;flex-wrap:nowrap!important;justify-content:flex-start;width:max-content;max-width:none!important;gap:0!important;margin:0}
  .proof__grp{display:flex;flex-wrap:nowrap;align-items:center;gap:36px;padding-right:36px;margin:0;list-style:none}
  .proof__gap{display:none}
  .proof__float .lg{opacity:.55;height:19px!important;width:calc(19px*var(--r))!important;margin:0 36px 0 0!important}
  @media (prefers-reduced-motion:no-preference){
    .proof__float.is-mq{animation:proofMq 38s linear infinite!important}
  }

  /* how: a centred tree like live — stage label, boxes side by side, round logos under each box, hairline connectors */
  .flow.wcard{background:none!important;box-shadow:none!important;border:0!important;padding:8px 0 0!important}
  html.nopin .fc,html.nopin .fc[data-i]{--gl:0px;display:flex;flex-direction:column;align-items:center;padding:30px 0 0!important;position:relative;text-align:center}
  html.nopin .fc[data-i="0"]{padding-top:0!important}
  html.nopin .fc::after,html.nopin .fc__dot{display:none!important}
  html.nopin .fc::before,html.nopin .fc.is-on::before,html.nopin .fc--e::before,html.nopin .fc--e.is-on::before{content:"";position:absolute;left:50%!important;right:auto!important;top:0!important;bottom:auto!important;width:1px!important;height:24px!important;background:rgba(16,36,26,.2)!important}
  html.nopin .fc[data-i="0"]::before{display:none}
  html[data-theme=dark].nopin .fc::before{background:rgba(242,239,230,.22)!important}
  html.nopin .fc__n{display:block;margin:0 0 10px;font-size:.66rem!important;font-weight:600!important;line-height:1.2!important;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
  /* boxes */
  html.nopin .fc__bx,html.nopin .fc.is-on .fc__bx{position:relative;display:flex!important;justify-content:center;gap:8px;width:100%;margin:0!important;padding:14px 0 0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
  html.nopin .fc__bx:not(:has(>:nth-child(2))){padding-top:0!important}
  html.nopin .fc__bx::before{content:"";display:block!important;position:absolute;top:0;left:16.66%;right:16.66%;width:auto!important;height:1px!important;background:rgba(16,36,26,.2)}
  html.nopin .fc__bx:has(>:nth-child(2)):not(:has(>:nth-child(3)))::before{left:25%;right:25%}
  html.nopin .fc__bx:not(:has(>:nth-child(2)))::before{display:none!important}
  html[data-theme=dark].nopin .fc__bx::before{background:rgba(242,239,230,.22)}
  html.nopin .fc .fc__b,html.nopin .fc.is-on .fc__b{position:relative;flex:1 1 0;max-width:62%;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  html.nopin .fc__bx:has(>:nth-child(2)) .fc__b::before{content:"";display:block!important;position:absolute;top:-14px;left:50%;width:1px;height:14px;background:rgba(16,36,26,.2)}
  html[data-theme=dark].nopin .fc__bx .fc__b::before{background:rgba(242,239,230,.22)}
  html.nopin .fc__b b,html.nopin .fc__n+.fc__dot+.fc__bx .fc__b b{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:8px 10px;box-sizing:border-box;border-radius:12px;font-size:.8rem!important;font-weight:500!important;line-height:1.2;color:var(--ink)!important;background:#FBFAF5;box-shadow:inset 0 0 0 1px rgba(16,36,26,.14),0 6px 16px -12px rgba(16,36,26,.4)}
  html[data-theme=dark].nopin .fc__b b{color:#F2EFE6!important;background:#17291F!important;box-shadow:inset 0 0 0 1px rgba(242,239,230,.16)!important}
  /* logos: round, names hidden */
  html.nopin .fc__tools{display:flex!important;justify-content:center;flex-wrap:wrap;gap:6px;margin:0!important}
  html.nopin .tc,html.nopin .fc.is-on .tc{display:block;width:30px;height:30px;padding:0!important;border-radius:50%;overflow:hidden;background:#fff!important;box-shadow:0 0 0 1px rgba(16,36,26,.12)!important}
  html.nopin .tc img{display:block!important;width:100%!important;height:100%!important;object-fit:cover;opacity:1!important;filter:none!important}
  html.nopin .tc i{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  /* stages without boxes (Revenue) read as the final box */
  html.nopin .fc:not(:has(.fc__bx)) .fc__n{min-height:44px;display:flex;align-items:center;padding:0 26px;border-radius:12px;font-size:.86rem!important;letter-spacing:0;text-transform:none;color:var(--bronze-d);background:#FBFAF5;box-shadow:inset 0 0 0 1px rgba(183,127,60,.4)}
  html[data-theme=dark].nopin .fc:not(:has(.fc__bx)) .fc__n{background:rgba(242,239,230,.06);color:#E3B26D}

  /* ---- 7. nav: logo + Book a call only (no menu on phones; the page is short, the footer has the links) ---- */
  .nav__burger,.nav__links{display:none!important}
  .nav__cta,html.mbar-on .nav__cta{width:auto!important;margin-left:auto;margin-right:2px;padding:0 18px!important;overflow:visible}

  /* ---- 3. no blur ---- */
  *,*::before,*::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@keyframes proofMq{to{transform:translateX(-50%)}}
