/* Homepage hero (approved by Steve 2026-09-26, "hero v5" in mockups/vitals-style/).
   Headline, one Download button, then a MacBook sized to the window with the real
   prompter taking one 16-second take that pays off the three lines under it:
   it follows the words you actually say / it knows what you haven't said yet /
   it stays invisible and entirely on your Mac. Then one quote.
   Everything is scoped under .hx: home.css already owns .mbp, .scr, .bar and .rec
   inside other sections, vs-era names like .pl/.pm/.wipe/.knob, and the engine
   owns .cur (the highlighted word), so an unscoped rule here would redraw them.
   The tabbed-window hero this replaced is saved in mockups/saved/hero-tabs/ and
   git tag homepage-tabs-hero; its CSS/JS stay dormant in home.css/home.js. */
.hx{max-width:1240px;margin:0 auto;padding:46px 32px 0;text-align:center}
.hx h1{font-size:56px;line-height:1.05;letter-spacing:-2px;text-wrap:balance}
/* a smiling classic Mac of our own (Steve 2026-09-26: the Tellie icon here repeated the nav) */
.hx h1 .cm{display:inline-block;width:53px;height:68px;vertical-align:-12px;margin:0 4px}
.hx h1 .serifline{white-space:nowrap}   /* "that understands" never splits */
.hx .cta3{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:30px;flex-wrap:wrap}
.hx .cta3 .btn-primary{position:relative;overflow:hidden}
.hx .cta3 .btn-primary.sheen:after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:50%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.65),transparent);animation:hxsheen 1s ease-out}
@keyframes hxsheen{to{left:130%}}
.hx .unlock{margin-top:10px;font-size:14.5px;color:var(--muted)}
.hx .unlock b{color:#d96400;font-weight:600}

/* ---------- the three lines: the only words to read, a row under the picture ---------- */
.hx .u3-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px;width:min(1060px,100%);margin:24px auto 0}
.hx .u3-item{display:block;text-align:center;padding:0;cursor:pointer;background:none;border:0;font:inherit;color:inherit}
.hx .u3-item .trk{display:block;position:relative;height:3px;border-radius:3px;background:#ececef;overflow:hidden;margin-bottom:12px}
.hx .u3-item .trk i{position:absolute;inset:0;background:linear-gradient(90deg,#ff9f0a,#ff7a00);transform:scaleX(0);transform-origin:left}
.hx .u3-item.on .trk i{animation:hxfill var(--dur,5s) linear forwards}
@keyframes hxfill{to{transform:scaleX(1)}}
.hx .u3-item b{display:block;font-size:25px;line-height:1.18;letter-spacing:-.6px;font-weight:650;color:var(--text);transition:opacity .35s;text-wrap:balance}
.js .hx .u3-item b{opacity:.28}
.js .hx .u3-item.on b{opacity:1}
.js .hx .u3-item:hover b{opacity:.6}.js .hx .u3-item.on:hover b{opacity:1}

/* one voice, under everything */
.hx .one-proof{margin:40px auto 0;max-width:820px;text-align:center}
.hx .one-proof .stars{color:#ff9f0a;font-size:13px;letter-spacing:2px}
.hx .one-proof blockquote{margin:8px 0 0;font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.3px;color:var(--text)}
.hx .one-proof figcaption{margin-top:8px;font-size:14px;color:var(--muted)}
.hx .one-proof figcaption b{color:var(--text);font-weight:600}

/* ---------- the MacBook: as wide as the window allows with the three lines still on screen
   (484px = the strip, nav, headline, the lines row and the Download button under it; checked at 1440x900, 1512x830, 1728x1000, 1920x1080) ---------- */
.hx .stagewrap{position:relative;perspective:1600px;width:min(100%,clamp(580px,calc((100svh - 484px) * 1.62),1040px));margin:30px auto 0;text-align:left}
.hx .stagewrap:before{content:"";position:absolute;left:8%;right:8%;top:14%;bottom:4%;background:radial-gradient(closest-side,rgba(255,149,0,.22),rgba(138,79,216,.10) 60%,transparent);filter:blur(30px);z-index:0}
.hx .mbp{position:relative;z-index:1;transform-style:preserve-3d;transition:transform .5s var(--ease);animation:hxrise 1.1s var(--ease) both}
@keyframes hxrise{from{opacity:0;transform:translateY(40px) rotateX(10deg)}to{opacity:1;transform:none}}
.hx .lid{position:relative;background:#0d0d0f;border-radius:22px 22px 10px 10px;padding:12px 12px 16px;box-shadow:0 0 0 1.5px #3a3a3e inset,0 40px 80px -30px rgba(20,20,40,.55)}
.hx .scr{position:relative;aspect-ratio:16/10;border-radius:10px 10px 4px 4px;overflow:hidden;background:#3b6fb6}
.hx .base{height:16px;margin:0 -5.5%;background:linear-gradient(#d9dadd,#b9bbc0);border-radius:0 0 16px 16px;position:relative}
.hx .base:before{content:"";position:absolute;left:50%;top:0;width:16%;height:6px;margin-left:-8%;background:#a7a9ae;border-radius:0 0 8px 8px}
/* the screen is drawn at 680x425 and scaled to fit, so every size shows the same picture */
.hx .cv{position:absolute;left:0;top:0;width:680px;height:425px;transform-origin:0 0}
/* the camera: everything on the screen, so a push-in is one transform */
.hx .u3-cam{position:absolute;inset:0;transform-origin:0 0;transition:transform 1s cubic-bezier(.65,0,.35,1);background:linear-gradient(160deg,#3b6fb6 0%,#6aa1dd 40%,#e9a7c4 78%,#f6c38e 100%)}
.hx .u3-cam.now{transition:none}
.hx .hw-notch{position:absolute;top:0;left:50%;width:128px;height:22px;margin-left:-64px;background:#0d0d0f;border-radius:0 0 11px 11px;z-index:9}
.hx .hw-notch:before,.hx .hw-notch:after{content:"";position:absolute;top:0;width:10px;height:10px}
.hx .hw-notch:before{left:-10px;background:radial-gradient(circle at 0 100%,transparent 9.5px,#0d0d0f 10px)}
.hx .hw-notch:after{right:-10px;background:radial-gradient(circle at 100% 100%,transparent 9.5px,#0d0d0f 10px)}
.hx .mb{position:absolute;top:0;left:0;right:0;height:22px;background:rgba(245,246,250,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;align-items:center;gap:13px;padding:0 12px;font-size:11.5px;color:#1d1d1f;z-index:3}
.hx .mb b{font-weight:700}.hx .mb .sp{flex:1}
.hx .mb .tel{width:15px;height:12px;display:flex;flex-direction:column;justify-content:space-between;align-items:center}
.hx .mb .tel i{display:block;height:2px;border-radius:2px;background:#1d1d1f}.hx .mb .tel i:nth-child(1){width:14px}.hx .mb .tel i:nth-child(2){width:10px}.hx .mb .tel i:nth-child(3){width:7px}
.hx .mic-dot{width:7px;height:7px;border-radius:50%;background:#ff9f0a;opacity:0;transition:opacity .3s;box-shadow:0 0 6px rgba(255,159,10,.8)}
.hx .mic-dot.on{opacity:1}
/* the QuickTime movie-recording window: your face, bottom right */
.hx .qt{position:absolute;right:16px;bottom:12px;width:212px;border-radius:10px;overflow:hidden;background:#1c1c1e;box-shadow:0 22px 50px -12px rgba(0,0,0,.55);z-index:2}
.hx .qt .bar{height:20px;display:flex;align-items:center;gap:5px;padding:0 8px;background:#2a2a2d;font-size:10px;color:#aeaeb2}
.hx .qt .bar i{width:8px;height:8px;border-radius:50%;background:#5a5a5e}.hx .qt .bar i:nth-child(1){background:#ff5f57}.hx .qt .bar i:nth-child(2){background:#febc2e}.hx .qt .bar i:nth-child(3){background:#28c840}
.hx .qt .bar span{margin-left:auto;margin-right:auto;transform:translateX(-12px)}
.hx .qt video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.hx .qt .rec{position:absolute;left:8px;bottom:8px;font-size:10.5px;font-weight:700;color:#fff;background:rgba(0,0,0,.5);padding:2px 7px;border-radius:5px;font-variant-numeric:tabular-nums}
.hx .qt .rec:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#ff3b30;margin-right:5px;vertical-align:1px;animation:blink 1s infinite}
/* what only you can see: the prompter layer, which the X-ray wipe clips away */
.hx .u3-mine{position:absolute;inset:0;z-index:8;pointer-events:none;clip-path:inset(0 0 0 0);transition:clip-path 1.1s cubic-bezier(.65,0,.35,1)}
/* the prompter, grown out of the notch (real engine) */
.hx .u3-pm{position:absolute;top:0;left:50%;width:476px;margin-left:-238px;text-align:center;
  clip-path:inset(0 -60px -60px -60px round 0 0 16px 16px);transition:clip-path .9s cubic-bezier(.32,.72,.2,1),filter .5s ease}
.hx .u3-pm.shut{clip-path:inset(0 calc(50% - 64px) calc(100% - 22px) calc(50% - 64px) round 0 0 11px 11px);filter:brightness(0);transition:clip-path .8s cubic-bezier(.6,0,.4,1),filter .45s ease .3s}
.hx .u3-pm.snap{transition:none!important}
/* sized for the 680px screen; the id beats the engine's own [data-sh-loop] sizes */
#hx-pm .sh-demo{margin:0}
#hx-pm .sh-stage{border-radius:0 0 16px 16px;padding-top:20px;padding-bottom:6px;box-shadow:0 22px 44px -10px rgba(0,0,0,.55)}
#hx-pm .sh-frame{height:112px;padding:0 22px}
#hx-pm .sh-frame::before,#hx-pm .sh-frame::after{content:"";position:absolute;left:0;right:0;height:30px;pointer-events:none;z-index:5}
#hx-pm .sh-frame::before{top:0;background:linear-gradient(to bottom,#22222a,rgba(34,34,42,0))}
#hx-pm .sh-frame::after{bottom:0;background:linear-gradient(to top,#141417,rgba(20,20,23,0))}
#hx-pm .sh-reading{padding:40px 0}
#hx-pm .sh-doctitle{font-size:12px}
#hx-pm .sh-h{font-size:17px;margin-bottom:2px}
#hx-pm .sh-krow{font-size:11px;margin-bottom:4px}
#hx-pm .sh-body{font-size:17px;line-height:1.42}
#hx-pm .sh-bar{margin:0 9px;padding:6px 8px;gap:8px}
#hx-pm .sh-bic{width:26px;height:26px}#hx-pm .sh-bic svg{width:13px;height:13px}
#hx-pm .sh-wc{font-size:10.5px}
#hx-pm .sh-mark,#hx-pm .sh-speed,#hx-pm .sh-aa{display:none}
#hx-pm .sh-drawer{margin:-9px 18px 0;padding:14px 13px 10px}
#hx-pm .sh-runway .msg{font-size:11.5px}#hx-pm .sh-runway .needs{display:none}
#hx-pm .sh-runway .jump{font-size:12px;padding:7px 12px}
#hx-pm .sh-w.wait{background:rgba(255,255,255,.2);animation:hxwait 1s ease-in-out infinite}
@keyframes hxwait{50%{background:rgba(255,255,255,.42);box-shadow:0 0 12px 2px rgba(255,255,255,.35)}}
#hx-pm.listening .sh-bic.mic{animation:hxmic 1.1s ease-in-out infinite}
@keyframes hxmic{50%{box-shadow:0 0 0 5px rgba(52,199,89,.28)}}
/* the name of the point still ahead, lit inside the heads-up */
.hx .u3-hi{border-radius:4px;padding:0 3px;animation:hxhi .9s ease-in-out infinite}
@keyframes hxhi{0%,100%{background:rgba(255,143,67,.16);box-shadow:0 0 0 2px rgba(255,143,67,.35)}50%{background:rgba(255,143,67,.34);box-shadow:0 0 0 3px rgba(255,143,67,.7),0 0 16px 4px rgba(255,143,67,.45)}}
/* the X-ray wipe: left of the line is your screen, right of it is what the audience gets */
.hx .u3-wipe{position:absolute;top:22px;bottom:0;left:680px;width:0;z-index:10;opacity:0;transition:left 1.1s cubic-bezier(.65,0,.35,1),opacity .25s}
.hx .u3-wipe.on{opacity:1}
.hx .u3-wipe:before{content:"";position:absolute;top:0;bottom:0;left:-1px;width:2px;background:#fff;box-shadow:0 0 12px 2px rgba(255,255,255,.75)}
.hx .u3-knob{position:absolute;left:-15px;top:196px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.3);display:grid;place-items:center}
.hx .u3-knob svg{width:16px;height:16px}
.hx .u3-tag{position:absolute;top:199px;white-space:nowrap;font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px;opacity:0;transition:opacity .3s,transform .3s var(--ease)}
.hx .u3-tag.l{right:26px;background:rgba(20,20,24,.85);color:#fff;transform:translateX(6px)}
.hx .u3-tag.r{left:26px;background:#fff;color:#1d1d1f;box-shadow:0 6px 16px rgba(0,0,0,.18);transform:translateX(-6px)}
.hx .u3-wipe.tags .u3-tag{opacity:1;transform:none}
/* the cursor: one click, then hands off */
.hx .u3-cur{position:absolute;z-index:11;width:18px;height:24px;left:66%;top:48%;opacity:0;transition:left .7s cubic-bezier(.45,0,.2,1),top .7s cubic-bezier(.45,0,.2,1),opacity .3s;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.hx .u3-cur.show{opacity:1}
.hx .u3-cur .ring{position:absolute;left:-10px;top:-10px;width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.9);opacity:0}
.hx .u3-cur.click .ring{animation:hxring .5s ease-out}
@keyframes hxring{from{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.6)}}

@media (max-width:1100px){.hx .u3-list{column-gap:24px}.hx .u3-item b{font-size:22px}}
@media (max-width:980px){
  .hx{padding-top:34px}.hx h1{font-size:40px}.hx h1 .cm{width:38px;height:49px;vertical-align:-9px;margin:0 2px}
}
/* phones: three short bars like story segments, and only the line playing now */
@media (max-width:700px){
  .hx{padding-left:16px;padding-right:16px}
  .hx .base{margin:0 -3.5%}   /* the MacBook base overhangs the lid; -5.5% poked 4px past a phone screen and let the page slide sideways */
  .hx{padding-top:30px}
  .hx .cta3{gap:14px;margin-top:12px}.hx .unlock{font-size:13px}
  .hx .u3-list{position:relative;column-gap:8px;margin-top:22px;padding-bottom:62px}
  .hx .u3-item .trk{margin-bottom:0}
  .hx .u3-item b{position:absolute;left:0;right:0;top:18px;font-size:21px}
  .js .hx .u3-item b{opacity:0;pointer-events:none}
  .js .hx .u3-item.on b{opacity:1}
  .hx .one-proof blockquote{font-size:18px}
}
/* no script: all three lines stack, each fully readable */
@media (max-width:700px){html:not(.js) .hx .u3-list{display:block;padding-bottom:0}html:not(.js) .hx .u3-item b{position:static;margin:14px 0}html:not(.js) .hx .u3-item .trk{display:none}}
@media (prefers-reduced-motion:reduce){.hx .u3-item.on .trk i{animation:none;transform:scaleX(1)}}
