/* Lux Innovations · Office Check
   Brand from the real Lux site (Website/site/index.html): ink / bone / brass, Manrope, pill buttons,
   rounded photo cards, hairlines. The experience runs in the site's dark "inverse" mode for a cinematic
   feel; the final report switches to bone, like a printed document. */

:root {
  --ink: #18181A;
  --ink-2: #202023;
  --ink-3: #2A2A2E;
  --brass: #D0B875;
  --brass-dim: #B99F55;
  --bone: #EEEDE9;
  --bone-2: #E4E2DC;
  --paper: #F7F6F3;
  --good: #7FC8A0;

  --fg: var(--bone);
  --bg: var(--ink);
  --rule: rgba(238,237,233,.14);
  --muted: rgba(238,237,233,.62);
  --card: rgba(238,237,233,.045);

  --pad: clamp(1.25rem, 5vw, 3rem);
  --pill: 99999px;
  --r: 1.5rem;
  --ease: cubic-bezier(.22,1,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); min-height: 100dvh; overflow-x: hidden;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased;
  transition: background .8s var(--ease), color .8s var(--ease);
}
/* soft brass glow + film grain so the dark reads rich, not flat */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 35% at 85% 10%, rgba(208,184,117,.13), transparent 70%),
              radial-gradient(35% 30% at 5% 95%, rgba(208,184,117,.07), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.05); } }

body.light { --fg: var(--ink); --bg: var(--bone); --rule: rgba(24,24,26,.14); --muted: rgba(24,24,26,.68); --card: rgba(24,24,26,.04); }
body.light::before { opacity: .5; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 6px; }
h1:focus, h2:focus { outline: none; }
.ic { width: 1.5rem; height: 1.5rem; flex: none; }

/* ── type ─────────────────────────────────────── */
.display { font-weight: 600; letter-spacing: -.05em; line-height: .92; font-size: clamp(2.9rem, 12.5vw, 6.2rem); }
.h2 { font-weight: 600; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(1.85rem, 7vw, 3rem); }
.h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(1.2rem, 4.6vw, 1.55rem); }
.brass { color: var(--brass); }
body.light .brass { color: var(--brass-dim); }
.lede { font-size: clamp(1.05rem, 4vw, 1.2rem); line-height: 1.55; color: var(--muted); letter-spacing: -.01em; }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .5; flex: none; }
.help { color: var(--muted); font-size: .98rem; line-height: 1.5; margin-top: .8rem; max-width: 44ch; }

/* ── bar ──────────────────────────────────────── */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(.85rem + env(safe-area-inset-top)) var(--pad) .85rem;
  background: linear-gradient(to bottom, var(--bg) 55%, transparent); transition: background .8s var(--ease); }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { width: 15px; }
.brand b { font-weight: 700; letter-spacing: -.02em; font-size: .95rem; line-height: 1; }
.brand b i { font-style: normal; font-weight: 300; opacity: .6; }
.bar-for { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52%;
  padding: .45rem .8rem; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--rule); }
