/* LegitScript page, second pass (2026-10-30). Ian: "These pages ... are super, super plain: not a single image" and
   "Our IV clients all get them ... we've never not been able to get an IV client LegitScript." So: the readiness check
   shown running over a demo site, the track record as a loud band, who it is for in real house-call photos, and the
   website LegitScript reads drawn as a numbered page. Sources: facts/legitscript.md. Colours from omg.css. */

/* ---------- hero: the readiness scan ---------- */
.ls-hero { background:
  linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 34px,
  var(--ink); }
.ls-scan { position: relative; margin: 0; min-width: 0; text-align: left; padding-bottom: 70px; }
.ls-scan .frame { background: #fff; border-color: var(--line-d); }
.ls-scan .frame-view { aspect-ratio: 16 / 11; }
.ls-beam { position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none; background: linear-gradient(180deg, rgba(34, 224, 207, 0), rgba(34, 224, 207, .16) 88%, rgba(34, 224, 207, .9) 99%, rgba(34, 224, 207, 0)); }
.ls-scan.go .ls-beam { animation: beam 4.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes beam { 0% { transform: translateY(-100%); } 100% { transform: translateY(390%); } }
.ls-panel { position: absolute; right: clamp(-10px, -1vw, 0px); bottom: 0; width: min(330px, 78%); padding: 18px 18px 14px; border-radius: 18px; background: #141417; border: 1px solid var(--line-d); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.ls-panel-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); }
.ls-panel-t span { color: var(--mute-d); letter-spacing: .04em; }
.ls-panel ul { margin-top: 10px; display: grid; }
.ls-panel li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-d); font-size: 13.5px; font-weight: 600; color: #e4e3e8; }
.ls-panel li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: var(--ink); transition: transform .3s, background .3s; }
.ls-panel li i svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
.ls-panel.armed li i { background: #2c2c32; transform: scale(.8); }
.ls-panel.armed li i svg { opacity: 0; }
.ls-panel.armed li.on i { background: var(--aqua); transform: none; }
.ls-panel.armed li.on i svg { opacity: 1; }
.ls-scan figcaption { position: absolute; left: 0; bottom: 0; max-width: calc(100% - min(330px, 78%) - 24px); font-size: 12.5px; line-height: 1.45; color: var(--mute-d); }

/* ---------- the record: a loud aqua band ---------- */
.ls-record { background: var(--aqua); color: var(--ink); padding: clamp(70px, 9vw, 130px) var(--gut); }
.ls-record-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); gap: clamp(24px, 4vw, 60px); align-items: end; }
.ls-record .kick { color: var(--ink); }
.ls-record .kick::before { background: var(--ink); box-shadow: 0 0 0 3px rgba(12, 12, 13, .2); }
.ls-record h2 { font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.ls-record h2 em { color: var(--ink); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; text-decoration-color: #fff; }
.ls-record p.ls-record-s { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; color: #0e2f2c; font-weight: 500; }

/* ---------- who it is for: photo cards ---------- */
.ls-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ls-tile { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ls-tile img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.ls-tile div { padding: 20px 20px 22px; }
.ls-tile h3 { font: 700 1.15rem/1.2 var(--wide); letter-spacing: -.03em; }
.ls-tile p { margin-top: 8px; color: #3f3e3b; font-size: 15px; line-height: 1.45; }
.ls-tile q { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--mute); quotes: none; }
.ls-tile q b { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-ink); }

/* ---------- no certification, no ads ---------- */
.ls-ads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.ls-ad { padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; background: #141417; border: 1px solid var(--line-d); color: #e4e3e8; }
.ls-ad-k { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d); }
.ls-ad-k b { font: 800 clamp(1.3rem, 2vw, 1.7rem)/1 var(--wide); letter-spacing: -.04em; text-transform: none; color: #fff; }
.ls-mock { margin-top: 18px; padding: 16px; border-radius: 14px; background: #1f1f24; border: 1px solid var(--line-d); }
.ls-mock-top { display: flex; align-items: center; gap: 10px; }
.ls-mock-top i { width: 30px; height: 30px; border-radius: 50%; background: #34343b; flex: none; }
.ls-mock-top span { font-size: 12px; font-weight: 700; color: var(--mute-d); }
.ls-mock s { display: block; height: 10px; border-radius: 5px; background: #34343b; margin-top: 10px; text-decoration: none; }
.ls-mock s:nth-of-type(1) { width: 72%; height: 14px; background: #4a4a52; }
.ls-mock s:nth-of-type(2) { width: 92%; }
.ls-mock s:nth-of-type(3) { width: 60%; }
.ls-status { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ls-status span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.ls-status .no { background: #3a2226; color: #ffc9cf; }
.ls-status .yes { background: rgba(34, 224, 207, .16); color: var(--aqua); }
.ls-status span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ls-ad ul { margin-top: 18px; display: grid; gap: 10px; }
.ls-ad li { padding-left: 18px; position: relative; font-size: 15px; line-height: 1.5; color: #d6d5da; }
.ls-ad li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
.ls-ad li b { color: #fff; }
.ls-ads-note { margin: 22px auto 0; max-width: 1180px; font-size: 13px; color: var(--mute-d); text-align: center; }

/* ---------- the page LegitScript reads, numbered ---------- */
.ls-anat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(26px, 4vw, 64px); align-items: center; }
.ls-page { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .45); }
.ls-page-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; background: #f3f1ec; border-bottom: 1px solid var(--line); }
.ls-page-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d6cf; }
.ls-url { flex: 1; display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 13px; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--mute); }
.ls-z { position: relative; border-radius: 10px; transition: background .25s, box-shadow .25s; }
.ls-z.hot { background: rgba(34, 224, 207, .12); box-shadow: 0 0 0 2px var(--aqua); }
.ls-pin { position: absolute; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 12px/1 var(--wide); cursor: pointer; border: 2px solid #fff; }
.ls-z.hot .ls-pin, .ls-pin:hover { background: var(--aqua); color: var(--ink); }
.ls-body { padding: 18px; display: grid; gap: 14px; }
.ls-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ls-logo { width: 92px; height: 14px; border-radius: 7px; background: var(--ink); }
.ls-links { display: flex; gap: 10px; }
.ls-links i { width: 42px; height: 8px; border-radius: 4px; background: #dedbd4; }
.ls-hero-w { padding: 22px; border-radius: 12px; background: #f1efe9; }
.ls-hero-w s { display: block; height: 16px; border-radius: 8px; background: #2b2a28; text-decoration: none; width: 70%; }
.ls-hero-w s + s { width: 48%; margin-top: 10px; }
.ls-claim { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: #3f3e3b; }
.ls-claim del { color: #b4232f; text-decoration-thickness: 2px; }
.ls-claim ins { text-decoration: none; color: var(--aqua-ink); }
.ls-states { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ls-states span { padding: 5px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: #3f3e3b; }
.ls-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ls-cards div { padding: 12px; border-radius: 10px; background: #f6f5f1; font-size: 12px; font-weight: 700; color: #3f3e3b; }
.ls-cards div s { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: #dedbd4; text-decoration: none; }
.ls-cards div.ls-barred { color: #b4232f; background: #fbeff0; text-decoration: line-through; }
.ls-foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; padding: 16px; border-radius: 12px; background: var(--ink); color: #c9c8cd; font-size: 11.5px; line-height: 1.5; }
.ls-foot .ls-z { padding: 6px 8px; }
.ls-foot b { display: block; color: #fff; font-size: 12px; margin-bottom: 4px; }
.ls-seal { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--aqua); color: #fff; font-weight: 700; }
.ls-seal::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.ls-key { display: grid; gap: 4px; counter-reset: k; }
.ls-key li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 10px; border-radius: 14px; cursor: pointer; transition: background .2s; }
.ls-key li:hover, .ls-key li.hot { background: #fff; }
.ls-key li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 12.5px/1 var(--wide); }
.ls-key li.hot > span { background: var(--aqua); color: var(--ink); }
.ls-key b { display: block; font-size: 16px; }
.ls-key p { margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: #3f3e3b; }
.ls-key small { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aqua-ink); }
.ls-anat-note { margin-top: 12px; font-size: 13px; color: var(--mute); }

/* ---------- built for it: the check card ---------- */
.ls-check { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--ink); color: #e4e3e8; }
.ls-check-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.ls-check-h p { font: 700 clamp(1.05rem, 1.5vw, 1.25rem)/1.2 var(--wide); letter-spacing: -.02em; color: #fff; }
.ls-check-h span { padding: 6px 12px; border-radius: 999px; background: rgba(34, 224, 207, .14); color: var(--aqua); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ls-check ul { margin-top: 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.ls-check li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; line-height: 1.4; }
.ls-check li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua); color: var(--ink); }
.ls-check li i svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- steps and the fees receipt ---------- */
.ls-run { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ls-track { display: grid; gap: 0; }
.ls-st { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; position: relative; padding-bottom: 26px; }
.ls-st::before { content: ''; position: absolute; left: 31px; top: 54px; bottom: 6px; width: 2px; background: var(--line); }
.ls-st:last-child::before { display: none; }
.ls-st > span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); font: 800 1.1rem/1 var(--wide); letter-spacing: -.04em; }
.ls-st.win > span { background: var(--aqua); border-color: var(--aqua); }
.ls-st h3 { margin-top: 6px; font: 700 1.2rem/1.2 var(--wide); letter-spacing: -.03em; }
.ls-st h3 small { margin-left: 8px; font: 700 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-ink); vertical-align: .2em; }
.ls-st p { margin-top: 6px; max-width: 52ch; color: #3f3e3b; font-size: 15.5px; line-height: 1.5; }
.ls-receipt { position: sticky; top: 100px; padding: 26px 24px 22px; background: #fff; border-radius: 4px; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .5); font-size: 14.5px; color: #2b2a28;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; padding-bottom: 34px; }
.ls-receipt h3 { font: 700 1.05rem/1.2 var(--wide); letter-spacing: -.02em; }
.ls-receipt > p { margin-top: 4px; font-size: 12.5px; color: var(--mute); }
.ls-receipt dl { margin-top: 16px; border-top: 1.5px dashed #cfccc4; }
.ls-receipt dl div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1.5px dashed #cfccc4; }
.ls-receipt dt { line-height: 1.35; }
.ls-receipt dt small { display: block; font-size: 12px; color: var(--mute); }
.ls-receipt dd { font: 800 1.05rem/1.2 var(--wide); letter-spacing: -.03em; white-space: nowrap; }
.ls-receipt .ls-paid { margin-top: 14px; font-size: 12.5px; color: var(--mute); }
.ls-receipt .ls-paid b { color: var(--ink); }

@media (max-width: 1080px) {
  .ls-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-anat, .ls-run, .ls-record-in { grid-template-columns: 1fr; }
  .ls-receipt { position: static; max-width: 460px; }
}
@media (max-width: 760px) {
  .ls-ads { grid-template-columns: 1fr; }
  .ls-check ul { grid-template-columns: 1fr; }
  .ls-scan { padding-bottom: 0; }
  .ls-panel { position: relative; right: auto; width: auto; margin-top: -40px; margin-left: 14px; margin-right: 14px; }
  .ls-scan figcaption { position: static; max-width: none; margin-top: 12px; }
  .ls-foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ls-who { grid-template-columns: 1fr; }
  .ls-cards { grid-template-columns: 1fr 1fr; }
  .ls-cards div:last-child { display: none; }
  .ls-st { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .ls-st > span { width: 46px; height: 46px; font-size: .95rem; }
  .ls-st::before { left: 23px; top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ls-scan.go .ls-beam { animation: none; opacity: 0; }
}
