/* Mixing landing — light theme. Values: D:\Site\design\tokens.md, palette: design\style.md (A «Лён»).
   No external requests: all fonts are local files. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat-bold-cyr-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/montserrat-extrabold-cyr-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-cyr-latin.woff2) format("woff2");
}

:root {
  /* Final palette «Студия» (style.md): charcoal base + subtitle yellow.
     Accent = subtitle yellow #F6CF07 (EditsLong rules/6-subtitles.md) darkened 9% -> #E0BC06 */
  color-scheme: dark;
  --bg: #141414;
  --surface: #1e1e1e;         /* raised cards */
  --inset: #171717;           /* inputs, toggle track, condition box */
  --text: #ddd6cc;            /* body */
  --heading: #f1ece4;         /* headings */
  --muted: #a39a8f;           /* secondary, warm grey */
  --accent: #e0bc06;
  --accent-hover: #eecb1a;
  --accent-bar: #e0bc06;      /* position bar, rules */
  --on-accent: #1a1504;       /* dark labels on yellow */
  --border: #2a2a2a;
  --border-strong: #4a453f;
  --track: #2e2b27;           /* seek track */
  --placeholder: #7d766d;
  --error: #ff8a7a;
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 28px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
  --glow: radial-gradient(ellipse 46% 49% at 50% 50%, rgba(214, 200, 176, 0.26), rgba(150, 138, 118, 0.11) 50%, rgba(20, 20, 20, 0) 100%);

  --font-display: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --w-body: 500;
  --w-accent: 600;

  --radius: 14px;      /* = --r-plate */
  --radius-sm: 10px;
  --r-bar: 3px;
  --container: 760px;   /* content column = player width */
  --section-y: 32px;
  --block-gap: 22px;
  --gap: 16px;
  --tr: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--w-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 {
  color: var(--heading);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: 1.1; margin: 0; letter-spacing: 0;
}
h4 { font-family: var(--font-body); font-weight: var(--w-accent); font-size: 17px; margin: 0 0 8px; }
p { margin: 0 0 12px; }
a { color: var(--accent); }
strong { font-weight: var(--w-accent); }
.muted { color: var(--muted); }
.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--border); }
.sec-head { margin-bottom: var(--block-gap); text-align: center; }
/* One size for every section heading (landing + report). No per-section overrides. */
h2 { font-size: clamp(24px, 5vw, 30px); font-weight: 700; letter-spacing: 0; margin: 0 0 8px; }
.sec-sub { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; }
.kicker { font-size: 12px; font-weight: var(--w-accent); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin: 0 0 12px; }
.nowrap { white-space: nowrap; }  /* keeps a phrase on one line; a break can only fall between such spans */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--w-accent);
  line-height: 1.3;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background var(--tr), border-color var(--tr), color var(--tr), transform var(--tr);
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); }
.btn-block { display: block; width: 100%; }
.btn:focus-visible, .tab:focus-visible, .ab-btn:focus-visible, .play-btn:focus-visible { outline: 2px solid var(--accent-bar); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--card-shadow);
}

/* ---------- Header / hero ---------- */
.site-header { padding: 14px 0; text-align: center; position: relative; z-index: 2; }
/* Three columns keep the wordmark optically centred while the language link sits on the right. */
.site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.site-header .logo { grid-column: 2; }
.lang-switch { grid-column: 3; justify-self: end; font-size: 12px; font-weight: var(--w-accent); letter-spacing: 0.08em; color: var(--muted); text-decoration: none; }
.lang-switch:hover { color: var(--accent); }
/* The wordmark is long: on a phone it is set smaller and tighter so it stays on one line. */
.logo { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
/* The bottom padding is the window into the footage: the text sits in the upper part and the
   console at the bottom of the frame stays visible under it. */
.hero { position: relative; overflow: hidden; padding: 20px 0 clamp(120px, 26vw, 190px); text-align: center; }
.hero > .container { position: relative; z-index: 1; }
/* Soft light spot behind the hero text — the only glow on the page */
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none;
}
.hero h1 { font-weight: 800; font-size: clamp(30px, 8vw, 46px); margin: 0 auto 14px; }
/* Poster title: each line is stretched to the column width, so the shorter second line ends up
   in a bigger size. app.js sets the exact px; without JS the lines just stack at the CSS size. */
