/* Mitqor home page - dark theme in the logo's own colours.
   The logo is a royal-blue to cyan gradient, so that is the whole palette:
   deep navy ground, blue for structure, cyan as the single bright signal.
   A fixed WebGL network (bg3d.js) sits behind every section, so sections are
   transparent / glass rather than solid blocks. */

:root {
  --bg: #030a1c;
  --bg-2: #061330;
  --panel: rgba(7, 19, 48, 0.72);
  --glass: rgba(10, 26, 62, 0.58);
  --glass-2: rgba(14, 34, 78, 0.7);
  --line: rgba(110, 160, 255, 0.2);
  --line-strong: rgba(120, 180, 255, 0.42);
  --blue: #0858f8;
  --azure: #0878f8;
  --sky: #08a8f8;
  --cyan: #08d8e8;
  --deep: #01359c;
  --text: #e9f1ff;
  --muted: #9fb2d4;
  --radius: 16px;
  --grad: linear-gradient(135deg, #0858f8 0%, #0890f8 100%);
  --grad-wide: linear-gradient(90deg, #0858f8, #08a8f8 55%, #08e0ec);
  --display: "Archivo", "Public Sans", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: var(--body); color: var(--text); background: transparent; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 90%; letter-spacing: -0.015em; line-height: 1.05; margin: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

#bg3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 70% 10%, #07204f 0%, var(--bg) 62%); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }
.accent { color: var(--cyan); }

.stripe { height: 3px; background: var(--grad-wide); }

#scroll-progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: var(--grad-wide); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-stretch: 94%; font-weight: 800; font-size: 16px;
  padding: 14px 26px; border-radius: 12px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 34px -8px rgba(8, 120, 248, 0.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(8, 200, 248, 0.7), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(8,216,232,.08); }
.btn-dark { background: var(--grad); color: #fff; }

/* ---------- Nav ---------- */
.site-nav { position: sticky; top: 0; z-index: 60; background: rgba(3, 10, 28, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; position: relative; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.nav-logo-img { height: 32px; width: auto; }
.nav-logo-text { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -0.01em; }
.nav-toggle { margin-left: auto; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #fff; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(3,10,28,.97); padding: 8px 24px 20px; border-bottom: 1px solid var(--line); }
.nav-links.open { display: flex; }
.nav-links a { color: rgba(233,241,255,.85); text-decoration: none; font-weight: 500; padding: 13px 0; border-bottom: 1px solid var(--line); }
.nav-links a:hover { color: var(--cyan); }
.nav-links .nav-links-cta { margin-top: 14px; border: 0; justify-content: center; color: #fff; }
.nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; align-items: center; gap: 26px; margin-left: auto; padding: 0; background: transparent; border: 0; }
  .nav-links a { padding: 0; border: 0; font-size: 14.5px; }
  .nav-links .nav-links-cta { display: none; }
  .nav-cta { display: inline-flex; padding: 10px 18px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; overflow: hidden; }
.hero-inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1fr 1.05fr; min-height: 580px; } }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 900; line-height: 1; }
.hero .word { display: inline-block; }
.lead { font-size: 19px; color: var(--muted); max-width: 50ch; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: 13.5px; color: var(--muted); max-width: 52ch; }
.hero-note a { color: var(--cyan); font-weight: 600; }

/* Orbit: the platform's modules circling the Mitqor mark */
.hero-visual { position: relative; height: 420px; }
@media (min-width: 980px) { .hero-visual { height: 540px; } }
.orbit-wrap { position: absolute; inset: 0; perspective: 1200px; }
.orbit { position: absolute; inset: 0; transform-style: preserve-3d; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%, -50%); z-index: 100; pointer-events: none; }
.orbit-core img { width: 100%; filter: drop-shadow(0 0 28px rgba(8,168,248,.8)) drop-shadow(0 0 70px rgba(8,88,248,.7)); animation: breathe 4.5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); filter: drop-shadow(0 0 40px rgba(8,216,232,.9)) drop-shadow(0 0 90px rgba(8,88,248,.8)); } }
.orbit-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(8,168,248,.35); border-radius: 50%; transform: translate(-50%, -50%) rotateX(72deg); pointer-events: none; }
.orbit-ring.r1 { width: 440px; height: 440px; }
.orbit-ring.r2 { width: 300px; height: 300px; border-color: rgba(8,216,232,.28); border-style: dashed; }
@media (min-width: 980px) { .orbit-ring.r1 { width: 560px; height: 560px; } .orbit-ring.r2 { width: 390px; height: 390px; } .orbit-core { width: 180px; } }