.bar-for:empty { display: none; }
.chapters { position: absolute; left: var(--pad); right: var(--pad); bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.chapters i { height: 2px; border-radius: 2px; background: var(--rule); overflow: hidden; position: relative; }
.chapters i b { position: absolute; inset: 0; width: 0; background: var(--brass); transition: width .7s var(--ease); }

/* ── stage ────────────────────────────────────── */
main { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: clamp(1.2rem, 4vw, 2.5rem) var(--pad) 9rem; }
.screen { animation: enter .75s var(--ease) both; }
.screen.out { animation: leave .28s ease-in both; }
@keyframes enter { from { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes leave { to { opacity: 0; transform: translateY(-16px); filter: blur(3px); } }
.stagger > * { animation: enter .7s var(--ease) both; }
.stagger > *:nth-child(2) { animation-delay: .06s } .stagger > *:nth-child(3) { animation-delay: .12s }
.stagger > *:nth-child(4) { animation-delay: .18s } .stagger > *:nth-child(5) { animation-delay: .24s }
.stagger > *:nth-child(6) { animation-delay: .3s }  .stagger > *:nth-child(7) { animation-delay: .36s }
.stagger > *:nth-child(n+8) { animation-delay: .42s }

/* ── buttons ──────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .7rem; border: 0; cursor: pointer; border-radius: var(--pill);
  padding: 1rem 1.6rem; font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  background: var(--bone); color: var(--ink); transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn:hover { background: var(--brass); }
.btn:active { transform: scale(.97); }
.btn.brass { background: var(--brass); color: var(--ink); box-shadow: 0 10px 40px -10px rgba(208,184,117,.55); }
.btn.brass:hover { background: var(--bone); }
.btn.lg { padding: 1.2rem 2rem; font-size: 1.02rem; }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--rule); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); background: transparent; }
.btn[disabled] { opacity: .28; pointer-events: none; }
.btn .ic { width: 1.1rem; height: 1.1rem; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
body.light .btn { background: var(--ink); color: var(--bone); }
body.light .btn.brass { background: var(--brass); color: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.back { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .9rem; padding: .6rem 0; }
.back:hover { color: var(--fg); }

/* ── welcome: full-bleed photo ────────────────── */
.hero { margin: calc(-1 * clamp(1.2rem, 4vw, 2.5rem)) calc(-1 * var(--pad)) 0; position: relative; }
.hero-img { position: relative; height: min(68svh, 640px); overflow: hidden; }
.hero-img img, .hero-img video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(24,24,26,.1) 30%, rgba(24,24,26,.55) 62%, var(--ink) 98%); }
.hero-copy { position: relative; margin-top: -9.5rem; padding: 0 var(--pad); z-index: 2; }
.hero-tag { position: absolute; top: 1rem; right: var(--pad); z-index: 3; font-size: .72rem; line-height: 1.35; text-align: right;
  background: rgba(24,24,26,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 1rem; padding: .6rem .85rem; }
.hero-tag b { display: block; font-size: .82rem; }
.hero-tag span { color: var(--muted); }
.play { position: absolute; z-index: 3; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(238,237,233,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(238,237,233,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(238,237,233,.06); } }
.hook { margin-top: 1.6rem; font-size: 1.05rem; line-height: 1.55; padding: .2rem 0 .2rem 1.1rem; border-left: 2px solid var(--brass); max-width: 48ch; }
.note { margin-top: 1.6rem; display: grid; gap: .9rem; max-width: 50ch; }
.cta { margin-top: 1.6rem; }   /* same gap as headline → text above */
.note p { color: var(--muted); line-height: 1.65; }
.note p:first-child { color: var(--fg); font-size: 1.12rem; line-height: 1.5; }
.facts { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.facts div { padding: 1rem .5rem 0 0; }
.facts dt { font-size: clamp(1.3rem, 5.5vw, 1.8rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.facts dd { font-size: .76rem; color: var(--muted); margin-top: .35rem; line-height: 1.4; }
@media (min-width: 900px) {
  main.wide { max-width: 1180px; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin: 0; }
  .hero-img { height: min(80vh, 760px); border-radius: 2rem; }
  .hero-img::after { background: linear-gradient(to bottom, transparent 60%, rgba(24,24,26,.5)); }
  .hero-copy { margin: 0; padding: 0; }
}

/* ── chapter card ─────────────────────────────── */
.chapter { min-height: 64svh; display: grid; align-content: center; gap: 1rem; position: relative; }
.chapter .num { font-size: clamp(7rem, 34vw, 13rem); font-weight: 700; letter-spacing: -.07em; line-height: .8; color: transparent;
  -webkit-text-stroke: 1.5px var(--brass); animation: numIn 1s var(--ease) both; }
@keyframes numIn { from { opacity: 0; transform: translateY(40px); letter-spacing: -.02em; } }
.chapter .line { height: 1px; background: var(--brass); transform-origin: left; animation: draw 1.1s var(--ease) .3s both; }
@keyframes draw { from { transform: scaleX(0); } }

/* ── tiles ────────────────────────────────────── */
.tiles { display: grid; gap: .65rem; margin-top: 1.7rem; }
.tiles.c2 { grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: flex; align-items: center; gap: .9rem; text-align: left; cursor: pointer; min-height: 64px;
  padding: 1.05rem 1.1rem; border-radius: 1.1rem; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule);
  font-size: 1rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25;
  transition: transform .4s var(--spring), background .3s, color .3s, box-shadow .3s; }
.tiles.c2 .tile { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 108px; gap: 1.1rem; }
.tiles.c2 .tile.plain { min-height: 72px; justify-content: center; }
.tile .ic { color: var(--brass); width: 1.7rem; height: 1.7rem; transition: color .3s; }
.tile small { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: .25rem; letter-spacing: 0; }
@media (hover: hover) { .tile:hover { box-shadow: inset 0 0 0 1px rgba(238,237,233,.4); transform: translateY(-2px); } }
.tile:active { transform: scale(.97); }
.tile.sel { background: var(--brass); color: var(--ink); box-shadow: 0 14px 40px -14px rgba(208,184,117,.7); }
.tile.sel .ic, .tile.sel small { color: var(--ink); }
.tile .tick { position: absolute; top: .7rem; right: .7rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--rule); }
.tile.sel .tick { background: var(--ink); box-shadow: none; }
.tile .tick svg { width: 13px; height: 13px; color: var(--brass); opacity: 0; transform: scale(.4); transition: all .35s var(--spring); }
.tile.sel .tick svg { opacity: 1; transform: none; }
.tiles.c1 .tile { padding-right: 3rem; }
.tiles.c1 .tile .tick { top: 50%; transform: translateY(-50%); right: 1rem; }

/* showcase: bigger cards with description */
.show .tile { align-items: flex-start; padding: 1.2rem 3rem 1.2rem 1.1rem; }
.show .tile b { display: block; font-size: 1.05rem; }

/* ── swipe deck ───────────────────────────────── */
.deck { position: relative; height: 330px; margin: 1.6rem auto 0; max-width: 420px; }
.card { position: absolute; inset: 0; border-radius: 1.8rem; background: var(--bone); color: var(--ink); padding: 1.8rem;
  display: flex; flex-direction: column; justify-content: space-between; cursor: grab; touch-action: pan-y; user-select: none;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); transition: transform .45s var(--ease), opacity .45s; will-change: transform; }
.card:nth-last-child(2) { transform: translateY(14px) scale(.95); opacity: .7; }
.card:nth-last-child(3) { transform: translateY(28px) scale(.9); opacity: .4; }
.card:nth-last-child(n+4) { opacity: 0; transform: translateY(28px) scale(.9); }
.card.drag { transition: none; cursor: grabbing; }
.card .q { font-size: clamp(1.55rem, 6.6vw, 2.1rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.card .meta { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(24,24,26,.5); }
.card .stamp { position: absolute; top: 1.6rem; padding: .4rem .8rem; border-radius: .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: 0; }
.card .stamp.yes { right: 1.4rem; color: #2f7d55; box-shadow: inset 0 0 0 2px #2f7d55; transform: rotate(8deg); }
.card .stamp.no { left: 1.4rem; color: #9a4b3b; box-shadow: inset 0 0 0 2px #9a4b3b; transform: rotate(-8deg); }
.swipe-btns { display: flex; justify-content: center; gap: 1.4rem; margin-top: 2.6rem; }
.round { width: 68px; height: 68px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); color: var(--fg); transition: transform .3s var(--spring), background .3s; }
.round .ic { width: 1.7rem; height: 1.7rem; }
.round.yes { background: var(--brass); color: var(--ink); box-shadow: none; }
.round:active { transform: scale(.9); }
.swipe-legend { display: flex; justify-content: center; gap: 3.2rem; margin-top: .6rem; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.tally { text-align: center; margin-top: 1.2rem; font-size: .85rem; color: var(--muted); }

/* ── slider ───────────────────────────────────── */
.slide-val { font-size: clamp(4.4rem, 24vw, 8rem); font-weight: 600; letter-spacing: -.07em; line-height: .9; margin: 2rem 0 .3rem; color: var(--brass); font-variant-numeric: tabular-nums; }
.slide-val small { font-size: .2em; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-left: .5rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 52px; background: none; margin: .5rem 0 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--brass) var(--fill, 30%), var(--rule) var(--fill, 30%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--rule); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--brass); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bone); margin-top: -15px; box-shadow: 0 0 0 6px rgba(208,184,117,.35), 0 8px 20px rgba(0,0,0,.4); }
input[type=range]::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bone); }
.ticks { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); }

/* ── insight: the year grid ───────────────────── */
.year { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 5px; margin: 1.8rem 0 1rem; }
.year i { height: 0; padding-bottom: 100%; align-self: start; border-radius: 4px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); transition: background .3s, box-shadow .3s, transform .4s var(--spring); }
.year i.on { background: var(--brass); box-shadow: none; transform: scale(1.04); }
.year i.half { background: linear-gradient(90deg, var(--brass) var(--p), var(--card) var(--p)); }
.legend { display: flex; gap: 1.2rem; font-size: .78rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .45rem; background: var(--brass); vertical-align: -1px; }
.legend span + span::before { background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.big-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1.6rem; }
.big-stats div { padding: 1.1rem; border-radius: 1.1rem; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.big-stats b { display: block; font-size: clamp(1.7rem, 8vw, 2.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-stats span { display: block; font-size: .8rem; color: var(--muted); margin-top: .4rem; line-height: 1.35; }
.big-stats div.hi { background: var(--brass); color: var(--ink); box-shadow: none; }
.big-stats div.hi span { color: rgba(24,24,26,.7); }

/* ── chips / text / fields ────────────────────── */
.part { margin-top: 1.7rem; }
.part-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 0; background: var(--card); border-radius: var(--pill); padding: .85rem 1.15rem; cursor: pointer; font-size: .95rem; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--rule); transition: all .3s var(--spring); }
.chip.sel { background: var(--brass); color: var(--ink); box-shadow: none; transform: scale(1.03); }
textarea, input[type=text], input[type=email], input[type=tel] { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; padding: .9rem .1rem; border-radius: 0; }
textarea { min-height: 170px; resize: vertical; margin-top: 1.6rem; border: 0; box-shadow: inset 0 0 0 1px var(--rule); border-radius: 1.2rem; padding: 1.1rem 1.2rem; line-height: 1.5; background: var(--card); }
textarea::placeholder, input::placeholder { color: rgba(238,237,233,.3); }
.fields { margin-top: 1rem; display: grid; }
.fields label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 1.4rem; }

