:root {
  /* backgrounds: layered elevation */
  --bg: #0b0e13; --panel: #12171f; --panel2: #1a212c; --panel3: #232c3a;
  --border: #283241; --border2: #364457;
  /* text */
  --text: #eef2f8; --muted: #93a1b5; --faint: #5d6b7e;
  /* accent: teal "blueprint" */
  --accent: #2dd4bf; --accent-2: #22b3a1; --accent-ink: #04130f;
  --accent-dim: #123330;
  /* semantic + dim tints */
  --ok: #34d399; --ok-dim: #0f2e22;
  --warn: #fbbf24; --warn-dim: #33290a;
  --bad: #f87171; --bad-dim: #341616;
  /* fonts */
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", ui-monospace, monospace;
  /* spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px;
  /* radius */
  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-pill: 999px;
  /* elevation */
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 4px 14px rgba(0,0,0,.45);
  --sh-3: 0 12px 40px rgba(0,0,0,.55);
  --glow: 0 0 0 3px rgba(45,212,191,.18);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent-dim); color: var(--text); }
/* thin dark scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px;
  border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--faint); background-clip: padding-box; }

.topnav {
  display: flex; align-items: center; gap: 20px;
  padding: 0 24px; height: 56px; background: rgba(18,23,31,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
  box-shadow: var(--sh-1); position: sticky; top: 0; z-index: 40;
}
.topnav a { color: var(--muted); font-weight: 500; font-size: 13.5px;
  position: relative; padding: 4px 0; }
.topnav a:hover { color: var(--text); text-decoration: none; }
.topnav .nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0);
  transition: transform .15s; }
.topnav .nav-link:hover::after { transform: scaleX(1); }
.topnav .nav-spacer { margin-left: auto; }
.brand { display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 700; letter-spacing: -.01em;
  color: var(--text) !important; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.brand-mark { width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 7px; display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.brand-mark svg { width: 100%; height: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: var(--s5); width: 100%; flex: 1; }
.page-head { display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s5); flex-wrap: wrap; }
.page-sub { color: var(--muted); font-size: 13.5px; margin: -10px 0 18px; }
h1 { font-size: 24px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0 0 12px; color: var(--text); font-weight: 600; }
h3 { font-size: 13.5px; margin: 0 0 8px; font-weight: 600; }

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s4); margin-bottom: var(--s4);
  box-shadow: var(--sh-1);
}
.card.notice { border-color: var(--warn); color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s4); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }

.meta { color: var(--muted); font-size: 12.5px; margin: 4px 0 10px;
  font-family: var(--font-mono); }
.hint { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.hint-inline { color: var(--faint); font-size: 11px; font-weight: 400; }
.empty { color: var(--muted); }
.empty-state { text-align: center; color: var(--muted); padding: var(--s8) var(--s4); }
.empty-state .glyph { font-size: 40px; opacity: .35; display: block; margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.ok-text { color: var(--ok); } .warn-text { color: var(--warn); }
.pend { color: var(--warn); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--panel2);
  color: var(--text); cursor: pointer; font-size: 13.5px; font-weight: 500;
  font-family: var(--font-ui); transition: border-color .15s, background .15s,
  box-shadow .15s, filter .15s;
}
.btn:hover { border-color: var(--border2); background: var(--panel3);
  text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: var(--glow); }
.btn.primary { background: var(--accent); border-color: var(--accent);
  color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2);
  box-shadow: var(--glow); filter: none; }
.btn.danger { color: var(--bad); }
.btn.danger:hover { border-color: var(--bad); background: var(--bad-dim); }
.btn.small { padding: 4px 10px; font-size: 12.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.card-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-actions form { display: inline; }

.badge {
  padding: 3px 10px; border-radius: var(--r-pill); font-size: 11.5px;
  font-weight: 600; font-family: var(--font-mono);
}
.badge.ok { background: var(--ok-dim); color: var(--ok); }
.badge.warn { background: var(--warn-dim); color: var(--warn); }
.badge.bad { background: var(--bad-dim); color: var(--bad); }
.badge.info { background: var(--accent-dim); color: var(--accent); }

.flashes { max-width: 1100px; margin: 12px auto 0; padding: 0 24px; width: 100%; }
.flash {
  background: var(--warn-dim); color: var(--warn);
  border: 1px solid var(--border); border-left: 3px solid var(--warn);
  padding: 10px 14px; border-radius: var(--r); margin-bottom: 6px; font-size: 13px;
}

.row-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
input[type=text], input[type=number], select, input[type=file] {
  background: var(--panel2); border: 1px solid var(--border); color: var(--text);
  padding: 8px 10px; border-radius: var(--r-sm); font-size: 13.5px;
  font-family: var(--font-ui); transition: border-color .15s, box-shadow .15s;
}
input[type=text]:focus, input[type=number]:focus, select:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--glow); }
input::placeholder { color: var(--faint); }
input[type=color] { width: 34px; height: 34px; padding: 2px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--panel2); cursor: pointer; }
.form-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.form-grid label { display: flex; justify-content: space-between; align-items: center;
  gap: 12px; color: var(--muted); }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--faint); font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  padding: 8px; border-bottom: 1px solid var(--border); }
.table td { padding: 8px; border-bottom: 1px solid var(--border); }
.table tr:hover td { background: var(--panel2); }
.row-actions { display: flex; gap: 6px; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px;
  margin-right: 6px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

.project-card h3, .sheet-card h3 { margin-bottom: 2px; }
.project-card, .sheet-card { transition: transform .15s, box-shadow .15s, border-color .15s; }
.project-card:hover, .sheet-card:hover { transform: translateY(-2px);
  box-shadow: var(--sh-2); border-color: var(--border2); }
.thumb-wrap { display: block; background: #fff; border-radius: var(--r-sm);
  overflow: hidden; margin-bottom: 10px; border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.thumb-wrap img { width: 100%; display: block; }
.detect-status { color: var(--muted); font-size: 12.5px; }

.train-progress { margin-top: 14px; }
.train-progress .bar { height: 8px; background: var(--panel2);
  border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.train-progress .fill { height: 100%; width: 0; background: var(--accent);
  transition: width .4s; }
.train-progress span { color: var(--muted); font-size: 12.5px; }

.fix-panel {
  position: fixed; right: 16px; bottom: 16px; width: 360px; z-index: 50;
  background: var(--panel); border: 1px solid var(--accent);
  border-radius: var(--r-lg); padding: 12px; box-shadow: var(--sh-3);
}
.fix-head { display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; margin-bottom: 6px; }
.fix-stage { color: var(--accent); font-size: 12.5px; margin-bottom: 8px; }
.fix-panel .at-log { max-height: 200px; }

.at-log {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 10px 12px; font: 12px/1.6 var(--font-mono); color: var(--muted);
  max-height: 340px; overflow-y: auto; white-space: pre-wrap; margin: 0;
}

/* ---------------- annotation workspace ---------------- */
.workspace { flex: 1; display: flex; flex-direction: column; min-height: 0;
  padding: 0; max-width: none; }
