/* QuestLaw marketing pages: the landing page and the 404 page.
   site.css owns the original hero and How it works lead. This file owns the
   selected redesign sections, the demo overlay, and responsive layouts.
   [hidden] must beat inline display values when the selected demo changes. */

body { margin: 0; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
* { box-sizing: border-box; }
a { color: oklch(0.448 0.152 26); text-decoration: none; }
a:hover { color: oklch(0.402 0.150 26); }
p, h1, h2, h3, h4 { margin: 0; }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* The approved oxblood hero. Its decorative image cannot enter text selection or
   browser search; clipping belongs to the hero, independently of its height. */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--oxblood); color: var(--on-oxblood); }
.lp-hero-texture {
  position: absolute; inset: 0; z-index: -1;
  opacity: .46; pointer-events: none; user-select: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%222000%22%20height%3D%22544%22%3E%3Cg%20fill%3D%22oklch%28.50%20.155%2026%29%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2215%22%3E%3Ctext%20x%3D%22-0%22%20y%3D%2223%22%3E347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%3C%2Ftext%3E%3Ctext%20x%3D%22-137%22%20y%3D%2257%22%3E787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%3C%2Ftext%3E%3Ctext%20x%3D%22-274%22%20y%3D%2291%22%3E977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%3C%2Ftext%3E%3Ctext%20x%3D%22-11%22%20y%3D%22125%22%3EU.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%3C%2Ftext%3E%3Ctext%20x%3D%22-148%22%20y%3D%22159%22%3E598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%3C%2Ftext%3E%3Ctext%20x%3D%22-285%22%20y%3D%22193%22%3E410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%3C%2Ftext%3E%3Ctext%20x%3D%22-22%22%20y%3D%22227%22%3E17%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%3C%2Ftext%3E%3Ctext%20x%3D%22-159%22%20y%3D%22261%22%3E5%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%3C%2Ftext%3E%3Ctext%20x%3D%22-296%22%20y%3D%22295%22%3EId.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%3C%2Ftext%3E%3Ctext%20x%3D%22-33%22%20y%3D%22329%22%3ESee%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%3C%2Ftext%3E%3Ctext%20x%3D%22-170%22%20y%3D%22363%22%3E347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%3C%2Ftext%3E%3Ctext%20x%3D%22-307%22%20y%3D%22397%22%3E787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%3C%2Ftext%3E%3Ctext%20x%3D%22-44%22%20y%3D%22431%22%3E977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%3C%2Ftext%3E%3Ctext%20x%3D%22-181%22%20y%3D%22465%22%3EU.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%3C%2Ftext%3E%3Ctext%20x%3D%22-318%22%20y%3D%22499%22%3E598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%3C%2Ftext%3E%3Ctext%20x%3D%22-55%22%20y%3D%22533%22%3E410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%205%20U.S.%20%281%20Cranch%29%20137%20%281803%29%20598%20U.S.%20508%2C%20531%20%282023%29%20787%20F.%20Supp.%203d%201007%2C%201022%20Id.%20at%201023.%20410%20U.S.%20113%2C%20153%20%281973%29%20977%20F.2d%201510%2C%201527%E2%80%9328%20See%2C%20e.g.%2C%2017%20U.S.C.%20%C2%A7%20107%20U.S.%20Const.%20art.%20I%2C%20%C2%A7%208%2C%20cl.%208%20347%20U.S.%20483%20%281954%29%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-repeat: repeat-x; background-position: 0 110px; background-size: 2000px 544px;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 260px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 260px), transparent);
}
.lp-hero .lp-nav { background: #fff; border-color: transparent; box-shadow: 0 12px 30px oklch(.24 .08 26 / .16); }
.lp-hero .lp-brand, .lp-hero .lp-brand:hover, .lp-hero .lp-navlinks a,
.lp-hero .lp-signin, .lp-hero .lp-menu summary { color: var(--ink); }
.lp-hero .lp-brand svg line { stroke: var(--oxblood); }
.lp-hero .lp-navlinks a:hover, .lp-hero .lp-signin:hover,
.lp-hero .lp-menu summary:hover { color: var(--oxblood); background: var(--oxblood-tint); }
.lp-hero .lp-install { background: var(--oxblood); color: #fff; }
.lp-hero .lp-install:hover { background: var(--oxblood-hover); }
.lp-hero .lp-nav a:focus-visible, .lp-hero .lp-menu summary:focus-visible { outline-color: var(--oxblood); }
.lp-hero .hero { padding: 40px 0; }
.lp-hero .hero-layout { grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); }
.lp-hero h1, .lp-hero h1 .ox { color: var(--on-oxblood); }
.lp-hero .hero .lede { color: oklch(.94 .024 35); }
.lp-hero .hero .btn { background: var(--on-oxblood); color: var(--oxblood); border-color: var(--on-oxblood); }
.lp-hero .hero .btn:hover { background: #fff; color: var(--oxblood-hover); }
.lp-hero .hero .btn:focus-visible { outline: 2px solid var(--on-oxblood); outline-offset: 4px; }
/* Leave room for the retained 1.2 video scale, including Word's title and footer. */
.lp-hero .demo-frame {
  position: relative; background: transparent; aspect-ratio: 1722 / 1776;
  display: grid; place-items: center;
  filter: drop-shadow(0 14px 24px oklch(.20 .07 26 / .20));
}
.lp-hero .hero-play { position: absolute; left: 16px; bottom: 16px; z-index: 1; }
@media (max-width: 900px) {
  .lp-hero .hero { padding: 52px 0 56px; }
  .lp-hero .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-hero .hero-copy { max-width: 650px; }
  .lp-hero .hero-visual { width: 100%; max-width: 760px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .lp-hero .hero { padding-top: 40px; }
  .lp-hero .hero h1 { font-size: 34px; max-width: 17ch; }
  .lp-hero .hero .lede { font-size: 16px; line-height: 1.6; }
  .lp-hero .hero-layout { gap: 32px; }
  .lp-hero-texture { opacity: .30; }
}

/* The web app step replays the real web app (assets/product-reel.js), in the app's own faces. */
@font-face { font-family: Geist; src: url(/assets/product/geist.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/product/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
.reel-box { position: relative; width: 100%; height: 708px; overflow: hidden; background: #fff; }
.reel-box > [data-reel] { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-2); font-size: 18px; }

/* ---------- How it works ---------- */

.hiw { padding: 56px 0 8px; border-top: 1px solid var(--rule); margin-top: 44px; }
/* Keep Capture’s frame and card placement consistent across all three steps. */
.hiw-stage {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  grid-template-rows: auto 1fr;
}
.hiw-intro { grid-row: 1; grid-column: 1; align-self: start; z-index: 1; }
.hiw-intro h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hiw-intro p { font-size: 1.05rem; color: var(--ink-2); margin: 14px 0 0; text-wrap: pretty; }
.hiw-card {
  grid-row: 2; grid-column: 1; align-self: start; z-index: 1;
  margin: 32px 0 0;
  padding: 28px 28px 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--shape-lg);
  box-shadow: 0 24px 60px oklch(0.2 0.01 264 / 0.10), 0 2px 6px oklch(0.2 0.01 264 / 0.05);
}
.hiw-visual {
  grid-row: 1 / 3; grid-column: 2;
  position: relative; align-self: start; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: var(--shape-md); background: #fff;
}

.hiw-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.hiw-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--rule-strong); border-radius: var(--shape-pill); background: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--ink);
  cursor: pointer; transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.hiw-tab .n {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; line-height: 1;
  padding: 4px 7px; border-radius: var(--shape-pill); background: var(--ink-2); color: #fff;
  transition: background var(--duration-fast) var(--ease-out);
}
.hiw-tab:hover:not([aria-selected="true"]) { background: var(--paper-sunk); color: var(--ink); }
.hiw-tab[aria-selected="true"] { border-color: var(--oxblood); color: var(--oxblood); box-shadow: inset 0 0 0 .5px var(--oxblood); }
.hiw-tab[aria-selected="true"] .n { background: var(--oxblood); }
.hiw-tab:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }

.hiw-panel h3 {
  display: flex; align-items: center; gap: 10px; margin-top: 26px;
  font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink);
}
.hiw-panel p { margin-top: 14px; font-size: 16px; line-height: 1.62; color: var(--ink-2); text-wrap: pretty; }
.hiw-panel p.beta-note { font-size: 14px !important; margin-top: 16px !important; }
.hiw-beta {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0;
  padding: 2px 9px; border-radius: var(--shape-pill); background: var(--oxblood); color: #fff;
}