/* ── meter ────────────────────────────────────── */
.meter[hidden], .meter-cell[hidden] { display: none; }
.meter { position: fixed; z-index: 40; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 20px);
  bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; padding: .7rem .5rem; border-radius: var(--pill);
  background: rgba(32,32,35,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(208,184,117,.35), 0 18px 50px rgba(0,0,0,.45); animation: enter .6s var(--ease) both; }
.meter-cell { padding: 0 1rem; text-align: center; border-left: 1px solid var(--rule); }
.meter-cell:first-child { border-left: 0; }
.meter-cell b { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: -.03em; color: var(--brass); font-variant-numeric: tabular-nums; line-height: 1.2; }
.meter-cell span { font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 380px) { .meter-cell { padding: 0 .6rem; } .meter-cell b { font-size: .98rem; } }

/* ── processing ───────────────────────────────── */
.processing { min-height: 64svh; display: grid; align-content: center; gap: 2rem; }
.steps { display: grid; gap: .9rem; }
.steps li { display: flex; align-items: center; gap: .9rem; font-size: 1.05rem; color: var(--muted); transition: color .4s; }
.steps li i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule); display: grid; place-items: center; flex: none; position: relative; }
.steps li.busy i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--brass); animation: spin .8s linear infinite; }
.steps li.done { color: var(--fg); }
.steps li.done i { background: var(--brass); box-shadow: none; }
.steps li i svg { width: 14px; height: 14px; color: var(--ink); opacity: 0; }
.steps li.done i svg { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── dashboard preview (the wow) ──────────────── */
.dash { margin-top: 1.8rem; border-radius: 1.4rem; background: #111113; box-shadow: 0 0 0 1px rgba(238,237,233,.1), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 120px -40px rgba(208,184,117,.35);
  overflow: hidden; animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: perspective(1200px) rotateX(14deg) translateY(40px) scale(.96); } }