.ws-toolbar {
  display: flex; align-items: center; gap: 14px; padding: 8px 14px;
  background: var(--panel); border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.ws-title { font-weight: 600; }
.tool-group { display: flex; gap: 2px; background: var(--panel2);
  border: 1px solid var(--border); border-radius: var(--r); padding: 2px; }
.tool-group .btn.tool { border: 1px solid transparent; background: transparent;
  padding: 5px 11px; }
.tool-group .btn.tool:hover { background: var(--panel3); }
.btn.tool.active { background: var(--accent); border-color: var(--accent);
  color: var(--accent-ink); font-weight: 600; }
.scale-label, .ws-status { color: var(--muted); font-size: 12px;
  font-family: var(--font-mono); }
.ws-status { margin-left: auto; }

.ws-body { flex: 1; display: flex; min-height: 0; position: relative; }

.ctx-menu {
  position: absolute; z-index: 50; min-width: 220px; max-width: 280px;
  background: var(--panel); border: 1px solid var(--border2);
  border-radius: var(--r-lg); padding: 5px; box-shadow: var(--sh-3);
  font-size: 13px;
}
.ctx-head {
  padding: 6px 9px; color: var(--muted); font-weight: 600;
  border-bottom: 1px solid var(--border); margin-bottom: 4px;
}
.ctx-item {
  padding: 7px 9px; border-radius: 6px; cursor: pointer; color: var(--text);
  display: flex; align-items: center; gap: 7px;
}
.ctx-item:hover { background: var(--panel2); }
.ctx-item.ok:hover { color: var(--ok); }
.ctx-item.danger:hover { color: var(--bad); }
.ctx-sub-title {
  padding: 7px 9px 3px; color: var(--muted); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .04em;
}
.ctx-classes { max-height: 240px; overflow-y: auto; }
.ws-canvas-wrap { flex: 1; position: relative; min-width: 0; }
#canvas { display: block; width: 100%; height: 100%; }
.crop-loupe {
  position: absolute; top: 12px; right: 12px; z-index: 40;
  background: var(--panel); border: 1px solid var(--border2);
  border-radius: var(--r); box-shadow: var(--sh-3); padding: 6px;
  pointer-events: none;
}
.crop-loupe canvas {
  display: block; border-radius: var(--r-sm); background: #fff;
  max-width: 240px;
}
.crop-cap {
  margin-top: 5px; font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); text-align: center; letter-spacing: .02em;
}
.level-box {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); white-space: nowrap;
}
.level-box input {
  width: 110px; padding: 5px 8px; font-size: 12.5px;
  background: var(--panel2); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-sm);
}
.level-box input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.scale-select {
  padding: 5px 8px; font-size: 12.5px; cursor: pointer;
  background: var(--panel2); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-sm);
}
.scale-select:focus { outline: none; border-color: var(--accent); }

