/* Layout: a broadcast control room - one dark gallery wall, a tally-lit programme strip running through the page, specs set like a camera data sheet */
:root {
  --bg: #121315;          /* the gallery wall */
  --panel: #1b1d20;
  --line: #2c2f34;
  --fg: #ecebe7;
  --muted: #9a9ca1;
  --tally: #ff4636;       /* on-air light */
  --p1: #e9a23b; --p2: #4f8ff7; --p3: #a77bff; --wide: #6b6e74;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); padding-inline: 20px; }
.wrap { max-width: 1120px; margin: 0 auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 18px/1 var(--display); font-stretch: 112%; letter-spacing: -0.01em; }
.logo i { width: 10px; height: 10px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 0 4px rgba(255, 70, 54, 0.18); }
.top { position: relative; }
.logo { text-decoration: none; white-space: nowrap; flex: none; }
.top nav a { white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--fg); }
.top .sections { margin-left: auto; }
.top .pages { padding-left: 22px; border-left: 1px solid var(--line); }
.btn.btn-sm { padding: 9px 14px; font-size: 14px; }
.top .pages .btn.buy { color: var(--bg); }
/* the menu: on narrower screens every page and this page's sections behind ☰ (works without script) */
.menu { display: none; }
.menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 4px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:focus-visible { outline: 2px solid var(--tally); outline-offset: 3px; }
.menu > summary i, .menu > summary i::before, .menu > summary i::after { display: block; width: 18px; height: 2px; background: var(--fg); position: relative; transition: transform 0.2s, background 0.2s; }
.menu > summary i::before, .menu > summary i::after { content: ""; position: absolute; left: 0; }
.menu > summary i::before { top: -6px; }
.menu > summary i::after { top: 6px; }
.menu[open] > summary i { background: transparent; }
.menu[open] > summary i::before { transform: translateY(6px) rotate(45deg); }
.menu[open] > summary i::after { transform: translateY(-6px) rotate(-45deg); }
.top .menu-panel { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 8px 0; display: grid; gap: 0; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.menu-panel a { padding: 12px 20px; text-decoration: none; font-size: 16px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--line); }
.menu-panel .eyebrow { padding: 14px 20px 6px; border-top: 1px solid var(--line); margin-top: 6px; }
@media (max-width: 1100px) {
  .top .sections, .top .pages a:not(.buy) { display: none; }
  .top .pages { margin-left: auto; padding-left: 0; border-left: 0; }
  .menu { display: block; }
}