.dash-top { display: flex; align-items: center; gap: .45rem; padding: .75rem 1rem; border-bottom: 1px solid rgba(238,237,233,.08); font-size: .74rem; color: var(--muted); }
.dash-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(238,237,233,.14); }
.dash-top span { margin-left: .6rem; font-weight: 600; }
.dash-top em { margin-left: auto; font-style: normal; color: var(--good); display: flex; align-items: center; gap: .35rem; }
.dash-top em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.dash-body { padding: 1.1rem; display: grid; gap: .8rem; }
.dash-title { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.dash-title small { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 620px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: .85rem; border-radius: .9rem; background: rgba(238,237,233,.04); box-shadow: inset 0 0 0 1px rgba(238,237,233,.07); }
.kpi span { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpi b { display: block; font-size: 1.45rem; font-weight: 700; letter-spacing: -.04em; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.kpi b.brass { color: var(--brass); }
.kpi small { font-size: .7rem; color: var(--good); }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: .9rem; border-radius: .9rem; background: rgba(238,237,233,.04); box-shadow: inset 0 0 0 1px rgba(238,237,233,.07); }
.chart i { flex: 1; border-radius: 4px 4px 1px 1px; background: rgba(238,237,233,.16); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.chart i.after { background: var(--brass); }
@keyframes grow { from { transform: scaleY(0); } }
.chart-legend { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); }
.autos { display: grid; gap: .45rem; }
.auto { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: .8rem; background: rgba(238,237,233,.04); font-size: .85rem; }
.auto i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); flex: none; animation: blink 2s infinite; }
.auto span { margin-left: auto; font-size: .7rem; color: var(--muted); white-space: nowrap; }
.dash-note { font-size: .78rem; color: var(--muted); margin-top: .9rem; text-align: center; }