/* ---------------- membership / accounts ---------------- */
.nav-spacer { margin-left: auto; }
.plan-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 999px; background: var(--panel2);
  color: var(--muted); border: 1px solid var(--border2); vertical-align: middle;
}
.plan-badge.pro { background: var(--accent-dim); color: var(--accent); border-color: var(--accent); }
.nav-link.upgrade { color: var(--accent); font-weight: 600; }

.auth-wrap { max-width: 420px; margin: 48px auto; }
.auth-card h1 { margin-top: 0; }
.auth-form { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.auth-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.auth-form input {
  padding: 9px 11px; font-size: 14px; background: var(--panel2); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
}
.auth-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; max-width: 720px; }
.pricing-single { max-width: 380px; }
.price-sub { color: var(--muted); font-size: 13.5px; margin: -8px 0 14px; }

/* early-access banner */
.ea-banner {
  background: var(--accent-dim); color: var(--accent);
  border-bottom: 1px solid var(--accent); text-align: center;
  font-size: 13px; font-weight: 600; padding: 7px 14px;
}
.ea-banner a { color: var(--accent); text-decoration: underline; }
.plan-col { display: flex; flex-direction: column; position: relative; }
.plan-col.featured { border-color: var(--accent); }
.plan-tag {
  position: absolute; top: -11px; right: 16px; font-size: 11px; font-weight: 700;
  letter-spacing: .05em; padding: 3px 10px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
}
.price { font-size: 38px; font-weight: 700; margin: 6px 0 12px; }
.price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.plan-feats li { padding-left: 22px; position: relative; font-size: 14px; }
.plan-feats li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-feats li.off { color: var(--muted); opacity: .65; }
.plan-feats li.off::before { content: "\2715"; color: var(--muted); }
.plan-col .btn { margin-top: auto; }
.btn.ghost { background: transparent; border: 1px solid var(--border2); color: var(--muted); }
.btn.small { padding: 5px 12px; font-size: 13px; }

.license {
  font-size: 16px; letter-spacing: .04em; padding: 10px 14px; border-radius: 6px;
  background: var(--panel2); border: 1px dashed var(--accent); color: var(--accent);
  display: inline-block; user-select: all;
}
hr.sep { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.loupe-clean {
  display: flex; align-items: center; gap: 7px; margin-top: 10px;
  font-size: 12px; color: var(--muted); cursor: pointer;
}
.loupe-clean input { accent-color: var(--accent); cursor: pointer; }
.ws-side {
  width: 260px; flex-shrink: 0; background: var(--panel);
  border-left: 1px solid var(--border); padding: 14px; overflow-y: auto;
}
.sens-box { margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border); }
.sens-box label { display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.sens-box #sens-val { color: var(--accent); font-weight: 600;
  font-family: var(--font-mono); }
.sens-box input[type=range] { width: 100%; accent-color: var(--accent); }
.sens-ends { display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--faint); margin-top: 2px; }

