/* ============================================================
   Snapport — spec-sheet / calibration-booth theme.
   Paper white + ink + a single electric-indigo signal, Hanken Grotesk
   for type and Geist Mono for every measurement / field label. The visual
   language is a precision instrument: graph grid, ruler ticks, crop guides
   and registration-mark corners. Deliberately unlike a rounded, playful or
   dark UI — this one reads like a calibration sheet.
   ============================================================ */

:root {
  --paper:        #F7F8F6;
  --paper-2:      #EFF1EC;
  --card:         #FFFFFF;
  --ink:          #11140F;
  --ink-soft:     #50554B;
  --ink-faint:    #898E82;
  --line:         #DBDDD4;
  --line-2:       #C7CABE;
  --accent:       #3B36FF;
  --accent-press: #2A25D6;
  --accent-wash:  #ECECFF;
  --good:         #1F7A4D;
  --warn:         #C0392B;
  --radius:       7px;
  --radius-lg:    12px;
  --tap:          44px;
  --grid:         22px;
  --shadow:       0 1px 0 var(--line), 0 6px 22px -16px rgba(17,20,15,.35);
  --mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.graph {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: -1px -1px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.wrap { width: min(1140px, 92vw); margin-inline: auto; }
.mono { font-family: var(--mono); }

/* mono kicker label, e.g. [ STEP 01 / UPLOAD ] */
.kick {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .5ch;
}
.kick::before { content: "["; color: var(--ink-faint); }
.kick::after  { content: "]"; color: var(--ink-faint); }

/* registration-mark corners on framed elements */
.regmark { position: relative; }
.regmark::before, .regmark::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
}
.regmark::before { top: 7px; left: 7px; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.regmark::after  { bottom: 7px; right: 7px; border-bottom: 2px solid var(--ink); border-right: 2px solid var(--ink); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: .7em 1.15em;
  min-height: var(--tap);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .55ch;
  transition: transform .04s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 0 var(--accent-press); }
.btn-primary:hover { background: var(--accent-press); }
.btn-primary:active { box-shadow: 0 1px 0 var(--accent-press); }
.btn-primary:disabled { background: var(--line-2); border-color: var(--line-2); box-shadow: none; color: #fff; cursor: not-allowed; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { min-height: 36px; padding: .35em .8em; font-size: .85rem; border-width: 1.25px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,246,.86);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .55ch; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.brand .glyph {
  width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 5px;
  display: grid; place-items: center; position: relative; background: var(--card);
}
.brand .glyph::before { content: ""; width: 11px; height: 11px; border: 2px solid var(--accent); border-radius: 50%; }
.brand .glyph::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
nav.main a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .92rem; padding: .5em .7em; border-radius: 6px; }
nav.main a:hover { color: var(--ink); background: var(--paper-2); }
.nav-credits { font-family: var(--mono); font-size: .8rem; color: var(--ink); border: 1px solid var(--line-2); background: var(--card); border-radius: 6px; padding: .4em .6em; }
.nav-credits b { color: var(--accent); }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { padding: 3.2rem 0 1.6rem; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; }
.hero h1 .u { color: var(--accent); }
.hero .lead { font-size: 1.12rem; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.5rem; font-family: var(--mono); font-size: .78rem; color: var(--ink-soft); }
.hero-points span { display: inline-flex; align-items: center; gap: .5ch; }
.hero-points b { color: var(--ink); }
.tick { color: var(--good); font-weight: 700; }
.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1rem; position: relative;
}
.hero-card .strip { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .68rem; color: var(--ink-faint); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.hero-frame { aspect-ratio: 35/45; border-radius: 8px; overflow: hidden; position: relative; background: var(--paper-2); }

/* ---------- section scaffolding ---------- */
section { padding: 3.4rem 0; }
.section-head { max-width: 60ch; margin-bottom: 1.6rem; }
.section-head h2 { margin-top: .35rem; }

/* ============================================================
   THE BOOTH (workbench)
   ============================================================ */
.booth { padding-top: 1rem; }
.booth-grid { display: grid; grid-template-columns: 320px 1fr; gap: 1.2rem; align-items: start; }

/* left control rail — styled like a requisition form */
.rail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.rail-head { background: var(--ink); color: #fff; padding: .7rem 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.rail-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(59,54,255,.25); }
.field { padding: 1rem; border-bottom: 1px dashed var(--line); }
.field:last-child { border-bottom: 0; }
.field > .kick { margin-bottom: .6rem; }
.field-note { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); margin-top: .5rem; }

/* dropzone */
.dropzone {
  border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--paper);
  padding: 1.1rem; text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
  min-height: 96px; display: grid; place-content: center; gap: .35rem;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-wash); }
