/* StatCam — Tier A design system (dark broadcast theme) */

:root {
  --bg: #070A12;
  --surface: #0D1322;
  --card: #101A2E;
  --card2: #0C1424;
  --line: rgba(148, 163, 184, .14);
  --line-strong: rgba(148, 163, 184, .28);
  --text: #F3F5F8;
  --dim: #8B95A9;
  --dim2: #64748B;
  --blue: #0064E0;
  --cyan: #22D3EE;
  --green: #34D399;
  --amber: #FBBF24;
  --red: #F87171;
  --radius: 20px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(100, 110, 125, .45); border-radius: 999px; border: 2.5px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(100, 110, 125, .7); border: 2.5px solid transparent; background-clip: content-box; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(0, 100, 224, .16), transparent 70%),
    radial-gradient(700px 420px at 88% 12%, rgba(34, 211, 238, .05), transparent 70%),
    radial-gradient(800px 500px at 6% 78%, rgba(52, 211, 153, .045), transparent 70%);
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(1000px 600px at 50% 0, #000 30%, transparent 80%);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: rgba(7, 10, 18, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { filter: drop-shadow(0 0 10px rgba(34, 211, 238, .35)); }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.beta {
  font-size: 9px; font-weight: 800; letter-spacing: .14em; vertical-align: 2px;
  color: var(--cyan); border: 1px solid rgba(34, 211, 238, .45);
  border-radius: 6px; padding: 2px 6px; margin-left: 4px;
}
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mode-chip {
  font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(251, 191, 36, .1); color: var(--amber); border: 1px solid rgba(251, 191, 36, .35);
}
.mode-chip.live {
  background: rgba(52, 211, 153, .1); color: var(--green); border-color: rgba(52, 211, 153, .4);
}

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  border-radius: 12px; border: 0; cursor: pointer; text-decoration: none;
  padding: 11px 18px; line-height: 1;
  transition: transform .18s cubic-bezier(.2, .7, .3, 1), box-shadow .18s, background .18s, border-color .18s, color .18s, opacity .18s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, #0064E0, #0A84FF); color: #fff;
  box-shadow: 0 8px 28px -10px rgba(0, 100, 224, .65);
}
.btn-primary:hover { box-shadow: 0 10px 34px -8px rgba(0, 100, 224, .8); filter: brightness(1.07); }
.btn-ghost {
  background: rgba(148, 163, 184, .08); color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-dark { background: #05070D; color: #fff; border: 1px solid var(--line-strong); }
.btn-dark:hover { border-color: var(--cyan); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.btn-sm { padding: 9px 14px; font-size: 13px; }

.input {
  font-family: var(--sans); font-size: 14px; color: var(--text);
  background: rgba(5, 8, 15, .8); border: 1.5px solid var(--line-strong);
  border-radius: 12px; padding: 12px 14px; outline: none; min-width: 0;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 100, 224, .22); }
.input.url { flex: 1 1 320px; }
.input.sel { width: 130px; }
.input.num { width: 74px; padding: 9px 10px; font-size: 13px; background: rgba(5, 8, 15, .5); }

/* ---------- layout ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
section { scroll-margin-top: 84px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; padding: clamp(44px, 7vw, 84px) 0 clamp(28px, 4vw, 44px);
}
.hero-badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .22em;
  color: var(--cyan); margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06; letter-spacing: -.035em; font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, #0A84FF 5%, #22D3EE 60%, #34D399 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--dim); font-size: clamp(15px, 1.7vw, 17.5px); line-height: 1.65; max-width: 540px; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { color: var(--dim2); font-size: 13px; margin: 0; }

.track-panel {
  background: linear-gradient(160deg, #0D1526, #0A101E);
  border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(34, 211, 238, .04) inset;
  transform: rotate(.4deg);
}
.track-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--dim);
  padding: 2px 4px 12px;
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.track-fps { margin-left: auto; font-family: var(--mono); color: var(--green); }
.track-stage { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
#herovid { width: 100%; display: block; }
.track-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.track-fs {
  margin-left: 8px; background: rgba(148,163,184,.12); color: var(--dim);
  border: 1px solid rgba(148,163,184,.3); border-radius: 8px;
  width: 26px; height: 22px; font-size: 12px; line-height: 1; cursor: pointer; padding: 0;
}
.track-fs:hover { color: var(--cyan); border-color: rgba(34,211,238,.5); }
.track-stage:fullscreen { border-radius: 0; }
.track-stage:fullscreen #herovid { height: 100%; width: auto; margin: 0 auto; display: block; }
.track-stage:fullscreen #pitch { width: auto; height: 100%; left: 50%; transform: translateX(-50%); right: auto; }
.track-foot { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--dim);
  background: rgba(148, 163, 184, .08); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}

/* ---------- app card ---------- */
.analyze { padding: clamp(14px, 2vw, 28px) 0 8px; }
.app-card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 30px 90px -40px rgba(0, 0, 0, .9);
}
.seg {
  display: inline-flex; gap: 4px; background: rgba(5, 8, 15, .6);
  border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 18px;
}
.seg-btn {
  font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--dim);
  background: transparent; border: 0; border-radius: 10px; padding: 9px 18px; cursor: pointer;
  transition: color .18s, background .18s;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: rgba(0, 100, 224, .22); color: #fff; box-shadow: 0 0 0 1px rgba(10, 132, 255, .4) inset; }
.tabpane { display: none; }
.tabpane.active { display: block; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.seg-hint { font-size: 12.5px; color: var(--dim); margin-top: 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dim { color: var(--dim); }

.dropzone {
  border: 1.6px dashed var(--line-strong); border-radius: 16px;
  padding: 34px 20px; text-align: center; cursor: pointer;
  transition: border-color .18s, background .18s;
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--cyan); background: rgba(34, 211, 238, .05);
}
.dz-icon { color: var(--dim); margin-bottom: 10px; }
.dropzone:hover .dz-icon { color: var(--cyan); }
.dz-title { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.dz-sub { font-size: 13px; color: var(--dim); margin-top: 6px; }
.dz-browse { color: var(--cyan); font-weight: 700; }
.dz-filename { font-size: 13px; }

.sample-box {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid rgba(52, 211, 153, .25); background: rgba(52, 211, 153, .05);
  border-radius: 16px; padding: 22px 24px;
}

.sample-btns { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (max-width: 700px) {
  .sample-box { flex-direction: column; align-items: stretch; }
}

/* ---------- status / timeline ---------- */
.status { margin-top: 4px; }
.bar { height: 8px; background: rgba(148, 163, 184, .12); border-radius: 999px; overflow: hidden; margin: 16px 0 8px; }
.bar-fill {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, #0064E0, #22D3EE);
  transition: width .5s; position: relative;
}
.bar-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.msg { font-size: 13.5px; font-weight: 600; color: var(--text); }
.timeline {
  margin: 12px 0 0; padding: 12px 16px; max-height: 220px; overflow-y: auto;
  background: rgba(5, 8, 15, .55); border: 1px solid var(--line);
  border-radius: 12px; font-family: var(--mono);
}
.timeline div { font-size: 11.5px; line-height: 1.75; display: flex; gap: 10px; color: var(--dim); }
.timeline b { min-width: 70px; text-transform: uppercase; font-size: 9.5px; letter-spacing: .08em; padding-top: 2px; color: var(--dim2); }
.timeline .st-plan b { color: var(--cyan); }
.timeline .st-analyze b { color: var(--green); }
.timeline .st-correct b { color: var(--amber); }
.timeline .st-correct span { color: var(--amber); }
.timeline .st-track b { color: #7DA2FF; }
.err-box {
  background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35);
  color: #FFB4B4; border-radius: 12px; padding: 12px 16px; font-size: 13.5px; margin-top: 14px;
}

/* ---------- results ---------- */
.results { padding: 26px 0 8px; display: grid; gap: 16px; }
.res-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.res-summary { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.025em; }
.res-summary .tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  color: var(--cyan); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35);
  border-radius: 8px; padding: 3px 9px; margin-left: 10px; vertical-align: 6px;
}
.res-meta { font-size: 12.5px; color: var(--dim); margin-top: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badge {
  display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid;
}
.badge.demo { background: rgba(251, 191, 36, .1); color: var(--amber); border-color: rgba(251, 191, 36, .35); }
.badge.live { background: rgba(52, 211, 153, .12); color: var(--green); border-color: rgba(52, 211, 153, .45); }
.badge.sample { background: rgba(34, 211, 238, .1); color: var(--cyan); border-color: rgba(34, 211, 238, .4); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.kpi b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi b small { font-size: 13px; font-weight: 700; color: var(--dim); margin-left: 2px; }
.kpi span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: var(--dim2); margin-top: 5px; }
.kpi i { display: block; font-style: normal; font-size: 11.5px; color: var(--cyan); font-weight: 700; margin-top: 3px; }

.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.panel-title { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }

.pl-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(148, 163, 184, .07); }
.pl-row:last-child { border-bottom: 0; }
.pl-id { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--cyan); }
.pl-bar-wrap { min-width: 0; }
.pl-name { font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; margin-bottom: 4px; }
.pl-bar { height: 7px; background: rgba(148, 163, 184, .12); border-radius: 999px; overflow: hidden; }
.pl-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0064E0, #22D3EE); }
.pl-nums { text-align: right; font-variant-numeric: tabular-nums; }
.pl-nums b { font-size: 13.5px; }
.pl-nums span { display: block; font-size: 10.5px; color: var(--dim2); }

.analyst { border-color: rgba(52, 211, 153, .3); background: linear-gradient(180deg, rgba(52, 211, 153, .06), var(--card2)); }
.an-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; animation: blink 2s infinite; }
.analyst .panel-title { color: var(--green); }
.an-list { margin: 0; padding-left: 18px; color: #C7EADF; }
.an-list li { font-size: 13.5px; line-height: 1.65; margin-bottom: 7px; }
.an-forward { font-size: 13px; font-weight: 700; color: var(--green); margin-top: 12px; }
.an-note { font-size: 10.5px; color: rgba(199, 234, 223, .55); margin-top: 10px; }

.tools { display: grid; gap: 4px; }
.momres, #planres, #liveres { margin-top: 10px; }
.mom {
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; margin: 9px 0;
  background: rgba(5, 8, 15, .45);
}
.mom .st-t { font-size: 11px; font-weight: 800; color: var(--cyan); letter-spacing: .06em; font-family: var(--mono); }
.mom .st-l { font-weight: 800; font-size: 14px; margin-left: 8px; }
.mom .st-d { font-size: 12.5px; color: var(--dim); margin: 5px 0 9px; line-height: 1.55; }
.mom video { width: 100%; max-height: 300px; border-radius: 10px; background: #000; margin-top: 9px; }
.mom .st-w { background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 8px 15px; font-size: 12.5px; font-weight: 800; cursor: pointer; margin-right: 10px; font-family: var(--sans); }
.mom .st-w:hover { filter: brightness(1.1); }
.mom .st-c { color: var(--cyan); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.mom .st-c:hover { text-decoration: underline; }

.plan-box { background: rgba(0, 100, 224, .07); border: 1px solid rgba(10, 132, 255, .3); border-radius: 14px; padding: 16px 18px; }
.plan-box .st-f { font-size: 13px; font-weight: 700; color: #7DA2FF; margin-bottom: 12px; }
.plan-sess { font-size: 13.5px; font-weight: 800; margin: 12px 0 5px; }
.plan-drill { font-size: 12.5px; color: var(--dim); line-height: 1.6; margin-left: 14px; }
.plan-drill i { color: #7DA2FF; font-style: normal; font-weight: 700; }
.plan-note { font-size: 10.5px; color: var(--dim2); margin-top: 12px; }

.live-box { background: #05070D; border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px; }
.live-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.live-box video { width: 100%; max-height: 420px; border-radius: 10px; background: #000; }
.tick {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; min-height: 36px; margin-top: 12px;
  color: #7DE2A0; background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .2);
  border-radius: 10px; padding: 9px 13px;
}

/* chat */
.chat { display: grid; gap: 10px; }
.chat-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-head .dim { font-size: 11.5px; }
.ask-badge {
  font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: var(--green);
  background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35);
  border-radius: 999px; padding: 3px 9px;
}
.chatlog { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; }
.chatlog .q, .chatlog .a {
  font-size: 13.5px; line-height: 1.6; border-radius: 14px; padding: 10px 14px; max-width: 88%;
}
.chatlog .q { background: rgba(0, 100, 224, .18); border: 1px solid rgba(10, 132, 255, .3); margin-left: auto; font-weight: 600; }
.chatlog .a { background: rgba(148, 163, 184, .07); border: 1px solid var(--line); }
.chatlog .a small { display: block; color: var(--dim2); font-size: 9.5px; margin-top: 5px; letter-spacing: .08em; text-transform: uppercase; }
.chat-suggest { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-suggest button {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700; color: var(--dim);
  background: rgba(148, 163, 184, .07); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.chat-suggest button:hover { color: var(--cyan); border-color: rgba(34, 211, 238, .4); }

/* ---------- sections ---------- */
.sec-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; text-align: center; margin: 0 0 8px; }
.sec-sub { text-align: center; color: var(--dim); font-size: 14.5px; margin: 0 0 28px; }

.how { padding: clamp(48px, 7vw, 80px) 0 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step p { color: var(--dim); font-size: 13.5px; line-height: 1.65; margin: 0; }
.step-n { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--cyan); margin-bottom: 10px; }
.aud-line { text-align: center; color: var(--dim); font-size: 14.5px; margin: 30px auto 14px; max-width: 640px; line-height: 1.65; }
.aud-line b { color: var(--text); }
.aud-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.pipe { padding: clamp(48px, 7vw, 80px) 0 10px; }
.pipe-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pipe-step { position: relative; }
.pipe-n {
  width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--cyan);
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35); margin-bottom: 10px;
}
.pipe-step b { display: block; font-size: 14.5px; letter-spacing: -.01em; margin-bottom: 6px; }
.pipe-step span { color: var(--dim); font-size: 12.5px; line-height: 1.6; }

.faq { padding: clamp(48px, 7vw, 80px) 0 30px; }
.faq-list { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-item summary {
  cursor: pointer; font-size: 14.5px; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 18px; color: var(--dim); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--dim); font-size: 13.5px; line-height: 1.65; margin: 10px 0 2px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 34px 0 40px; text-align: center; }
.meta-title { font-size: 10.5px; font-weight: 800; letter-spacing: .24em; color: var(--dim2); margin-bottom: 14px; }
.meta-items { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.meta-items span { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.foot-tag { color: var(--dim); font-size: 13px; margin-bottom: 10px; }
.foot-tag b { color: var(--text); }
.foot-line { color: var(--dim2); font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-visual { order: 2; }
  .steps, .pipe-steps { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .mode-chip { display: none; }
  .kpi b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.url-hint{font-size:12px;color:#F5C26B;line-height:1.5;margin-top:8px}

/* iOS Safari: no element fullscreen (and it ignores controlslist) — CSS fullscreen with the overlay kept on the video */
body.fs-lock { overflow: hidden; }
.track-stage.pseudo-fs { position: fixed; inset: 0; z-index: 9999; border-radius: 0; aspect-ratio: auto; background: #000; }
.track-stage.pseudo-fs #herovid { width: auto; height: 100%; margin: 0 auto; }
.track-stage.pseudo-fs canvas { width: auto; height: 100%; left: 50%; transform: translateX(-50%); right: auto; }
.track-stage.pseudo-fs .fs-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55); color: #fff; font-size: 18px; cursor: pointer; }
/* the decorative tilt on .track-panel makes it the containing block for fixed children — straighten it while the stage is pseudo-fullscreen */
.track-panel:has(.track-stage.pseudo-fs) { transform: none !important; }
