/* Liam's Levers, final design (2026-09-28).
   One centred column on every screen: the proof line at the top, "Do more / with less.", a one-line
   subhead, the lever in the gap (Snap motion), a one-row form, and the author line framing the bottom
   of the first screen. Same copy everywhere; only the sizes change. */

/* Small shared pieces */
.nowrap{white-space:nowrap}
.arr{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.formkit-submit>span{gap:10px}
.cta-button{gap:10px}
/* Well-timed bold: ink on the grey body copy, so the key phrase is what a skimmer reads. */
.intro strong,.place p strong{color:var(--ink);font-weight:600}
.intro strong{white-space:nowrap}

/* Hero: fills the first screen, content spread between the proof line and the author line. */
.hero{max-width:980px;padding:34px 40px 40px;overflow-x:clip}
.hero-copy{display:flex;flex-direction:column;align-items:center;min-height:min(calc(100vh - 170px),780px);min-height:min(calc(100svh - 170px),780px)}
.hero h1{font-size:clamp(64px,10.5vw,96px);letter-spacing:-.048em;line-height:1.02;margin:0 0 20px}
.hero h1 .plain{color:inherit}
.hero h1 .plain:first-child{display:block}
/* Rotating last word (less, AI, agents, content, energy) as a slot roll, driven by rotator.js. The window
   clips top and bottom only, leaving room for descenders, and stays open to the right so a longer incoming
   word is never cut while the window is still widening. Without the script it simply reads "less." */
.rotator{display:inline-block;position:relative;white-space:nowrap;text-align:left;transition:width .55s cubic-bezier(.65,0,.25,1)}
.rotator.is-ready{clip-path:inset(-.04em -1.4em -.26em -.12em)}
.rotator.is-ready .rot-spacer{visibility:hidden}
.rot-measure{position:absolute;left:0;top:0;visibility:hidden;white-space:nowrap}
.rot-track{position:absolute;left:0;top:0;white-space:nowrap;transition:transform .64s cubic-bezier(.55,0,.2,1.14)}
.rot-line{display:block;height:1.5em;color:var(--accent)}
.hero .intro{font-size:clamp(15px,calc(12.5px + .65vw),22px);line-height:1.58;max-width:25.5em;margin:0 auto 40px;text-wrap:wrap}
.hero .signup{width:100%;max-width:520px;margin:0 auto 34px}

/* Social proof above the headline: a small crowd of faces and the subscriber line. */
.crowd{display:flex;align-items:center;justify-content:center;gap:12px;margin:auto 0 22px}
.crowd-faces{display:flex;flex-shrink:0}
.crowd-faces>:first-child{margin-left:0 !important}
.crowd-faces img{display:block;width:34px;height:34px;margin-left:-9px;border-radius:50%;border:2px solid var(--paper);object-fit:cover;box-shadow:0 1px 3px #17171722}
.crowd-copy{margin:0;font-size:14.5px;line-height:1.4;color:var(--muted);text-align:left}
.crowd-copy strong{color:var(--ink);font-weight:700}
.crowd-more{display:grid;place-items:center;width:34px;height:34px;margin-left:-9px;border-radius:50%;border:2px solid var(--paper);background:var(--accent);color:#fff;box-shadow:0 1px 3px #17171722}
.crowd-more svg{width:15px;height:15px}
.who-short{display:none}

/* Author line with the YouTube proof. Not a link: nothing on this page leads away from the form. */
.hero .author{margin-top:auto;flex-wrap:nowrap}
.yt-badge{display:inline-flex;align-items:center;gap:8px;margin:0 0 0 8px !important;padding:7px 13px 7px 11px;border:1px solid var(--line);border-radius:30px;background:#fff;font-size:13px;line-height:1.2;color:var(--muted);white-space:nowrap}
.author .yt-badge img{width:23px;height:16px;border-radius:0;filter:none;object-fit:contain}
.yt-badge strong{color:var(--ink);font-weight:700}

/* The lever in the gap. Pivot (224,60), floor y=85; -6.1deg is exactly the long end resting on the floor. */
.lever-strip{display:block;width:100%;max-width:clamp(360px,52vw,480px);margin:0 auto 34px}
.lever-strip svg{display:block;width:100%;height:auto;overflow:visible}
.ls-ground{stroke:#dcd8d1;stroke-width:2;stroke-linecap:round}
.ls-fulcrum,.ls-bar{fill:var(--ink)}
.ls-load{fill:#e9e4dc;stroke:#cfc8bd;stroke-width:1.5}
.ls-ball{fill:var(--accent)}
.ls-shine{fill:#fff;opacity:.35}
.ls-puff{fill:#c9bfb1;opacity:0}
.ls-beam,.ls-load-g,.ls-ball-g,.ls-ball-spin,.ls-puff{transform-box:view-box}
.ls-beam{transform-origin:224px 60px;transform:rotate(3deg);animation:snap-beam 4.6s infinite}
.ls-load-g{transform-origin:278px 56px;animation:snap-kick 4.6s infinite}
.ls-ball-g{animation:snap-drop 4.6s infinite}
.ls-ball-spin{transform-origin:52px 56px;animation:snap-squash 4.6s infinite}
.ls-puff{transform-origin:40px 85px;animation:snap-puff 4.6s infinite}
/* Snap: gravity drop, squash on impact, slam to the floor, one rebound, the block kicks, a puff of dust.
   Each timing function sits on the keyframe that starts its segment: ease-in into a contact, ease-out off it. */
@keyframes snap-drop{0%,4%{transform:translateY(-44px);opacity:0;animation-timing-function:cubic-bezier(.5,0,1,.6)}14%{opacity:1}27%,80%{transform:translateY(0);opacity:1}88%,100%{transform:translateY(0);opacity:0}}
@keyframes snap-squash{0%,26.5%{transform:scale(1,1)}28.5%{transform:scale(1.24,.72)}32%{transform:scale(.9,1.1)}35.5%,100%{transform:scale(1,1)}}
@keyframes snap-beam{0%,27%{transform:rotate(3deg);animation-timing-function:cubic-bezier(.6,0,1,.4)}33%{transform:rotate(-6.1deg);animation-timing-function:cubic-bezier(0,.6,.4,1)}37%{transform:rotate(-4.3deg);animation-timing-function:cubic-bezier(.6,0,1,.4)}41%{transform:rotate(-6.1deg);animation-timing-function:cubic-bezier(0,.6,.4,1)}43.5%{transform:rotate(-5.5deg);animation-timing-function:cubic-bezier(.6,0,1,.4)}46%,82%{transform:rotate(-6.1deg);animation-timing-function:cubic-bezier(.45,0,.2,1)}96%,100%{transform:rotate(3deg)}}
@keyframes snap-kick{0%,32%{transform:translate(0,0) rotate(0) scale(1,1);animation-timing-function:cubic-bezier(0,.6,.4,1)}37%{transform:translate(1px,-14px) rotate(5deg) scale(1,1);animation-timing-function:cubic-bezier(.6,0,1,.4)}42%{transform:translate(0,0) rotate(0) scale(1,1)}44%{transform:translate(0,0) rotate(0) scale(1.06,.92)}47%,100%{transform:translate(0,0) rotate(0) scale(1,1)}}
@keyframes snap-puff{0%,32.5%{opacity:0;transform:scale(.3,.6)}34%{opacity:.8;transform:scale(.7,1)}46%,100%{opacity:0;transform:scale(1.9,1.3)}}

/* Three places the levers come from. */
.place-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.place{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.place img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e6ded2}
.place:first-child img{object-position:50% 58%}
.place>div{position:relative;padding:34px 22px 24px}
.place-icon{position:absolute;top:-24px;left:20px;width:48px;height:48px;border-radius:14px;background:#fff;color:var(--accent);display:grid;place-items:center;box-shadow:0 8px 18px -8px #17171755,0 0 0 1px #17171712}
.place-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.place-tag{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:1.3px;color:var(--accent)}
.place h3{font-family:var(--display);font-size:21px;font-weight:600;letter-spacing:-.5px;margin:0 0 8px}
.place p:last-child{margin:0;font-size:15px;line-height:1.65;color:#555}

/* One example letter. */
.sample{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:64px;align-items:center}
.sample .section-title{margin-bottom:26px}
.specs{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.specs li{display:flex;align-items:flex-start;gap:12px;font-size:17px;line-height:1.5}
.specs svg{flex-shrink:0;width:22px;height:22px;margin-top:1px;padding:3px;border-radius:50%;background:var(--accent-soft);color:var(--accent)}
.email-mock{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 26px 24px;box-shadow:0 24px 50px -30px #17171750;position:relative}
.mock-tag{position:absolute;top:-12px;left:24px;margin:0;padding:4px 10px;border-radius:20px;background:var(--ink);color:#fff;font-size:10px;font-weight:700;letter-spacing:1.4px}
.mock-head{display:flex;gap:12px;align-items:center;padding:8px 0 16px;border-bottom:1px solid var(--line)}
.mock-head img{border-radius:50%;object-fit:cover}
.mock-from{margin:0;font-size:13px;color:var(--muted)}
.mock-subject{margin:2px 0 0;font-family:var(--display);font-weight:700;font-size:18px;letter-spacing:-.3px}
.mock-body p{margin:0;font-size:15px;line-height:1.65;color:#444}
.mock-body .mock-label{margin:16px 0 3px;font-size:11px;font-weight:700;letter-spacing:1.3px;color:var(--accent)}

/* Closing call. */
.cta-band{margin-top:4px}
.cta-lever{position:absolute;right:-40px;bottom:-70px;width:360px;height:360px;pointer-events:none}
.cta-inner>div,.cta-inner>a{position:relative}

/* Floating shortcut back to the form once it has scrolled away. */
.sticky-join{position:fixed;left:50%;bottom:20px;z-index:20;transform:translateX(-50%);display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:14px 26px;border-radius:40px;background:var(--accent);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 14px 30px -12px #cf3e1399,0 2px 6px #17171722;animation:rise .25s ease-out}
.sticky-join[hidden]{display:none}
.sticky-join:hover{background:#ae310d}
@keyframes rise{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}

/* Desktop: use the width. One-line headline, a subhead that breaks long-then-short, and a bigger lever
   with room around it. Sizes follow the window's height too, so 768px-tall laptops still fit the first screen. */
@media(min-width:981px){
  .hero{max-width:1180px;padding:30px 40px 36px}
  .crowd{margin-bottom:clamp(16px,2.4vh,26px)}
  .hero h1{font-size:min(8.4vw,12vh,120px);letter-spacing:-.05em;line-height:1;white-space:nowrap;margin:0 0 clamp(14px,2.6vh,26px)}
  .hero h1 .plain:first-child{display:inline}
  .hero .intro{margin:0 auto clamp(40px,5.4vh,58px)}
  .lever-strip{max-width:min(560px,60vh);margin:0 auto clamp(26px,5vh,48px)}
  .hero .signup{max-width:540px;margin:0 auto clamp(22px,4vh,38px)}
}
@media(max-width:980px){
  .place-list{grid-template-columns:1fr;gap:14px}
  .place{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:stretch}
  .place img{aspect-ratio:auto;height:0;min-height:100%}
  .place>div{padding:20px 22px 22px}
  .place-icon{position:static;width:40px;height:40px;border-radius:11px;margin-bottom:12px}
  .place-icon svg{width:21px;height:21px}
  .sample{grid-template-columns:1fr;gap:44px}
  .email-mock{max-width:560px}
}
@media(max-width:700px){
  /* Slimmer header */
  .masthead{padding:16px 20px}
  .brand{gap:9px}
  .brand svg{width:30px;height:30px}
  .brand .wordmark{font-size:23px}
  .masthead-note{font-size:9.5px;letter-spacing:1px;max-width:none}

  /* Hero sized to the phone's first screen; the proof line and headline size from the hero's real width. */
  .hero{padding:22px 22px 26px}
  .hero-copy{min-height:min(calc(100vh - 111px),660px);min-height:min(calc(100svh - 111px),660px);container:hero / inline-size}
  .crowd{gap:8px;margin:0 0 30px}
  .crowd-faces img:nth-child(n+4){display:none}
  .crowd-faces img,.crowd-more{width:26px;height:26px;margin-left:-8px}
  .crowd-more svg{width:12px;height:12px}
  .crowd-copy{font-size:12.5px}
  .who-long{display:none}.who-short{display:inline}
  .hero h1{font-size:min(74px,15.6cqi);letter-spacing:-.05em;line-height:1.03;margin:auto 0 16px}
  .hero .intro{margin:0 auto 30px}
  .lever-strip{max-width:clamp(290px,75cqi,362px);margin:0 auto 22px}
  .hero .signup{max-width:370px;margin:0 auto 34px}

  /* One-row form */
  .signup-fields{flex-direction:row;padding:5px;gap:6px;border-radius:10px}
  .signup-fields input{min-height:46px;padding:10px 12px;font-size:16px}
  .signup-fields .formkit-submit{width:auto;min-height:46px;padding:10px 16px;flex-shrink:0;border-radius:7px}
  .formkit-submit>span{gap:8px;font-size:15px}

  /* Author line on one row */
  .hero .author{gap:10px}
  .author>img{width:42px;height:42px}
  .author-name{font-size:14px}
  .author-description{font-size:12.5px;line-height:1.5}
  .yt-badge{padding:6px 10px 6px 9px;margin-left:4px !important}
  .yt-word{display:none}

  .place{display:block}
  .place img{height:auto;min-height:0;aspect-ratio:2/1}
  .place:first-child img{object-position:50% 52%}
  .place>div{padding:30px 18px 20px}
  .place-icon{position:absolute;top:-22px;left:16px;width:44px;height:44px;margin:0}
  .place-tag{font-size:10px;margin-bottom:6px}
  .place h3{font-size:18px;margin-bottom:6px}
  .place p:last-child{font-size:14px;line-height:1.6}
  .specs li{font-size:16px}
  .email-mock{padding:20px 18px 20px}
  .cta-lever{width:240px;height:240px;right:-50px;bottom:-60px}
  .sticky-join{left:16px;right:16px;bottom:14px;transform:none;justify-content:center;animation:rise-m .25s ease-out}
  @keyframes rise-m{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}
@container hero (max-width:350px){.crowd-copy{font-size:12px}.crowd-faces img:nth-child(n+3){display:none}.crowd-faces img,.crowd-more{width:24px;height:24px}}
@container hero (max-width:309px){.crowd{flex-direction:column;gap:8px}.crowd-copy{text-align:center}}
@media(max-width:360px){.author-description{font-size:12px}}
@media(prefers-reduced-motion:reduce){
  .ls-beam,.ls-load-g,.ls-ball-g,.ls-ball-spin,.ls-puff,.sticky-join{animation:none}
  .ls-beam{transform:rotate(-6.1deg)}
}