.class-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.class-empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 14px; border: 1px dashed var(--border2);
  border-radius: var(--r); background: var(--panel2); margin-bottom: 4px;
}
.class-empty p { margin: 0; color: var(--muted); }
.class-empty .hint { font-size: 12px; color: var(--faint); }
.class-row { display: flex; align-items: center; gap: 4px; }
.class-row .class-item { flex: 1; min-width: 0; }
.class-find {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 7px;
  border: 1px solid var(--border); background: var(--panel2);
  color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1;
}
.class-find:hover { border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim); }
.class-find:disabled { opacity: .4; cursor: default; }
.class-item {
  display: flex; align-items: center; gap: 7px; text-align: left;
  background: none; border: 1px solid transparent; border-left: 3px solid transparent;
  border-radius: var(--r-sm); color: var(--text); padding: 6px 8px;
  cursor: pointer; font-size: 13px; transition: background .12s; }
.class-item:hover { background: var(--panel2); }
.class-item.active { border-left-color: var(--accent); background: var(--accent-dim); }
.class-item .kbd {
  color: var(--muted); font-size: 11px; font-family: var(--font-mono);
  background: var(--panel3); border: 1px solid var(--border);
  border-radius: 4px; padding: 0 4px; min-width: 16px; text-align: center;
}
.class-item .count { margin-left: auto; color: var(--muted); font-size: 12px;
  font-family: var(--font-mono); }
.class-item.active .count { color: var(--accent); }
.pending-panel { border-top: 1px solid var(--border); padding-top: 12px;
  margin-bottom: 16px; }
.side-help { border-top: 1px solid var(--border); padding-top: 12px; }
.side-help ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 12.5px; }
.side-help li { margin-bottom: 6px; }

/* ---------------- modal + takeoff spreadsheet ---------------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(4,8,12,.66); backdrop-filter: blur(3px); }
.modal-card { width: 100%; max-width: 560px; max-height: 84vh;
  display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--border2); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 15px; }
.modal-body { overflow-y: auto; padding: 0; }
.modal-foot { display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-top: 1px solid var(--border); }

.takeoff-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.takeoff-table th, .takeoff-table td {
  padding: 8px 12px; border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border); text-align: left; }
.takeoff-table th:last-child, .takeoff-table td:last-child { border-right: none; }
.takeoff-table thead th { position: sticky; top: 0; background: var(--panel2);
  color: var(--faint); font-size: 11px; text-transform: uppercase;
  letter-spacing: .05em; font-weight: 600; z-index: 1; }
.takeoff-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }
.takeoff-table tbody tr:hover td { background: var(--panel2); }
.takeoff-table .qty { text-align: right; font-family: var(--font-mono);
  color: var(--accent); font-weight: 600; width: 80px; }
.takeoff-table .sw { width: 28px; }
.takeoff-table .sw span { display: inline-block; width: 14px; height: 14px;
  border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.takeoff-table tfoot td { font-weight: 700; background: var(--panel2);
  border-top: 2px solid var(--border2); }
.takeoff-empty { padding: 32px; text-align: center; color: var(--muted); }

/* an accent callout used for explanatory hints */
.callout { background: var(--accent-dim); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--r); padding: 12px 14px;
  color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* ============================ landing ============================ */
