/* 2026-11-11: hero laptop (marketing's ask) replaces the Thinking Orb.
   A silver laptop whose screen runs an example QuickScan on a loop:
   resume upload -> analysis -> QuickScan complete. Built in CSS so the
   screen text stays crisp at any size. Driven by /js/laptop-scan.js. */
.lap-wrap { position: relative; width: 480px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lap { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }

/* Lid: thin aluminum rim, black glass bezel, camera. */
.lap-lid { position: relative; width: 86%; padding: 1.1%; border-radius: 16px 16px 4px 4px;
  background: linear-gradient(160deg, #D9DCE0 0%, #A7ABB1 45%, #C9CCD1 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 24px 50px rgba(0,0,0,.45); }
.lap-bezel { position: relative; border-radius: 13px 13px 2px 2px; background: #0A0B0C; padding: 3.4% 2.6% 3%; }
.lap-bezel::before { content: ""; position: absolute; top: 1.3%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3B4652, #111418 70%); box-shadow: 0 0 0 1px #1C1F23; }
.lap-bezel::after { /* glass sheen */ content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 38%); }
.lap-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #F4F2EE;
  container-type: inline-size; font-family: var(--body, Inter, system-ui, sans-serif); color: #1C1F23; }

/* Base: aluminum deck seen edge-on, with the thumb notch and feet shadow. */
.lap-base { position: relative; width: 100%; height: 0; padding-bottom: 3.2%; margin-top: -1px; border-radius: 2px 2px 18px 18px / 2px 2px 10px 10px;
  background: linear-gradient(180deg, #ECEEF0 0%, #C5C8CD 38%, #9A9EA4 78%, #6E7277 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 28px -8px rgba(0,0,0,.6); }
.lap-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%);
  border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #8F9399, #B4B8BD); }
.lap-shadow { width: 92%; height: 18px; margin-top: -6px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); }

/* Screen app: browser bar + three scenes. Sizes in cqw scale with the screen. */
.ls-bar { display: flex; align-items: center; gap: 1.4cqw; height: 7.5cqw; padding: 0 2.4cqw; background: #E4E1DB; border-bottom: 1px solid #D3CFC7; }
.ls-bar i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #C9C4BB; }
.ls-url { flex: 1; margin-left: 2cqw; height: 4.4cqw; border-radius: 99px; background: #F7F5F1; color: #6B7079; font-size: 2.3cqw; display: flex; align-items: center; padding: 0 2.4cqw; gap: 1cqw; white-space: nowrap; overflow: hidden; }
.ls-url b { color: #1C1F23; font-weight: 600; }
.ls-body { position: absolute; top: 7.5cqw; left: 0; right: 0; bottom: 0; }
.ls-scene { position: absolute; inset: 0; padding: 3.6cqw 4.4cqw; display: flex; flex-direction: column; gap: 2.2cqw; opacity: 0; transform: translateY(2%); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.ls-scene.is-on { opacity: 1; transform: none; }
.ls-eyebrow { font-size: 2.1cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8A6A3A; }
.ls-h { font-family: var(--display, Montserrat, sans-serif); font-weight: 800; font-size: 4.3cqw; line-height: 1.05; }
.ls-small { font-size: 2.3cqw; color: #6B7079; }
.ls-ok { color: #2E7D4F; font-weight: 700; }
.ls-miss { color: #B4442E; font-weight: 700; }

/* Scene 1: upload */
.ls-drop { position: relative; flex: 1; border: .45cqw dashed #C2A879; border-radius: 2cqw; background: #FBF8F2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8cqw; }
.ls-file { display: flex; align-items: center; gap: 1.8cqw; background: #fff; border-radius: 1.4cqw; padding: 1.6cqw 2.4cqw; box-shadow: 0 1.2cqw 3cqw rgba(0,0,0,.14); font-size: 2.5cqw; }
.ls-file .doc { position: relative; width: 4.6cqw; height: 5.8cqw; border-radius: .6cqw; background: #B4442E; color: #fff; font-size: 1.6cqw; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .6cqw; }
.ls-file strong { display: block; font-size: 2.6cqw; }
.ls-prog { width: 62%; height: 1.4cqw; border-radius: 99px; background: #E6E1D8; overflow: hidden; }
.ls-prog i { display: block; height: 100%; width: 0; background: #B8925A; border-radius: inherit; }
.ls-scene.is-on .ls-file { animation: lsDrop .9s cubic-bezier(.2,.8,.25,1.1) both; }
.ls-scene.is-on .ls-prog i { animation: lsFill 1.9s .9s ease-in-out forwards; }
.ls-uptext span:last-child { display: none; }
.ls-scene.is-done .ls-uptext span:first-child { display: none; }
.ls-scene.is-done .ls-uptext span:last-child { display: inline; }
.ls-posting { display: flex; align-items: center; gap: 1.4cqw; font-size: 2.4cqw; background: #fff; border-radius: 1.2cqw; padding: 1.4cqw 2cqw; border: 1px solid #E6E1D8; }
@keyframes lsDrop { from { opacity: 0; transform: translateY(-60%) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes lsFill { to { width: 100%; } }

/* Scene 2: analysis */
.ls-ana { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqw; min-height: 0; }
.ls-page { position: relative; overflow: hidden; background: #fff; border-radius: 1cqw; box-shadow: 0 .8cqw 2.4cqw rgba(0,0,0,.12); padding: 2.4cqw 2.6cqw; display: flex; flex-direction: column; gap: 1.1cqw; font-size: 2cqw; line-height: 1.35; }
.ls-page .nm { font-family: var(--display, Montserrat, sans-serif); font-weight: 800; font-size: 2.8cqw; }
.ls-page .ttl { color: #6B7079; font-size: 1.8cqw; border-bottom: 1px solid #E6E1D8; padding-bottom: .8cqw; }
.ls-page .ln { display: block; height: 1.1cqw; border-radius: 99px; background: #E9E6E0; }
.ls-page mark { background: transparent; color: inherit; border-radius: .4cqw; padding: 0 .3cqw; transition: background .3s, color .3s; }
.ls-page mark.hit { background: rgba(46,125,79,.16); color: #1F5C39; }
.ls-page mark.gap { background: rgba(180,68,46,.14); color: #8E2F1E; }
.ls-beam { position: absolute; left: 0; right: 0; top: 0; height: 18%; pointer-events: none;
  background: linear-gradient(180deg, rgba(184,146,90,0), rgba(184,146,90,.28) 85%, rgba(184,146,90,.85)); }
.ls-scene.is-on .ls-beam { animation: lsBeam 2.2s ease-in-out infinite; }
@keyframes lsBeam { 0% { transform: translateY(-100%); } 100% { transform: translateY(560%); } }
.ls-side { display: flex; flex-direction: column; gap: 1.6cqw; min-width: 0; }
.ls-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2cqw; font-size: 2.3cqw; }
.ls-checks li { display: flex; align-items: center; gap: 1.2cqw; color: #9096A0; transition: color .3s; }
.ls-checks li::before { content: ""; flex: none; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; border: .35cqw solid #D3CFC7; box-sizing: border-box; transition: all .3s; }
.ls-checks li.run { color: #1C1F23; font-weight: 600; }
.ls-checks li.run::before { border-color: #B8925A; border-top-color: transparent; animation: lsSpin .8s linear infinite; }
.ls-checks li.ok { color: #1C1F23; }
.ls-checks li.ok::before { border: 0; background: #2E7D4F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
@keyframes lsSpin { to { transform: rotate(360deg); } }
.ls-chips { display: flex; flex-wrap: wrap; gap: 1cqw; }
.ls-chip { font-size: 1.9cqw; font-weight: 600; border-radius: 99px; padding: .5cqw 1.5cqw; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.ls-chip.show { opacity: 1; transform: none; }
.ls-chip.hit { background: rgba(46,125,79,.14); color: #1F5C39; }
.ls-chip.gap { background: rgba(180,68,46,.12); color: #8E2F1E; }

/* Scene 3: complete */
.ls-done { flex: 1; display: grid; grid-template-columns: auto 1fr; gap: 3.4cqw; align-items: center; min-height: 0; }
.ls-ring { position: relative; width: 24cqw; aspect-ratio: 1; }
.ls-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ls-ring circle { fill: none; stroke-width: 9; }
.ls-ring .trk { stroke: #E6E1D8; }
.ls-ring .val { stroke: #B8925A; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1.4s cubic-bezier(.3,.7,.3,1); }
.ls-ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ls-ring b { font-family: var(--display, Montserrat, sans-serif); font-weight: 800; font-size: 7.4cqw; line-height: 1; }
.ls-ring small { font-size: 1.9cqw; color: #6B7079; }
.ls-list { display: flex; flex-direction: column; gap: 1.3cqw; font-size: 2.2cqw; min-width: 0; }
.ls-list .row { display: flex; gap: 1.2cqw; align-items: baseline; opacity: 0; transform: translateX(4%); transition: opacity .35s, transform .35s; }
.ls-list .row.show { opacity: 1; transform: none; }
.ls-list .row b { flex: none; width: 3cqw; height: 3cqw; border-radius: 50%; background: #1C1F23; color: #E8C48A; font-size: 1.7cqw; display: inline-flex; align-items: center; justify-content: center; }
.ls-fix { background: #FBF8F2; border-left: .6cqw solid #B8925A; border-radius: .8cqw; padding: 1.2cqw 1.6cqw; font-size: 2cqw; }
.ls-fix s { color: #9096A0; display: block; }
.ls-badge { display: inline-flex; align-items: center; gap: 1cqw; align-self: flex-start; background: #2E7D4F; color: #fff; font-size: 2.1cqw; font-weight: 700; border-radius: 99px; padding: .6cqw 1.8cqw; }

/* Controls under the laptop: jump to a stage. */
.lap-steps { display: flex; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(184,146,90,.35); border-radius: 99px; padding: 4px; }
.lap-steps button { font: inherit; font-size: 13px; font-weight: 600; color: var(--on-dark, #C9CCD1); background: transparent; border: 0; border-radius: 99px; padding: 7px 14px; min-height: 36px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.lap-steps button span { width: 18px; height: 18px; border-radius: 50%; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); }
.lap-steps button[aria-pressed="true"] { background: var(--bronze, #B8925A); color: #1C1F23; }
.lap-steps button[aria-pressed="true"] span { background: rgba(28,31,35,.18); }
.lap-steps button:focus-visible { outline: 2px solid var(--bronze, #B8925A); outline-offset: 2px; }
.lap-note { font-size: 12px; color: var(--on-dark-2, #9096A0); }

/* Badges sit in a row under the laptop so they never cover the screen. */
.lap-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lap-badges .orb-badge { position: static; animation: none; }

@media (max-width: 640px) {
  .lap-steps button { padding: 6px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ls-scene, .ls-chip, .ls-list .row, .ls-ring .val { transition: none; }
  .ls-scene.is-on .ls-file, .ls-scene.is-on .ls-beam, .ls-checks li.run::before { animation: none; }
  .ls-scene.is-on .ls-prog i { animation: none; width: 100%; }
}

/* Photo: two people watching the laptop run the example scan. The live
   screen is pinned onto the photo laptop display with matrix3d (set in
   laptop-scan.js from the corner points in data-quad). Crop per breakpoint
   with --cx/--cy (top-left) and --cw/--ch (size), in photo pixels. */
.watch { --cx: 110; --cy: 90; --cw: 1490; --ch: 860; position: relative; margin: 0; width: 100%; aspect-ratio: 1490 / 860; overflow: hidden; border-radius: 20px; background: #1C1F23; box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.watch-stage { position: absolute; left: 0; top: 0; width: 1600px; height: 1067px; transform-origin: 0 0; }
.watch-stage img { display: block; width: 1600px; height: 1067px; max-width: none; }
.watch-screen.lap-screen { position: absolute; left: 0; top: 0; width: 800px; height: 500px; aspect-ratio: auto; transform-origin: 0 0; border-radius: 0; filter: brightness(.86) saturate(.92); }
.watch-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.10), rgba(255,255,255,0) 45%), linear-gradient(0deg, rgba(0,0,0,.10), rgba(0,0,0,0) 40%); }
.watch-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--muted-2, #7A808A); }
.watch-cap a { color: inherit; }
@media (max-width: 700px) { .watch { --cx: 470; --cy: 300; --cw: 1060; --ch: 700; aspect-ratio: 1060 / 700; border-radius: 14px; } }
