/* MVPReel shared look. Tokens and header from the owner sketch (Main.dc.html). */
/* All three fonts come from this site (fonts/, Google Fonts woff2: Bebas Neue v16, Barlow v13, JetBrains Mono v24; licences *-OFL.txt),
   so no page asks Google for a font and text and brand read in full on a slow network. Latin + Latin Extended files only, as Google splits them. */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/bebas-neue-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/bebas-neue-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow 400 to 700 (one file per weight); JetBrains Mono 400 to 600 (one variable file). */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ground: #0A0C0B; --panel: #121614; --panel-2: #181D1A;
  --line: #2A312C; --line-2: #2E3631;
  --text: #EEF2EC; --muted: #9AA59D; --muted-2: #8A958D;
  --accent: #CFF33A; --warn: #FFA24C; --info: #7CC4FF;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; }
a { color: var(--accent); }
a:hover { color: var(--text); }
/* Accent (green) buttons: keep ground text on hover, show a lighter green background. */
a.hero-cta:hover, .btn.primary:hover { color: var(--ground); background: color-mix(in srgb, var(--accent) 78%, var(--text)); border-color: color-mix(in srgb, var(--accent) 78%, var(--text)); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-family: var(--font-mono); font-weight: 600; }
.top { border-bottom: 1px solid var(--line); background: var(--ground); }
.top nav { max-width: 1280px; margin: 0 auto; padding: 10px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.top nav a { display: flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.top nav a:hover { color: var(--text); background: var(--panel-2); }
.top nav .signout-form { margin: 0; display: flex; }
.top nav button.signout { all: unset; display: flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; }
.top nav button.signout:hover { color: var(--text); background: var(--panel-2); }
.top nav button.signout:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.top nav .brand { margin-right: auto; font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: 0.02em; line-height: 1; color: var(--text); padding: 0; }
.top nav .brand span { color: var(--accent); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 12px var(--gutter) 96px; }
.top nav .signin-link { border: 1px solid var(--accent); color: var(--accent); font-weight: 600; }
.top nav details.report { position: relative; }
.top nav details.report summary { list-style: none; display: flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--accent); border-radius: 10px; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; }
.top nav details.report summary::-webkit-details-marker { display: none; }
.top nav details.report summary:hover, .top nav details.report[open] summary { color: var(--text); background: var(--panel-2); }
/* Phone (under 640 px): header stays one row. Smaller text (12 px) and padding, short "Report" label; tap height stays 44 px.
   The brand box takes the room the links leave (min 44 px) and clips its text, so a wider fallback font (web font slow or blocked) never wraps the row. */
@media (max-width: 639px) {
  .top nav { gap: 2px; }
  .top nav a, .top nav button.signout { padding: 0 5px; font-size: 12px; }
  .top nav .brand { font-size: 24px; flex: 1 1 0; min-width: 44px; margin-right: 0; overflow: hidden; white-space: nowrap; }
  .top nav details.report summary { padding: 0 8px; font-size: 12px; }
  .top nav details.report .wide { display: none; }
  /* Open Report form: anchored to the header row (not the Report button), so it stays inside the view with the side gutter.
     The ".top nav" prefix makes this rule win over the general ".report form" rule further down. */
  .top nav { position: relative; }
  .top nav details.report { position: static; }
  .top nav .report form { right: var(--gutter); width: min(320px, calc(100% - 2 * var(--gutter))); }
}
/* Small phone (360 to 389 px): less side room and padding, so "MVPREEL" still fits whole in one row; each tap target stays min 40 px wide. */
@media (max-width: 389px) {
  :root { --gutter: 12px; }
  .top nav a:not(.brand), .top nav button.signout { padding: 0 3px; min-width: 40px; justify-content: center; }
  .top nav details.report summary { padding: 0 5px; }
}
.report form { position: absolute; right: 0; top: 100%; z-index: 10; width: min(320px, 90vw); margin-top: 8px; padding: 12px; display: grid; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.report textarea { min-height: 96px; resize: vertical; padding: 8px; font: inherit; color: var(--text); background: var(--ground); border: 1px solid var(--line-2); border-radius: 8px; }
.report button { min-height: 44px; border: 0; border-radius: 10px; background: var(--accent); color: var(--ground); font: inherit; font-weight: 600; cursor: pointer; }
/* Play speed chips under each video (speed.js). Tap size 44 px. Lit chip = speed in use. */
.speed-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.speed-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); color: var(--text); font: 600 14px var(--font-mono); cursor: pointer; }
.speed-chip:hover { border-color: var(--accent); }
.speed-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.speed-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ground); }
@media (min-width: 640px) { :root { --gutter: clamp(16px, 4vw, 48px); } }