.lp { max-width: 1140px; margin: 0 auto; padding: 0 24px; width: 100%; }
.lp-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.lp-nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center;
  gap: 20px; height: 60px; padding: 0 24px; background: rgba(11,14,19,.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.lp-nav .nav-spacer { margin-left: auto; }
.lp-nav a { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.lp-nav a:hover { color: var(--text); text-decoration: none; }

.lp-hero { text-align: center; padding: var(--s8) 0 var(--s7); }
.lp-hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08;
  letter-spacing: -.02em; margin: 16px auto; max-width: 16ch; }
.lp-hero h1 .grad { background: linear-gradient(120deg, var(--accent), #7dd3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-sub { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 56ch;
  margin: 0 auto 28px; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-cta .btn { padding: 12px 22px; font-size: 15px; border-radius: var(--r); }

.lp-shot { margin: var(--s7) auto 0; max-width: 980px;
  border: 1px solid var(--border2); border-radius: var(--r-lg);
  background: var(--panel); box-shadow: var(--sh-3);
  border-top: 2px solid var(--accent); overflow: hidden; }
.lp-shot img { width: 100%; display: block; }
.lp-shot-mock { aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #11343b 0, transparent 60%), var(--bg); }
/* drifting blueprint grid */
.lp-shot-mock::before { content: ""; position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(45,212,191,.07) 1px, transparent 1px) 0 0/46px 46px,
    linear-gradient(90deg, rgba(45,212,191,.07) 1px, transparent 1px) 0 0/46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 28%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 45%, #000 28%, transparent 78%);
  animation: lp-drift 20s linear infinite; }
@keyframes lp-drift { to { background-position: 46px 46px, 46px 46px; } }
/* teal scan sweep */
.lp-shot-mock::after { content: ""; position: absolute; top: 0; bottom: 0;
  width: 140px; left: -20%; pointer-events: none; filter: blur(3px);
  background: linear-gradient(90deg, transparent, rgba(45,212,191,.22), transparent);
  animation: lp-scan 7s ease-in-out infinite; }
@keyframes lp-scan { 0% { left: -20%; } 62% { left: 112%; } 100% { left: 112%; } }
/* fixtures "detected" one by one (snowball), then loop */
.lp-shot-mock .b { position: absolute; border: 2px solid var(--accent);
  background: rgba(45,212,191,.12); border-radius: 4px; opacity: .16;
  box-shadow: 0 0 0 0 rgba(45,212,191,.5);
  animation: lp-detect 7s ease-in-out infinite; }
.lp-shot-mock .b:nth-child(1) { animation-delay: .3s; }
.lp-shot-mock .b:nth-child(2) { animation-delay: .9s; }
.lp-shot-mock .b:nth-child(3) { animation-delay: 1.4s; }
.lp-shot-mock .b:nth-child(4) { animation-delay: 2.0s; }
.lp-shot-mock .b:nth-child(5) { animation-delay: 2.5s; }
.lp-shot-mock .b:nth-child(6) { animation-delay: 3.0s; }
.lp-shot-mock .b:nth-child(7) { animation-delay: 3.5s; }
@keyframes lp-detect {
  0%, 6%   { opacity: .16; transform: scale(.86); box-shadow: 0 0 0 0 rgba(45,212,191,.5); }
  14%      { opacity: 1;  transform: scale(1.06); box-shadow: 0 0 0 2px rgba(45,212,191,.45); }
  26%      { opacity: 1;  transform: scale(1);    box-shadow: 0 0 0 14px rgba(45,212,191,0); }
  88%,100% { opacity: .9; transform: scale(1);    box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-shot-mock::before, .lp-shot-mock::after, .lp-shot-mock .b { animation: none; }
  .lp-shot-mock .b { opacity: .9; }
}

.lp-strip { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  padding: var(--s6) 0; }
.lp-chip { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 6px 14px; }

.lp-section { padding: var(--s8) 0; }
.lp-section > h2 { font-size: 28px; text-align: center; letter-spacing: -.01em;
  margin-bottom: 8px; }
.lp-section > p.lead { color: var(--muted); text-align: center; font-size: 16px;
  max-width: 52ch; margin: 0 auto var(--s6); }

.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.lp-step .num { display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; font-weight: 700;
  font-family: var(--font-mono); color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-bottom: 12px; }
.lp-step h3 { font-size: 15px; margin-bottom: 6px; }
.lp-step p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }

.lp-notrain { background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s7); text-align: center;
  box-shadow: var(--sh-1); }
.lp-notrain h2 { font-size: 26px; margin-bottom: 10px; }
.lp-notrain p { color: var(--muted); font-size: 15px; max-width: 60ch;
  margin: 0 auto; line-height: 1.6; }

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .lp-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lp-features { grid-template-columns: 1fr; } }
.lp-feat { background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1); }
.lp-feat .ic { font-size: 20px; margin-bottom: 8px; }
.lp-feat h3 { font-size: 14px; margin-bottom: 4px; }
.lp-feat p { color: var(--muted); font-size: 12.5px; margin: 0; line-height: 1.5; }

.lp-final { text-align: center; background:
  linear-gradient(135deg, var(--accent-dim), var(--panel));
  border: 1px solid var(--border2); border-radius: var(--r-lg);
  padding: var(--s8) var(--s4); margin: var(--s7) 0; }
.lp-final h2 { font-size: 30px; margin-bottom: 10px; }
.lp-final p { color: var(--muted); margin-bottom: 22px; }

.lp-footer { border-top: 1px solid var(--border); padding: var(--s6) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; color: var(--faint); font-size: 12.5px; }
