/* Scan before you drill. Drawing-sheet pages, one concrete wall. */
:root {
  --paper: #F6F7F7;
  --paper-2: #ECEEEF;
  --ink: #1B2026;
  --ink-2: #47505A;
  --ink-3: #69737C;
  --rule: #CBD1D6;
  --concrete: #C3BFB7;
  --gold: #C6A247;
  --gold-2: #A9862F;
  --marker: #C8312A;
  --scan: #0B0F12;
  --rebar: #F07A2A;
  --cable: #F2C230;
  --pipe: #5AA7F0;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 40rem;
  --wide: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 var(--serif);
  font-optical-sizing: auto;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--marker); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 9; }

h1, h2, h3, h4, .sans { font-family: var(--sans); }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.75rem); line-height: .98; font-weight: 800; font-stretch: 118%; letter-spacing: -.025em; margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.05; font-weight: 760; font-stretch: 112%; letter-spacing: -.015em; margin: 0 0 1rem; }
h3 { font-size: 1.22rem; line-height: 1.25; font-weight: 700; font-stretch: 100%; margin: 2rem 0 .5rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.28rem; line-height: 1.5; color: var(--ink-2); max-width: 36rem; }
.small { font-size: .94rem; color: var(--ink-3); }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 700px) { .wrap { padding: 0 2rem; } }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
/* the header stays on screen while you scroll; --head-h is its height (site.js keeps it exact), so other sticky parts and anchor jumps sit below it */
:root { --head-h: 3.6rem; }
html { scroll-padding-top: calc(var(--head-h) + .5rem); }
.top { position: sticky; top: 0; z-index: 30; }
.top .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 3.5rem; }
.brand { display: flex; align-items: center; gap: .55rem; font: 780 1.05rem/1 var(--sans); font-stretch: 115%; text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 22px; height: 22px; flex: none; }
.nav { display: flex; gap: 1.1rem; margin-left: auto; font: 500 .98rem/1 var(--sans); align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: .4rem 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; }


/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font: 650 1rem/1.1 var(--sans); font-stretch: 105%;
  padding: .85rem 1.25rem; border-radius: 6px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--gold); color: #17140C; border-color: var(--gold-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:hover { background: #D1AE53; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.nav .btn { padding: .55rem .85rem; font-size: .92rem; }
.partner-note { font: 400 .86rem/1.4 var(--sans); color: var(--ink-3); margin-top: .6rem; }