/* hero */
.hero { padding-block: 56px 40px; display: grid; gap: 36px; }
.hero h1 { font-weight: 900; font-stretch: 72%; font-size: clamp(48px, 9.5vw, 128px); line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--tally); }
.hero .lede { max-width: 58ch; font-size: clamp(17px, 2vw, 20px); color: #cfcfcb; margin: 0; }
.hero .definition { max-width: 72ch; margin: 0; font-size: 15px; color: var(--muted); }
.hero .definition b { color: var(--fg); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 4px; font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid var(--line); }
.btn.buy { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.buy:hover { background: #fff; }
.btn.ghost:hover { border-color: var(--muted); }
.btn:focus-visible { outline: 2px solid var(--tally); outline-offset: 3px; }
.cta small { color: var(--muted); font-size: 13px; }

/* the programme strip: who is on air over time */
.strip { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; display: grid; gap: 10px; }
.strip-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); color: var(--muted); }
.strip-head b { color: var(--tally); font-weight: 500; letter-spacing: 0.1em; }
.bars { display: flex; height: 46px; border-radius: 3px; overflow: hidden; gap: 2px; }
.bars span { display: block; height: 100%; }
.bars .s1 { background: var(--p1); } .bars .s2 { background: var(--p2); } .bars .s3 { background: var(--p3); } .bars .w { background: var(--wide); }
.bars .mv { background: linear-gradient(90deg, var(--p1), var(--p2)); }
.ruler { display: flex; justify-content: space-between; font: 11px/1 var(--mono); color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; background: currentColor; vertical-align: 0; }
.legend .l1 { color: var(--p1); } .legend .l2 { color: var(--p2); } .legend .l3 { color: var(--p3); } .legend .lw { color: var(--wide); }

/* sections */
section { padding-block: 72px; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 70ch; }
.sec-head h2 { font-weight: 800; font-stretch: 85%; font-size: clamp(32px, 5vw, 56px); line-height: 1; letter-spacing: -0.01em; }
.sec-head p { margin: 0; color: #cfcfcb; }

/* demo */
.video { aspect-ratio: 16 / 9; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; background:
  repeating-linear-gradient(135deg, #17181b 0 14px, #1a1c1f 14px 28px); display: grid; place-items: center; text-align: center; }
.video .play { width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--fg); display: grid; place-items: center; margin: 0 auto 14px; }
.video .play::after { content: ""; border-left: 22px solid var(--fg); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video p { margin: 0; color: var(--muted); font-size: 14px; }

/* how it works: a real sequence */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.step { display: grid; gap: 10px; align-content: start; min-width: 0; }
.step .n { font: 500 13px/1 var(--mono); color: var(--tally); }
.step h3 { font-size: 24px; font-weight: 700; font-stretch: 90%; }
.step p { margin: 0; color: #cfcfcb; }

/* features: three loud, the rest quiet */
.big { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.big article { background: var(--bg); padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.big h3 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; font-stretch: 88%; line-height: 1.02; }
.big p { margin: 10px 0 0; color: #cfcfcb; }
@media (max-width: 760px) { .big article { grid-template-columns: 1fr; padding: 24px; } }
.shot { aspect-ratio: 16 / 10; max-width: 100%; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); display: grid; place-items: center; color: var(--muted); font: 12px/1.4 var(--mono); text-align: center; padding: 12px; }
.hud { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 4px; overflow: hidden; background: radial-gradient(circle at 42% 48%, #5a4a3e 0 15%, #2b2622 16% 100%); }
.hud .face { position: absolute; left: 30%; top: 22%; width: 24%; height: 42%; }
.hud .face::before, .hud .face::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1.5px solid #f0f0f0; }
.hud .face::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud .face::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.hud .tag { position: absolute; left: 60%; top: 14%; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); padding: 8px 10px; font: 11px/1.5 var(--mono); color: #eee; }
.hud .tag b { color: #ff9a1f; font-weight: 500; }
.hud svg { display: block; width: 120px; height: 34px; margin-top: 4px; }
.small { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 32px; margin-top: 44px; }
.small div { min-width: 0; }
.small h3 { margin: 0 0 6px; font: 600 16px/1.3 var(--body); }
.small p { margin: 0; color: var(--muted); font-size: 15px; }

/* setups */
.setups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.setup { border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.setup svg { width: 100%; height: 92px; display: block; }
.setup h3 { font-size: 20px; font-weight: 700; font-stretch: 92%; }
.setup p { margin: 0; color: var(--muted); font-size: 14px; }
.setup .what { font: 12px/1.5 var(--mono); color: #cfcfcb; }

/* formats */
.formats { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; }
.formats figure { margin: 0; display: grid; gap: 8px; justify-items: center; }
.formats .f { border: 1.5px solid var(--fg); border-radius: 3px; background: var(--panel); }
.formats figcaption { font: 12px/1.3 var(--mono); color: var(--muted); text-align: center; }

/* data sheet */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; }
@media (max-width: 760px) { .sheet { grid-template-columns: 1fr; } }
.sheet dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 24px; align-content: start; }
.sheet dt { font: 12px/1.6 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.sheet dd { margin: 0; }

/* price */
.price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }
.ticket { border: 1px solid var(--fg); border-radius: 6px; padding: 30px; display: grid; gap: 16px; }
.ticket .amount { font: 900 76px/0.9 var(--display); font-stretch: 75%; }
.ticket .amount small { font: 500 16px/1 var(--body); color: var(--muted); margin-left: 6px; }
.ticket ul { margin: 0; padding-left: 18px; color: #cfcfcb; display: grid; gap: 6px; }

/* faq */
.faq { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--tally); outline-offset: 4px; }
.faq p { margin: 10px 0 0; color: #cfcfcb; max-width: 70ch; }
/* everything automatic: a real chain */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; counter-reset: c; }
.chain li { background: var(--panel); padding: 16px; display: grid; gap: 6px; counter-increment: c; min-width: 0; }
.chain li::before { content: counter(c); font: 500 12px/1 var(--mono); color: var(--tally); }
.chain b { font: 700 18px/1.1 var(--display); font-stretch: 92%; }
.chain span { color: var(--muted); font-size: 14px; }
/* analysis table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.spec th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; background: var(--panel); }
.spec td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; color: #cfcfcb; }
.spec td:first-child { color: var(--fg); font-weight: 600; white-space: nowrap; }
.compare th:nth-child(2), .compare td:nth-child(2) { color: var(--fg); background: rgba(255, 70, 54, 0.07); }
.compare + .small { margin-top: 36px; }
.table-wrap + .small { margin-top: 36px; }
/* direction controls */
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ctl { border: 1px solid var(--line); border-radius: 6px; padding: 20px; min-width: 0; }
.ctl h3 { font-size: 22px; font-weight: 800; font-stretch: 88%; margin-bottom: 12px; }
.ctl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ctl li { color: var(--muted); font-size: 14px; }
.ctl li b { display: block; color: var(--fg); font-weight: 600; font-size: 15px; }
/* keys */
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.keys div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 14px; }
.keys span { flex-basis: 100%; color: var(--muted); font-size: 14px; }
kbd { font: 500 13px/1 var(--mono); padding: 5px 8px; border: 1px solid #4a4d53; border-bottom-width: 2px; border-radius: 4px; background: var(--panel); color: var(--fg); }
.code { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: #0d0e10; overflow-x: auto; font-size: 12px; white-space: nowrap; }
.note { margin: 28px 0 0; padding: 16px 18px; border-left: 3px solid var(--tally); background: var(--panel); color: #cfcfcb; max-width: 70ch; border-radius: 0; }
/* the plugin's own panel, drawn: Resolve's greys, name left and value right */
.ui { max-width: 100%; border: 1px solid #000; border-radius: 4px; background: #1c1c1c; font: 12.5px/1.4 var(--body); color: #cfcfcf; overflow: hidden; }
.ui-title { padding: 10px 12px 6px; color: #fff; font-weight: 600; font-size: 14px; }
.ui-actions { display: flex; gap: 6px; padding: 6px 12px 10px; border-bottom: 1px solid #000; }
.ui-btn { flex: 1 1 0; text-align: center; padding: 7px 8px; border-radius: 3px; background: #5a5a5a; color: #fff; font-weight: 600; border: 1px solid #000; }
.ui-btn.ghost { background: transparent; border-color: #444; font-weight: 500; }
.ui-tabs { display: flex; gap: 14px; padding: 8px 12px 0; border-bottom: 1px solid #2c2c2c; color: #a8a8a8; }
.ui-tabs span { padding-bottom: 6px; border-bottom: 2px solid transparent; }
.ui-tabs .on { color: #fff; border-bottom-color: #d2d2d2; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 12px; }
.ui-val { flex: 0 0 56%; background: #333; border: 1px solid #000; border-radius: 3px; padding: 4px 8px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-progress { margin: 8px 12px 4px; display: grid; gap: 5px; font-size: 11.5px; color: #bdbdbd; }
.ui-progress i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #d2d2d2 62%, #333 62%); }
.ui-note { padding: 6px 12px 12px; color: #4cd964; font-size: 12px; }
footer { padding-block: 40px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .logo i { animation: tally 2.4s ease-in-out infinite; }
  @keyframes tally { 50% { box-shadow: 0 0 0 7px rgba(255, 70, 54, 0.06); } }
}
.cta-top { margin-top: 28px; }
