/* Altura WAF Stand Companion styles. Brand tokens are in :root. Product accents are set per section (#crew, #luz, #load, #mor). */
html,body{margin:0}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
img{max-width:100%}
/* Layout: iPad landscape. Product switcher on top; each product is branded with its own wordmark and accent and splits into SHOW (tap-through demo) and SAY (crib notes). A "Save this visitor" sheet captures contact plus what was shown; Leads lists them for follow-up. */
:root {
  --bg: #050708; --panel: #10171A; --panel2: #000; --line: #233036; --fg: #F2F6F7; --muted: #93A3A9;
  --altura: #31B5C7; --amber: #E0A458; --ok: #6BCB8B; --bad: #E07A6B;
  --accent: var(--altura);
  --font: 'Jost', 'Century Gothic', 'Avenir Next', 'Segoe UI', sans-serif;
  color-scheme: dark;
}
[hidden] { display: none !important; }
html, body { background: var(--bg); color: var(--fg); font-family: var(--font); -webkit-tap-highlight-color: transparent; }
body { padding-inline: clamp(16px, 3vw, 40px); padding-block: 18px 56px; font-size: 16px; line-height: 1.5; }
.wrap { max-width: 1160px; margin: 0 auto; display: grid; gap: 22px; }
.sec { display: grid; gap: 22px; }
#crew { --accent: #74FFFF; } #luz { --accent: #31B5C7; } #load { --accent: #32B5C7; } #mor { --accent: #57B9C8; }
header { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; position: sticky; top: env(safe-area-inset-top, 0px); background: var(--bg); padding-block: 8px; z-index: 5; }
header img { height: 22px; width: auto; display: block; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav button { font: inherit; font-size: 16px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; min-height: 44px; }
.nav button[aria-selected="true"] { color: #000; background: var(--altura); border-color: var(--altura); font-weight: 600; }
.nav .count { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--line); color: var(--fg); font-size: 13px; text-align: center; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--altura); outline-offset: 2px; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hero > div { min-width: 0; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wordmark { height: 46px; width: auto; display: block; margin-bottom: 14px; }
.luzmark { font-size: 44px; font-weight: 700; letter-spacing: .06em; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.mormark { height: 54px; width: auto; display: block; margin-bottom: 14px; border-radius: 4px; }
h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.06; font-weight: 600; margin: 0; text-wrap: balance; max-width: 22ch; }
h1 em { font-style: normal; color: var(--accent); }
.helps { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin: 10px 0 0; max-width: 62ch; }
.save { font: inherit; font-size: 16px; font-weight: 600; color: #000; background: var(--accent); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; min-height: 48px; white-space: nowrap; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.show-layout { grid-template-columns: minmax(0, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 16px; min-width: 0; }
.card h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 600; }
.say h3 { font-size: 15px; margin: 0 0 6px; color: var(--accent); font-weight: 600; letter-spacing: .04em; }
.say ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.say li { font-size: 15px; }
.say .q li { font-style: italic; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.proof div { background: var(--panel2); border-radius: 12px; padding: 12px; }
.proof b { display: block; font-size: 26px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.proof span { font-size: 13px; color: var(--muted); }
.next { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 600; font-size: 17px; }
.note { color: var(--muted); font-size: 13px; margin: 0; }
.todo { color: var(--amber); font-size: 13px; margin: 8px 0 0; }
.pill { font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; color: var(--muted); background: var(--panel2); cursor: pointer; min-height: 44px; }
.pill[aria-pressed="true"] { background: var(--fg); color: #000; font-weight: 600; border-color: var(--fg); }
.go { font: inherit; font-size: 15px; font-weight: 600; color: #000; background: var(--accent); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; min-height: 44px; }
.ghost { font: inherit; font-size: 15px; color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; cursor: pointer; min-height: 44px; }
.row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.device { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px; align-items: center; }
.crew-device { grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 360px); }
.crew-dashboard { margin: 0; min-width: 0; max-width: 360px; justify-self: end; }
.dashboard-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel2); cursor: zoom-in; }
.dashboard-open img { display: block; width: 100%; height: auto; }
.crew-dashboard figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.phone { background: var(--panel2); border: 2px solid #2b3a40; border-radius: 34px; padding: 18px 14px; aspect-ratio: 9 / 17; max-width: 100%; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.screen { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.bubble { background: var(--panel); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.mic { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); border: 0; margin: auto; display: grid; place-items: center; cursor: pointer; }
.mic svg { width: 36px; height: 36px; }
.mic.rec { animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(116,255,255,.45) } 50% { box-shadow: 0 0 0 16px rgba(116,255,255,0) } }
.tag { display: inline-block; font-size: 12px; border-radius: 999px; padding: 3px 10px; background: #0f2a2f; color: var(--accent); margin: 2px 4px 2px 0; }
.tag.hi { background: #3a2a14; color: var(--amber); }
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; opacity: .35; transition: opacity .3s; }
.step.on { opacity: 1; }
.step i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); }
.step.on i { background: var(--accent); color: #000; }
.step b { display: block; font-size: 16px; }
.step span { font-size: 14px; color: var(--muted); }
.opt { font: inherit; text-align: left; font-size: 14px; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.opt.good { border-color: var(--ok); } .opt.meh { border-color: var(--amber); }
.bar { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar > div { height: 100%; background: var(--accent); border-radius: 6px; }
.lb { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
.chart { width: 100%; overflow-x: auto; }
.chart svg { display: block; width: 100%; min-width: 560px; height: auto; }
.training-demo { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.luz-show-top { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 420px); gap: 20px; align-items: start; }
.luz-show-top > .steps { align-self: center; min-width: 0; }
.luz-chart-column { display: grid; gap: 18px; align-content: start; min-width: 0; }
.luz-show-top .training-demo { border-top: 0; padding-top: 0; min-width: 0; gap: 9px; }
.luz-show-top .sph-demo { border-top: 1px solid var(--line); padding-top: 16px; }
.luz-show-top .training-demo .row { flex-wrap: nowrap; }
.luz-show-top .training-demo h2 { font-size: 11px; letter-spacing: .13em; }
.luz-show-top .training-demo .ghost { padding: 7px 12px; min-height: 34px; font-size: 13px; }
.luz-show-top .training-legend { font-size: 12px; gap: 7px 14px; }
.luz-show-top .training-chart svg { min-width: 0; }
.training-legend { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; font-size: 14px; }
.training-legend span { display: inline-flex; align-items: center; gap: 8px; }
.training-legend span::before { content: ''; display: inline-block; width: 18px; height: 4px; border-radius: 4px; background: #8C9CA2; }
.training-legend .training-luz::before { background: #31B5C7; }
.training-chart { width: 100%; overflow-x: auto; background: var(--panel2); border-radius: 12px; }
.training-chart svg { display: block; width: 100%; min-width: 560px; height: auto; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--panel2); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.stat .v { font-size: 32px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted); font-size: 13px; margin-top: 4px; }
.stat .stat-title { margin: 0 0 4px; }
.last-leg { display: grid; gap: 0; }
.last-leg > div { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; line-height: 1.05; }
.last-leg span { color: var(--muted); font-size: 12px; }
.last-leg b { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.calc { display: grid; gap: 14px; }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.calc label span { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 30px; }
.cost-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cost-compare > div { display: grid; gap: 5px; background: var(--panel2); border-radius: 12px; padding: 14px; min-width: 0; }
.cost-compare span, .cost-compare small { color: var(--muted); font-size: 13px; }
.cost-compare b { font-size: clamp(20px, 3vw, 28px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.big { font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.ob { display: grid; gap: 8px; }
.ob div { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; align-items: center; background: var(--panel2); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.ob em { font-style: normal; font-size: 13px; text-align: center; border-radius: 999px; padding: 4px 8px; }
.ob em.you { background: #3a2a14; color: var(--amber); }
.ob em.alt { background: #0f2a2f; color: var(--accent); }
.mor-scene { position: relative; height: 590px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 50% 80%, #14282c 0, var(--panel2) 58%); }
.mor-scene-title { position: absolute; z-index: 3; top: 16px; left: 20px; right: 20px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.mor-puzzle-area { position: absolute; inset: 54px 20px 22px; }
.mor-puzzle-board { position: absolute; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 0; }
.mor-slot { min-width: 0; border: 0; background: transparent; }
.mor-pieces { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.mor-piece { position: absolute; box-sizing: border-box; color: #0c171b; opacity: 0; transform-origin: center; }
.mor-piece-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 7px rgba(0,0,0,.25)); }
.mor-piece strong { position: absolute; left: 38px; right: 38px; top: 50%; transform: translateY(-50%); text-align: center; font-size: clamp(11px, 1.05vw, 13px); font-weight: 650; line-height: 1.17; }
.keep { background: var(--panel2); border-radius: 12px; padding: 12px; font-size: 15px; }
/* sheet */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 20; display: grid; place-items: center; padding: 16px; }
.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; width: min(720px, 100%); max-height: calc(100% - 32px); overflow-y: auto; padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.image-sheet { width: min(1200px, 100%); box-sizing: border-box; }
.image-sheet img { display: block; width: 100%; height: auto; border-radius: 10px; }
.sheet h2 { margin: 0; font-size: 24px; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--fg); background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; box-sizing: border-box; }
.field textarea { min-height: 84px; resize: vertical; }
.checks { display: flex; gap: 8px; flex-wrap: wrap; }
.checks label { display: flex; gap: 8px; align-items: center; background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 15px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--altura); }
.shown { background: var(--panel2); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.shown b { color: var(--fg); font-weight: 600; }
#dictate.on { background: var(--bad); border-color: var(--bad); color: #000; font-weight: 600; }
.err { color: var(--bad); font-size: 14px; margin: 0; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--fg); color: #000; font-weight: 600; padding: 12px 20px; border-radius: 999px; z-index: 30; }
/* leads */
.status { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--amber); }
.leads { display: grid; gap: 10px; }
.lead { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; }
.lead .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lead b { font-size: 17px; }
.lead .meta { font-size: 13px; color: var(--muted); }
.lead .demo { font-size: 14px; color: var(--muted); }
.empty { background: var(--panel); border: 1px dashed var(--line); border-radius: 14px; padding: 28px; text-align: center; color: var(--muted); }
@media (max-width: 980px) { .luz-show-top { grid-template-columns: 1fr; } .luz-show-top > .phone { max-width: 280px; margin: 0 auto; } .luz-show-top > .steps { align-self: start; } }
@media (max-width: 860px) { .split, .device, .grid2 { grid-template-columns: 1fr; } .phone { max-width: 280px; margin: 0 auto; } .stats { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cost-compare { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