/* ── the report (bone) ────────────────────────── */
.report .rail { border-top: 1px solid var(--rule); display: grid; margin-top: 1.8rem; }
.report .rail div { padding: 1.1rem 0 1rem; border-bottom: 1px solid var(--rule); }
.report .rail dt { font-size: clamp(2.8rem, 13vw, 4.4rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.report .rail dd { font-size: .9rem; color: var(--muted); margin-top: .45rem; }
@media (min-width: 700px) { .report .rail { grid-template-columns: repeat(3, 1fr); } .report .rail div + div { padding-left: 1.2rem; border-left: 1px solid var(--rule); } }
.block { margin-top: clamp(2.8rem, 9vw, 4.2rem); }
.stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: 1.3rem 0 1rem; }
.stage div { border-top: 3px solid var(--rule); padding-top: .6rem; font-size: .74rem; color: var(--muted); }
.stage div.past { border-top-color: rgba(185,159,85,.45); }
.stage div.on { border-top-color: var(--brass-dim); color: var(--fg); font-weight: 700; }
.fix { padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.fix:first-of-type { border-top: 1px solid var(--rule); margin-top: 1.4rem; }
.fix .n { font-size: .7rem; font-weight: 800; letter-spacing: .14em; color: var(--brass-dim); }
.fix h3 { margin-top: .4rem; }
.fix p { margin-top: .5rem; color: var(--muted); line-height: 1.6; max-width: 52ch; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: 1rem; }
.flow span { font-size: .78rem; font-weight: 600; padding: .4rem .75rem; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--rule); }
.flow span:last-child { background: var(--ink); color: var(--bone); box-shadow: none; }
.flow svg { width: 14px; height: 14px; color: var(--muted); }
.compare { width: 100%; border-collapse: collapse; margin-top: 1.4rem; font-size: .92rem; }
.compare th { text-align: left; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 .6rem .7rem 0; }
.compare td { border-top: 1px solid var(--rule); padding: .9rem .6rem .9rem 0; vertical-align: top; line-height: 1.45; }
.compare td:first-child { color: var(--muted); width: 50%; }
.compare td:last-child { font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.tags span { font-size: .8rem; font-weight: 600; padding: .4rem .85rem; border-radius: var(--pill); box-shadow: inset 0 0 0 1px currentColor; opacity: .8; }
.bring { border-top: 1px solid var(--rule); margin-top: 1.3rem; }
.bring li { padding: 1rem 0 1rem 1.8rem; border-bottom: 1px solid var(--rule); position: relative; line-height: 1.5; }
.bring li::before { content: ""; position: absolute; left: .2rem; top: 1.5rem; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-dim); }
.close { display: grid; gap: 1.6rem; align-items: end; }
@media (min-width: 700px) { .close { grid-template-columns: 1fr 230px; } }
.photo { position: relative; border-radius: 1.6rem; overflow: hidden; aspect-ratio: 3 / 4; max-width: 230px; background: var(--bone-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; background: rgba(24,24,26,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--bone); border-radius: .75rem; padding: .6rem .85rem; font-size: .76rem; line-height: 1.35; }
.photo figcaption b { display: block; font-size: .84rem; }
.photo figcaption span { color: rgba(238,237,233,.68); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1.4rem; }
.phone { font-weight: 700; box-shadow: inset 0 -2px 0 var(--brass); }
.fine { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-top: 2.4rem; max-width: 56ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  body, body.light { background: #fff; --fg: var(--ink); --rule: rgba(24,24,26,.14); --muted: rgba(24,24,26,.7); }
  body::before, body::after, .meter, .chapters, .nav, .actions, .no-print, .dash { display: none !important; }
  .bar { position: static; background: none; padding: 0 0 6mm; }
  main { max-width: none; padding: 0; }
  .screen { animation: none; }
  .fix, .report .rail div { break-inside: avoid; }
  .close .photo { display: none; }
}