.orbit-card {
  position: absolute; left: 50%; top: 50%; width: 200px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(14,36,84,.92), rgba(7,20,52,.92)); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); will-change: transform, opacity;
  font-size: 12.5px; color: var(--text);
}
@media (min-width: 980px) { .orbit-card { width: 205px; font-size: 12.5px; } }
.oc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--display); font-stretch: 92%; font-weight: 800; font-size: 14px; color: #fff; }
.oc-tag { font-family: var(--body); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(8,216,232,.14); color: var(--cyan); white-space: nowrap; }
.oc-tag.warn { background: rgba(255,200,80,.14); color: #ffd36b; }
.oc-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(110,160,255,.14); color: var(--muted); }
.oc-row b { color: #fff; font-variant-numeric: tabular-nums; font-weight: 600; }
.oc-big { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--cyan); font-variant-numeric: tabular-nums; margin-top: 4px; }
.oc-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 2px 0 6px; }
.oc-photos i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #0848c8, #08a8f8); }
.oc-photos i:nth-child(2) { background: linear-gradient(135deg, #01359c, #0878f8); }
.oc-photos i:nth-child(3) { background: linear-gradient(135deg, #0878f8, #08d8e8); }
.live-pill { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #4ade80; font-size: 10.5px; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(7,19,48,.6); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; gap: 30px; font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 20px; white-space: nowrap; color: #fff; }
.marquee-dot { color: var(--cyan); opacity: .7; }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin: 0 0 52px; }
.section-eyebrow { font-weight: 700; font-size: 14px; color: var(--cyan); margin-bottom: 14px; padding-left: 14px; border-left: 3px solid; border-image: linear-gradient(var(--blue), var(--cyan)) 1; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.word { display: inline-block; }
.tint { background: var(--panel); }
.dark { background: transparent; }

/* ---------- Tour ---------- */
.tour-shell { max-width: 960px; margin: 0 auto; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tour-tab { font-family: var(--display); font-stretch: 94%; font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tour-tab:hover { border-color: var(--cyan); }
.tour-tab.active { background: var(--grad); border-color: transparent; color: #fff; }
.tour-window { background: rgba(4, 12, 32, .88); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(8,88,248,.55); }
.tour-titlebar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); }
.tour-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.tour-url { margin-left: 12px; font-size: 12px; color: var(--muted); }
.tour-body { padding: 24px; min-height: 340px; }
.tour-panel { display: none; }
.tour-panel.active { display: block; }
.tour-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tour-panel-head h3 { font-size: 24px; font-weight: 800; }
.tour-panel-count { font-size: 12px; font-weight: 700; color: #04122e; background: var(--cyan); padding: 4px 10px; border-radius: 999px; }
.tour-job-row, .tour-clock-row, .tour-invoice-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 9px; background: rgba(255,255,255,.035); font-size: 14.5px; }
.tour-job-row[data-job] { cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.tour-job-row[data-job]:hover, .tour-job-row[data-job]:focus-visible { background: rgba(8,168,248,.12); border-color: var(--sky); transform: translateX(4px); }
.tour-job-name { margin: 0; font-weight: 700; color: #fff; }
.tour-job-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.tour-clock-time { font-variant-numeric: tabular-nums; color: var(--cyan); font-weight: 700; }
.tour-invoice-head { font-weight: 800; background: rgba(8,168,248,.1); border-color: var(--line-strong); }
.tour-ot { font-style: normal; color: var(--cyan); font-size: 12px; margin-left: 6px; }
.tour-hint { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.tour-back { background: none; border: 0; color: var(--cyan); font-weight: 700; cursor: pointer; padding: 0 0 10px; font-family: inherit; }
.tour-detail-name { font-size: 28px; font-weight: 900; }
.tour-detail-sub { color: var(--muted); margin: 4px 0 18px; }
.tour-detail-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .tour-detail-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.tour-mini-card { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.tour-mini-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--cyan); }
.tour-detail-materials { margin: 0 0 12px; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.tour-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.tour-photo { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #01359c, #0878f8); }
.tour-p2 { background: linear-gradient(135deg, #0848c8, #08a8f8); }
.tour-p3 { background: linear-gradient(135deg, #0878f8, #08d8e8); }
.tour-btn { font-family: var(--display); font-stretch: 94%; font-weight: 800; font-size: 14px; background: var(--grad); color: #fff; border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; margin-top: 8px; transition: transform .12s; }
.tour-btn:hover { transform: translateY(-2px); }
.tour-btn:disabled { opacity: .6; cursor: default; transform: none; }
.tour-btn-active { background: #ef4444; }
.tour-toast { min-height: 22px; margin: 12px 0 0; font-weight: 700; color: #4ade80; opacity: 0; }
.tour-toast.show { animation: toast 2.4s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(6px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.tag { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-green { background: rgba(74,222,128,.16); color: #4ade80; }
.tag-amber { background: rgba(8,216,232,.16); color: var(--cyan); }
.tag-blue { background: rgba(8,168,248,.2); color: #7cc8ff; }

/* ---------- Profit sequence (pinned) ---------- */
.profit { padding: 0; background: linear-gradient(180deg, transparent, rgba(4,16,44,.7) 12%, rgba(4,16,44,.7) 88%, transparent); }
.profit-stage { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 72px; }
.profit-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .profit-grid { grid-template-columns: 1fr 1fr; } }
.profit h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
.profit-copy p { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 20px 0 0; }
.profit-steps { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.profit-steps li { display: flex; gap: 12px; align-items: center; color: rgba(159,178,212,.55); font-weight: 600; transition: color .3s; }
.profit-steps li::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.profit-steps li.on { color: #fff; }
.profit-steps li.on::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.job-card { background: linear-gradient(160deg, rgba(14,36,84,.95), rgba(6,18,48,.95)); border: 1px solid var(--line-strong); color: var(--text); border-radius: 20px; padding: 26px; box-shadow: 0 60px 100px -40px rgba(8,88,248,.6); transform-style: preserve-3d; will-change: transform; }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; }
.job-card-top h3 { font-size: 26px; font-weight: 900; }
.job-card-top small { display: block; color: var(--muted); font-family: var(--body); font-weight: 500; font-size: 13px; margin-top: 4px; }
.job-card .tag-ok { background: rgba(74,222,128,.16); color: #4ade80; }
.job-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; opacity: .25; transform: translateX(-12px); }
.job-line b { font-variant-numeric: tabular-nums; }
.job-line.cost b { color: #ff8a8a; }
.job-profit { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding: 16px 18px; background: var(--grad); color: #fff; border-radius: 14px; }
.job-profit span { font-family: var(--display); font-weight: 800; font-size: 18px; }
.job-profit b { font-family: var(--display); font-size: 40px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* ---------- Glass cards (shared) ---------- */
.why-card, .feature-card, .show-card, .step, .stat-box, .faq-item, .addon-card, .pricing-card, #demo-form {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { padding: 26px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.why-card:hover { border-color: var(--sky); box-shadow: 0 24px 50px -24px rgba(8,168,248,.6); }
.why-icon { width: 52px; height: 52px; margin-bottom: 16px; overflow: visible; }
.why-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: 15px; }
.why-clock-hand-min, .why-clock-hand-hr { transform-origin: 32px 32px; animation: spin 4s linear infinite; }
.why-clock-hand-hr { animation-duration: 8s; }
@keyframes spin { to { transform: rotate(360deg); } }
.why-check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 3s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 40; } 30%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 40; } }
.why-bar { transform-origin: center bottom; animation: grow 2.6s cubic-bezier(.22,1,.36,1) infinite; }
.why-bar-2 { animation-delay: .15s; } .why-bar-3 { animation-delay: .3s; }
@keyframes grow { 0% { transform: scaleY(0); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.why-pin-pulse { transform-origin: center; animation: ping 2.2s ease-in-out infinite; }
@keyframes ping { 50% { transform: scale(1.35); opacity: .6; } }

/* ---------- Origin ---------- */
.origin-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .origin-inner { grid-template-columns: 1.2fr 1fr; } }
.origin-card { border-left: 4px solid; border-image: linear-gradient(var(--blue), var(--cyan)) 1; padding-left: 28px; }
.origin-card blockquote { margin: 0; font-family: var(--display); font-stretch: 92%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.12; color: #fff; }
.origin-card cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box { padding: 22px; }
.stat-box .num { display: block; font-family: var(--display); font-weight: 900; font-size: 44px; color: var(--cyan); line-height: 1; }
.stat-box .label { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { padding: 26px; cursor: pointer; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s; transform-style: preserve-3d; }
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-wide); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.feature-card:hover { border-color: var(--sky); box-shadow: 0 28px 50px -26px rgba(8,168,248,.65); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 8px 24px -8px rgba(8,120,248,.8); }
.feature-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feature-modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(1,6,18,.82); display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); }
.feature-modal-overlay.open { display: flex; }
body.modal-open { overflow: hidden; }
.feature-modal { position: relative; max-width: 620px; width: 100%; max-height: 88vh; overflow: auto; background: linear-gradient(160deg, #0b2152, #061330); border: 1px solid var(--line-strong); border-radius: 20px; padding: 34px; }
.feature-modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.feature-modal-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-modal-title { font-size: 30px; font-weight: 900; color: #fff; margin-bottom: 12px; font-family: var(--display); }
.feature-modal-text { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.65; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px; }
.step-num { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 26px; margin-bottom: 16px; box-shadow: 0 10px 28px -8px rgba(8,120,248,.8); }
.step h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Security ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-strong); font-weight: 600; }
.pill svg { color: var(--cyan); }

/* ---------- Add-on / pricing ---------- */
.addon-card, .pricing-card { padding: 32px; display: grid; gap: 22px; border-color: var(--line-strong); }
@media (min-width: 760px) { .addon-card { grid-template-columns: auto 1fr; } }
.addon-card-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }
.addon-card h3, .pricing-card h3 { font-size: 28px; font-weight: 900; margin-bottom: 10px; }
.addon-card p, .pricing-card p { margin: 0 0 14px; color: var(--muted); }
.addon-list, .pricing-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.addon-list li, .pricing-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.addon-list svg, .pricing-list svg { color: var(--cyan); flex-shrink: 0; margin-top: 4px; }
.addon-note { font-size: 14px; font-style: italic; }
.pricing-card { max-width: 760px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; display: grid; gap: 10px; }
.faq-item { padding: 0 22px; }
.faq-item[open] { border-color: var(--sky); }
.faq-item summary { cursor: pointer; font-family: var(--display); font-stretch: 94%; font-weight: 800; font-size: 19px; color: #fff; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--cyan); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; color: var(--muted); }

/* ---------- Demo form ---------- */
.demo-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: 1fr 1.1fr; } }
.demo-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; }
.demo-copy p { color: var(--muted); font-size: 18px; margin: 18px 0 22px; }
.demo-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.demo-copy li { display: flex; gap: 10px; align-items: flex-start; }
.demo-copy li svg { color: var(--cyan); flex-shrink: 0; margin-top: 4px; }
#demo-form { padding: 28px; display: grid; gap: 14px; border-color: var(--line-strong); background: var(--glass-2); }
.form-grid-2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 700; font-size: 14px; color: #fff; }
.form-row input, .form-row select, .form-row textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(2,8,24,.7); color: #fff; }
.form-row select option { color: #000; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8,216,232,.18); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--azure); }
#demo-form .btn-primary { width: 100%; }
.form-consent { margin: 0; font-size: 12.5px; color: var(--muted); }
.form-consent a { color: var(--cyan); }
.form-status { margin: 0; font-weight: 700; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #ff8a8a; }

/* ---------- Footer ---------- */
footer { background: rgba(2, 6, 18, .88); border-top: 1px solid var(--line); color: var(--muted); padding: 56px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--cyan); }
.fine-print { margin: 30px 0 0; font-size: 13px; color: rgba(159,178,212,.6); }

/* ---------- Motion safety ---------- */
.motion:not(.motion-ready) #hero-title,
.motion:not(.motion-ready) #hero-lead,
.motion:not(.motion-ready) #hero-actions,
.motion:not(.motion-ready) .hero-note,
.motion:not(.motion-ready) .orbit-wrap { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .job-line { opacity: 1; transform: none; }
}

/* =====================================================================
   Centered layout + bigger hero orbit + constellation + connection map
   (later rules intentionally override the earlier two-column layouts)
   ===================================================================== */

/* ---------- Hero: small centered text on top, big orbit below ---------- */
.hero { padding: 44px 0 52px; }
.hero-center { text-align: center; max-width: 880px; }
.hero h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 900; line-height: 1.04; }
.lead { font-size: 17px; max-width: 64ch; margin: 16px auto 22px; }
.hero-actions { justify-content: center; margin-bottom: 14px; }
.hero-note { margin: 0 auto; font-size: 13px; }
.hero-visual { max-width: 1180px; margin: 6px auto 0; height: 480px; }
@media (min-width: 980px) { .hero-visual { height: 680px; } }
.orbit-wrap { perspective: 1500px; }
.orbit-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.orbit { z-index: 2; }
.ol-core { stroke: rgba(8, 216, 232, 0.6); stroke-width: 1.3; }
.ol-star { stroke: rgba(130, 190, 255, 0.5); stroke-width: 1; }
.ol-dot { fill: #cfeaff; }
.ol-pulse { fill: #08e8f0; filter: drop-shadow(0 0 6px #08e8f0); }
.orbit-core { width: 170px; }
.orbit-core img { filter: drop-shadow(0 0 34px rgba(8,168,248,.85)) drop-shadow(0 0 90px rgba(8,88,248,.75)); }
.orbit-ring.r1 { width: 520px; height: 520px; }
.orbit-ring.r2 { width: 340px; height: 340px; }
@media (min-width: 980px) {
  .orbit-core { width: 250px; }
  .orbit-ring.r1 { width: 820px; height: 820px; }
  .orbit-ring.r2 { width: 540px; height: 540px; }
  .orbit-card { width: 220px; font-size: 13px; }
}
.orbit-chip {
  position: absolute; left: 50%; top: 50%; padding: 7px 15px; border-radius: 999px; white-space: nowrap;
  background: rgba(8,168,248,.14); border: 1px solid rgba(8,216,232,.5); color: #d6f2ff; font-weight: 700; font-size: 12.5px;
  box-shadow: 0 0 22px -4px rgba(8,168,248,.75); will-change: transform, opacity;
}

/* Live activity ticker */
.feed { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px auto 0; padding: 10px 20px; max-width: 760px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(7,19,48,.62); font-size: 14px; color: var(--text); }
.feed .live-pill { white-space: nowrap; }
.feed-item { transition: opacity .35s ease, transform .35s ease; min-height: 1.4em; text-align: left; }
.feed-item.out { opacity: 0; transform: translateY(6px); }

/* ---------- Centered section text ---------- */
.section-head { margin: 0 auto 52px; text-align: center; }
.section-head p { margin-left: auto; margin-right: auto; max-width: 60ch; }
.section-eyebrow { display: inline-block; padding: 0 0 6px; border-left: 0; border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--blue), var(--cyan)) 1; }
.tour-tabs { justify-content: center; }
.why-card, .step, .feature-card, .stat-box { text-align: center; }
.why-icon, .feature-icon, .step-num { margin-left: auto; margin-right: auto; }
.origin-inner { grid-template-columns: 1fr !important; text-align: center; gap: 48px; }
.origin-card { border-left: 0; padding: 28px 0 0; max-width: 920px; margin: 0 auto; border-top: 4px solid; border-image: linear-gradient(90deg, var(--blue), var(--cyan)) 1; }
.stat-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 940px; margin: 0 auto; width: 100%; }
.pill-row { justify-content: center; }
.addon-card { grid-template-columns: 1fr !important; text-align: center; justify-items: center; }
.addon-list, .pricing-list { display: inline-grid; text-align: left; }
.pricing-card { margin: 0 auto; text-align: center; }
.faq-list { margin: 0 auto; }
.demo-grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
.demo-copy ul { justify-items: center; }
.demo-copy li { text-align: left; }
#demo-form { width: 100%; max-width: 720px; text-align: left; }
.footer-top { flex-direction: column; justify-content: center; text-align: center; }
.footer-links { justify-content: center; }
.fine-print { text-align: center; }

/* ---------- Profit: centered heading, steps in a row, card below ---------- */
.profit-stage { padding: 92px 0 48px; }
.profit-grid { grid-template-columns: 1fr !important; text-align: center; gap: 26px; justify-items: center; }
.profit h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.profit-copy p { margin-left: auto; margin-right: auto; font-size: 17px; }
.profit-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; }
.profit-steps li { font-size: 14px; }
.job-card { width: 100%; max-width: 580px; padding: 22px; }
.job-line { padding: 9px 0; font-size: 15px; }
.job-profit b { font-size: 34px; }

/* ---------- Connection map ---------- */
.map-shell { max-width: 1000px; margin: 0 auto; }
.map { width: 100%; height: auto; overflow: visible; }
.map-line { stroke: rgba(8, 168, 248, 0.5); stroke-width: 1.5; stroke-dasharray: 4 7; }
.map-pulse { fill: #08e8f0; filter: drop-shadow(0 0 7px #08e8f0); }
.map-center rect { fill: rgba(6, 20, 52, 0.96); stroke: url(#mapGrad); stroke-width: 2.5; }
.map-center-label { fill: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; }
.map-node rect { fill: rgba(10, 26, 62, 0.92); stroke: rgba(120, 180, 255, 0.5); stroke-width: 1.3; transition: stroke .2s; }
.map-node:hover rect { stroke: var(--cyan); }
.mn-title { fill: #fff; font-family: var(--display); font-weight: 800; font-size: 17px; }
.mn-sub { fill: #9fb2d4; font-family: var(--body); font-size: 13px; }
.map-fallback { display: none; list-style: none; padding: 0; margin: 0; grid-template-columns: 1fr 1fr; gap: 10px; }
.map-fallback li { background: var(--glass); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px; text-align: center; }
.map-fallback b { display: block; color: #fff; font-family: var(--display); }
.map-fallback span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .map { display: none; } .map-fallback { display: grid; } }

/* tighter first screen: one-line headline, orbit starts closer to the text */
.hero { padding: 36px 0 44px; }
.hero h1 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); }
.lead { font-size: 16.5px; margin: 12px auto 18px; }
.hero-visual { margin-top: 34px; height: 460px; }
@media (min-width: 980px) { .hero-visual { height: 600px; } }

/* Phones: a smaller, calmer orbit (five cards, no service chips) */
@media (max-width: 700px) {
  .hero-visual { height: 430px; margin-top: 18px; }
  .hero-visual { height: 470px; }
  .orbit-card { width: 134px; padding: 8px 9px; font-size: 10px; }
  .oc-head { font-size: 11.5px; margin-bottom: 4px; gap: 4px; }
  .oc-tag, .live-pill { font-size: 9.5px; }
  .oc-row { padding: 3px 0; gap: 4px; }
  .oc-big { font-size: 18px; }
  .orbit-chip { display: none; }
  .orbit-core { width: 96px; }
  .orbit-ring.r1 { width: 330px; height: 330px; }
  .orbit-ring.r2 { width: 220px; height: 220px; }
  .feed { font-size: 12.5px; padding: 8px 14px; flex-direction: column; gap: 4px; border-radius: 18px; }
  .feed-item { text-align: center; }
}

/* Feature grid: centered rows, so a short last row sits in the middle */
.feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.feature-grid > .feature-card { flex: 0 1 100%; }
@media (min-width: 720px) { .feature-grid > .feature-card { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1040px) { .feature-grid > .feature-card { flex-basis: calc((100% - 32px) / 3); } }

/* Labelled stars: the story of a job, in order, as you scroll */
#bg-labels { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px; white-space: nowrap; opacity: 0; will-change: transform, opacity; font: 700 13px var(--body); color: #e6f6ff; }
.bg-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.bg-label span { padding: 4px 11px; border: 1px solid rgba(8, 216, 232, 0.4); border-radius: 999px; background: rgba(5, 16, 42, 0.68); text-shadow: 0 0 10px rgba(8, 168, 248, 0.7); }
.bg-label.hot span { border-color: var(--cyan); background: rgba(8, 40, 80, 0.85); color: #fff; box-shadow: 0 0 22px -2px rgba(8, 216, 232, 0.85); }
@media (max-width: 700px) { .bg-label { font-size: 10.5px; } .bg-label span { padding: 3px 8px; } }

/* Hero: the small print needs clear space below the buttons */
.hero-actions { margin-bottom: 30px; }
.bg-label.rtl { flex-direction: row-reverse; }

/* Add-ons: stacked cards, with a little room between them */
#addons .wrap { display: grid; gap: 22px; }
#addons .section-head { margin-bottom: 18px; }
.addon-list li > span { text-align: left; }
.addon-list { max-width: 720px; }

/* Phones: never let the page be wider than the screen */
html, body { overflow-x: clip; max-width: 100%; }
.origin-inner { grid-template-columns: minmax(0, 1fr) !important; }
.origin-inner > * { min-width: 0; }
.origin-card blockquote { overflow-wrap: anywhere; }
.profit-grid { grid-template-columns: minmax(0, 1fr) !important; }
.profit-grid > * { min-width: 0; max-width: 100%; }
@media (max-width: 700px) { .orbit-ring.r1 { width: min(330px, 92vw); height: min(330px, 92vw); } }
/* Phones: footer links big enough for a thumb */
@media (max-width: 700px) {
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
  .footer-links a { display: inline-block; padding: 12px 10px; min-height: 44px; box-sizing: border-box; }
}

/* ---------- More tour panels (estimates, subs, client portal, training, closeout) ---------- */
.tag-warn { background: rgba(255,200,80,.16); color: #ffd36b; }
.tag-red { background: rgba(255,90,90,.16); color: #ff8a8a; }
.tour-btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.tour-btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.tour-portal { max-width: 460px; margin: 0 auto; padding: 16px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(8,24,60,.7); }
.tour-portal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.tour-portal-photos { margin-bottom: 12px; }
.tour-panel .tour-btn { display: block; margin-left: auto; margin-right: auto; }
.tour-btn-row .tour-btn { display: inline-block; margin: 0; }
.tour-job-row > div { min-width: 0; text-align: left; }
.tour-job-sub { overflow-wrap: anywhere; }

/* Ten tabs: a swipeable row on phones instead of five wrapped lines */
@media (max-width: 700px) {
  .tour-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: -24px; margin-right: -24px; padding: 2px 24px 8px; scroll-snap-type: x proximity; scroll-padding: 0 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex: 0 0 auto; padding: 9px 14px; font-size: 14px; scroll-snap-align: start; }
  .tour-body { padding: 16px; min-height: 0; }
  .tour-job-row, .tour-clock-row, .tour-invoice-head { padding: 12px; font-size: 13.5px; gap: 8px; }
  .tour-panel-head h3 { font-size: 20px; }
  .tour-detail-name { font-size: 22px; }
}

/* ---------- "What's inside" showcase ---------- */
.show-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .show-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.show-card { display: flex; flex-direction: column; padding: 22px; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.show-card:hover { border-color: var(--sky); box-shadow: 0 24px 50px -24px rgba(8,168,248,.6); }
.show-card h3 { font-size: 22px; font-weight: 900; margin: 18px 0 8px; }
.show-card p { margin: 0; color: var(--muted); font-size: 15px; }
.show-points { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 14px; color: var(--text); }
.show-points li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); vertical-align: middle; }
.show-visual { min-height: 190px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(14,36,84,.85), rgba(4,14,38,.9)); display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: left; font-size: 13px; }
.sv-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); color: var(--text); }
.sv-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.sv-row b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-row .tag { font-size: 10.5px; padding: 3px 8px; }
.sv-pos { color: #4ade80 !important; }
.sv-total { background: rgba(8,168,248,.12); border-color: var(--line-strong); font-weight: 700; }
.sv-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-bottom: 4px; }
.sv-flow i { width: 12px; height: 2px; background: var(--sky); opacity: .7; }
.sv-step { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 11.5px; font-weight: 700; color: var(--text); background: rgba(255,255,255,.05); }
.sv-hot { background: var(--grad); border-color: transparent; color: #fff; }
.sv-ok { background: rgba(74,222,128,.16); border-color: transparent; color: #4ade80; }
.sv-phone { width: min(240px, 100%); margin: 0 auto; padding: 12px; border-radius: 22px; border: 2px solid var(--line-strong); background: rgba(5,16,42,.92); display: grid; gap: 8px; }
.sv-phone-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #fff; font-size: 13px; }
.sv-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sv-photos-4 { grid-template-columns: repeat(4, 1fr); }
.sv-photos i { aspect-ratio: 1; border-radius: 7px; background: linear-gradient(135deg, #01359c, #0878f8); }
.sv-photos i:nth-child(2) { background: linear-gradient(135deg, #0848c8, #08a8f8); }
.sv-photos i:nth-child(3) { background: linear-gradient(135deg, #0878f8, #08d8e8); }
.sv-photos i:nth-child(4) { background: linear-gradient(135deg, #0858f8, #08c0f0); }
.sv-btns { display: flex; gap: 8px; }
.sv-btn { flex: 1; text-align: center; padding: 8px; border-radius: 9px; background: var(--grad); color: #fff; font-weight: 800; font-size: 12.5px; }
.sv-btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.sv-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.sv-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.sv-bar-low i { background: linear-gradient(90deg, #ffb84d, #ffd36b); }
.sv-cap { font-size: 12px; color: var(--muted); text-align: center; }
@media (min-width: 760px) { .show-visual { height: 250px; overflow: hidden; } }

/* ---------- Story tracker: the meaning of the stars, readable on every screen ---------- */
#story-hud {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; width: min(340px, calc(100vw - 24px));
  padding: 9px 14px 11px; border-radius: 16px; text-align: center; pointer-events: none;
  background: rgba(5, 16, 42, 0.82); border: 1px solid var(--line-strong); box-shadow: 0 14px 40px -12px rgba(8, 88, 248, 0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translate(-50%, 16px); transition: opacity .35s ease, transform .35s ease;
}
#story-hud.show { opacity: 1; transform: translate(-50%, 0); }
.sh-top { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sh-n { color: var(--cyan); font-variant-numeric: tabular-nums; }
.sh-title { display: block; margin: 3px 0 7px; font-family: var(--display); font-stretch: 92%; font-weight: 800; font-size: 17px; color: #fff; text-shadow: 0 0 14px rgba(8, 168, 248, 0.7); }
.sh-track { display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; }
.sh-track i { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); transition: background .3s, box-shadow .3s; }
.sh-track i.on { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.sh-track i:last-child.on { box-shadow: 0 0 8px var(--cyan); }
#story-hud.pop .sh-title { animation: shpop .45s ease; }
@keyframes shpop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #story-hud, #story-hud.pop .sh-title { transition: none; animation: none; } }
/* Desktop: tuck the tracker into the bottom-left corner so it stays out of the way of the content */
@media (min-width: 900px) {
  #story-hud { left: 20px; bottom: 20px; width: 250px; transform: translate(0, 16px); }
  #story-hud.show { transform: none; }
}