.dropzone .dz-title { font-weight: 700; font-size: .92rem; }
.dropzone .dz-sub { font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); }
.dz-thumb { display: flex; align-items: center; gap: .7rem; }
.dz-thumb img { width: 46px; height: 58px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line); }
.dz-thumb .meta { text-align: left; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); overflow: hidden; }
.dz-thumb .meta b { color: var(--ink); display: block; font-size: .78rem; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* spec selector */
.spec-search { width: 100%; font-family: var(--mono); font-size: .82rem; padding: .55em .7em; border: 1px solid var(--line-2); border-radius: 6px; background: var(--paper); color: var(--ink); margin-bottom: .6rem; }
.spec-search:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.spec-list { max-height: 188px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; padding-right: 2px; }
.spec-opt { text-align: left; border: 1px solid transparent; background: var(--paper); border-radius: 6px; padding: .5em .6em; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: .5ch; }
.spec-opt:hover { background: var(--paper-2); }
.spec-opt.sel { border-color: var(--accent); background: var(--accent-wash); }
.spec-opt .nm { font-weight: 600; font-size: .85rem; }
.spec-opt .dim { font-family: var(--mono); font-size: .68rem; color: var(--ink-faint); white-space: nowrap; }
.spec-readout { margin-top: .65rem; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; }
.spec-readout span b { color: var(--ink); }

/* swatches + chips */
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { width: 34px; height: 34px; border-radius: 7px; border: 1px solid var(--line-2); cursor: pointer; position: relative; }
.swatch.sel { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch.sel::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; color: var(--accent); text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
.hexrow { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; }
.hexrow input[type=color] { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line-2); border-radius: 7px; background: none; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-family: var(--sans); font-weight: 600; font-size: .82rem; border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: .4em .8em; cursor: pointer; }
.chip:hover { background: var(--paper-2); }
.chip.sel { border-color: var(--accent); background: var(--accent-wash); color: var(--accent-press); }

.rail-foot { padding: 1rem; background: var(--paper); border-top: 1px solid var(--line); }
.cost { font-family: var(--mono); font-size: .74rem; color: var(--ink-soft); margin-top: .55rem; text-align: center; }
.cost b { color: var(--ink); }

/* ---------- stage (calibration canvas) ---------- */
.stage-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stage-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.stage-head .tag { color: var(--accent); }
.stage-body { display: grid; grid-template-columns: 1fr; gap: 0; padding: 1.3rem; place-items: center; position: relative; background:
    linear-gradient(var(--paper-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-2) 1px, transparent 1px);
  background-size: 16px 16px; }
.stage-shell { position: relative; }
#stage { display: block; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 12px 34px -22px rgba(17,20,15,.6); touch-action: none; cursor: grab; max-width: 100%; }
#stage.dragging { cursor: grabbing; }
.stage-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; gap: .4rem; padding: 1rem; }
.stage-empty .big { font-family: var(--mono); font-size: .8rem; color: var(--ink-faint); letter-spacing: .06em; }

