/* ═══════════════════════════════════════════════════════════
   product.css — shared layout for the three product folders
   /screen-recorder-record/
   /full-page-capture-desktop/
   /full-page-screenshot-chrome-extension/

   One stylesheet, three colour themes. Set the theme with
   <html data-product="record | capture | extension">.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:  #07090F;
  --bg2: #0D1218;
  --bg3: #141B24;
  --bg4: #1B2433;
  --white: #FFFFFF;
  --text: #CDD8E3;
  --text-dim: #7A8FA0;
  --border: rgba(255,255,255,0.08);

  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-reg:  "Barlow", sans-serif;

  --r: 12px;
  --r2: 20px;
  --wrap: min(1140px, 94%);

  /* default = capture theme */
  --accent: #18e2df;
  --accent-2: #0cb8b5;
  --accent-pale: #b2f5f3;
  --accent-glow: rgba(24,226,223,0.18);
  --accent-line: rgba(24,226,223,0.28);
  --accent-ink: #06231F;
  --band: linear-gradient(90deg,#091F1E,#0F3432);
}

/* ── THEME: RECORD — crimson / ember ── */
[data-product="record"] {
  --accent: #FF3B5C;
  --accent-2: #FF7A3D;
  --accent-pale: #FFC4CE;
  --accent-glow: rgba(255,59,92,0.18);
  --accent-line: rgba(255,59,92,0.30);
  --accent-ink: #2A0710;
  --band: linear-gradient(90deg,#25060E,#3E0C1A);
}
/* ── THEME: FULL-PAGE CAPTURE desktop — teal (heritage brand) ── */
[data-product="capture"] {
  --accent: #18e2df;
  --accent-2: #0cb8b5;
  --accent-pale: #b2f5f3;
  --accent-glow: rgba(24,226,223,0.18);
  --accent-line: rgba(24,226,223,0.28);
  --accent-ink: #06231F;
  --band: linear-gradient(90deg,#091F1E,#0F3432);
}
/* ── THEME: CHROME EXTENSION — amber / gold ── */
[data-product="extension"] {
  --accent: #FFB020;
  --accent-2: #FF8A00;
  --accent-pale: #FFE0A3;
  --accent-glow: rgba(255,176,32,0.18);
  --accent-line: rgba(255,176,32,0.30);
  --accent-ink: #2A1B00;
  --band: linear-gradient(90deg,#241802,#3D2A06);
}
/* ── THEME: HUB (home) — neutral indigo ── */
[data-product="hub"] {
  --accent: #8B8CF7;
  --accent-2: #6366F1;
  --accent-pale: #D5D6FD;
  --accent-glow: rgba(139,140,247,0.18);
  --accent-line: rgba(139,140,247,0.30);
  --accent-ink: #100F2E;
  --band: linear-gradient(90deg,#0E0D24,#1B1940);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow-x: hidden;
  line-height: 1.65;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.wrap { width: var(--wrap); margin: 0 auto; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ── TYPE — generous tracking; the old pages set headings too tight ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: 0.02em;
  word-spacing: 0.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: 0.025em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.03em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }

section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.alt { background: var(--bg2); }

.eyebrow, .section-label {
  font-family: var(--font-reg);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.lede, .section-desc {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text); max-width: 62ch; margin-top: 1rem;
}
.section-desc { margin-bottom: 2.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-reg); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); font-weight: 800;
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline { border-color: var(--accent-line); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent-glow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.meta { font-family: var(--font-reg); font-size: 0.86rem; color: var(--text-dim); margin-top: 1.1rem; }

/* ── HERO ── */
.p-hero { position: relative; padding: clamp(3.5rem,9vw,6.5rem) 0 clamp(3rem,7vw,5rem); overflow: hidden; }
.p-hero::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(ellipse 70% 60% at 20% 0%, var(--accent-glow), transparent 60%);
  pointer-events:none;
}
.p-hero > .wrap { position: relative; }
.p-badge {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-family: var(--font-reg); font-size:0.78rem; font-weight:700;
  letter-spacing:0.12em; text-transform:uppercase;
  color: var(--accent-pale);
  border:1px solid var(--accent-line); border-radius:999px;
  padding:0.35rem 0.9rem; margin-bottom:1.4rem;
}

/* ── SHOT / FIGURE ── */
figure.shot { margin-top: 2.5rem; }
figure.shot img { border-radius: var(--r2); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
figure.shot figcaption { font-family: var(--font-reg); font-size:0.82rem; color: var(--text-dim); margin-top:0.7rem; text-align:center; }
.shots { display:grid; gap:1.5rem; margin-top:2.5rem; }
@media (min-width: 780px) { .shots { grid-template-columns: 1fr 1fr; } }

/* ── ALTERNATING ROWS ── */
.row { display:grid; gap:2rem; align-items:center; margin-bottom: clamp(3rem,6vw,4.5rem); }
@media (min-width: 880px) {
  .row { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .row--flip > *:first-child { order: 2; }
}
.row ul { list-style:none; margin-top:1.1rem; display:grid; gap:0.6rem; }
.row ul li { position:relative; padding-left:1.6rem; font-size:0.97rem; }
.row ul li::before {
  content:""; position:absolute; left:0; top:0.55em;
  width:8px; height:8px; border-radius:50%; background: var(--accent);
}
.pill {
  display:inline-block; font-family: var(--font-reg); font-size:0.7rem; font-weight:700;
  letter-spacing:0.16em; text-transform:uppercase; color: var(--accent);
  background: var(--accent-glow); border:1px solid var(--accent-line);
  border-radius:999px; padding:0.28rem 0.8rem; margin-bottom:0.9rem;
}
.row p { margin-top: 0.9rem; }

/* ── TILE GRID ── */
.grid { display:grid; gap:1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.tile {
  background: var(--bg3); border:1px solid var(--border); border-radius: var(--r2);
  padding:1.6rem; transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.tile h4 { margin-bottom:0.55rem; }
.tile p { font-size:0.94rem; color: var(--text-dim); }

/* ── CARDS WITH IMAGE ── */
.cards { display:grid; gap:1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.card { background: var(--bg3); border:1px solid var(--border); border-radius: var(--r2); overflow:hidden; }
.card img { aspect-ratio:16/9; object-fit:cover; width:100%; }
.card__body { padding:1.4rem; }
.card__body h4 { margin-bottom:0.5rem; }
.card__body p { font-size:0.94rem; color: var(--text-dim); }

/* ── FREE vs LICENSED TABLE ── */
.tbl-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:var(--r2); border:1px solid var(--border); }
table.cmp { width:100%; border-collapse:collapse; min-width:560px; background: var(--bg3); }
table.cmp th, table.cmp td { padding:0.95rem 1.1rem; text-align:left; border-bottom:1px solid var(--border); font-size:0.94rem; }
table.cmp thead th {
  font-family: var(--font-head); font-size:1.05rem; letter-spacing:0.05em;
  color: var(--white); background: var(--bg4); text-transform:uppercase;
}
table.cmp thead th:last-child { color: var(--accent); }
table.cmp tbody tr:last-child td { border-bottom:none; }
table.cmp td:first-child { font-weight:700; color: var(--white); font-family: var(--font-reg); }
table.cmp td.yes { color: var(--accent); font-weight:700; }
table.cmp td.no  { color: var(--text-dim); }

/* ── PRICING ── */
.pricing-layout { display:grid; gap:2rem; }
@media (min-width: 900px) { .pricing-layout { grid-template-columns: 1.05fr 0.95fr; gap:2.5rem; } }
.price-card {
  position:relative; background: linear-gradient(160deg, var(--bg3), var(--bg2));
  border:1px solid var(--accent-line); border-radius: var(--r2);
  padding: clamp(1.8rem,4vw,2.6rem); overflow:hidden;
}
.price-card::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 100% 0%, var(--accent-glow), transparent 55%);
  pointer-events:none;
}
.price-card > * { position:relative; }
.price-label {
  font-family: var(--font-reg); font-size:0.7rem; font-weight:700;
  letter-spacing:0.16em; text-transform:uppercase; color: var(--accent); margin-bottom:0.8rem;
}
.price-big { font-family: var(--font-head); font-size: clamp(3.2rem,8vw,4.4rem); font-weight:900; color: var(--white); line-height:1; letter-spacing:0.01em; }
.price-big sup { font-size:1.7rem; vertical-align:super; }
.price-seats { font-family: var(--font-reg); font-weight:700; color: var(--accent-pale); margin-top:0.4rem; letter-spacing:0.04em; }
.price-desc { font-size:0.95rem; color: var(--text-dim); margin:1rem 0 1.6rem; }
.price-note { font-family: var(--font-reg); font-size:0.82rem; color: var(--text-dim); margin-top:0.9rem; }
.vol-card { background: var(--bg3); border:1px solid var(--border); border-radius: var(--r2); padding:1.6rem; }
.vol-card h3 { font-size:1.25rem; margin-bottom:1rem; }
table.vol { width:100%; border-collapse:collapse; }
table.vol td { padding:0.6rem 0.4rem; border-bottom:1px solid var(--border); font-size:0.94rem; }
table.vol tr:last-child td { border-bottom:none; }
table.vol td:nth-child(2) { font-weight:700; color: var(--white); }
table.vol td:last-child { text-align:right; }
table.vol a { font-weight:700; text-decoration:none; }

/* one-licence banner shared by all three products */
.one-licence {
  display:flex; gap:1rem; align-items:flex-start;
  background: var(--accent-glow); border:1px solid var(--accent-line);
  border-radius: var(--r); padding:1.1rem 1.3rem; margin-bottom:2rem;
  font-size:0.95rem;
}
.one-licence strong { color: var(--white); }

/* ── FAQ ── */
.faq { display:grid; gap:0.9rem; max-width: 900px; }
.faq details {
  background: var(--bg3); border:1px solid var(--border);
  border-radius: var(--r); padding:1.1rem 1.3rem;
}
.faq details[open] { border-color: var(--accent-line); }
.faq summary {
  cursor:pointer; font-family: var(--font-head); font-size:1.2rem; font-weight:700;
  color: var(--white); letter-spacing:0.02em; list-style:none;
  display:flex; justify-content:space-between; gap:1rem; align-items:center;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color: var(--accent); font-size:1.5rem; line-height:1; flex-shrink:0; }
.faq details[open] summary::after { content:"–"; }
.faq details p { margin-top:0.85rem; font-size:0.96rem; color: var(--text); }
.faq details p + p { margin-top:0.6rem; }

/* ── SIBLING PRODUCT STRIP ── */
.siblings { display:grid; gap:1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); }
.sib {
  display:block; text-decoration:none; background: var(--bg3);
  border:1px solid var(--border); border-radius: var(--r2); padding:1.5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.sib:hover { transform: translateY(-3px); }
.sib .sib-kicker { font-family: var(--font-reg); font-size:0.68rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; }
.sib h4 { color: var(--white); margin:0.5rem 0 0.5rem; }
.sib p { font-size:0.9rem; color: var(--text-dim); }
.sib.t-record { border-left:4px solid #FF3B5C; }  .sib.t-record .sib-kicker { color:#FF3B5C; }
.sib.t-record:hover { border-color:#FF3B5C; }
.sib.t-capture { border-left:4px solid #18e2df; } .sib.t-capture .sib-kicker { color:#18e2df; }
.sib.t-capture:hover { border-color:#18e2df; }
.sib.t-extension { border-left:4px solid #FFB020; } .sib.t-extension .sib-kicker { color:#FFB020; }
.sib.t-extension:hover { border-color:#FFB020; }

/* ── CTA BAND ── */
.cta-band { text-align:center; background: var(--bg2); border-top:1px solid var(--border); }
.cta-band .btn-row { justify-content:center; }
.cta-band p { margin:0 auto; }

/* ── ANNOUNCE / HEADER / FOOTER themed overrides on shared-layout ── */
.sl-announce { background: var(--band) !important; border-bottom-color: var(--accent-line) !important; color: var(--accent-pale) !important; }
.sl-announce a:hover { color: var(--accent) !important; }
.site-nav a.nav-cta,
.sl-nav a.sl-nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: var(--accent-ink) !important;
}

/* footer + social hovers follow the product accent */
ul.sl-footer-links a:hover { color: var(--accent) !important; }
.sl-internal-links a:hover { color: var(--accent); }
a.sl-social-btn:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-glow); }
nav.sl-site-nav a.sl-nav-cta { background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important; color: var(--accent-ink) !important; }
nav.sl-site-nav a.sl-nav-cta:hover { filter: brightness(1.1); }

/* ═══ HUB: the product chooser ═══ */
.chooser { display:grid; gap:1.5rem; }
@media (min-width: 900px) { .chooser { grid-template-columns: repeat(3, 1fr); } }
.choice {
  display:flex; flex-direction:column; text-decoration:none;
  background: var(--bg3); border:1px solid var(--border);
  border-top-width: 5px; border-radius: var(--r2);
  padding: 1.8rem 1.6rem 1.5rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.choice:hover { transform: translateY(-4px); }
.choice-q {
  font-family: var(--font-reg); font-size:0.78rem; font-weight:700;
  letter-spacing:0.08em; text-transform:uppercase;
  display:block; margin-bottom:0.9rem; min-height:2.6em; line-height:1.35;
}
.choice h3 { color: var(--white); font-size:1.85rem; margin-bottom:0.2rem; }
.choice-sub { font-family: var(--font-reg); font-size:0.82rem; color: var(--text-dim); margin-bottom:1rem; letter-spacing:0.03em; }
.choice > p { font-size:0.95rem; color: var(--text); }
.choice-list { list-style:none; margin:1.1rem 0 1.4rem; display:grid; gap:0.5rem; }
.choice-list li { position:relative; padding-left:1.4rem; font-size:0.89rem; color: var(--text-dim); }
.choice-list li::before { content:""; position:absolute; left:0; top:0.5em; width:7px; height:7px; border-radius:50%; }
.choice-list li strong, .choice-list li em { color: var(--white); font-style:normal; }
.choice-go { margin-top:auto; font-family: var(--font-reg); font-weight:800; font-size:0.95rem; letter-spacing:0.04em; }

.choice.t-record    { border-top-color:#FF3B5C; }
.choice.t-record:hover { border-color:#FF3B5C; border-top-color:#FF3B5C; box-shadow:0 18px 50px rgba(255,59,92,0.16); }
.choice.t-record .choice-q, .choice.t-record .choice-go { color:#FF3B5C; }
.choice.t-record .choice-list li::before { background:#FF3B5C; }

.choice.t-capture   { border-top-color:#18e2df; }
.choice.t-capture:hover { border-color:#18e2df; border-top-color:#18e2df; box-shadow:0 18px 50px rgba(24,226,223,0.16); }
.choice.t-capture .choice-q, .choice.t-capture .choice-go { color:#18e2df; }
.choice.t-capture .choice-list li::before { background:#18e2df; }

.choice.t-extension { border-top-color:#FFB020; }
.choice.t-extension:hover { border-color:#FFB020; border-top-color:#FFB020; box-shadow:0 18px 50px rgba(255,176,32,0.16); }
.choice.t-extension .choice-q, .choice.t-extension .choice-go { color:#FFB020; }
.choice.t-extension .choice-list li::before { background:#FFB020; }

/* three-way comparison table: colour the product columns */
table.cmp3 { min-width: 760px; }
table.cmp3 thead th small { display:block; font-family:var(--font-reg); font-size:0.68rem; text-transform:none; letter-spacing:0.04em; opacity:.7; font-weight:600; }
table.cmp3 thead th.c-record    { color:#FF3B5C; }
table.cmp3 thead th.c-capture   { color:#18e2df; }
table.cmp3 thead th.c-extension { color:#FFB020; }
table.cmp3 td.yes { color: var(--accent-pale); font-weight:700; }
table.cmp3 tbody td:nth-child(2).yes { color:#FF9DAE; }
table.cmp3 tbody td:nth-child(3).yes { color:#7FEDEB; }
table.cmp3 tbody td:nth-child(4).yes { color:#FFD98A; }
table.cmp3 td.no { color: var(--text-dim); }

/* ═══ FREE vs LICENSED — make the two columns read as distinct blocks ═══
   Column 2 = Free (recessed, neutral). Column 3 = Licensed (raised, accent).
   The licensed column gets a full vertical border + tinted ground so the eye
   tracks it down the table without re-reading the header each row. */

table.cmp { border-collapse: separate; border-spacing: 0; }
table.cmp th, table.cmp td { border-bottom: 1px solid var(--border); }

/* --- FREE column --- */
table.cmp thead th:nth-child(2),
table.cmp tbody td:nth-child(2) {
  background: rgba(255,255,255,0.02);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
table.cmp thead th:nth-child(2) {
  color: var(--text-dim);
  border-top: 3px solid rgba(255,255,255,0.14);
}
table.cmp tbody tr:last-child td:nth-child(2) {
  border-bottom: 1px solid var(--border);
  border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
}

/* --- LICENSED column: the one we want people to land on --- */
table.cmp thead th:nth-child(3),
table.cmp tbody td:nth-child(3) {
  background: var(--accent-glow);
  border-left: 2px solid var(--accent-line);
  border-right: 2px solid var(--accent-line);
}
table.cmp thead th:nth-child(3) {
  color: var(--accent) !important;
  border-top: 3px solid var(--accent);
  position: relative;
}
table.cmp tbody tr:last-child td:nth-child(3) {
  border-bottom: 2px solid var(--accent-line);
  border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
}
table.cmp tbody tr:hover td:nth-child(3) { background: var(--accent-glow); filter: brightness(1.35); }
table.cmp tbody tr:hover td { background-color: rgba(255,255,255,0.03); }

/* value emphasis inside the two columns */
table.cmp tbody td:nth-child(3).yes { color: var(--accent-pale); font-weight: 800; }
table.cmp tbody td:nth-child(2).yes { color: var(--text); font-weight: 700; }
table.cmp tbody td:nth-child(2).no  { color: #F08A9B; font-weight: 600; }
[data-product="capture"] table.cmp tbody td:nth-child(2).no,
[data-product="extension"] table.cmp tbody td:nth-child(2).no { color: #F0899B; }

/* tick / cross marks so the columns scan without reading every word */
table.cmp tbody td.yes::before {
  content: "✓ "; font-weight: 900; opacity: 0.9;
}
table.cmp tbody td.no::before {
  content: "✕ "; font-weight: 900; opacity: 0.75;
}

/* the wrapper border would clash with the column borders */
.tbl-scroll:has(table.cmp) { border: none; border-radius: 0; overflow-x: auto; padding-bottom: 2px; }

/* ── the same treatment on the hub's 3-way table ── */
table.cmp3 thead th:nth-child(n+2),
table.cmp3 tbody td:nth-child(n+2) {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
table.cmp3 thead th:nth-child(2) { border-top: 3px solid #FF3B5C; background: rgba(255,59,92,0.07); }
table.cmp3 thead th:nth-child(3) { border-top: 3px solid #18e2df; background: rgba(24,226,223,0.07); }
table.cmp3 thead th:nth-child(4) { border-top: 3px solid #FFB020; background: rgba(255,176,32,0.07); }
table.cmp3 tbody td:nth-child(2) { background: rgba(255,59,92,0.045); }
table.cmp3 tbody td:nth-child(3) { background: rgba(24,226,223,0.045); }
table.cmp3 tbody td:nth-child(4) { background: rgba(255,176,32,0.045); }
table.cmp3 tbody tr:hover td { filter: brightness(1.4); }
table.cmp3 tbody td.yes::before { content: "✓ "; font-weight:900; }
table.cmp3 tbody td.no::before  { content: "✕ "; font-weight:900; opacity:.75; }

/* the rows that carry the real buying decision */
table.cmp tbody tr.key-row td,
table.cmp3 tbody tr.key-row td {
  background-image: linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05));
  font-size: 0.97rem;
}
table.cmp tbody tr.key-row td:first-child,
table.cmp3 tbody tr.key-row td:first-child { color: var(--white); }

/* legend above each table */
.tbl-legend {
  display:flex; flex-wrap:wrap; gap:0.6rem 1.4rem; align-items:center;
  margin-bottom:1rem; font-family:var(--font-reg); font-size:0.84rem; color:var(--text-dim);
}
.tbl-legend span { display:inline-flex; align-items:center; gap:0.45rem; }
.tbl-legend i { width:14px; height:14px; border-radius:4px; display:inline-block; font-style:normal; }
.tbl-legend i.free { background: rgba(255,255,255,0.06); border:1px solid var(--border); }
.tbl-legend i.lic  { background: var(--accent-glow); border:2px solid var(--accent-line); }

/* ═══ HERO IMAGERY ═══════════════════════════════════════
   Each product hero carries a generated background plate.
   Two scrims keep the headline legible over it:
   ::before = horizontal fade (dark on the left, where text sits)
   ::after  = vertical fade into the section below.        */

.p-hero {
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
/* JPEG is declared first as the universal fallback; the @supports block
   below upgrades to WebP (~36% smaller) wherever image-set() is understood. */
[data-product="hub"]       .p-hero { background-image: url("/assets/heroes/hero-hub.jpg"); }
[data-product="record"]    .p-hero { background-image: url("/assets/heroes/hero-record.jpg"); }
[data-product="capture"]   .p-hero { background-image: url("/assets/heroes/hero-capture.jpg"); }
[data-product="extension"] .p-hero { background-image: url("/assets/heroes/hero-extension.jpg"); }

@supports (background-image: image-set(url("i.webp") type("image/webp"))) {
  [data-product="hub"] .p-hero {
    background-image: image-set(url("/assets/heroes/hero-hub.webp") type("image/webp"),
                                url("/assets/heroes/hero-hub.jpg") type("image/jpeg"));
  }
  [data-product="record"] .p-hero {
    background-image: image-set(url("/assets/heroes/hero-record.webp") type("image/webp"),
                                url("/assets/heroes/hero-record.jpg") type("image/jpeg"));
  }
  [data-product="capture"] .p-hero {
    background-image: image-set(url("/assets/heroes/hero-capture.webp") type("image/webp"),
                                url("/assets/heroes/hero-capture.jpg") type("image/jpeg"));
  }
  [data-product="extension"] .p-hero {
    background-image: image-set(url("/assets/heroes/hero-extension.webp") type("image/webp"),
                                url("/assets/heroes/hero-extension.jpg") type("image/jpeg"));
  }
}

/* horizontal scrim — replaces the old radial glow */
.p-hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(100deg,
      var(--bg) 0%,
      var(--bg) 28%,
      rgba(7,9,15,0.88) 44%,
      rgba(7,9,15,0.55) 62%,
      rgba(7,9,15,0.25) 100%),
    radial-gradient(ellipse 70% 60% at 18% 0%, var(--accent-glow), transparent 62%);
  pointer-events:none;
}
/* vertical scrim so the plate melts into the next section */
.p-hero::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(to bottom, rgba(7,9,15,0.55) 0%, transparent 22%, transparent 68%, var(--bg) 100%);
  pointer-events:none;
}
.p-hero > .wrap { position: relative; z-index: 1; }

/* on narrow screens the art has no room beside the text — push it
   behind and darken hard so nothing competes with the headline */
@media (max-width: 860px) {
  .p-hero { background-position: 68% center; }
  .p-hero::before {
    background:
      linear-gradient(180deg, rgba(7,9,15,0.90) 0%, rgba(7,9,15,0.93) 60%, var(--bg) 100%),
      radial-gradient(ellipse 90% 50% at 50% 0%, var(--accent-glow), transparent 65%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .p-hero { transition: background-position .4s ease; }
}