.hero-title { display: flex; flex-direction: column; align-items: center; }
.hero-left .hero-title { align-items: flex-start; }
.hero-line { display: inline-block; white-space: nowrap; }
.hero-accent { color: var(--accent); }  /* one accented word in the headline; font and size inherited */
/* text-wrap: balance evens out the two lines instead of leaving a short tail on the second.
   Browsers without it fall back to plain wrapping. */
.hero-sub { font-size: 15px; max-width: 560px; margin: 0 auto 18px; color: var(--muted); text-wrap: balance; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.hero-rule { width: 72px; height: 6px; border-radius: var(--r-bar); background: var(--accent-bar); margin: 0 auto 20px; }
/* Landing hero: whole block on one left edge inside the centred column; buttons in a row */
.hero-left { text-align: left; }
.hero-left h1, .hero-left .hero-sub, .hero-left .hero-rule { margin-left: 0; margin-right: 0; }
.hero-left .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
/* Background video: shown only when data-video-src is filled (app.js adds .has-video) */
.hero-media { position: absolute; inset: 0; display: none; }
.hero.has-video .hero-media {
  display: block;
  background: var(--bg) url("img/hero-poster.jpg") center / cover no-repeat;
  /* Dissolve the footage into the page colour at both edges, so the hero has no hard seam
     against the header above it or the «До и после» section below. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%);
}
/* The poster is the backdrop; the video fades in over it once it really starts playing,
   so a slow first frame never shows as a black flash. */
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.7s ease; }
.hero-video.is-live { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 11, 0.62) 0%, rgba(8, 9, 11, 0.48) 50%, rgba(8, 9, 11, 0.76) 100%); }

/* ---------- Tabs, A/B toggle ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; justify-content: center; }
.tab {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-body); font-size: 14px; font-weight: var(--w-body);
  text-transform: capitalize;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.tab:hover { border-color: var(--accent); color: var(--text); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.ab-player { padding: 20px; }
/* A/B toggle: equal-width labels over one sliding highlight. The labels never change size,
   text or background; only .ab-thumb moves (transform), so toggling causes no reflow. */
.ab-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 14px; background: var(--inset);
}
.ab-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0;
  border-radius: 999px; background: var(--accent);
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform; pointer-events: none;
}
.ab-btn {
  position: relative; z-index: 1;
  min-width: 88px;
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body); font-size: 14px; font-weight: var(--w-accent);
  cursor: pointer;
}
.ab-btn:hover { color: var(--text); }
.ab-btn.is-active, .ab-btn.is-active:hover { color: var(--on-accent); }
.ab-hint { font-size: 13px; color: var(--muted); margin: -8px 0 16px; }