.stage-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .85rem 1rem; border-top: 1px solid var(--line); background: var(--paper); }
.zoom { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 180px; }
.zoom label { font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.zoom input[type=range] { flex: 1; accent-color: var(--accent); }
.stage-tools .toggle-guides { font-family: var(--mono); font-size: .72rem; }

/* output bar */
.output { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; padding: .95rem 1rem; border-top: 1px solid var(--line); }
.output .seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.output .seg button { border: 0; background: var(--card); font-family: var(--mono); font-size: .74rem; padding: .5em .7em; cursor: pointer; color: var(--ink-soft); }
.output .seg button.on { background: var(--ink); color: #fff; }
.output .grow { flex: 1; }
.print-pick { font-family: var(--mono); font-size: .74rem; padding: .5em .6em; border: 1px solid var(--line-2); border-radius: 6px; background: var(--card); }

/* ============================================================
   spec cards gallery
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.speccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; cursor: pointer; transition: transform .08s ease, box-shadow .15s ease, border-color .15s; text-align: left; }
.speccard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.speccard .top { display: flex; justify-content: space-between; align-items: center; padding: .55rem .8rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.speccard .grp { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.speccard .flag { font-size: .64rem; font-family: var(--mono); color: var(--accent); }
.speccard .body { padding: .8rem; }
.speccard .nm { font-weight: 700; font-size: 1rem; margin-bottom: .15rem; }
.speccard .ctry { font-size: .8rem; color: var(--ink-soft); margin-bottom: .6rem; }
.speccard .specrow { font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 2px; }
.speccard .specrow b { color: var(--ink); }
.speccard .bgline { display: inline-flex; align-items: center; gap: .4ch; }
.speccard .bgdot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-block; }
.filterbar { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }

/* ============================================================
   examples strip
   ============================================================ */
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.ex { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ex .pair { display: grid; grid-template-columns: 1fr 1fr; }
.ex .pair figure { margin: 0; position: relative; }
.ex .pair img { aspect-ratio: 35/45; object-fit: cover; width: 100%; background: var(--paper-2); }
.ex .pair figure:first-child { border-right: 1px solid var(--line); }
.ex .pair figcaption { position: absolute; top: 6px; left: 6px; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(17,20,15,.7); color: #fff; padding: 2px 5px; border-radius: 3px; }
.ex .cap { padding: .55rem .7rem; font-family: var(--mono); font-size: .68rem; color: var(--ink-soft); display: flex; justify-content: space-between; }
.attrib { font-family: var(--mono); font-size: .68rem; color: var(--ink-faint); margin-top: 1rem; }
.attrib a { color: var(--ink-soft); }

/* ============================================================
   how it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; position: relative; }
.step .no { font-family: var(--mono); font-size: 2.2rem; font-weight: 600; color: var(--accent-wash); line-height: 1; -webkit-text-stroke: 1px var(--accent); }
.step h3 { margin-top: .5rem; }

/* ============================================================
   pricing
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; position: relative; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.plan .badge { position: absolute; top: -11px; left: 1.3rem; background: var(--accent); color: #fff; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding: .25em .6em; border-radius: 4px; }
.plan .pname { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: .25rem 0 0; }
.plan .price small { font-size: .9rem; font-weight: 600; color: var(--ink-faint); }
.plan .ptag { font-weight: 600; color: var(--ink); margin: .1rem 0 .2rem; }
.plan .psub { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); margin-bottom: .9rem; }
.plan ul { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.plan li { font-size: .88rem; display: flex; gap: .55ch; align-items: flex-start; color: var(--ink-soft); }
.plan li .yes { color: var(--good); font-weight: 800; }
.plan li .no { color: var(--line-2); font-weight: 800; }
.plan li.off { color: var(--ink-faint); }
.plan .btn { margin-top: auto; }
.pricing-foot { text-align: center; margin-top: 1.4rem; font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); }
.pricing-foot a { color: var(--accent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: .6rem; max-width: 800px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .25rem 1rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: .8rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; }

/* ============================================================
   footer
   ============================================================ */
footer.site { border-top: 1px solid var(--line); background: var(--paper-2); padding: 2.6rem 0 2rem; margin-top: 2rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
footer.site a { color: var(--ink-soft); text-decoration: none; display: block; padding: .2rem 0; font-size: .9rem; }
footer.site a:hover { color: var(--accent); }
footer.site .ft-head { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .6rem; }
.disclaimer { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); border-top: 1px dashed var(--line-2); margin-top: 1.8rem; padding-top: 1.2rem; line-height: 1.6; }

/* ============================================================
   modal + toast
   ============================================================ */
.modal-back { position: fixed; inset: 0; background: rgba(17,20,15,.5); display: none; place-items: center; z-index: 100; padding: 1rem; }
.modal-back.show { display: grid; }
.modal { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--line); width: min(440px, 94vw); padding: 1.6rem; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.modal h3 { font-size: 1.3rem; }
.modal .x { position: absolute; top: .8rem; right: .9rem; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--ink-soft); line-height: 1; }
.modal input[type=text] { width: 100%; font-family: var(--mono); font-size: 1rem; letter-spacing: .08em; padding: .7em .8em; border: 1.5px solid var(--line-2); border-radius: var(--radius); text-transform: uppercase; }
.modal input[type=text]:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.modal input[type=email], .modal input[type=password] { width: 100%; font-family: var(--sans); font-size: 1rem; padding: .7em .8em; border: 1.5px solid var(--line-2); border-radius: var(--radius); margin-top: .5rem; }
.modal input[type=email]:focus, .modal input[type=password]:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

/* auth tabs */
.auth-tabs { display: flex; gap: 4px; background: var(--paper-2); border-radius: 8px; padding: 4px; margin: .9rem 0 .2rem; }
.auth-tab { flex: 1; border: 0; background: transparent; font-family: var(--sans); font-weight: 700; font-size: .9rem; padding: .55em; border-radius: 6px; cursor: pointer; color: var(--ink-soft); }
.auth-tab.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 0 var(--line); }

/* header account UI */
.signin-link { font-weight: 700 !important; color: var(--accent) !important; border: 1.5px solid var(--accent); border-radius: 6px; }
.signin-link:hover { background: var(--accent) !important; color: #fff !important; }
#acctChip { display: inline-flex; align-items: center; gap: .15rem; }
#acctChip .cdiv { color: var(--ink-faint); margin: 0 .35rem; }
.acct-email { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
#acctChip a { color: var(--accent); text-decoration: none; }
#acctChip a:hover { text-decoration: underline; }
.modal .msg { font-size: .86rem; margin-top: .7rem; min-height: 1.2em; }
.modal .msg.err { color: var(--warn); }
.modal .msg.ok { color: var(--good); }

#toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: .75em 1.2em; border-radius: 8px; font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* busy overlay on stage */
.stage-busy { position: absolute; inset: 0; background: rgba(247,248,246,.82); display: none; place-items: center; z-index: 5; }
.stage-busy.show { display: grid; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--accent-wash); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
.busy-label { font-family: var(--mono); font-size: .76rem; color: var(--ink-soft); margin-top: .7rem; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .booth-grid { grid-template-columns: 1fr; }
  .steps, .plans { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  nav.main { position: fixed; inset: 64px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .6rem 5vw 1rem; gap: .1rem; display: none; }
  nav.main.open { display: flex; }
  nav.main a { padding: .8em .4em; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav-credits { order: -1; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; animation: none !important; } }

/* ============================================================
   comparison (Snapport vs the old way)
   ============================================================ */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.compare-grid .speccard { cursor: default; }
.compare-grid .speccard:hover { transform: none; }
.cmp-snapport { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.cmp-snapport .top { background: var(--accent-wash); border-bottom-color: var(--line-2); }
.cmp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.cmp-list li { font-size: .9rem; display: flex; gap: .55ch; align-items: flex-start; color: var(--ink-soft); }
.cmp-list .cmp-y { color: var(--good); font-weight: 800; }
.cmp-list .cmp-n { color: var(--ink-faint); font-weight: 800; }
@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; }
}
