@font-face { font-family: "Google Sans"; src: url("/fonts/GoogleSansFlex-Regular-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("/fonts/GoogleSansFlex-Bold-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0f0c07;
  --panel: #1c170e;
  --line: #403523;
  --text: #faf7f2;
  --muted: #c4baaa;
  --accent: #f5a623;
  --accent-soft: #f5a62333;
  --warn: #f2c66d;
  --bad: #ff8a80;
  --max: 1240px;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 34px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.618 "Google Sans", system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.1; font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); letter-spacing: -.055em; }
h2 > span, h1 > span { color: var(--accent); }
code { font: .9em/1.4 var(--mono); }
.eyebrow { font: 12px/1.5 var(--mono); letter-spacing: .08em; color: var(--accent); margin-bottom: 21px; }
.skip-link { position: fixed; left: 21px; top: -100px; z-index: 10; padding: 13px 21px; background: var(--accent); color: var(--bg); font-weight: 700; }
.skip-link:focus { top: 13px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 21px; min-height: 80px; padding: 13px max(21px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; min-height: 44px; }
.brand img { border-radius: 9px; flex-shrink: 0; }
.brand small { font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.brand-slash { color: #706554; font-weight: 400; padding-inline: 3px; }
.site-header nav { display: flex; gap: 34px; font-size: 14px; color: #ded5c9; }
.site-header nav a, .parent-link { display: inline-flex; align-items: center; min-height: 44px; }
.parent-link { font-size: 13px; color: var(--muted); gap: 6px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 55px; align-items: center; padding: 72px max(21px, calc((100vw - var(--max)) / 2)) 55px; background: radial-gradient(ellipse at 78% 40%, #523f1f66, transparent 60%); }
.hero-copy { min-width: 0; }
.release-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 13px; border: 1px solid #856e4a; border-radius: 4px; color: var(--accent); font: 11px/1.5 var(--mono); letter-spacing: .06em; margin-bottom: 34px; }
.release-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-kicker { font: 11px/1.5 var(--mono); letter-spacing: .08em; color: var(--muted); margin-bottom: 21px; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.065em; margin-bottom: 26px; }
.tagline { font: 14px/1.6 var(--mono); color: #f5ead8; margin-bottom: 13px; }
.hero-intro { font-size: 18px; color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.hero-intro code { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 21px; min-height: 52px; padding: 13px 21px; border-radius: 5px; font-size: 14px; font-weight: 700; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--accent); color: #241a0a; border: 1px solid var(--accent); }
.primary:hover { background: #ffeac9; color: #241a0a; }
.secondary { border: 1px solid #584e3e; color: var(--text); background: #17130c; }
.secondary:hover { border-color: var(--accent); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 26px; font: 12px/1.6 var(--mono); color: var(--muted); }
.hero-facts li::before { content: "✓ "; color: var(--accent); }
.compat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 13px; margin-top: 26px; }
.compat-label { font: 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.compat-list li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 13px 5px 5px; border: 1px solid #856e4a; border-radius: 999px; background: #1c170d; font-size: 14px; font-weight: 700; }
.compat-list img { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: var(--text); object-fit: contain; }

.demo { position: relative; min-width: 0; }
.demo-scene { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid #604e33; border-radius: 13px; background: #0b0804; box-shadow: 0 34px 89px #0009, 0 0 89px #ffdca21a; }
.demo-log { position: relative; width: min(calc(100% - 34px), 440px); min-width: 0; margin: -34px 21px 0 auto; border: 1px solid #504431; border-radius: 10px; background: #1c170df2; overflow: hidden; box-shadow: 0 21px 55px #000a; }
.log-bar { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 10px 16px; border-bottom: 1px solid #504431; background: #2a2113; font: 11px var(--mono); color: var(--muted); }
.log-dots { display: flex; gap: 6px; }
.log-dots i { width: 7px; height: 7px; border-radius: 50%; background: #605440; }
.log-dots i:first-child { background: var(--accent); }
.log-lines { padding: 13px 16px 16px; font: 12.5px/1.75 var(--mono); color: #e2d9cc; }
.log-lines li { overflow-wrap: anywhere; }
.log-lines code { font-size: 1em; }
.call { color: var(--text); margin-top: 6px; }
.call:first-child { margin-top: 0; }
.prompt { color: var(--accent); margin-right: 8px; }
.out { padding-left: 21px; color: var(--muted); }
.out code { color: var(--accent); margin-right: 6px; }
.res { padding-left: 21px; color: var(--muted); }
.res code { color: var(--text); margin-right: 8px; }
.sign { display: inline-block; width: 16px; font-weight: 700; }
.ok .sign { color: var(--accent); }
.sent .sign { color: var(--warn); }
.refused .sign { color: var(--bad); }
.demo figcaption { margin-top: 21px; font-size: 13px; color: var(--muted); }
.demo figcaption code { color: #f5ead8; }

.stack-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 13px 26px; padding: 21px; border-block: 1px solid var(--line); background: #18130c; font: 12px var(--mono); letter-spacing: .12em; color: #dad1c4; }
.stack-strip i { font-style: normal; color: #605440; }

.section { width: min(calc(100% - 42px), var(--max)); margin: 0 auto; padding-top: 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; margin-bottom: 42px; }
.section-heading > p { max-width: 380px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool-grid li { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.tool-grid code { display: inline-block; font-size: 15px; color: var(--accent); margin-bottom: 10px; }
.tool-grid p { color: var(--muted); font-size: 15px; }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 55px; }
.rules article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; padding: 26px 0; border-top: 1px solid var(--line); }
.rules article:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rules .index { font: 12px/2 var(--mono); color: var(--accent); }
.rules h3, .choices h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
.rules p, .choices p { color: var(--muted); font-size: 15px; }

.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.choices article { padding: 34px 34px 34px 0; min-width: 0; }
.choices article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.note { margin-top: 26px; font: 13px/1.7 var(--mono); color: var(--muted); max-width: 70ch; }

.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 55px; margin-top: 110px; padding: 42px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(115deg, #302514, #16110a); }
.section.install { width: min(calc(100% - 42px), var(--max)); }
.install h2 { margin-bottom: 26px; }
.install p { color: var(--muted); }
.install .disclaimer { margin-top: 21px; font-size: 13px; }
.specs { display: grid; align-content: center; gap: 0; min-width: 0; }
.specs div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font: 12px/1.9 var(--mono); color: var(--muted); }
.specs dd { overflow-wrap: anywhere; }

.source-section { margin-top: 110px; padding: 72px max(21px, calc((100vw - var(--max)) / 2)); border-block: 1px solid #604e33; background: radial-gradient(ellipse at 88% 30%, #664f2a40, transparent 60%), #1c170d; }
.source-heading { display: flex; align-items: center; gap: 21px; margin-bottom: 26px; }
.source-heading img { border-radius: 14px; }
.source-heading .eyebrow { margin: 0; }
.source-section > p { color: var(--muted); font-size: 18px; margin: 26px 0 34px; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px 34px; padding: 34px max(21px, calc((100vw - var(--max)) / 2)); font-size: 13px; color: var(--muted); }
.site-footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.site-footer > span a { text-decoration: underline; text-underline-offset: .25em; }
.site-footer .brand { font-size: 18px; color: var(--text); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 42px; padding-top: 55px; }
  .demo { max-width: 680px; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .install { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 760px) {
  .site-header nav, .brand small, .brand-slash { display: none; }
  .section { padding-top: 76px; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p { margin-top: 21px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choices article, .choices article + article { padding: 26px 0; border-left: 0; }
  .choices article + article { border-top: 1px solid var(--line); }
  .install { margin-top: 76px; padding: 26px 21px; }
  .source-section { margin-top: 76px; padding-block: 55px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 34px; }
  .release-chip { margin-bottom: 26px; font-size: 10px; }
  .hero-intro { font-size: 16px; }
  .demo-scene { aspect-ratio: 4 / 3; }
  .demo-log { width: auto; margin: -21px 10px 0; }
  .compat-list li { font-size: 13px; padding-right: 10px; }
  .log-lines { font-size: 11.5px; padding-inline: 13px; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-grid li { padding: 21px; }
  .specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .button { width: 100%; justify-content: space-between; }
  .stack-strip { gap: 8px 13px; font-size: 10px; letter-spacing: .06em; }
  .site-footer { display: grid; justify-content: start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover { transform: none; }
}

/* No illustrated scene for this product: its official medallion stands in the hero frame. */
.demo-mark { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 13px; background: radial-gradient(circle at 50% 45%, var(--accent-soft), transparent 62%), var(--panel); box-shadow: 0 34px 89px #0009; }
.demo-mark img { width: 38.2%; height: auto; border-radius: 22%; filter: drop-shadow(0 0 34px var(--accent-soft)); }
@media (max-width: 520px) { .demo-mark { aspect-ratio: 4 / 3; } }
/* Warning taken from the product's README, kept visible. */
.warning-note { margin-top: 26px; padding: 16px 18px; border: 1px solid var(--accent-soft); border-left: 3px solid var(--warn); border-radius: 6px; background: var(--panel); font-size: 15px; color: #e8e2da; max-width: 40em; }
.warning-note strong { color: var(--warn); }
.install .warning-note { margin-top: 13px; }
/* Links to the sibling products when there is no shared feature to describe. */
.eco-links { display: flex; flex-wrap: wrap; gap: 0 21px; margin-top: auto; }
.eco-links .eco-link { margin-top: 0; }
@media (min-width: 1001px) { .choices.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1000px) { .choices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .choices.four article:nth-child(3) { padding-left: 0; border-left: 0; } }

/* Nexus family additions: editions, siblings, extra report sign. */
.same .sign { color: var(--text); }
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.edition { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 34px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.edition-head { display: flex; align-items: center; gap: 13px; }
.edition-head img { width: 42px; height: 42px; padding: 5px; flex-shrink: 0; border-radius: 50%; background: var(--text); object-fit: contain; }
.edition h3 { font-size: 21px; letter-spacing: -.02em; }
.edition h3 span { color: var(--accent); }
.edition-meta { font: 12px/1.6 var(--mono); color: var(--muted); }
.edition > p { color: var(--muted); font-size: 15px; }
.edition ul { display: grid; gap: 10px; font-size: 14px; color: #e6e1d9; }
.edition li { position: relative; padding-left: 21px; }
.edition li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.edition code { color: var(--accent); }
.edition-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--accent); }
.edition-note { padding: 16px 18px; border: 1px solid var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 6px; background: var(--panel); font-size: 14px; color: #e6e1d9; }
.edition-note a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.rules code, .choices code, .note code, .tool-grid p code { color: var(--accent); overflow-wrap: anywhere; }
.choices .sibling-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 13px; font-size: 14px; font-weight: 700; color: var(--accent); }
.choices article img { width: 44px; height: 44px; margin-bottom: 16px; border-radius: 10px; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 0 21px; }
@media (max-width: 1000px) {
  .editions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .edition { padding: 26px 21px; }
}

/* Agent logos in the audience cards. */
.choices article img.family-logo { padding: 6px; border-radius: 50%; background: var(--text); object-fit: contain; }
.choices p + p { margin-top: 13px; }

/* nexus-shared:start (generated from tools/nexus-shared.css) */
/* Shared by the Nexus product pages (nexuskeypad, nexusandroid, nexusbrowser, nexuswindows).
   tools/build.mjs copies this file between the nexus-shared markers of each product style.css: edit it here only. */

/* Header that never overflows: the brand may shrink (ellipsis as a last resort), links stay on one line,
   the "by julienpiron.fr" tag and wide gaps go first on narrow screens. */
.site-header .brand { min-width: 0; }
.site-header .brand > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.site-header nav a, .parent-link { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1100px) {
  .site-header nav { gap: 21px; }
  .site-header .brand small, .site-header .brand-slash { display: none; }
}
@media (max-width: 400px) {
  .site-header { gap: 13px; padding-inline: 16px; }
  .site-header .brand { font-size: 15px; gap: 8px; }
  .site-header .brand img { width: 28px; height: 28px; }
  .parent-link { font-size: 12px; }
}

/* Nexus ecosystem: what each optional brick adds, and the fallback without it. */
.eco-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.eco-grid article { display: flex; flex-direction: column; gap: 13px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.eco-grid h3 { font-size: 21px; letter-spacing: -.02em; }
.eco-grid p { font-size: 15px; color: var(--muted); }
.eco-tag { display: inline-block; min-width: 47px; margin-right: 10px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 4px; font: 11px/1.8 var(--mono); letter-spacing: .08em; text-align: center; text-transform: uppercase; vertical-align: 1px; }
.eco-with .eco-tag { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }
.eco-without .eco-tag { color: var(--muted); }
.eco-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--accent); }
.eco-note { margin-top: 26px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .eco-grid { grid-template-columns: minmax(0, 1fr); }
  .eco-grid article { padding: 26px 21px; }
}

/* Same five header links on every product page; with the brand they need about 870px. */
@media (max-width: 900px) {
  .site-header nav { display: none; }
}

/* Installation block shared by the product pages: numbered steps, prerequisites with official links, copy buttons. */
/* Steps need the room: golden split with the specs column. */
.install:has(.install-steps) { grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .install:has(.install-steps) { grid-template-columns: minmax(0, 1fr); } }
.install-steps { display: grid; gap: 21px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: install-step; }
.install-steps > li { position: relative; min-width: 0; padding-left: 47px; counter-increment: install-step; }
.install-steps > li::before { content: counter(install-step, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 700 13px/1.6 var(--mono); color: var(--accent); }
.install-steps h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.01em; }
.install-steps p { font-size: 15px; }
.install-prereqs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.install-prereqs a, .install-repo a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.install-code { display: flex; align-items: flex-start; gap: 13px; margin-top: 13px; padding: 13px 13px 13px 16px; border: 1px solid var(--line); border-radius: 6px; background: #04070d; }
.install-code code, .install-code pre { flex: 1; min-width: 0; margin: 0; color: var(--accent); font: 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-button { flex-shrink: 0; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--text, #fff); font: 700 12px/1 var(--mono); cursor: pointer; }
.copy-button:hover, .copy-button:focus-visible { border-color: var(--accent); color: var(--accent); }
.install-steps .install-for { margin: 16px 0 0; color: var(--muted); font: 700 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.install-steps .install-for + .install-code { margin-top: 6px; }
.install-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.install-repo { margin-top: 26px; font-size: 15px; }
.install-shot { margin: 13px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.install-shot img { display: block; width: 100%; height: auto; }
.install-note { margin-top: 21px; font-size: 14px; }
.install-alt { margin-top: 34px; font-size: 17px; letter-spacing: -.01em; }
.store-badge { display: inline-block; margin-top: 13px; line-height: 0; border-radius: 6px; }
.store-badge img { display: block; height: 44px; width: auto; }
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.install-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .install-steps > li { padding-left: 34px; }
}

/* Ecosystem: what several agents share on one PC (NexusWindows editions). */
.eco-shared { margin-top: 55px; }
.eco-shared > h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.eco-shared > p { margin-bottom: 26px; color: var(--muted); }

/* Links section: the product's public addresses. */
.links-list { display: flex; flex-wrap: wrap; gap: 13px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; }
.links-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }

/* One-click install buttons and compatibility tables of the product pages. */
.install-buttons { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 13px; }
.install-buttons .button { min-height: 44px; font-size: 14px; }
.compat-table { margin-top: 55px; }
.compat-table > h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.compat-table > p { color: var(--muted); margin-bottom: 21px; }
.compat-table > p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.compat-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compat-table th, .compat-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compat-table tr:last-child td { border-bottom: 0; }
.compat-table th { font: 12px/1.6 var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.compat-table .status-ok { color: var(--accent); }
.compat-table .status-exp { color: var(--muted); }
.compat-table .status-no { color: var(--bad, #ff8a80); }
/* Product video: poster first, nothing downloaded before a hover or a click; play and sound buttons on top. */
.product-video { position: relative; margin: 0 0 55px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #000; aspect-ratio: 16 / 9; }
.product-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); color: #fff; cursor: pointer; }
.video-play span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 21px; border-radius: 999px; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 15px; }
.video-play:focus-visible span, .video-play:hover span { outline: 2px solid #fff; outline-offset: 3px; }
.product-video.is-open .video-play { display: none; }
.video-sound { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 18px; cursor: pointer; }
.video-sound[aria-pressed="true"]::before { content: "🔊"; }
.video-sound[aria-pressed="false"]::before { content: "🔇"; }
.video-sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* nexus-shared:end */