/* ---------- Player core ---------- */
.player-row { display: flex; align-items: center; gap: 14px; }
.play-btn {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.play-btn:hover { background: var(--accent-hover); transform: scale(1.05); }
.play-btn svg { width: 18px; height: 18px; fill: currentColor; }
.play-btn .ic-pause { display: none; }
.play-btn.is-playing .ic-play { display: none; }
.play-btn.is-playing .ic-pause { display: block; }
.play-btn.sm { width: 38px; height: 38px; }
.play-btn.sm svg { width: 14px; height: 14px; }

.seek { flex: 1 1 auto; min-width: 0; }
.seek input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer;
  --p: 0%;
}
.seek input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: var(--r-bar);
  background: linear-gradient(to right, var(--accent-bar) var(--p), var(--track) var(--p));
}
.seek input[type="range"]::-moz-range-track { height: 6px; border-radius: var(--r-bar); background: var(--track); }
.seek input[type="range"]::-moz-range-progress { height: 6px; border-radius: var(--r-bar); background: var(--accent-bar); }
.seek input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; margin-top: -5px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--surface);
}
.seek input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.player-empty { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Full works list (sits right under the A/B player) ---------- */
#works { padding-top: 0; border-top: 0; }
#works .sec-head { margin-bottom: 14px; }
.tracklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
/* Two rows fit; the rest is scrolled. The peek of the third row and the bottom fade are the hint. */
.tracklist-scroll { position: relative; }
.tracklist-scroll .tracklist { max-height: 180px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; transition: max-height var(--tr); }
.tracklist-scroll.is-open .tracklist { overflow-y: visible; }
.tracklist-scroll .tracklist::-webkit-scrollbar { width: 6px; }
.tracklist-scroll .tracklist::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.tracklist-scroll .tracklist::-webkit-scrollbar-track { background: transparent; }
.tracklist-scroll::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0) 0%, var(--bg) 100%);
  transition: opacity var(--tr);
}
.tracklist-scroll.is-end::after, .tracklist-scroll.is-open::after { opacity: 0; }
.works-more { display: block; margin: 14px auto 0; padding: 9px 20px; font-size: 14px; }
.track { padding: 12px 16px; }
.track-head { display: flex; align-items: center; gap: 12px; }
.track-meta { flex: 1 1 auto; min-width: 0; }
.track-title { font-weight: var(--w-accent); font-size: 15px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }  /* title case comes from the file name */
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg);
  font-size: 12px; font-weight: var(--w-accent); color: var(--muted);
  text-transform: capitalize; white-space: nowrap;
}
.track-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.track .seek { margin-top: 8px; display: none; }
.track.is-open .seek { display: block; }