/* hero wall */
.hero { background: #CDC9C2 url(/assets/img/concrete.webp) center/600px repeat; border-bottom: 1px solid #A8A399; }
.hero .wrap { padding-top: 2.25rem; padding-bottom: 2.5rem; }
.hero h1 { color: #15181B; font-size: clamp(2.3rem, 5.6vw, 4.1rem); margin-bottom: .75rem; }
.hero .lead { color: #2E3237; max-width: 44rem; }
.sim { display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) {
  .sim { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: "wall phone" "wall controls" "wall readout" "wall note"; grid-template-rows: auto auto auto 1fr; column-gap: 2rem; row-gap: .9rem; }
  .sim-frame { grid-area: wall; } .phone { grid-area: phone; } .controls { grid-area: controls; } .readout { grid-area: readout; } .sim-note { grid-area: note; }
}
.sim-frame { position: relative; }
.sim-wall { width: 100%; aspect-ratio: 3 / 2; border-radius: 3px; cursor: crosshair; outline-offset: 4px;
  box-shadow: 0 0 0 1px rgba(60,56,50,.35), 0 18px 40px -22px rgba(40,36,30,.6); background: #BEBAB2; touch-action: pan-y; }
.dim { display: flex; align-items: center; gap: .5rem; font: 500 .82rem/1 var(--sans); color: #3A3E43; margin: .45rem 0 0; }
.dim::before, .dim::after { content: ""; height: 1px; background: #4B4F54; flex: 1; }
.phone { background: #15191D; border-radius: 22px; padding: 10px 12px 12px; box-shadow: 0 16px 34px -18px rgba(0,0,0,.7); }
.phone-bar { display: flex; justify-content: space-between; color: #C9CFD4; font: 500 .8rem/1 var(--sans); padding: 4px 6px 9px; gap: 1rem; }
.phone-bar .sim-pass { color: #8D969E; }
.sim-slice { width: 100%; aspect-ratio: 1 / .42; border-radius: 8px; background: var(--scan); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: #AEB6BD; font: 500 .78rem/1 var(--sans); padding: 9px 6px 0; }
.legend i { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .35rem; vertical-align: -1px; }
.controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.seg { display: inline-flex; border: 1px solid #3A3E43; border-radius: 6px; overflow: hidden; background: rgba(246,247,247,.65); }
.seg button, .tool {
  font: 600 .92rem/1 var(--sans); padding: .62rem .8rem; border: 0; background: transparent; color: #1B2026; cursor: pointer; min-height: 40px;
}
.seg button + button { border-left: 1px solid #3A3E43; }
.seg button[aria-pressed="true"] { background: #1B2026; color: #F6F7F7; }
.tool { border: 1px solid #3A3E43; border-radius: 6px; background: rgba(246,247,247,.65); }
.tool[aria-pressed="true"] { background: #1B2026; color: #F6F7F7; }
.readout { background: rgba(246,247,247,.88); border-left: 4px solid var(--marker); padding: .8rem 1rem; border-radius: 0 6px 6px 0; }
.sim-status { font: 500 1.02rem/1.4 var(--sans); margin: 0; min-height: 2.8em; }
.sim-score { font: 500 .85rem/1 var(--sans); color: var(--ink-3); margin: .45rem 0 0; }
.sim-note { font: 400 .84rem/1.45 var(--sans); color: #3A3E43; margin: 0; max-width: 40rem; }

/* sections */
.sec { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
.sec:last-of-type { border-bottom: 0; }
.two { display: grid; gap: 2rem; }
@media (min-width: 860px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; } .two.flip > :first-child { order: 2; } }
figure { margin: 0; }
figcaption { font: 400 .85rem/1.4 var(--sans); color: var(--ink-3); margin-top: .55rem; }
.photo { border-radius: 4px; width: 100%; height: auto; }

/* spec list as a drawing schedule */
.schedule { border-top: 2px solid var(--ink); margin: 1.5rem 0 0; }
.schedule div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.schedule dt { font: 600 .95rem/1.4 var(--sans); }
.schedule dd { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.schedule .src { display: block; font: 400 .8rem/1.4 var(--sans); color: var(--ink-3); margin-top: .2rem; }

.cols { display: grid; gap: 2rem; }
@media (min-width: 760px) { .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--rule); position: relative; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .85rem; height: .45rem; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.ticks.no li::before { width: .9rem; height: .9rem; border: 0; top: 1rem; transform: none;
  background: linear-gradient(45deg, transparent 43%, var(--marker) 43%, var(--marker) 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--marker) 43%, var(--marker) 57%, transparent 57%); }

/* price */
.price { border-collapse: collapse; width: 100%; max-width: 30rem; font-family: var(--sans); margin: 1rem 0 1.5rem; }
.price th, .price td { text-align: left; padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.price th { font-weight: 500; color: var(--ink-2); width: 45%; }
.price td { font-size: 1.35rem; font-weight: 700; font-stretch: 110%; font-variant-numeric: tabular-nums; }

/* video strip */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(12.4rem, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.reel figure { scroll-snap-align: start; }
.reel video { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #1B2026; border-radius: 4px; }
.reel figcaption { color: var(--ink-2); font-size: .92rem; }

/* guide index */
.index { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 2px solid var(--ink); }
.index li { border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; padding: 1.05rem 0; text-decoration: none; }
.index strong { font: 700 1.15rem/1.3 var(--sans); font-stretch: 104%; }
.index span { grid-column: 1; color: var(--ink-2); line-height: 1.45; }
.index em { grid-row: 1; grid-column: 2; font: 500 .85rem/1.3 var(--sans); color: var(--ink-3); font-style: normal; white-space: nowrap; }
.index a:hover strong { text-decoration: underline; text-decoration-color: var(--marker); }

/* faq */
.faq { border-top: 2px solid var(--ink); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { font: 650 1.1rem/1.35 var(--sans); padding: 1rem 2rem 1rem 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 1.25rem; width: .55rem; height: .55rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.45rem; }
.faq details > div { padding: 0 0 1rem; max-width: var(--measure); }

/* article */
.article { padding: 2.5rem 0 3rem; }
.article header { max-width: 50rem; margin-bottom: 2rem; }
.article h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); max-width: 22ch; }
.crumbs { font: 500 .88rem/1.3 var(--sans); color: var(--ink-3); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-2); }
.meta { font: 400 .88rem/1.4 var(--sans); color: var(--ink-3); }
.prose { max-width: var(--measure); font-size: 1.15rem; line-height: 1.68; }
.prose h2 { font-size: 1.75rem; margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose ol.steps { list-style: none; padding: 0; counter-reset: s; }
.prose ol.steps > li { counter-increment: s; position: relative; padding: 0 0 1.1rem 2.6rem; margin: 0; }
.prose ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: .1rem; font: 760 1.05rem/1.7rem var(--sans); width: 1.75rem; text-align: center; border: 2px solid var(--ink); border-radius: 50%; }
.prose figure { margin: 2rem 0; }
.prose .wide { max-width: 52rem; }
.prose table { border-collapse: collapse; width: 100%; font: 400 .98rem/1.4 var(--sans); margin: 1.2rem 0 1.6rem; }
.prose th, .prose td { text-align: left; padding: .55rem .6rem .55rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); font-weight: 650; }
.tablewrap { overflow-x: auto; }
.note { border-left: 4px solid var(--ink); padding: .2rem 0 .2rem 1rem; margin: 1.5rem 0; color: var(--ink-2); }
.note.warn { border-color: var(--marker); }
.claim { font: 600 .74rem/1 var(--sans); padding: .22rem .4rem; border-radius: 3px; vertical-align: .12em; white-space: nowrap; border: 1px solid currentColor; }
.claim-src { color: #2F5C8A; }
.claim-mfr { color: #8A6A1C; }
.ref { font: 600 .68em/0 var(--sans); vertical-align: super; margin-left: .1em; }
.ref a { text-decoration: none; color: #2F5C8A; padding: 0 .1em; }
.sources li:target { background: #FFF6D6; }
.sources { font: 400 .92rem/1.5 var(--sans); color: var(--ink-2); }
.sources li { margin-bottom: .5rem; overflow-wrap: anywhere; }
.cta { margin: 3rem 0 0; padding: 1.75rem 0 0; border-top: 2px solid var(--ink); max-width: var(--measure); }
.cta h2 { font-size: 1.5rem; margin-top: 0; }
.related { margin-top: 3rem; max-width: var(--measure); }

.article-grid { display: grid; gap: 2rem; }
.margin { display: none; }
@media (min-width: 1100px) {
  .article-grid { grid-template-columns: minmax(0, 40rem) minmax(0, 21rem); gap: 4.5rem; }
  .margin { display: block; } .margin figure { position: sticky; top: calc(var(--head-h) + 1.5rem); }
}

/* checklist page */
.prose ul.check, .check { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--rule); }
.check li { border-bottom: 1px solid var(--rule); }
.check label { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .8rem; padding: .75rem 0; cursor: pointer; line-height: 1.45; }
.check input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: var(--ink); }
.check small { display: block; color: var(--ink-3); font: 400 .9rem/1.4 var(--sans); margin-top: .15rem; }

/* footer as a drawing title block */
.titleblock { margin: 0 0 2rem; border: 2px solid var(--ink); display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); font: 400 .88rem/1.45 var(--sans); background: var(--ink); }
.titleblock > div { padding: .7rem .85rem; background: var(--paper); }
.titleblock b { display: block; font-weight: 600; font-size: .76rem; color: var(--ink-3); margin-bottom: .2rem; }
.titleblock .span { grid-column: 1 / -1; }
@media (min-width: 820px) {
  .titleblock { grid-template-columns: 2fr 1.3fr 1fr 1fr; }
  .titleblock .span { grid-column: auto; }
  .titleblock .big { grid-row: span 2; }
  .titleblock .tb-img { grid-column: span 2; }
  .titleblock .tb-tm { grid-column: 2 / -1; }
}
.titleblock .tb-tm a { margin-right: 0; }
.titleblock .big strong { font: 800 1.35rem/1.05 var(--sans); font-stretch: 118%; display: block; margin-bottom: .4rem; }
.titleblock a { margin-right: .8rem; }
footer.site { padding-top: 3rem; border-top: 1px solid var(--rule); }

@media print {
  .top, footer.site, .cta, .related, .noprint { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .check label { padding: .35rem 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ================================================================ hero with the live 3D teaser */
.hero-game .wrap { padding-top: 2.5rem; padding-bottom: 3rem; }
.hero-grid2 { display: grid; gap: 1.75rem; }
@media (min-width: 980px) { .hero-grid2 { grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); gap: 3rem; align-items: center; } }
.hero-game h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); max-width: 11ch; color: #15181B; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin: 1.6rem 0 .6rem; }
.btn-lg { font-size: 1.12rem; padding: 1rem 1.5rem; }
.hero-meta { font: 500 .92rem/1.3 var(--sans); color: #3A3E43; }
.hero-best { font: 650 .98rem/1.3 var(--sans); color: #15181B; margin: .4rem 0 0; }
.hero-best::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--gold); margin-right: .45rem; vertical-align: -1px; }
.hero-stage { position: relative; border-radius: 14px; overflow: hidden; background: #0F1418 radial-gradient(120% 90% at 30% 20%, #26313a 0%, #0F1418 60%);
  box-shadow: 0 30px 60px -30px rgba(20,18,15,.75), 0 0 0 1px rgba(20,24,28,.6); aspect-ratio: 4 / 3; }
@media (max-width: 979px) { .hero-stage { aspect-ratio: 1 / 1; } }
.hero-stage [data-teaser] { position: absolute; inset: 0; }
.hero-stage .stage-canvas { width: 100%; height: 100%; display: block; }
.hero-stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.hero-stage.live .poster { opacity: 0; pointer-events: none; }
.teaser-phone { position: absolute; right: 3%; bottom: 4%; width: min(46%, 300px); background: #15191D; border-radius: 14px; padding: 7px 8px 8px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.8); }
.teaser-phone canvas { width: 100%; aspect-ratio: 1 / .45; display: block; border-radius: 7px; }
.teaser-phone span { display: block; color: #AEB6BD; font: 500 .72rem/1 var(--sans); padding: 2px 3px 6px; }
.teaser-play { position: absolute; left: 4%; bottom: 5%; }
.hero-stage.flat .teaser-phone { display: none; }

/* ================================================================ product viewer */
.viewer { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .viewer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; } }
.viewer-host { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; background: radial-gradient(80% 70% at 50% 40%, #FFFFFF 0%, #E6E9EB 70%, #DADEE1 100%); cursor: grab; overflow: hidden; }
.viewer-host canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.viewer-host::after { content: "Loading the 3D model"; position: absolute; inset: auto 0 1rem; text-align: center; font: 500 .85rem/1 var(--sans); color: var(--ink-3); }
.viewer-host.ready::after { content: "Drag to turn it"; }
.noviewer .viewer-host { background: #E6E9EB url(/assets/img/hand-800.webp) center/cover; }
.noviewer .viewer-host::after { content: none; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.sw { display: inline-flex; align-items: center; gap: .5rem; font: 600 .92rem/1 var(--sans); padding: .55rem .8rem .55rem .55rem; border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; min-height: 40px; }
.sw i { width: 1.4rem; height: 1.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), inset 0 6px 8px rgba(255,255,255,.35); }
.sw.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

/* ================================================================ the game: a calibration sheet. Paper, graph, ink; dark only inside the phone. */
html.game-open, html.game-open body { overflow: hidden; }
.game { --g-ink: #14181C; --g-ink2: #47505A; --g-ink3: #69737C; --g-rule: #CBD1D6; --g-red: #C8312A; --g-green: #1F6B43; --g-amber: #8A5A12;
  --g-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; --g-sheet: #F3F2EE; --g-graph: rgba(27,32,38,.06);
  position: fixed; inset: 0; z-index: 60; color: var(--g-ink); font-family: var(--sans);
  background-color: var(--g-sheet); background-image: linear-gradient(var(--g-graph) 1px, transparent 1px), linear-gradient(90deg, var(--g-graph) 1px, transparent 1px); background-size: 24px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; height: 100dvh; overflow: hidden; }
.game[hidden] { display: none; }
@media (min-width: 900px) {
  .game { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); grid-template-rows: auto auto minmax(0, 1fr); }
  .g-top { grid-column: 1 / -1; } .g-hintbar { grid-column: 1; grid-row: 2; } .g-stagewrap { grid-column: 1; grid-row: 3; }
  .g-side { grid-column: 2; grid-row: 2 / 4; border-left: 2px solid var(--g-ink); }
}
.game button { font-family: inherit; }
.game :focus-visible { outline: 3px solid var(--g-ink); outline-offset: 2px; }

/* top bar */
.g-top { position: relative; z-index: 9; display: flex; align-items: center; gap: .7rem; padding: .45rem max(.6rem, env(safe-area-inset-right)) .45rem max(.6rem, env(safe-area-inset-left)); border-bottom: 2px solid var(--g-ink); background: var(--g-sheet); min-height: 56px; }
.g-x, .g-snd { width: 44px; height: 44px; border-radius: 4px; border: 1.5px solid var(--g-ink); background: transparent; color: var(--g-ink); cursor: pointer; display: grid; place-items: center; flex: none; }
.g-x svg, .g-snd svg { width: 18px; height: 18px; }
.g-snd[aria-pressed="false"] .on, .g-snd[aria-pressed="true"] .off { display: none; }
.g-job { min-width: 0; display: grid; line-height: 1.15; }
.g-job span { font: 600 .68rem/1.2 var(--g-mono); letter-spacing: .08em; color: var(--g-ink3); }
.g-job strong { font-size: 1.02rem; font-weight: 780; font-stretch: 112%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.g-stats { display: flex; gap: 1rem; margin: 0 0 0 auto; }
.g-stats div { display: grid; text-align: right; }
.g-stats dt { font: 500 .62rem/1.2 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g-ink3); }
.g-stats dd { margin: 0; font: 700 1.08rem/1.15 var(--g-mono); font-variant-numeric: tabular-nums; }

/* hint strip: top of the stage, fixed height so nothing below it ever jumps */
.g-hintbar { height: 78px; padding: .4rem max(.75rem, env(safe-area-inset-right)) .35rem max(.75rem, env(safe-area-inset-left)); border-bottom: 1px solid var(--g-ink); background: var(--g-sheet); display: grid; grid-template-rows: auto 1fr; gap: .3rem; overflow: hidden; }
.g-check { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; flex-wrap: nowrap; overflow: hidden; }
.g-check li { font: 600 .66rem/1 var(--g-mono); letter-spacing: .06em; padding: .28rem .4rem; border: 1px solid var(--g-ink3); color: var(--g-ink2); border-radius: 2px; white-space: nowrap; }
.g-check li.ok { background: var(--g-ink); border-color: var(--g-ink); color: var(--g-sheet); }
.g-check li.act { padding: 0; border: 0; margin-left: auto; }
.g-check li.act button { font: 700 .66rem/1 var(--g-mono); letter-spacing: .06em; padding: .28rem .45rem; border: 1px solid var(--g-red); color: var(--g-red); background: #fff; border-radius: 2px; cursor: pointer; min-height: 22px; }
.g-hint { margin: 0; font: 550 .93rem/1.3 var(--sans); color: var(--g-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-hint.new { animation: hintIn .45s ease-out; }
@keyframes hintIn { 0% { opacity: .2; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }
@media (min-width: 900px) { .g-hintbar { height: 76px; padding-left: 1.25rem; } .g-hint { font-size: 1.02rem; } }

/* the stage: the wall square-on on graph paper, registration marks, a figure caption */
.g-stagewrap { position: relative; min-height: 0; overflow: hidden; background: #E7E5DF; }
.g-stage { position: absolute; inset: 0; touch-action: none; outline: none; overflow: hidden; display: grid; place-items: center; }
.g-stage:focus-visible { box-shadow: inset 0 0 0 3px var(--g-ink); }
.g-stage .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.g-stage .flat-canvas { position: static; }
.g-stage.loading::after { content: "LOADING THE WALL AND THE SCANNER"; font: 600 .78rem/1 var(--g-mono); letter-spacing: .08em; color: var(--g-ink2); }
.g-stagewrap .reg { width: 18px; height: 18px; border-color: var(--g-ink); z-index: 2; pointer-events: none; }
.g-stagewrap .r1 { top: 8px; left: 8px; } .g-stagewrap .r2 { top: 8px; right: 8px; } .g-stagewrap .r3 { bottom: 8px; left: 8px; } .g-stagewrap .r4 { bottom: 8px; right: 8px; }
.g-fig { position: absolute; left: 34px; bottom: 8px; margin: 0; z-index: 2; font: 600 .62rem/1 var(--g-mono); letter-spacing: .08em; color: var(--g-ink); background: var(--g-sheet); padding: .3rem .45rem; border: 1px solid var(--g-ink); pointer-events: none; }
.game.m-drill .g-stage { cursor: crosshair; }
.game.revealing .g-stage { cursor: grab; }
.game.blackout .g-stage { animation: blackout .7s steps(2) 1; }
@keyframes blackout { 0%, 100% { filter: none; } 50% { filter: brightness(.25); } }
.g-loupe { position: absolute; left: 0; top: 0; width: 116px; height: 116px; border-radius: 50%; z-index: 4; pointer-events: none; box-shadow: 0 0 0 2px var(--g-ink), 0 0 0 5px rgba(243,242,238,.9), 0 12px 24px -8px rgba(0,0,0,.5); }
.g-skip { display: none; position: absolute; right: 12px; bottom: 12px; z-index: 4; min-height: 44px; padding: 0 1rem; font: 700 .74rem/1 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--g-ink); color: var(--g-sheet); border: 0; border-radius: 3px; cursor: pointer; }
.game.demo .g-skip { display: block; }

/* toasts: small ink tags under the hint strip */
.g-toast { position: absolute; left: 0; right: 0; top: .6rem; display: grid; justify-items: center; gap: .35rem; pointer-events: none; z-index: 3; padding: 0 2.6rem; }
.g-pop { font: 650 .78rem/1.25 var(--g-mono); letter-spacing: .03em; text-transform: uppercase; text-align: center; padding: .45rem .7rem; border-radius: 2px; background: var(--g-sheet); color: var(--g-ink); border: 1.5px solid var(--g-ink); box-shadow: 3px 3px 0 rgba(20,24,28,.18); animation: pop 2.4s ease-out forwards; max-width: 26rem; }
.g-pop.good { border-color: var(--g-green); color: var(--g-green); }
.g-pop.bad { background: var(--g-red); border-color: var(--g-red); color: #fff; }
.g-pop.warn { border-color: var(--g-amber); color: var(--g-amber); }
@keyframes pop { 0% { opacity: 0; transform: translateY(6px); } 8% { opacity: 1; transform: none; } 82% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }

/* side: the phone (dark), the shift, the tool bar */
.g-side { display: flex; flex-direction: column; gap: .5rem; padding: .5rem max(.6rem, env(safe-area-inset-right)) 0 max(.6rem, env(safe-area-inset-left)); border-top: 2px solid var(--g-ink); background: var(--g-sheet); min-height: 0; }
@media (min-width: 900px) { .g-side { padding: 1rem 1rem 0; gap: .9rem; border-top: 0; overflow-y: auto; } }
.g-phone { background: #0B0C0D; color: #D9DEE2; border-radius: 14px; padding: 6px 8px 6px; box-shadow: 0 0 0 1.5px var(--g-ink), 0 0 0 5px #24282c inset; }
.g-phone-h { display: flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 2px 4px; }
.g-figc { font: 600 .6rem/1.1 var(--g-mono); letter-spacing: .08em; color: #8E979F; white-space: nowrap; }
.g-figc i { font-style: normal; }
@media (max-width: 899px) { .g-figc i { display: none; } .g-figc { letter-spacing: .05em; } }
.g-tabs { display: flex; gap: 3px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.g-tabs button { min-width: 40px; min-height: 34px; padding: 0 .35rem; font: 700 .72rem/1 var(--g-mono); color: #B9C0C6; background: transparent; border: 1px solid #3A4046; border-radius: 4px; cursor: pointer; }
.g-tabs button[aria-selected="true"] { background: #E8ECEF; color: #0B0C0D; border-color: #E8ECEF; }
.g-tabs-empty { font: 600 .66rem/1 var(--g-mono); color: #5B636A; padding: 0 .3rem; }
.g-hints { min-height: 34px; padding: 0 .45rem; font: 700 .64rem/1 var(--g-mono); letter-spacing: .06em; text-transform: uppercase; color: #8E979F; background: transparent; border: 1px dashed #4A5157; border-radius: 4px; cursor: pointer; }
.g-hints[aria-pressed="true"] { color: #F2C230; border-color: #8A6D1A; border-style: solid; }
.g-slice { width: 100%; height: 124px; display: block; border-radius: 6px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (min-width: 900px) { .g-slice { height: auto; aspect-ratio: 1 / .62; } }
@media (max-height: 700px) and (max-width: 899px) { .g-slice { height: 96px; } }
.g-read { display: grid; gap: 1px; margin: 4px 2px 0; min-height: 2.5em; font: 500 .8rem/1.25 var(--sans); }
.g-read .r1 { color: #F1F3F5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-read .r1 i { font: 700 .64rem/1 var(--g-mono); font-style: normal; letter-spacing: .05em; color: #F1F3F5; border: 1px solid #8E979F; padding: .12rem .3rem; border-radius: 2px; margin-right: .35rem; vertical-align: 1px; }
.g-read .r2 { font: 500 .66rem/1.2 var(--g-mono); letter-spacing: .05em; color: #8E979F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .8rem; margin: 4px 2px 0; font: 500 .62rem/1.3 var(--g-mono); letter-spacing: .04em; text-transform: uppercase; color: #8E979F; }
.g-legend i { display: inline-block; width: .9rem; height: .5rem; margin-right: .3rem; vertical-align: 0; border-radius: 1px; }
.g-legend .heat { width: 2.4rem; background: linear-gradient(90deg, #3A3A39, #D6A81E, #FA961C, #D8221E); }
.g-model { margin-left: auto; color: #6F787F; }
@media (max-width: 899px) { .g-model { display: none; } }
.g-shift { display: none; }
@media (min-width: 900px) {
  .g-shift { display: block; border-top: 2px solid var(--g-ink); padding-top: .5rem; }
  .g-shift p { font: 600 .66rem/1 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g-ink3); margin: 0 0 .4rem; }
  .g-shift ol { list-style: none; margin: 0; padding: 0; }
  .g-shift li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .42rem 0; border-bottom: 1px solid var(--g-rule); font: 500 .88rem/1.2 var(--sans); color: var(--g-ink3); }
  .g-shift li span { font-variant-numeric: tabular-nums; }
  .g-shift li.cur { color: var(--g-ink); font-weight: 700; }
  .g-shift li.done { color: var(--g-ink); }
  .g-shift li b { font: 700 .64rem/1 var(--g-mono); letter-spacing: .06em; padding: .25rem .35rem; border: 1.5px solid currentColor; border-radius: 2px; transform: rotate(-3deg); }
  .g-shift li b:empty { display: none; }
  .g-shift li.cur b:not([class*="st-"]) { border-style: dashed; color: var(--g-ink3); transform: none; }
}
.st-pass { color: var(--g-green); } .st-part { color: var(--g-amber); } .st-stop { color: var(--g-red); }

/* the tool bar: fixed in the thumb zone on phones, at the foot of the side panel on desktop. Never moves. */
.g-bar { display: grid; grid-template-columns: 1fr 1fr 72px 1fr; gap: .4rem; align-items: center; margin: 0 calc(-1 * max(.6rem, env(safe-area-inset-left))); padding: .45rem max(.6rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.6rem, env(safe-area-inset-left)); border-top: 1px solid var(--g-ink); background: var(--g-sheet); }
@media (min-width: 900px) { .g-bar { margin: auto -1rem 0; padding: .8rem 1rem 1rem; border-top: 2px solid var(--g-ink); } }
.g-tool { display: grid; justify-items: center; align-content: center; gap: .2rem; min-height: 56px; padding: .3rem .2rem; border-radius: 4px; border: 1.5px solid var(--g-ink); background: #fff; color: var(--g-ink); font: 700 .68rem/1 var(--g-mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.g-tool svg { width: 22px; height: 22px; }
.g-tool small { font: 600 .56rem/1 var(--g-mono); color: var(--g-ink3); margin-left: .15rem; }
.g-tool[aria-pressed="true"] { background: var(--g-ink); color: var(--g-sheet); }
.g-tool[aria-pressed="true"] small { color: #AEB6BD; }
.g-tool.pulse { animation: pulse 1.1s ease-out 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,49,42,.55); } 100% { box-shadow: 0 0 0 12px rgba(200,49,42,0); } }
.g-eng { border-style: dashed; }
.g-trigger { width: 68px; height: 68px; justify-self: center; border-radius: 50%; border: 2px solid var(--g-ink); background: #fff; color: var(--g-ink3); font: 800 .74rem/1 var(--g-mono); letter-spacing: .06em; cursor: pointer; box-shadow: 0 0 0 3px var(--g-sheet), 0 0 0 4.5px var(--g-rule); transition: background .15s, color .15s; }
.g-trigger.live { background: var(--g-ink); color: var(--g-sheet); box-shadow: 0 0 0 3px var(--g-sheet), 0 0 0 4.5px var(--g-ink); }
.g-trigger.drill.live { background: var(--g-red); border-color: var(--g-red); color: #fff; box-shadow: 0 0 0 3px var(--g-sheet), 0 0 0 4.5px var(--g-red); }
.g-trigger:active { transform: scale(.96); }
.game.carded .g-bar, .game.revealing .g-bar { visibility: hidden; }

/* cards: a sheet on the sheet */
.g-modal { position: absolute; inset: 56px 0 0; z-index: 8; display: grid; place-items: center; padding: max(.75rem, env(safe-area-inset-top)) .75rem max(.75rem, env(safe-area-inset-bottom)); background: rgba(20,24,28,.42); overflow-y: auto; overscroll-behavior: contain; }
.g-modal[hidden] { display: none; }
.game.revealing .g-modal { background: transparent; place-items: end center; pointer-events: none; }
.game.revealing .g-card { pointer-events: auto; padding: .9rem 1rem; }
.g-card { position: relative; width: min(600px, 100%); background-color: var(--g-sheet); background-image: linear-gradient(var(--g-graph) 1px, transparent 1px), linear-gradient(90deg, var(--g-graph) 1px, transparent 1px); background-size: 20px 20px;
  color: var(--g-ink); border: 1.5px solid var(--g-ink); border-radius: 3px; padding: 1.3rem 1.25rem 1.15rem; box-shadow: 8px 8px 0 rgba(20,24,28,.22); }
.g-card[data-kind="cert"], .g-card[data-kind="real"] { width: min(760px, 100%); }
.g-card h2 { font-size: clamp(1.55rem, 4.4vw, 2.1rem); margin: .35rem 0 .5rem; }
.g-kicker { font: 500 .72rem/1.4 var(--g-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--g-ink3); margin: 0; }
.g-kicker span { display: inline-block; white-space: nowrap; color: var(--g-ink); font-weight: 700; margin-right: .6em; padding: .15em .4em; border: 1px solid currentColor; border-radius: 2px; }
.g-kicker .k { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; margin: 0 .25rem 0 .5rem; vertical-align: -1px; }
.k-rebar { background: #F07A2A; } .k-conduit { background: #F2C230; } .k-pipe { background: #5AA7F0; } .k-tendon { background: #D45AE0; }
.g-brief { font: 400 1.04rem/1.5 var(--serif); margin: 0 0 .9rem; }
.g-inc { margin: .5rem 0 0; font-size: .98rem; }
.g-chips { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.g-chips li { font: 600 .72rem/1.2 var(--g-mono); letter-spacing: .03em; text-transform: uppercase; padding: .42rem .55rem; border: 1px solid var(--g-ink); border-radius: 2px; background: #fff; }
.g-how { font: 400 .95rem/1.45 var(--sans); margin: 0 0 .6rem; color: var(--g-ink2); }
.g-how b { color: var(--g-ink); }
.g-label { font: 600 .7rem/1.2 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g-ink3); margin: 0 0 .1rem; }
.g-fine { font: 400 .8rem/1.45 var(--sans); color: var(--g-ink3); margin: .5rem 0 0; }
.g-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; justify-content: flex-end; }
.g-actions .btn-ink { flex: 1 1 12rem; justify-content: center; }
.game.revealing .g-actions { margin-top: .6rem; }
.btn-ink { background: var(--g-ink, #14181C); color: #F6F7F7; border-color: var(--g-ink, #14181C); border-radius: 3px; min-height: 48px; }
.btn-ink:hover { background: #262C33; }
.btn-ghost { border: 1.5px solid #14181C; background: #fff; color: #14181C; border-radius: 3px; min-height: 48px; }
.btn-ghost:hover { background: #ECEBE6; }
.g-finish .swatches { margin: .5rem 0 0; }
.g-finish { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--g-ink); }
.g-card .sw { border-radius: 3px; min-height: 44px; }

/* result: header with the inspection stamp */
.g-reshead { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.g-stamp { flex: none; display: grid; justify-items: center; padding: .45rem .7rem .4rem; border: 3.5px solid currentColor; outline: 1.5px solid currentColor; outline-offset: -8px; border-radius: 4px; transform: rotate(-8deg); margin: .2rem .2rem 0 0; background: rgba(255,255,255,.35);
  animation: stampIn .42s cubic-bezier(.2,1.6,.4,1) .3s both; }
.g-stamp b { font: 850 1.65rem/1 var(--sans); font-stretch: 115%; letter-spacing: .02em; padding: .2rem .25rem 0; }
.g-stamp small { font: 700 .55rem/1 var(--g-mono); letter-spacing: .14em; padding-bottom: .15rem; }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-14deg) scale(1.9); } 70% { opacity: 1; } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
.g-crit { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.g-crit li { font: 700 .7rem/1 var(--g-mono); letter-spacing: .06em; padding: .38rem .5rem; border: 1.5px solid var(--g-ink3); color: var(--g-ink3); border-radius: 2px; }
.g-crit li.ok { border-color: var(--g-green); color: var(--g-green); }
.g-crit li i { font-style: normal; margin-right: .35rem; }
.g-notes { margin: .2rem 0 .6rem; padding-left: 1.1rem; font: 400 .88rem/1.4 var(--sans); color: var(--g-ink2); }
.g-rows { margin: .4rem 0 0; border-top: 2px solid var(--g-ink); }
.g-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--g-rule); font-size: .9rem; }
.g-rows dt { color: var(--g-ink2); } .g-rows dd { margin: 0; font: 700 .92rem/1.3 var(--g-mono); font-variant-numeric: tabular-nums; }
.g-rows dd.neg { color: var(--g-red); }
.g-rows .tot { border-bottom: 2px solid var(--g-ink); font-size: 1.05rem; } .g-rows .tot dt { color: var(--g-ink); font-weight: 700; } .g-rows .tot small { font: 500 .7rem/1 var(--g-mono); color: var(--g-ink3); }
.g-rows .tot dd { font-size: 1.1rem; }

/* between jobs: the real screen */
.g-real { display: grid; gap: .8rem; margin: .4rem 0 0; }
@media (min-width: 640px) { .g-real { grid-template-columns: 1fr 1fr; align-items: end; } }
.g-real figure { margin: 0; }
.g-real canvas { width: 100%; height: auto; aspect-ratio: 2.05 / 1; display: block; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--g-ink); background: #0B0C0D; }
.g-realimg { position: relative; aspect-ratio: 2.05 / 1; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--g-ink); background: #0B0C0D; }
.g-realimg img { position: absolute; width: 187%; max-width: none; height: auto; left: -44%; top: -57%; }
.g-real figcaption { font: 500 .62rem/1.4 var(--g-mono); letter-spacing: .05em; color: var(--g-ink3); margin-top: .35rem; }

/* certificate */
.g-total { display: flex; align-items: baseline; gap: .6rem; font: 850 clamp(3rem, 12vw, 4.4rem)/1 var(--sans); font-stretch: 118%; margin: .5rem 0 0; font-variant-numeric: tabular-nums; }
.g-total small { font: 500 .8rem/1 var(--g-mono); color: var(--g-ink3); }
.g-cert h2 { margin-top: .1rem; }
.g-jobs { list-style: none; padding: 0; margin: .6rem 0 0; border-top: 2px solid var(--g-ink); }
.g-jobs li { display: grid; grid-template-columns: minmax(0, 1fr) auto 3.6rem; gap: .7rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--g-rule); font-size: .93rem; }
.g-jobs .mini { font: 700 .62rem/1 var(--g-mono); letter-spacing: .06em; padding: .22rem .32rem; border: 1.5px solid currentColor; border-radius: 2px; transform: rotate(-3deg); }
.g-jobs em { font: 700 .9rem/1 var(--g-mono); font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.g-buy { display: grid; gap: .5rem 1.1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 2px solid var(--g-ink); align-items: center; }
@media (min-width: 640px) { .g-buy { grid-template-columns: 13rem minmax(0, 1fr); } }
.g-buy img { width: 100%; max-width: 13rem; height: auto; margin: 0 auto; background-image: linear-gradient(var(--g-graph) 1px, transparent 1px), linear-gradient(90deg, var(--g-graph) 1px, transparent 1px); background-size: 16px 16px; }
.g-buyline { font: 400 .95rem/1.45 var(--sans); margin: .3rem 0 .4rem; color: var(--g-ink2); }
.g-price { font: 400 .86rem/1.3 var(--sans); color: var(--g-ink2); margin: 0 0 .7rem; }
.g-price b { font: 800 1.5rem/1 var(--sans); font-stretch: 112%; color: var(--g-ink); margin-right: .3rem; }
.g-buy .btn { width: 100%; justify-content: center; margin-bottom: .45rem; }

@media (prefers-reduced-motion: reduce) {
  .g-hint.new, .g-pop, .g-tool.pulse, .game.blackout .g-stage, .g-stamp { animation: none; }
  .g-trigger { transition: none; }
}
@media (max-width: 380px) { .g-stats { gap: .6rem; } .g-stats dd { font-size: .96rem; } .g-job strong { font-size: .94rem; } }

/* ================================================================ 2026 product-led home: calibration sheet */
:root { --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; --fin: #ADA076; --sheet: #F3F2EE; --graph: rgba(27,32,38,.055); }
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--fin); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 0 1px rgba(0,0,0,.25); flex: none; transition: background .35s; }
.btn-buy { background: #14181C; color: #F6F7F7; border-color: #14181C; box-shadow: 0 10px 24px -14px rgba(20,24,28,.9); }
.btn-buy:hover { background: #262C33; }
.btn-buy.on-dark { background: #F6F7F7; color: #14181C; border-color: #F6F7F7; }
.btn-buy.on-dark:hover { background: #fff; }
.eyebrow { font: 500 .8rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1rem; }
.eyebrow span { color: var(--ink); font-weight: 700; margin-right: .5em; padding: .2em .45em; border: 1px solid currentColor; border-radius: 3px; }
.trust { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font: 500 .86rem/1.35 var(--sans); color: var(--ink-2); }
.trust li { position: relative; padding-left: 1.1rem; }
.trust li::before { content: ""; position: absolute; left: .1rem; top: .3em; width: .55rem; height: .3rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.trust.on-dark { color: #C9CFD4; }

/* hero */
.hx { background-color: var(--sheet); background-image: linear-gradient(var(--graph) 1px, transparent 1px), linear-gradient(90deg, var(--graph) 1px, transparent 1px); background-size: 24px 24px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hx-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 980px) { .hx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3.5rem; align-items: center; padding-top: 3.5rem; padding-bottom: 4rem; } }
.hx h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); max-width: 12ch; margin-bottom: 1.1rem; }
.hx .lead { max-width: 33rem; }
.fins { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 1.1rem; }
.hx .fins { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); }
@media (min-width: 1240px) { .hx .fins { grid-template-columns: repeat(4, max-content); gap: .4rem; } .hx .fin { padding-right: .75rem; font-size: .9rem; } .hx .fin i { width: 26px; height: 26px; } }
.fin { display: inline-flex; align-items: center; gap: .55rem; font: 600 .95rem/1 var(--sans); padding: .5rem .9rem .5rem .5rem; min-height: 46px; border-radius: 999px; border: 1px solid var(--rule); background: rgba(255,255,255,.7); color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.fin i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 55%), var(--c); box-shadow: inset 0 -3px 6px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.18); }
.fin:hover { border-color: var(--ink-3); }
.fin[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #fff; }
.fins-s { margin: 0; }
.fins-s .fin { min-height: 40px; font-size: .88rem; }
.fins-s .fin i { width: 22px; height: 22px; }
.hx-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .8rem; margin: 0 0 1.25rem; font: 400 .92rem/1.4 var(--sans); color: var(--ink-2); }
.hx-price b { font: 800 1.9rem/1 var(--sans); font-stretch: 112%; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hx-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hx .partner-note { max-width: 34rem; margin-top: 1rem; }
.hx-stage { position: relative; }
.hx-sheet { position: relative; aspect-ratio: 1 / 1; max-width: 40rem; margin: 0 auto; }
.hx-sheet::before { content: ""; position: absolute; inset: 9% 9% 9% 9%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--fin) 30%, transparent), transparent 75%); transition: background .5s; }
.hx-sheet::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 13%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,22,24,.32), transparent); filter: blur(4px); }
.hx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; opacity: 0; transform: translateY(8px) scale(.985); transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.hx-img.on { opacity: 1; transform: none; }
.reg { position: absolute; width: 22px; height: 22px; border-color: var(--ink-3); border-style: solid; border-width: 0; z-index: 2; }
.r1 { top: 4%; left: 4%; border-top-width: 1.5px; border-left-width: 1.5px; } .r2 { top: 4%; right: 4%; border-top-width: 1.5px; border-right-width: 1.5px; }
.r3 { bottom: 4%; left: 4%; border-bottom-width: 1.5px; border-left-width: 1.5px; } .r4 { bottom: 4%; right: 4%; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.readouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: .5rem 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.readouts div { padding: .7rem .6rem .75rem; border-left: 1px solid var(--rule); }
.readouts div:first-child { border-left: 0; padding-left: 0; }
.readouts dt { font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .45rem; }
.readouts dd { margin: 0; font: 800 clamp(1.15rem, 2.3vw, 1.6rem)/1 var(--sans); font-stretch: 112%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readouts dd small { font: 500 .78rem/1 var(--mono); margin-left: .2rem; color: var(--ink-2); }
@media (max-width: 520px) { .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .readouts div:nth-child(3) { border-left: 0; padding-left: 0; } .readouts div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
.hx-stage figcaption { font: 400 .74rem/1.45 var(--mono); color: var(--ink-3); }

/* how it works */

/* x-ray wall */
.xr { background: #15191D; color: #E8ECEF; border-bottom: 1px solid #000; }
.xr-wall { position: relative; height: clamp(320px, 52vw, 560px); background: #BEBAB2 url(/assets/img/concrete.webp) center/520px repeat; overflow: hidden; cursor: none; touch-action: pan-y; --lw: clamp(150px, 22vw, 320px); --lh: calc(var(--lw) * .9); }
.xr-wall::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -60px 80px -40px rgba(10,12,14,.55); pointer-events: none; }
.xr-inside { position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: inset(calc(var(--y) - var(--lh) / 2) calc(100% - var(--x) - var(--lw) / 2) calc(100% - var(--y) - var(--lh) / 2) calc(var(--x) - var(--lw) / 2) round 16px); }
.xr-lens { position: absolute; left: var(--x); top: var(--y); width: var(--lw); height: var(--lh); transform: translate(-50%, -50%); border-radius: 16px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--fin) 85%, #fff), 0 0 0 6px rgba(20,24,28,.35), 0 18px 40px -10px rgba(0,0,0,.6); pointer-events: none; z-index: 2; }
.xr-lens span { position: absolute; left: 0; top: -1.9rem; font: 600 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: #14181C; color: #E8ECEF; padding: .35rem .5rem; border-radius: 3px; white-space: nowrap; }
.xr-copy { padding-top: 2.5rem; padding-bottom: 3rem; }
.xr-copy h2 { color: #F6F7F7; max-width: 22ch; }
.keys { list-style: none; padding: 0; margin: 1.25rem 0 1rem; display: grid; gap: .9rem 2.5rem; }
@media (min-width: 820px) { .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.keys li { padding-left: 1.6rem; position: relative; color: #C9CFD4; line-height: 1.5; }
.keys li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--k); }
.keys b { color: #F6F7F7; font-family: var(--sans); }
.xr .small { color: #8D969E; }

/* every side */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.sec-head h2 { margin: 0; }
.angles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 1fr); gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--rule); border: 1px solid var(--rule); border-radius: 6px; margin-bottom: 1rem; scrollbar-width: thin; }
@media (min-width: 1100px) { .angles { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }
.angle { background: #fff; scroll-snap-align: start; padding: 1rem 1rem .8rem; }
.angle-img { aspect-ratio: 1 / 1; background-image: linear-gradient(var(--graph) 1px, transparent 1px), linear-gradient(90deg, var(--graph) 1px, transparent 1px); background-size: 20px 20px; border-radius: 3px; }
.angle-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.angle-img img.swap { opacity: .25; }
.angle figcaption { display: flex; gap: .6rem; align-items: baseline; font: 500 .9rem/1.35 var(--sans); color: var(--ink-2); margin-top: .6rem; }
.angle figcaption b { font: 600 .74rem/1 var(--mono); color: var(--ink-3); }

/* game section reuses the teaser stage */
.play { background: #CDC9C2 url(/assets/img/concrete.webp) center/600px repeat; border-bottom: 1px solid #A8A399; }
.play .hero-copy p { color: #2E3237; }
.play .eyebrow, .play .eyebrow span { color: #15181B; }
.play .sim-note { margin-top: 1.2rem; }

/* official 3D card */
.embed { position: relative; width: 100%; max-width: 720px; min-height: 380px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #ECEEEF; box-shadow: 0 0 0 1px var(--rule); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed noscript a { position: absolute; inset: 0; display: grid; place-items: center; }
@media (min-width: 860px) { .card3d .two { align-items: center; } }

/* comparison */
.cmp { border-collapse: collapse; width: 100%; min-width: 46rem; font: 400 .98rem/1.4 var(--sans); margin: 1.5rem 0 1rem; }
.cmp th, .cmp td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp thead th { font-weight: 700; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.cmp thead small { display: block; font: 400 .78rem/1.3 var(--mono); color: var(--ink-3); margin-top: .25rem; }
.cmp tbody th { font-weight: 600; color: var(--ink-2); width: 15%; }
.cmp .us { background: color-mix(in srgb, var(--fin) 16%, #fff); }
.cmp thead .us { background: #14181C; color: #F6F7F7; border-radius: 6px 6px 0 0; }
.cmp thead .us small { color: #AEB6BD; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price tr.here th { color: var(--ink); font-weight: 700; }
.price tr.here td { text-decoration: underline; text-decoration-color: var(--fin); text-decoration-thickness: 3px; text-underline-offset: .3em; }

/* closing call */
.endcta { background: #14181C; color: #E8ECEF; padding: 4rem 0; }
.endcta-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .endcta-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.endcta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.endcta p { color: #C9CFD4; font-family: var(--sans); }
.end-img { width: 100%; max-width: 28rem; margin: 0 auto; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }

/* sticky buy bar: at the bottom on every screen (the header with its Buy button holds the top) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(246,247,247,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .3s ease; padding-bottom: env(safe-area-inset-bottom); }
.buybar.show { transform: none; }
.buybar-in { display: flex; align-items: center; gap: .75rem; min-height: 4rem; }
.bb-img { width: 48px; height: 48px; flex: none; object-fit: contain; }
.buybar p { margin: 0; display: flex; flex-direction: column; font: 400 .85rem/1.3 var(--sans); color: var(--ink-2); min-width: 0; }
.buybar p b { font: 750 1rem/1.2 var(--sans); color: var(--ink); }
.buybar .btn { margin-left: auto; white-space: nowrap; padding: .75rem 1rem; }
@media (max-width: 380px) { .bb-img { display: none; } }
.game-open .buybar { display: none; }

/* guide product card */
.pcard { display: grid; gap: 1.25rem; max-width: 46rem; }
@media (min-width: 700px) { .pcard { grid-template-columns: 12rem minmax(0, 1fr); align-items: start; } }
.pcard-img { width: 100%; max-width: 14rem; height: auto; background-image: linear-gradient(var(--graph) 1px, transparent 1px), linear-gradient(90deg, var(--graph) 1px, transparent 1px); background-size: 20px 20px; border-radius: 6px; }
.cta .trust { margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) { .hx-img, .buybar, .dot { transition: none; } }

/* phones: the product right under the headline, then the picker and Buy */
@media (max-width: 979px) {
  .hx-grid { gap: 0; }
  .hx-copy { display: contents; }
  .hx-stage { display: contents; }
  .hx .eyebrow { order: 1; } .hx h1 { order: 2; } .hx-sheet { order: 3; }
  .hx .fins { order: 4; } .hx-price { order: 5; } .hx-cta { order: 6; } .hx .lead { order: 7; } .readouts { order: 8; }
  .hx .trust { order: 9; } .hx .partner-note { order: 10; }
  .hx-sheet { width: 100%; max-width: 22rem; margin: .25rem auto .5rem; }
  .hx-stage figcaption { display: none; }
  .hx .lead { margin-top: 1.5rem; }
  .hx .readouts { margin: 1rem 0 1.25rem; }
}
/* small phones: headline, scanner, finish, price and Buy all on the first screen */
@media (max-width: 560px) {
  .hx-grid { padding-top: 1.25rem; padding-bottom: 2.25rem; }
  .hx .eyebrow { margin-bottom: .6rem; }
  .hx h1 { font-size: clamp(2.05rem, 9.6vw, 2.5rem); margin-bottom: .35rem; }
  .hx-sheet { max-width: 13.5rem; margin: 0 auto .15rem; }
  .hx .fins { display: flex; flex-wrap: nowrap; gap: .5rem; margin: .35rem 0 .7rem; }
  .hx .fin { padding: .3rem; min-height: 44px; min-width: 44px; justify-content: center; }
  .hx .fin span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hx-price { margin-bottom: .8rem; gap: .2rem .7rem; font-size: .84rem; }
  .hx-price b { font-size: 1.7rem; }
  .hx-cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 560px) { .bb-vat, .bb-fin { display: none; } .buybar p span { white-space: nowrap; } }

.prose .trust, .cta .trust { padding-left: 0; }
.prose .trust li, .cta .trust li { margin: 0; }

/* hero: live 3D model over the official render */
.hx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity .7s ease; cursor: grab; touch-action: pan-y; }
.hx-canvas.hx-free { touch-action: none; }
.hx-canvas:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.hx-canvas:active { cursor: grabbing; }
.live3d .hx-canvas { opacity: 1; }
.live3d .hx-img { opacity: 0 !important; transition: opacity .7s ease; }
.hx-3d { position: absolute; z-index: 3; left: 50%; bottom: 3%; transform: translateX(-50%); font: 600 .78rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: .7rem .9rem; border-radius: 999px; border: 1px solid var(--ink); background: rgba(255,255,255,.85); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.hx-3d::before { content: ""; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; border-left-color: transparent; transform: rotate(-30deg); }
.loading3d .hx-3d::before { animation: hxspin .8s linear infinite; }
@keyframes hxspin { to { transform: rotate(330deg); } }
.hx-drag { position: absolute; z-index: 3; left: 50%; bottom: -.2rem; transform: translateX(-50%); font: 500 .7rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; opacity: 0; transition: opacity .5s .6s; pointer-events: none; }
.live3d .hx-drag { opacity: 1; }
@media (max-width: 560px) { .hx-drag { font-size: .62rem; } .hx-3d { white-space: nowrap; font-size: .66rem; padding: .5rem .7rem; bottom: -3%; } }

/* touch: every small control gets at least a 44 px hit area without changing the layout */
.g-tabs button, .g-hints, .g-check li.act button { position: relative; }
@media (pointer: coarse) {
  .g-tabs button::after, .g-hints::after { content: ""; position: absolute; left: -2px; right: -2px; top: -6px; bottom: -6px; }
  .g-tabs button { min-width: 44px; }
  .g-check li.act button::after { content: ""; position: absolute; left: -6px; right: -6px; top: -12px; bottom: -12px; }
}
.g-stats dt { white-space: nowrap; }
/* short phones: give the wall the room */
@media (max-height: 700px) and (max-width: 899px) {
  .g-top { min-height: 50px; padding-top: .3rem; padding-bottom: .3rem; }
  .g-hintbar { height: 64px; gap: .2rem; }
  .g-hint { font-size: .84rem; }
  .g-legend { display: none; }
  .g-read { min-height: 0; }
  .g-phone-h { min-height: 32px; }
  .g-tool { min-height: 48px; }
  .g-trigger { width: 60px; height: 60px; }
  .g-bar { grid-template-columns: 1fr 1fr 64px 1fr; }
}
.g-keys { display: none; }
@media (min-width: 900px) and (min-height: 820px) and (pointer: fine) {
  .g-keys { display: block; border-top: 1px solid var(--g-rule); padding-top: .5rem; }
  .g-keys p { font: 600 .66rem/1 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g-ink3); margin: 0 0 .35rem; }
  .g-keys dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .8rem; }
  .g-keys div { display: flex; gap: .4rem; align-items: baseline; font: 400 .8rem/1.3 var(--sans); color: var(--g-ink2); }
  .g-keys dt { font: 700 .64rem/1 var(--g-mono); color: var(--g-ink); border: 1px solid var(--g-ink3); border-radius: 2px; padding: .18rem .3rem; white-space: nowrap; }
  .g-keys dd { margin: 0; }
}

/* ================================================================ 2026-11-15: phone menu, swipe cards, buyer pages */
.nav-wide { display: none; }
@media (min-width: 1000px) { .nav-wide { display: flex; flex-wrap: nowrap; } .menu { display: none; } }
.menu { margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--ink); border-radius: 6px; font: 650 .95rem/1 var(--sans); user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 2px solid var(--ink); box-shadow: 0 24px 40px -24px rgba(20,24,28,.5); padding: .5rem 1rem 1.1rem; display: flex; flex-direction: column; }
.menu nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; font: 650 1.12rem/1.2 var(--sans); text-decoration: none; border-bottom: 1px solid var(--rule); }
.menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; }
.menu nav .btn { margin-top: 1rem; justify-content: center; min-height: 50px; }
@media (min-width: 700px) { .menu nav { padding-inline: 2rem; } }

.links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font: 600 1rem/1.3 var(--sans); margin: 1rem 0 0; }
.links a::after { content: " \203A"; text-decoration: none; display: inline-block; margin-left: .2em; }

/* swipe: a snap strip with a counter on phones, a grid on wide screens. No auto-advance, the next card always peeks. */
.swipe-track { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(max(11.5rem, calc(100% / var(--cols, 3) - 1rem)), 1fr)); }
.swipe-track:focus-visible { outline-offset: 6px; }
.swipe-meta { display: none; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 1.1rem 1.1rem 1.2rem; min-width: 0; }
.card h3 { margin: 0 0 .45rem; font-size: 1.15rem; display: flex; align-items: baseline; gap: .55rem; }
.card h3 i { font: 600 .74rem/1 var(--mono); font-style: normal; color: var(--ink-3); border: 1px solid var(--rule); padding: .28rem .38rem; border-radius: 3px; flex: none; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.card .eyebrow { margin-bottom: .7rem; }
.card .btn { margin-top: 1rem; }
@media (max-width: 859px) {
  .swipe-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 21rem); overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -1rem; padding-inline: 1rem; scroll-padding-inline: 1rem; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .swipe-track::-webkit-scrollbar { display: none; }
  .swipe-track > .card { scroll-snap-align: start; }
  .swipe-meta { display: flex; align-items: center; gap: .7rem; margin: .8rem 0 0; font: 500 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .swipe-meta b { color: var(--ink); font-weight: 700; }
  .swipe-meta i { flex: 1; height: 2px; background: var(--rule); position: relative; border-radius: 2px; }
  .swipe-meta u { position: absolute; left: 0; top: -1px; height: 4px; background: var(--ink); border-radius: 2px; transition: left .2s ease; }
}
@media (min-width: 700px) and (max-width: 859px) { .swipe-track { margin-inline: -2rem; padding-inline: 2rem; scroll-padding-inline: 2rem; grid-auto-columns: min(46%, 21rem); } }

.steps3 .card { padding: 0 0 1.1rem; overflow: hidden; }
.steps3 .card .photo { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.steps3 .card h3, .steps3 .card p { padding: 0 1.1rem; }
.steps3 .card h3 { margin-top: 1rem; }

.reel2 .card { padding: 0; border: 0; background: none; }
.reel2 video { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #1B2026; border-radius: 6px; }
.reel2 figcaption { color: var(--ink-2); font-size: .92rem; }
.reel2 figcaption b { display: block; font: 700 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: .3rem; }
@media (max-width: 859px) { .reel2 .swipe-track { grid-auto-columns: min(62%, 15rem); } }

.mats { margin: 1.5rem 0 1rem; border-top: 1px solid #39424B; }
.mats div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #39424B; }
.mats dt { font: 600 .74rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #8D969E; }
.mats dd { margin: 0; color: #F6F7F7; font: 500 1rem/1.45 var(--sans); }
@media (min-width: 820px) { .keys { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cmp-cards { display: none; }
@media (max-width: 859px) { .cmp-wide { display: none; } .cmp-cards { display: block; } }
.cmp-card h3 { display: block; font-size: 1.2rem; margin: -1.1rem -1.1rem 0; padding: 1rem 1.1rem; border-bottom: 2px solid var(--ink); border-radius: 8px 8px 0 0; }
.cmp-card h3 small { display: block; font: 400 .76rem/1.3 var(--mono); color: var(--ink-3); margin-top: .3rem; }
.cmp-card.us h3 { background: #14181C; color: #F6F7F7; } .cmp-card.us h3 small { color: #AEB6BD; }
.card:has(> .cmp-card.us) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cmp-card dl { margin: 0; }
.cmp-card dl div { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.cmp-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.cmp-card dt { font: 600 .72rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .25rem; }
.cmp-card dd { margin: 0; font: 500 1rem/1.4 var(--sans); }
.cmp-card.us dd { font-weight: 700; }

.after { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.after-h { font-size: 1.5rem; margin: 0; font-stretch: 108%; }
.after-cards .card { background: var(--sheet); }
.after-cards .card h3 { flex-direction: column; gap: .7rem; font-size: 1.05rem; }
.after-cards .card h3 i { align-self: flex-start; }
.after-cards .card p { font-size: .95rem; }
.try-sec { background: var(--sheet); }
.try-cards .card { display: flex; flex-direction: column; }
.try-cards .card .btn { margin-top: auto; align-self: flex-start; }
.try-cards .card p { margin-bottom: 1.1rem; }

/* before you buy */
.jump { display: flex; gap: .5rem; overflow-x: auto; margin: 1.5rem -1rem 0; padding: 0 1rem .4rem; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; font: 600 .86rem/1 var(--sans); text-decoration: none; padding: .7rem .9rem; border: 1px solid var(--rule); border-radius: 999px; background: #fff; white-space: nowrap; }
.jump a:hover { border-color: var(--ink); }
.qa-group { margin-top: 3rem; scroll-margin-top: 1rem; max-width: 60rem; }
.qa-group > h2 { font-size: 1.7rem; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.qa-group > p { margin-top: 1rem; max-width: var(--measure); }
.qa { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .4rem 2.5rem; }
@media (min-width: 860px) { .qa { grid-template-columns: 17rem minmax(0, 1fr); } }
.qa h3 { margin: 0; font-size: 1.1rem; }
.qa h3 .tag { display: block; margin-top: .45rem; font: 500 .68rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.qa p { margin: 0 0 .6rem; max-width: var(--measure); } .qa p:last-child { margin-bottom: 0; }
.buying .tablewrap { max-width: 30rem; }
.buying .ticks { max-width: var(--measure); }

.swipe { margin-bottom: 1.25rem; }
@media (min-width: 1100px) { .angles-sec .swipe-meta { display: none; } }
@media (min-width: 860px) and (max-width: 1099px) { .angles-sec .swipe-meta { display: flex; align-items: center; gap: .7rem; font: 500 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); } .angles-sec .swipe-meta i { flex: 1; height: 2px; background: var(--rule); position: relative; } .angles-sec .swipe-meta u { position: absolute; left: 0; top: -1px; height: 4px; background: var(--ink); } }
.angles-sec .angles { margin-bottom: 0; }

/* question search */
.ask { margin: 1.5rem 0 2rem; max-width: 46rem; }
.ask-row { position: relative; }
.ask input { width: 100%; font: 500 1.08rem/1.3 var(--sans); padding: 1rem 1rem 1rem 3rem; min-height: 56px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); -webkit-appearance: none; appearance: none; }
.ask input::placeholder { color: var(--ink-3); }
.ask input:focus { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--fin) 45%, transparent); }
.ask-icon { position: absolute; left: 1.05rem; top: 50%; width: 16px; height: 16px; margin-top: -10px; border: 2px solid var(--ink); border-radius: 50%; pointer-events: none; }
.ask-icon::after { content: ""; position: absolute; width: 8px; height: 2px; background: var(--ink); right: -7px; bottom: -4px; transform: rotate(45deg); }
.ask-hint { font: 400 .82rem/1.4 var(--sans); color: var(--ink-3); margin: .5rem 0 0; }
.ask-out { list-style: none; margin: .9rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.ask-out li { border-bottom: 1px solid var(--rule); }
.ask-out a { display: grid; gap: .25rem; padding: .85rem .2rem; text-decoration: none; }
.ask-out a:hover b, .ask-out a:focus b { text-decoration: underline; text-decoration-color: var(--marker); }
.ask-out b { font: 650 1.02rem/1.35 var(--sans); }
.ask-k { font: 600 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ask-a { color: var(--ink-2); font-size: .96rem; line-height: 1.45; }
.ask-none { margin: .9rem 0 0; padding: .8rem 1rem; border-left: 4px solid var(--marker); background: #fff; font: 400 .95rem/1.45 var(--sans); }
.ask-t { font: 500 .84rem/1.3 var(--sans); color: var(--ink-3); }
@media (max-width: 859px) { .wide-only { display: none; } }
/* language switch in the header (only on pages that exist in more than one language) */
.langs { display: flex; gap: .15rem; margin-left: .9rem; font: 600 .74rem/1 var(--mono); letter-spacing: .05em; }
.langs a { text-decoration: none; color: var(--ink-3); padding: .55rem .4rem; min-width: 32px; min-height: 32px; text-align: center; border-radius: 4px; }
.langs a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--marker); }
.langs a:hover { color: var(--ink); }
@media (max-width: 999px) { .langs { margin-left: auto; margin-right: .4rem; } .langs + .menu { margin-left: 0; } }
@media (max-width: 380px) { .langs a { padding: .55rem .25rem; min-width: 26px; } }
/* narrow phones: the language links move into the Menu panel so the name stays on one line in the sticky header */
.langs-menu { display: none; }
@media (max-width: 559px) {
  .top .wrap > .langs { display: none; }
  .top .wrap > .langs + .menu { margin-left: auto; }
  .menu nav .langs-menu { display: flex; margin: 1rem 0 0; gap: .5rem; justify-content: center; }
  .menu nav .langs-menu a { border-bottom: 0; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
}
/* stills that turn into the 3D model (build.py xr3d, hero3d.js) */
.xr3d { position: relative; }
.xr3d > img { transition: opacity .7s ease; }
.xr3d.live3d > img { opacity: 0; }
.end-3d { width: 100%; max-width: 28rem; margin: 0 auto; aspect-ratio: 1 / 1; }
.end-3d .end-img { position: absolute; inset: 0; height: 100%; object-fit: contain; }
.end-3d .hx-drag { color: rgba(255,255,255,.62); bottom: .2rem; }
.end-3d .hx-canvas { filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.pcard-3d { width: 100%; max-width: 14rem; aspect-ratio: 1 / 1; }
.pcard-3d .pcard-img { position: absolute; inset: 0; height: 100%; object-fit: contain; }
.pcard-3d .hx-3d { font-size: .64rem; padding: .5rem .65rem; bottom: 6%; white-space: nowrap; }
.pcard-3d .hx-drag { font-size: .58rem; bottom: -1rem; }

/* hero photograph on guides and trade pages (photos.py) */
.hero-photo { margin: 1.25rem 0 2rem; max-width: 60rem; }
.hero-photo img { display: block; aspect-ratio: 16 / 9; object-fit: cover; }
