/* Clone utilities missing from their compiled CSS, plus first-paint hiding for nodes ct.js animates. Motion values live in ct.js. */
[hidden]{display:none!important}
.bottom-\[110px\]{bottom:110px}.w-\[340px\]{width:340px}.max-w-\[calc\(100vw-2rem\)\]{max-width:calc(100vw - 2rem)}
.min-w-\[140px\]{min-width:140px}.text-\[15px\]{font-size:15px}.leading-\[20px\]{line-height:20px}
.min-w-\[140px\] span{line-height:20px}


/* motion lives in ct.js (values from their bundle). Hide framer-animated nodes until ct.js sets their initial state. */
.ct-js [data-r]:not(.ct-faq-panel),.ct-js main section:first-of-type h1{opacity:0}
@media (prefers-reduced-motion:reduce){.ct-js [data-r]:not(.ct-faq-panel),.ct-js main section:first-of-type h1{opacity:1}}
/* Leap corner bubble float: part of the Nico-approved corner */
.ct-float{animation:ct-float 3s ease-in-out infinite}
@keyframes ct-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.ct-float{animation:none}}
.h-7{height:1.75rem}@media (min-width:1024px){.lg\:h-8{height:2rem}}
/* testimonials: match the height of their tallest card (spacing only; we have 3 short quotes) */
[data-ct-marquee] > div{min-height:273px}@media (min-width:768px){[data-ct-marquee] > div{min-height:282px}}

/* ---- Leap alpha videos (all widths): never show native media chrome (Android paints a play button when
   autoplay is refused). Poster stays until playback starts; ct.js picks .mov (Apple) or .webm (others). */
video.ct-leapvid::-webkit-media-controls,video.ct-leapvid::-webkit-media-controls-overlay-play-button,
video.ct-leapvid::-webkit-media-controls-start-playback-button,video.ct-leapvid::-webkit-media-controls-panel,
video.ct-leapvid::-webkit-media-controls-enclosure{display:none!important;-webkit-appearance:none;opacity:0}

/* ---- Mobile pass 2026-11-11 (Nico, Fold 6 cover 412px). Phones only: desktop/tablet untouched. ---- */
@media (max-width:767px){
  /* rhythm: text balance, calmer section padding so each section reads as one screen */
  main h3{text-wrap:balance}
  main p{text-wrap:pretty}
  main section.py-20{padding-top:3.5rem;padding-bottom:3.5rem}
  main section.py-16{padding-top:3rem;padding-bottom:3rem}

  /* hero: Leap sits on the CTA's centre line */
  [data-ct-mascot] .ct-leapvid{transform:translateX(-50%)}
  /* founder credentials: two even, centred columns; name over school, never a widowed word */
  .ct-creds{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;align-items:start;max-width:22rem;margin-left:auto;margin-right:auto}
  .ct-creds>div{align-items:center;text-align:center}
  .ct-creds>div>span{height:auto;min-height:30px;justify-content:center;text-align:center}
  .ct-creds p{text-align:center;line-height:1.45}
  .ct-sep{display:none}.ct-sub2{display:block}
  /* hero dashboard mock: phone keeps the headline numbers + chart; the breakdown column is desktop detail */
  main section:first-of-type .lg\:hidden .md\:flex-\[37\]{display:none}
  main section:first-of-type .lg\:hidden .flex.flex-col.md\:flex-row>div:first-child{border-bottom:0}

  /* problem cards: tighter frames so heading + first card share a screen */
  main section.bg-\[\#F3F4F6\] .p-8{padding:1.5rem}
  main section.bg-\[\#F3F4F6\] .p-8 .mb-8{margin-bottom:1.25rem}

  /* Meet Leap + FAQ: trimmed gaps so each lands on one phone screen */
  main section.bg-\[\#F3F4F6\] .gap-12{gap:2rem}
  main section.bg-brand-pale .text-center.mb-12{margin-bottom:2rem}
  main section.bg-brand-pale .w-\[160px\]{width:128px}

  /* tap targets >= 44px (dots: 38x44 hit area each, the most eight dots fit at 344px) */
  a[aria-label="One Giant Leap home"]{display:block;padding:8px 0;margin:-8px 0}
  [data-ct-next]{width:44px;height:44px}
  [data-ct-dot]{position:relative}
  [data-ct-dot]::before{content:'';position:absolute;left:50%;top:50%;width:38px;height:44px;transform:translate(-50%,-50%)}
  [data-ct-dot]+[data-ct-dot]{margin-left:20px}
  footer .grid.grid-cols-1{grid-template-columns:1fr 1fr;column-gap:1.5rem;row-gap:1.75rem}
  footer ul.space-y-3>:not([hidden])~:not([hidden]){margin-top:0}
  footer ul a{display:inline-block;padding:12px 0;min-width:44px}
  footer h3{margin-bottom:.25rem}
  footer a.self-end{display:inline-block;padding:10px 0}

  /* Leap corner: a little smaller on phones; the bubble greets for a few seconds, then steps aside (ct.js) */
  [data-chat-toggle]>span{width:60px!important;height:68px!important}
  [data-chat-bubble]{transition:opacity .25s cubic-bezier(.22,1,.36,1),visibility 0s linear 0s}
  [data-chat-bubble].ct-bub-away{opacity:0;visibility:hidden;transition:opacity .25s cubic-bezier(.22,1,.36,1),visibility 0s linear .25s}
  /* narrow phones (Fold cover folded-width, SE): chips no longer sit on "Dashboard", "Time returned" stays one line */
  @media (max-width:380px){
    main section:first-of-type .lg\:hidden [class*="-top-3"].right-0{scale:.84;transform-origin:top right}
    main section:first-of-type .lg\:hidden p.text-\[13px\].font-bold{white-space:nowrap}
    main section:first-of-type .lg\:hidden .flex.gap-1>span.px-2{padding-left:.4rem;padding-right:.4rem}
  }
}