/* ---------- Video slots ---------- */
.video-grid { display: grid; gap: var(--gap); }
.video-slot { margin: 0; }
.video-box {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
}
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted); font-size: 14px; text-align: center; padding: 16px;
}
.video-placeholder::before {
  content: ""; width: 56px; height: 56px; border-radius: 50%;
  background: var(--border) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23a39a8f'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.video-slot figcaption { font-weight: var(--w-accent); margin-top: 8px; font-size: 15px; }

/* ---------- Sample report card ---------- */
.report-card { display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; padding-left: 30px; }
.report-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent-bar); border-radius: var(--r-bar); }
.report-card p { color: var(--muted); margin: 0; }
.report-card .kicker { margin-bottom: 12px; }  /* the rule above also hits the kicker */

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 26px var(--gap); padding-top: 12px; }  /* room for the tag above card B */
.price-card { position: relative; display: flex; flex-direction: column; padding: 18px 20px; letter-spacing: 0; }
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; margin: 0; }
.price small { font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: var(--w-body); margin-left: 6px; }
.price-list { margin: 12px 0 16px; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.35; letter-spacing: 0; }
.price-list li { margin-bottom: 7px; }
.price-list li:last-child { margin-bottom: 0; }
.price-cond { font-size: 13.5px; line-height: 1.5; background: var(--inset); border-radius: var(--radius-sm); padding: 8px 12px; margin: 12px 0 0; }
.price-note { margin: 12px 0 16px; color: var(--muted); font-size: 15px; line-height: 1.35; letter-spacing: 0; }
.price-note-lead { color: var(--heading); margin-bottom: 0; }
.price-note-lead + .price-note { margin-top: 12px; }
.price-actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.pay-link { font-size: 14px; text-align: center; }
.price-card.has-tag { border-color: rgba(224, 188, 6, 0.4); }
/* Tag sits on the card's top edge (absolute), so it never pushes the content down */
.price-tag {
  position: absolute; top: 0; left: 20px; transform: translateY(-50%);
  background: var(--accent); color: var(--on-accent);
  font-size: 12px; font-weight: var(--w-accent); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Form ---------- */
.lead-form { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.form-row { display: flex; flex-direction: column; gap: 4px; }
.form-row label { font-size: 13px; font-weight: var(--w-accent); color: var(--muted); }
.form-row input, .form-row textarea {
  background: var(--inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color var(--tr), background var(--tr);
}
.form-row textarea { min-height: 76px; resize: vertical; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--placeholder); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.mode-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.mode-switch label { cursor: pointer; }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch span {
  display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 14px; color: var(--muted); background: var(--bg); font-weight: var(--w-accent);
}
.mode-switch input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.mode-switch input:focus-visible + span { outline: 2px solid var(--accent-bar); outline-offset: 2px; }
.case-note { font-size: 13px; color: var(--accent); margin: -6px 0 0; }
.form-label { font-size: 13px; font-weight: var(--w-accent); color: var(--muted); }
.upload { gap: 8px; }
.upload [hidden] { display: none; }   /* .form-row / .dropzone set display, which beats [hidden] */
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 16px; text-align: center; background: var(--inset); border: 1px dashed var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone[hidden] { display: none; }
.dropzone:hover, .dropzone.is-over, .dropzone:focus-within { border-color: var(--accent); background: var(--surface); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone-main { font-size: 15px; color: var(--heading); }
.dropzone-note { font-size: 12px; color: var(--muted); }
.upload-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.upload-list:empty { display: none; }
.upload-item { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "name size btn" "bar bar bar" "state state state"; align-items: center; gap: 4px 10px; padding: 8px 12px; background: var(--inset); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; }
.upload-name { grid-area: name; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--heading); }
.upload-size { grid-area: size; font-size: 12px; color: var(--muted); }
.upload-bar { grid-area: bar; height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.upload-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.upload-state { grid-area: state; font-size: 12px; color: var(--muted); }
.upload-btn { grid-area: btn; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--accent); text-decoration: underline; cursor: pointer; }
.upload-btn[hidden] { display: none; }
.upload-item.is-done .upload-state { color: var(--heading); }
.upload-item.is-error .upload-state, .upload-item.is-rejected .upload-state { color: var(--error); }
.upload-item.is-missing { opacity: .55; grid-template-areas: "name size btn"; }
.upload-status { margin: 0; font-size: 14px; color: var(--heading); white-space: pre-line; }
.upload-status:empty { display: none; }
.upload-status.is-error { color: var(--error); }
.link-toggle { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-toggle[hidden] { display: none; }
.link-toggle:hover { color: var(--accent); }
.form-channel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: -4px; }
.form-channel[hidden] { display: none; }
.form-channel-q { font-size: 13px; font-weight: var(--w-accent); color: var(--muted); }
.form-consent { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: var(--inset); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.form-consent-q { margin: 0; font-size: 14px; color: var(--heading); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check:has(input:checked) { color: var(--heading); }
.form-consent-hint { margin: 0; font-size: 13px; color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; margin: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--heading); font-weight: var(--w-accent); font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { padding: 22px 0 28px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.socials { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.socials a { color: var(--text); text-decoration: none; font-weight: var(--w-accent); }
.socials a:hover { color: var(--accent); }

/* ---------- Report page ---------- */
.report-meta { color: var(--muted); font-size: 14px; }
.shot { margin: 0 0 var(--gap); }
.shot-img {
  aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--border);
  background: repeating-linear-gradient(45deg, var(--surface) 0 12px, var(--bg) 12px 24px);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px;
}
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.finding { position: relative; overflow: hidden; padding-left: 30px; margin-bottom: var(--gap); }
.finding::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent-bar); border-radius: var(--r-bar); }
.finding h3 { font-size: 20px; margin-bottom: 8px; }
.finding p { color: var(--muted); }
.finding .ab-player { padding: 0; margin-top: 12px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 768px) {
  :root { --section-y: 34px; --gap: 14px; --block-gap: 18px; }
  .card { padding: 18px 22px; }
  .ab-player { padding: 18px 22px; }
  .lead-form { padding: 20px 22px; }
  .hero { padding: 22px 0 190px; }
  /* Wide screens crop a 16:9 frame hard; sit between the centred crop and the bottom one. */
  .hero.has-video .hero-media { background-position: center 75%; }
  .hero-video { object-position: center 75%; }
  /* One line for the sub on desktop: the 560px column broke it in two. */
  .hero-sub { font-size: 17px; max-width: none; }
  .hero h1 { font-size: 46px; }
  .logo { font-size: 16px; letter-spacing: 0.12em; }
  .form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .video-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .report-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding-left: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  * { transition: none !important; }
}