/* Keep the full recordings inside the same frame, without a step-specific zoom. */
.hiw-scene { position: absolute; inset: 0; }
.hiw-scene .demo { width: 100%; height: 100%; object-fit: contain; transform: none; }

/* The web app step draws a Chrome window at 1280 px, around the replay at its capture size;
   landing.js scales and places it (a transform), the whole window or, on phones, the part
   where the action is. */
.hiw-window {
  position: absolute; left: 0; top: 0; width: 1280px; transform-origin: 0 0;
  background: #fff; border-radius: 12px; overflow: hidden; color: #3c4043;
  box-shadow: 0 30px 70px oklch(0.2 0.01 264 / 0.16), 0 0 0 1px oklch(0.2 0.01 264 / 0.10);
}
.hiw-window-tabs { height: 38px; display: flex; align-items: flex-end; gap: 8px; padding-left: 16px; background: #dee1e6; }
.hiw-dots { align-self: center; display: flex; gap: 8px; margin-right: 14px; }
.hiw-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.hiw-dots i:nth-child(2) { background: #febc2e; }
.hiw-dots i:nth-child(3) { background: #28c840; }
.hiw-window-tab {
  display: flex; align-items: center; gap: 8px; width: 280px; height: 32px; padding: 0 10px 0 12px;
  border-radius: 10px 10px 0 0; background: #fff; font-size: 12.5px;
}
.hiw-window-tab > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hiw-fav {
  flex: none; width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center;
  background: #211f1d; color: #fff; font: 700 11px Georgia, serif;
}
.hiw-x { color: #5f6368; font-size: 13px; }
.hiw-plus { align-self: center; margin-left: 4px; color: #5f6368; font-size: 18px; line-height: 1; }
.hiw-window-bar { height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #fff; border-bottom: 1px solid #e6e8eb; }
.hiw-window-bar > svg:nth-of-type(3) { margin-right: 6px; }
.hiw-url {
  flex: 1; min-width: 0; height: 30px; display: flex; align-items: center; gap: 9px; padding: 0 14px;
  border-radius: 999px; background: #f1f3f4; font-size: 12.5px;
}
.hiw-avatar {
  width: 24px; height: 24px; margin-left: 6px; border-radius: 50%; display: grid; place-items: center;
  background: #1a8a5a; color: #fff; font-size: 11px; font-weight: 600;
}

/* ---------- Nothing to hallucinate ---------- */
.lp-rules { position: relative; overflow: hidden; margin-top: 64px; background: var(--oxblood); color: var(--on-oxblood); }
.lp-band {
  position: relative; width: min(1200px, calc(100% - 44px)); margin: 0 auto;
  padding: clamp(84px, 8vw, 120px) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center; gap: clamp(48px, 7vw, 96px);
}
.lp-band h2 {
  max-width: 12ch; font-family: var(--font-display); font-size: clamp(58px, 6.3vw, 96px);
  font-weight: 800; line-height: .94; letter-spacing: -.04em; text-wrap: balance;
}
.lp-rules-copy { max-width: 46ch; display: grid; gap: 26px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.lp-check-count { color: oklch(.89 .09 65); font-variant-numeric: tabular-nums; }

/* Citation rows remain a quiet backdrop, not part of the reading order. */
.lp-texture {
  position: absolute; left: 0; right: 0; top: 0;
  padding-top: 110px; font-size: 15px; line-height: 34px; white-space: nowrap;
  color: oklch(0.50 0.155 26); opacity: .28; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 260px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 260px), transparent);
}

/* ---------- Private by design ---------- */

.lp-security { width: min(1200px, calc(100% - 44px)); margin: 0 auto; padding: 100px 0 60px; }
.lp-security-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.lp-security-intro h2 { font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.lp-security-intro p { margin-top: 14px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.lp-security-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.lp-security-point { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-inline: 12px; text-align: center; }
.lp-security-icon { width: 56px; height: 56px; display: grid; place-items: center; flex: none; border: 1.5px solid var(--oxblood); border-radius: 16px; color: var(--oxblood); }
.lp-security-icon svg { width: 24px; height: 24px; }
.lp-security-point b { font-size: 16px; }
.lp-security-point > span:last-child { max-width: 22ch; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.lp-security-more { margin-top: 36px; text-align: center; font-size: 15px; font-weight: 600; }

/* ---------- FAQ: native disclosure ---------- */

.lp-faq-item {
  background: #fff; border: 1px solid oklch(0.9 0.004 264); border-radius: 14px;
}
.lp-faq-item > summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 22px;
  list-style: none; cursor: pointer; border-radius: 14px;
  font-size: 16px; font-weight: 600; color: oklch(0.2 0.007 268);
}
.lp-faq-item > summary::-webkit-details-marker { display: none; }
.lp-faq-item > summary:focus-visible { outline: 2px solid oklch(0.448 0.152 26); outline-offset: 2px; }
.lp-faq-item > summary:hover > span:first-child { color: oklch(0.448 0.152 26); }
.lp-faq-sign { flex: none; color: oklch(0.448 0.152 26); font-size: 20px; font-weight: 400; line-height: 1; }
.lp-faq-sign::before { content: "+"; }
.lp-faq-item[open] .lp-faq-sign::before { content: "−"; }
.lp-faq-item > p { padding: 0 22px 20px; font-size: 15px; line-height: 1.62; color: oklch(0.42 0.007 268); }

/* ---------- Landing: small tablets and phones ---------- */

@media (max-width: 1179px) {
  /* How it works stacks: copy, recording, then the card below it. */
  .hiw-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .hiw-intro { grid-row: 1; grid-column: 1; margin-bottom: 28px; }
  .hiw-visual { grid-row: 2; grid-column: 1; }
  .hiw-card { grid-row: 3; grid-column: 1; margin: 16px 14px 0; padding: 22px 22px 26px; }
  .hiw-panel h3 { margin-top: 20px; font-size: 24px; }
}

@media (max-width: 900px) {

  .lp-band { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 80px; }
  .lp-rules-copy { max-width: 62ch; }

  .lp-security { padding: 72px 0 48px; }
  .lp-security-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .lp-faq { padding: 56px 20px 72px !important; }

  .lp-cta { padding: 0 20px 64px !important; }
  .lp-cta-card { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; padding: 36px 28px !important; }
  .lp-cta-icon { width: 72px; height: 72px; }

}

/* Phones: the web app follows the action within the same frame (landing.js). */
@media (max-width: 640px) {
  .hiw-tabs { gap: 4px; }
  .hiw-tab { gap: 5px; padding: 5px 8px 5px 4px; font-size: 13px; }
  .hiw-tab .n { padding-inline: 5px; }
  .hiw-scene[data-step="web-app"] { background: oklch(0.97 0.003 264); }
}

@media (max-width: 600px) {
  .lp-band { padding-block: 68px; gap: 28px; }
  .lp-band h2 { font-size: clamp(48px, 11vw, 68px); }
  .lp-rules-copy { gap: 22px; font-size: 17px; }
}

@media (max-width: 440px) {
}

@media (max-width: 359px) {
  .hiw { width: calc(100% - 24px); }
  .hiw-card { margin-inline: 0; padding-inline: 18px; }
  .hiw-tab { font-size: 13px; }
  .lp-security-flow { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */

.nf {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: oklch(0.448 0.152 26);
  color: #fff;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow: hidden;
}
.nf-texture {
  position: absolute;
  inset: 0;
  padding-top: 110px;
  font-size: 15px;
  line-height: 34px;
  color: oklch(0.50 0.155 26);
  white-space: nowrap;
  pointer-events: none;
}
.nf-nav {
  position: relative;
  z-index: 1;
  width: min(1160px, 100% - 48px);
  margin: 20px auto 0;
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nf-brand { display: flex; align-items: center; gap: 9px; color: oklch(0.2 0.007 268); }
.nf-brand b { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.nf-brand:hover { color: oklch(0.2 0.007 268); }
.nf-install {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: oklch(0.2 0.007 268);
  color: #fff;
}
.nf-install:hover { color: #fff; background: oklch(0.3 0.007 268); }

.nf-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(1000px, 100% - 48px);
  margin: 0 auto;
  padding: 72px 0 88px;
  text-align: center;
}
.nf-eyebrow { font-size: 15px; font-weight: 500; color: oklch(0.93 0.01 26); }
.nf-title {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: clamp(48px, 9vw, 112px);
  line-height: .88;
  letter-spacing: -0.055em;
  margin-top: 20px;
  text-wrap: balance;
}
.nf-title i { font-weight: 700; }
.nf-lede {
  font-size: 19px;
  max-width: 44ch;
  margin: 26px auto 0;
  color: oklch(0.97 0.004 264);
  text-wrap: pretty;
}

/* The page's one joke: its own citation, broken into parts like the landing page's. */
.nf-cite {
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 16px;
  font-size: clamp(21px, 2.65vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.nf-part { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.nf-part > span:first-child { white-space: nowrap; }
.nf-part > span:nth-child(2) { height: 10px; border: 2px solid oklch(1 0 0 / 0.45); border-top: 0; }
.nf-part > span:last-child { font-size: 13px; font-weight: 600; letter-spacing: 0; text-align: center; color: oklch(0.9 0.02 26); }
.nf-part.is-pin > span:first-child { color: oklch(0.2 0.007 268); background: #fff; border-radius: 6px; padding: 2px 8px; margin: -2px -8px; }
.nf-part.is-pin > span:nth-child(2) { border-color: #fff; }
.nf-part.is-pin > span:last-child { color: #fff; }
.nf-note { margin-top: 14px; font-size: 14px; color: oklch(0.9 0.02 26); }

.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.nf-btn {
  font-size: 16px;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 999px;
  background: #fff;
  color: oklch(0.2 0.007 268);
}
.nf-btn:hover { color: oklch(0.2 0.007 268); background: oklch(0.95 0.004 264); }
.nf-btn.is-ghost { background: transparent; color: #fff; border: 1.5px solid #fff; }
.nf-btn.is-ghost:hover { background: oklch(1 0 0 / 0.1); color: #fff; }

.nf-links {
  margin-top: 36px;
  display: flex;
  gap: 8px 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
}
.nf-links a { color: #fff; border-bottom: 1.5px solid oklch(1 0 0 / 0.45); padding-bottom: 2px; }
.nf-links a:hover { color: #fff; border-bottom-color: #fff; }
.nf a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.nf-foot {
  position: relative;
  z-index: 1;
  padding: 18px 24px 24px;
  text-align: center;
  font-size: 12px;
  color: oklch(0.88 0.02 26);
}

@media (max-width: 600px) {
  .nf-nav { width: calc(100% - 32px); }
  .nf-main { width: calc(100% - 40px); padding: 48px 0 64px; }
  .nf-lede { font-size: 17px; }
  .nf-actions .nf-btn { flex: 1 1 100%; text-align: center; }
}
