/* ============================================================
   Bettear Auracast™ — design system implementation.
   Rules: see DESIGN.md. Source design: Figma "Auracast Website"
   (spacing normalized to the token scale below).
   ============================================================ */

/* ---------------- Tokens ---------------- */
:root {
  /* color */
  --ink: #000000;
  --muted: #4d4d4d;
  --label: #57007e;
  --accent-blue: #2e63ff;
  --tile: #effaff;
  --card-bg: #ffffff;
  --panel-gray: #f8f8f8;
  --page-bg: #ebebeb;
  --green: #6bb140;
  --chip-green: #deffb6;
  --chip-red: #ffbfb6;
  --footer-grad: linear-gradient(100deg, #2a1b4e 0%, #3d2470 45%, #2e63ff 100%);

  /* elevation */
  --shadow-card: 0 10px 26px rgba(0, 0, 0, 0.14);
  --shadow-pill: 0 6px 20px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.18);

  /* shape */
  --r-card: 24px;
  --r-tile: 14px;
  --r-pill: 999px;

  /* layout */
  --content-w: 1080px; /* card column = 1080 − 2×40px gutters = true 1000px */
  --gutter: clamp(20px, 3vw, 40px);

  /* spacing scale (see DESIGN.md §2) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  /* AIRY VARIANT — generous spacing (content identical to the main site) */
  --gap-section: clamp(64px, 9vw, 112px);
  --pad-card: clamp(30px, 4.8vw, 58px);
  --gap-block: clamp(34px, 4.6vw, 56px);
  --gap-item: clamp(18px, 2.4vw, 28px);

  /* type scale */
  --fs-display: clamp(32px, 4.5vw, 52px);
  --fs-h2: clamp(28px, 4.2vw, 46px);
  --fs-h3: clamp(22px, 2.6vw, 32px);
  --fs-h4: clamp(15px, 1.7vw, 20px);
  --fs-body: clamp(15px, 1.5vw, 17px);
  --fs-note: clamp(13px, 1.35vw, 15px);
  --fs-small: clamp(11px, 1.1vw, 13px);
  --fs-label: clamp(12px, 1.3vw, 15px);
  --fs-pill: clamp(14px, 1.5vw, 17px);

  /* motion */
  --t-fast: 0.18s ease;
  --t-med: 0.28s cubic-bezier(0.2, 0.6, 0.2, 1);

  /* scroll progress (0..1), set by js/main.js */
  --p: 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 700; }

:focus-visible { outline: 2px solid var(--label); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: var(--content-w); }

/* ---------------- Living background ---------------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--page-bg);
  pointer-events: none;
}
.bg-fx i {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}
/* white glow at the top, fades out as you scroll */
.bg-fx .glow {
  left: 50%; top: -42vh;
  width: 160vw; height: 90vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
  opacity: calc(1 - min(var(--p) * 2.4, 0.85));
}
/* violet blob drifts down-right */
.bg-fx .blob-a {
  top: -22vmax; left: -18vmax;
  width: 64vmax; height: 64vmax;
  background: radial-gradient(circle, rgba(87, 0, 126, 0.09), rgba(87, 0, 126, 0) 62%);
  transform: translate3d(calc(var(--p) * 26vmax), calc(var(--p) * 34vmax), 0) scale(calc(1 + var(--p) * 0.25));
}
/* blue blob drifts up-left */
.bg-fx .blob-b {
  bottom: -26vmax; right: -20vmax;
  width: 70vmax; height: 70vmax;
  background: radial-gradient(circle, rgba(46, 99, 255, 0.10), rgba(46, 99, 255, 0) 62%);
  transform: translate3d(calc(var(--p) * -24vmax), calc(var(--p) * -30vmax), 0) scale(calc(1.15 - var(--p) * 0.2));
}
/* soft warm counter-tint, appears mid-scroll */
.bg-fx .blob-c {
  top: 30%; left: 55%;
  width: 46vmax; height: 46vmax;
  background: radial-gradient(circle, rgba(171, 171, 240, 0.10), rgba(171, 171, 240, 0) 60%);
  opacity: calc(0.2 + var(--p) * 0.8);
  transform: translate3d(calc(var(--p) * -14vmax), calc(var(--p) * 10vmax), 0);
}

/* ---------------- Header (sticky, transparent) ---------------- */
.site-header { position: sticky; top: 0; z-index: 95; }
.header-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--sp-4) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Parallax header collapse: --hdr (0..1, set from scroll position in main.js)
   crops the logo down to the B-mark and slides it to the left viewport edge,
   while the home + burger buttons slide to the right edge and stack
   (home tucks under the burger via the JS-measured --stack-dx/--stack-dy). */
.site-header {
  --logo-h: clamp(40px, 3.85vw, 48px);
  /* room available outside the content column (never past the viewport edge) */
  --edge-room: max(0px, calc((100vw - var(--content-w)) / 2 + var(--gutter) - 10px));
  /* collapsed elements settle ~30px outside the content column
     (slide distances account for the 0.8 collapse scale) */
  --slide-l: min(calc(var(--logo-h) * 47 / 62 * 0.9 + 30px), var(--edge-room));
  --slide-r: min(68px, var(--edge-room));
}
.site-header .logo {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
  /* The full logo is 133 viewBox units wide, the B-mark exactly 47 —
     so the collapsed crop lands precisely on the standalone mark. */
  width: calc(var(--logo-h) * (133 - var(--hdr, 0) * 86) / 62);
  transform: translateX(calc(var(--hdr, 0) * -1 * var(--slide-l))) scale(calc(1 - var(--hdr, 0) * 0.2));
  transition: width 0.18s ease-out, transform 0.18s ease-out;
}
.logo-svg {
  height: var(--logo-h);
  width: calc(var(--logo-h) * 133 / 62);
  flex: 0 0 auto;
  display: block;
  color: #000;
  transition: transform var(--t-med);
}
.logo-letters {
  opacity: calc(1 - var(--hdr, 0) * 1.35);
  transition: opacity 0.18s ease-out;
}
.header-actions { display: flex; align-items: center; gap: var(--sp-5); }
.header-actions a.icon-btn {
  transform: translate(calc(var(--hdr, 0) * (var(--slide-r) + var(--stack-dx, 66px))), calc(var(--hdr, 0) * var(--stack-dy, 48px))) scale(calc(1 - var(--hdr, 0) * 0.2));
  transition: transform 0.18s ease-out;
}
.header-actions .burger {
  transform: translateX(calc(var(--hdr, 0) * var(--slide-r))) scale(calc(1 - var(--hdr, 0) * 0.2));
  transition: transform 0.18s ease-out;
}
.icon-btn {
  background: none; border: none; cursor: pointer; padding: 6px;
  display: inline-flex; align-items: center; color: var(--ink);
  border-radius: 8px;
  transition: transform var(--t-med);
}
.icon-btn svg { display: block; }

/* Burger — three diagonal strokes, morphs to X when open */
.burger-box { position: relative; display: block; width: 30px; height: 24px; transform: rotate(45deg); }
.bl {
  position: absolute; left: 50%; height: 3px; border-radius: 2px; background: currentColor;
  transform: translateX(-50%);
  transition: top 0.28s ease, bottom 0.28s ease, width 0.28s ease, transform 0.28s ease, opacity 0.2s ease;
}
.bl1 { width: 16px; top: 0; }
.bl2 { width: 30px; top: 50%; margin-top: -1.5px; }
.bl3 { width: 16px; bottom: 0; }
.burger.active .bl1 { top: 50%; margin-top: -1.5px; width: 30px; transform: translateX(-50%) rotate(90deg); }
.burger.active .bl2 { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
.burger.active .bl3 { bottom: 50%; margin-bottom: -1.5px; width: 30px; transform: translateX(-50%) rotate(0deg); }

main { padding-top: clamp(28px, 4.2vw, 56px); }

/* ---------------- Intro card (hero + meta + explore) ---------------- */
.intro-card {
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: var(--gap-section);
}
.intro-card .hero-wrap { position: relative; }
.intro-card .hero-img {
  width: 100%;
  aspect-ratio: 1514 / 677;
  object-fit: cover;
}
.hero-pill {
  position: absolute;
  left: clamp(16px, 2.4vw, 30px);
  bottom: clamp(16px, 2.4vw, 30px);
  background: var(--card-bg);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 0.7em 1.4em;
  font-weight: 400;
  font-size: clamp(12px, 1.5vw, 17px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.intro-body { padding: var(--pad-card); }
.chapter-title {
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1.02;
  margin-bottom: var(--sp-4);
}
.chapter-intro {
  font-weight: 400;
  color: var(--muted);
  font-size: clamp(15px, 1.65vw, 19px);
  line-height: 1.6;
  max-width: 380px;
}

/* ---------------- Labels ---------------- */
.label {
  font-weight: 700;
  color: var(--label);
  font-size: var(--fs-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: var(--sp-2) 0 clamp(26px, 3.4vw, 42px);
}

.meta-cols {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--gap-block) clamp(24px, 4vw, 56px);
  margin-top: var(--gap-block);
}
.pill-row { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.4vw, 16px); }
.pill {
  background: var(--card-bg);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 0.55em 1.3em;
  font-weight: 400;
  color: var(--muted);
  font-size: var(--fs-pill);
  line-height: 1.25;
  white-space: nowrap;
}
.pill--wide { white-space: normal; }

/* ---------------- Explore nav ---------------- */
.explore { margin-top: var(--gap-block); }
.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-item) clamp(24px, 3.6vw, 44px);
}
.explore-item {
  display: flex;
  align-items: stretch;
  background: var(--tile);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-pill);
  min-height: clamp(50px, 4.4vw, 58px);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.explore-item .num {
  flex: 0 0 clamp(46px, 4vw, 54px);
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 300;
  font-size: clamp(24px, 2.7vw, 34px);
}
.explore-item .txt {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 4px clamp(14px, 1.8vw, 24px);
  font-weight: 400;
  color: var(--muted);
  font-size: var(--fs-pill);
  line-height: 1.2;
}
.explore-item .txt small { font-size: 0.72em; }
.explore-item .arrow {
  display: flex; align-items: center;
  padding-right: clamp(14px, 1.8vw, 22px);
  color: var(--ink);
  transition: transform var(--t-med);
}

/* ---------------- Section cards ---------------- */
.section-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: var(--pad-card);
  margin-bottom: var(--gap-section);
  scroll-margin-top: 86px;
}
.section-head {
  display: flex;
  align-items: flex-start;
  margin: calc(18px - var(--pad-card)) calc(18px - var(--pad-card)) clamp(44px, 6vw, 72px);
}
.head-pill {
  display: inline-flex;
  align-items: stretch;
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-pill);
  min-height: clamp(50px, 4.4vw, 58px);
}
.section-head .num {
  flex: 0 0 clamp(46px, 4vw, 54px);
  background: var(--tile);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 300;
  font-size: clamp(24px, 2.7vw, 34px);
}
.section-head .txt {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 clamp(18px, 2.2vw, 30px) 0 clamp(14px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--muted);
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-h {
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.08;
  margin: var(--sp-2) 0 clamp(32px, 4.4vw, 56px);
}
.section-body {
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  max-width: 470px;
}
.section-body p + p { margin-top: 1em; }
.section-note {
  margin-top: var(--gap-block);
  font-weight: 400;
  font-size: var(--fs-note);
  line-height: 1.5;
  max-width: 460px;
}
.deck-note {
  margin: clamp(48px, 6vw, 76px) 0 clamp(14px, 2vw, 24px);
  padding-left: 14px;
  border-left: 3px solid var(--label);
  font-weight: 400;
  font-size: var(--fs-note);
  line-height: 1.5;
  max-width: 560px;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: var(--gap-block) clamp(24px, 3.4vw, 48px);
  align-items: start;
}
.split .fig { display: flex; align-items: center; justify-content: center; align-self: center; }
.split .fig img { max-height: 480px; width: auto; max-width: 100%; }
.split .fig--screen img { max-height: none; width: 100%; }
/* image on a shadowed card (Sound Card Mode) */
.split .fig img.fig-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: clamp(18px, 2.4vw, 32px);
}
.split--diagram { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: stretch; }

/* Side-fill sections: figure panel spans the full card height, flush with edges */
.section-card--sidefill {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  column-gap: clamp(24px, 3.4vw, 48px);
  overflow: hidden;
}
.section-card--sidefill .sf-main { min-width: 0; }
.section-card--sidefill .section-h { font-size: clamp(26px, 3.6vw, 40px); }
.section-card--sidefill-lg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.section-card--sidefill .sf-fig {
  margin: calc(-1 * var(--pad-card)) calc(-1 * var(--pad-card)) calc(-1 * var(--pad-card)) 0;
  border-radius: 0 var(--r-card) var(--r-card) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8fa 0%, #eef0f3 100%);
  min-height: clamp(320px, 36vw, 500px);
}
.section-card--sidefill .sf-fig img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ---------------- Icon pills ---------------- */
.ipills { display: grid; gap: var(--gap-item); margin-top: var(--gap-block); justify-items: start; }
.ipill {
  display: inline-flex; align-items: center; gap: clamp(10px, 1.2vw, 16px);
  background: var(--card-bg);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 7px clamp(26px, 2.6vw, 38px) 7px 7px;
  min-height: clamp(50px, 4.4vw, 58px);
}
.ipill .ico {
  flex: 0 0 clamp(38px, 3.2vw, 44px);
  height: clamp(38px, 3.2vw, 44px);
  border-radius: 50%;
  background: var(--page-bg);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.14), inset 0 -1px 2px rgba(255, 255, 255, 0.65);
  display: flex; align-items: center; justify-content: center;
  color: #4f4f4f;
}
.ipill .txt { font-weight: 400; color: var(--ink); font-size: var(--fs-note); line-height: 1.35; }
.ipill .txt strong { display: block; }
.ipill .txt span { color: var(--muted); }
/* Desktop: pill copy never breaks mid-line (Safari metrics wrap earlier than Chrome).
   The long highlighted pill subline may wrap — it spans its column anyway. */
@media (min-width: 1024px) {
  .ipill .txt strong, .ipill .txt span { white-space: nowrap; }
  .ipill--hl .txt span { white-space: normal; }
}
.ipill--hl { background: var(--tile); }
.ipills--rows { justify-items: stretch; width: min(100%, 620px); }
.ipills--rows .ipill { width: 100%; }
.ipills--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: stretch; }
.ipills--duo .ipill { width: 100%; }

/* ---------------- Room pills (staggered) ---------------- */
.room-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  margin-top: var(--gap-block);
  max-width: 440px;
}
.room-pills .col2 { margin-top: var(--sp-6); }
.room-pill {
  display: flex; align-items: center; gap: clamp(10px, 1.2vw, 14px);
  background: var(--card-bg);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 7px;
  min-height: clamp(50px, 4.4vw, 58px);
  margin-bottom: var(--gap-item);
}
.room-pill .ico {
  flex: 0 0 clamp(38px, 3.2vw, 44px);
  height: clamp(38px, 3.2vw, 44px);
  border-radius: 50%;
  background: var(--page-bg);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.14), inset 0 -1px 2px rgba(255, 255, 255, 0.65);
  display: flex; align-items: center; justify-content: center;
  color: #7a7a7a;
}
.room-pill .txt { font-weight: 500; font-size: clamp(13px, 1.35vw, 16px); line-height: 1.3; padding-right: var(--sp-3); }
.room-pill .txt span { display: block; font-weight: 400; font-size: 0.82em; color: var(--green); white-space: nowrap; }

/* ---------------- Product / receiver cards ---------------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-item); }
.prod-card {
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(14px, 1.6vw, 20px) clamp(10px, 1.2vw, 16px);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center;
  min-height: clamp(170px, 15vw, 200px);
}
.prod-card img, .split .fig .prod-card img { max-height: clamp(100px, 9.5vw, 130px); width: auto; object-fit: contain; }
.prod-card figcaption { margin-top: var(--sp-3); font-weight: 400; font-size: var(--fs-small); line-height: 1.3; }
.prod-card figcaption strong { display: block; }

/* ---------------- Tier rows ---------------- */
.tier-row {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(180px, 393fr) minmax(0, 1037fr);
  margin-top: var(--gap-block);
  min-height: clamp(200px, 19vw, 264px);
}
.tier-row .tier-info { padding: clamp(18px, 2vw, 26px) clamp(16px, 1.8vw, 24px); }
.tier-row .tier-info h4 { font-weight: 500; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.2; margin-bottom: 0.4em; }
.tier-row .tier-info p { font-weight: 400; font-size: var(--fs-body); line-height: 1.4; }
.tier-row .tier-panel {
  background: var(--panel-gray) url('../images/contour-wide-50.png') center / 75% no-repeat;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: space-evenly;
  gap: var(--sp-3);
  padding: clamp(16px, 1.8vw, 24px) clamp(10px, 1.4vw, 20px);
  flex-wrap: wrap;
}
.tier-panel figure { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1 1 0; min-width: 110px; }
.tier-panel figure img { height: clamp(90px, 11vw, 155px); width: auto; object-fit: contain; }
.tier-panel figcaption { margin-top: var(--sp-3); font-weight: 400; font-size: var(--fs-small); line-height: 1.3; }
.tier-panel figcaption strong { display: block; }

/* ---------------- Chips ---------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--gap-block); }
.chip-row--col { flex-direction: column; align-items: flex-start; }
.chip {
  background: var(--card-bg);
  border-radius: var(--r-pill);
  padding: 0.55em 1.2em;
  font-weight: 400;
  color: var(--ink);
  font-size: var(--fs-note);
  box-shadow: var(--shadow-pill);
}
.chip--green { background: var(--chip-green); box-shadow: none; }
.chip--red { background: var(--chip-red); box-shadow: none; }
.chip--blue { background: var(--tile); }
.chip--soft {
  background: var(--page-bg);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.12), inset 0 -1px 2px rgba(255, 255, 255, 0.6);
  padding: 0.7em 1.5em;
  font-size: var(--fs-body);
}

/* ---------------- Info cards ---------------- */
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.4vw, 56px) var(--gap-item); margin-top: clamp(44px, 5.6vw, 72px); }
.info-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(62px, 6vw, 74px) clamp(16px, 1.8vw, 24px) clamp(18px, 2vw, 26px);
  text-align: center;
}
.info-card h4 { font-weight: 700; font-size: var(--fs-h4); line-height: 1.25; margin-bottom: 0.55em; }
.info-card p { font-weight: 400; color: var(--ink); font-size: var(--fs-note); line-height: 1.5; }
.info-card--left { text-align: left; }
.info-card--left p + p { margin-top: 0.9em; }

/* Recessed icon cutouts: the circle is a hole punched into the card —
   page-background gray showing through, inset shadow for depth, icon inside. */
.info-card .ico, .check-card .ico, .secure-card .ico {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--page-bg);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.14), inset 0 -1px 2px rgba(255, 255, 255, 0.65);
  display: flex; align-items: center; justify-content: center;
  color: var(--label);
}
.info-card .ico { top: 16px; left: 16px; }
.check-card .ico { top: 50%; left: 16px; transform: translateY(-50%); color: #4f4f4f; }
.secure-card .ico { top: 18px; left: 18px; color: #4f4f4f; }

/* ---------------- Checklist card ---------------- */
.check-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.2vw, 30px) clamp(18px, 2vw, 28px) clamp(20px, 2.2vw, 30px) clamp(72px, 6.6vw, 86px);
  margin-top: var(--gap-block);
  max-width: 460px;
}
.check-card ul { display: grid; gap: 0.5em; }
.check-card li { font-weight: 400; font-size: clamp(13px, 1.35vw, 16px); line-height: 1.4; padding-left: 0.9em; position: relative; }
.check-card li::before { content: '·'; position: absolute; left: 0; font-weight: 700; }
.check-card li span { display: block; color: var(--muted); font-size: 0.85em; }
.check-card--plain li::before { content: none; }
.check-card--plain li { padding-left: 0; }
.check-card--plain ul { gap: 0.9em; }

/* ---------------- Illustration blocks ---------------- */
.illus-full { position: relative; margin: var(--gap-block) calc(-1 * var(--pad-card)) 0; }
.illus-full img { width: 100%; }
.callout {
  position: absolute;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--tile);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 0.5em 1.1em;
  font-weight: 500;
  font-size: clamp(11px, 1.2vw, 15px);
}

.hidden-extras {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: var(--gap-block) clamp(16px, 2.2vw, 32px);
  align-items: start;
  margin-top: var(--gap-block);
}
.hidden-extras .mini-label { font-weight: 400; font-size: var(--fs-note); text-align: center; margin-bottom: var(--sp-3); }
.toggle-pill {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--card-bg); border-radius: var(--r-pill); box-shadow: var(--shadow-pill);
  padding: var(--sp-2) 18px var(--sp-2) var(--sp-2);
  font-weight: 400; font-size: var(--fs-note); line-height: 1.3;
}
/* two finish swatches (Figma 5-765) — a grey and a black circle, not a toggle */
.toggle-pill .knob { width: 56px; height: 34px; background: none; border-radius: 0; position: relative; flex: 0 0 auto; }
.toggle-pill .knob::before { content: ''; position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: #e3e3e6; }
.toggle-pill .knob::after { content: ''; position: absolute; right: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: #1d1d20; }

/* ---------------- Diagram panel — recessed cutout showing the page gray ---------------- */
.diagram-panel {
  background: var(--page-bg);
  border-radius: var(--r-card);
  box-shadow: inset 0 4px 14px rgba(0, 0, 0, 0.11), inset 0 -1px 3px rgba(255, 255, 255, 0.5);
  padding: clamp(18px, 2.2vw, 32px);
  display: flex; align-items: center; justify-content: center;
}
.diagram-panel img { max-width: 100%; max-height: 440px; }
.diagram-panel--wire { padding: clamp(24px, 3.4vw, 52px) clamp(20px, 3vw, 46px); }
/* wiring-diagram.png now has a truly transparent background (white keyed to
   alpha), so no blend hack — multiply only erases white on a dark backdrop, not
   on this light panel. Do NOT reintroduce mix-blend-mode here. */
.diagram-panel--wire img { width: 100%; max-height: none; }
.diagram-panel--video { padding: 0; overflow: hidden; }
.scroll-video { display: block; width: 100%; height: auto; border-radius: var(--r-card); }

.sub-illus {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) 1.58fr;
  gap: var(--gap-item) clamp(14px, 1.8vw, 28px);
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: clamp(16px, 2vw, 28px);
  margin-top: var(--gap-block);
  align-items: center;
}
.sub-illus .side .lbl { font-weight: 400; letter-spacing: 0.1em; font-size: var(--fs-note); text-transform: uppercase; margin-bottom: var(--sp-4); }
.sub-illus .side img { max-height: 240px; width: auto; }

/* ---------------- Multistream graphic ---------------- */
.ms-graphic { width: 100%; }
.ms-graphic img.ms-img { width: 100%; height: auto; }
.ms-caps { position: relative; height: 84px; margin-top: 6px; }
.ms-cap { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font-size: var(--fs-small); line-height: 1.3; width: 220px; }
.ms-cap strong { display: block; font-size: clamp(13px, 1.3vw, 16px); }
.ms-cap .muted { color: var(--muted); font-weight: 400; }
.ms-cap img { height: 20px; margin: 6px auto 0; }

/* ------- Multistream flow (Figma 36-3137): FORGE XD > CASTER > languages ------- */
.ms-flow { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 8px 2px 4px; }
.ms-flow .strip { position: absolute; left: 8px; right: 8px; top: 108px; height: 92px; transform: translateY(-50%); background: #E9F1F9; border-radius: 999px; }
.ms-flow .col { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.ms-flow .prod { display: block; width: auto; }
.ms-flow .forge { height: 74px; margin-top: 63px; }
.ms-flow .caster { height: 200px; }
.ms-flow .chev { position: relative; z-index: 1; flex: 0 0 auto; margin-top: 85px; }
.ms-flow .cap { text-align: center; margin-top: 18px; font-size: var(--fs-small); line-height: 1.3; }
.ms-flow .cap strong { display: block; font-size: clamp(13px, 1.3vw, 16px); }
.ms-flow .cap .muted { color: var(--muted); font-weight: 400; }
.ms-flow .cap img { height: 20px; margin: 6px auto 0; display: block; }
.ms-flow .flags { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, auto); gap: 12px 14px; margin-top: 24px; }
.ms-flow .flags span { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: clamp(14px, 1.5vw, 19px); color: #1d1d24; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10); }
.ms-flow .flags i { font-style: normal; font-size: 1.15em; line-height: 1; }
@media (max-width: 760px) {
  .ms-flow { flex-wrap: wrap; justify-content: center; gap: 18px; }
  .ms-flow .strip, .ms-flow .chev { display: none; }
  .ms-flow .forge, .ms-flow .flags { margin-top: 0; }
}

/* ------- Dante-to-Auracast flow diagram (Figma 61-682 / 62-1814) ------- */
.dflow { position: relative; width: 100%; aspect-ratio: 1398 / 596; container-type: inline-size; margin-top: var(--gap-block); font-family: inherit; }
.dflow-blob { position: absolute; inset: 0; width: 100%; height: 100%; }
.dflow-tag { position: absolute; height: 5.201%; background: #fff; border: 0.179cqw solid rgba(31,162,255,0.85); box-sizing: border-box; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #1fa2ff; font-weight: 600; font-size: 1.431cqw; }
.dflow-card { position: absolute; background: #fff; border-radius: 2.146cqw; box-shadow: 0 0.715cqw 2.003cqw rgba(0,0,0,0.10); }
.dflow-card .dc-mark { position: absolute; left: 1.431cqw; top: 1.073cqw; width: 4.435cqw; height: 4.435cqw; padding: 0.930cqw; box-sizing: border-box; object-fit: contain; background: #eef0f3; border-radius: 50%; box-shadow: inset 0 0.143cqw 0.429cqw rgba(0,0,0,0.10); }
.dflow-card .dc-title { position: absolute; left: 6.795cqw; top: 2.718cqw; font-size: 1.707cqw; font-weight: 300; color: #5a5a72; line-height: 1.15; }
.dflow-card .dc-title strong { display: block; font-weight: 300; }
.dflow-card .dc-row { position: absolute; left: 2.289cqw; width: 20.959cqw; height: 3.290cqw; background: #fff; border-radius: 999px; box-shadow: 0 0.286cqw 0.858cqw rgba(0,0,0,0.10); display: flex; align-items: center; }
.dflow-card .dc-row span { margin-left: 1.931cqw; font-size: 1.073cqw; font-weight: 400; color: #000; }
.dflow-card .dc-row i { position: absolute; left: 11.445cqw; width: 8.083cqw; height: 0.858cqw; background: #f1f1f1; border-radius: 999px; overflow: hidden; }
.dflow-card .dc-row i b { position: absolute; left: 0; top: 0; bottom: 0; background: #82efa2; border-radius: 999px; }

.dflow-forge, .dflow-caster { position: absolute; text-align: center; }
.dflow-forge .pr { width: 100%; height: 3.648cqw; object-fit: cover; display: block; }
.dflow-caster .pr { width: 12.446cqw; height: 12.518cqw; object-fit: cover; display: block; margin: 0 auto; }
.dflow-forge .cap { margin-top: 4.507cqw; } .dflow-caster .cap { margin-top: 1.430cqw; } .dflow-forge .cap, .dflow-caster .cap { font-size: 1.574cqw; font-weight: 300; line-height: 1.25; color: #000; }
.dflow-forge .cap strong, .dflow-caster .cap strong { display: block; font-weight: 600; }
.dflow-forge .cap .dlogo { display: block; height: 2.861cqw; width: auto; margin: 0.572cqw auto 0; }
.dflow-arcs { position: absolute; aspect-ratio: 80 / 108; height: auto; }
.dflow-langs { position: absolute; height: 100%; }
.dflow-langs .lang { position: absolute; left: 0; width: 100%; height: 3.577cqw; background: #fff; border-radius: 999px; box-shadow: 0 0.429cqw 1.144cqw rgba(0,0,0,0.10); display: flex; align-items: center; gap: 0.644cqw; font-size: 1.707cqw; font-weight: 500; color: #000; }
.dflow-langs .lang img { width: 2.575cqw; height: 2.575cqw; margin-left: 0.572cqw; }
.dflow-note { margin-top: var(--gap-item); font-size: var(--fs-body); line-height: 1.45; max-width: 760px; }
.dflow-note strong { font-weight: 700; }
@media (max-width: 759px) { .dflow { display: none; } }

/* ------- TimeCode section (Figma 62-1538) ------- */
@font-face { font-family: 'Seven Segment'; src: url('../fonts/seven-segment.ttf') format('truetype'); font-display: swap; }
.tcode { position: relative; width: 100%; aspect-ratio: 1305 / 620; container-type: inline-size; margin-top: var(--gap-block); }
.tcode .tc-row { position: absolute; width: 42.912cqw; height: 3.525cqw; background: #eaf9ff; border: 0.2px solid rgba(9, 90, 158, 0.55); border-radius: 999px; display: flex; align-items: center; justify-content: flex-end; gap: 1.226cqw; padding-right: 1.686cqw; }
.tcode .tc-row span { font-size: 1.494cqw; font-weight: 400; color: #000; }
.tcode .tc-row b { font-family: 'Seven Segment', 'Courier New', monospace; font-weight: 400; font-size: 1.993cqw; color: #068fff; }
.tcode .tc-caster { position: absolute; height: auto; }
.tcode .tc-title { position: absolute; font-size: 1.829cqw; font-weight: 300; color: #5a5a72; line-height: 1.25; }
.tcode .tc-title strong { display: block; font-weight: 500; color: #3f3f4a; font-size: 2.146cqw; margin-bottom: 0.2cqw; }
.tcode .tc-arcs { position: absolute; aspect-ratio: 80 / 108; height: auto; }
.tcode .tc-dots { position: absolute; display: block; }
.tcode .tc-dots i { position: absolute; width: 0.613cqw; height: 0.613cqw; border-radius: 50%; }
.tcode .tc-dots i:nth-child(1) { left: 0.766cqw; top: 0; }
.tcode .tc-dots i:nth-child(2) { left: 0.460cqw; top: 0.690cqw; }
.tcode .tc-dots i:nth-child(3) { left: 0.230cqw; top: 1.379cqw; }
.tcode .tc-dots--lt i { background: #5ed4ff; }
.tcode .tc-dots--rt i { background: #068fff; }
.tcode .tc-card { position: absolute; width: 23.908cqw; height: 10.268cqw; background: #ebfaff; border: 0.2px solid rgba(9, 90, 158, 0.55); border-radius: 2.299cqw; }
.tcode .tc-card strong { position: absolute; left: 1.686cqw; top: 1.073cqw; font-size: 1.533cqw; font-weight: 500; color: #000002; }
.tcode .tc-card .fl { position: absolute; left: 1.686cqw; top: 3.755cqw; display: flex; gap: 0.230cqw; }
.tcode .tc-card .fl img { width: 1.916cqw; height: 1.916cqw; }
.tcode .tc-card .tcv { position: absolute; left: 1.686cqw; top: 6.437cqw; display: flex; align-items: center; gap: 0.766cqw; }
.tcode .tc-card .tcv svg { width: 1.073cqw; height: 1.226cqw; }
.tcode .tc-card .tcv b { font-family: 'Seven Segment', 'Courier New', monospace; font-weight: 400; font-size: 2.299cqw; color: #068fff; }
.tcode .tc-card .tcv em { font-style: normal; font-size: 1.149cqw; font-weight: 500; color: #0acc00; align-self: flex-end; }
.tcode .tc-card .rtx { position: absolute; right: 1.916cqw; top: 0.920cqw; height: 8.429cqw; width: auto; }
.tcode .tc-note { position: absolute; margin: 0; width: 58.238cqw; font-size: 1.533cqw; line-height: 1.35; color: #000; }
.tcode .tc-note strong { font-weight: 700; }
@media (max-width: 759px) { .tcode { display: none; } }

/* ---------------- Antenna option cards ---------------- */
.antenna-row { display: flex; justify-content: flex-end; gap: var(--gap-item); align-items: center; margin-top: var(--gap-block); flex-wrap: wrap; }
.antenna-row .lead { font-weight: 400; font-size: var(--fs-body); line-height: 1.5; flex: 0 1 auto; max-width: 170px; margin-right: clamp(4px, 2vw, 22px); }
.antenna-card {
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.6vw, 34px) clamp(18px, 2.2vw, 30px);
  text-align: center;
  flex: 0 1 clamp(172px, 17.5vw, 198px);
  min-width: 155px;
}
.antenna-card img { height: clamp(130px, 15vw, 205px); width: auto; margin: 0 auto var(--sp-4); object-fit: contain; }
.antenna-card figcaption { font-weight: 400; font-size: var(--fs-note); line-height: 1.4; }

/* ---------------- Flow (sports) ---------------- */
.flow {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(6px, 1vw, 14px);
  margin-top: var(--gap-block);
  flex-wrap: wrap;
}
.flow .arrow { color: var(--label); font-size: clamp(16px, 1.8vw, 24px); font-weight: 500; }
.flow-panel {
  flex: 1 1 250px;
  align-self: stretch;
  display: flex; align-items: center; justify-content: space-evenly;
  gap: clamp(6px, 1vw, 14px);
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(12px, 1.6vw, 20px);
}
.stream-card {
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(10px, 1.3vw, 16px);
  flex: 1 1 185px;
  max-width: 235px;
}
.stream-card .sc-head { display: flex; align-items: center; gap: var(--sp-2); font-weight: 500; letter-spacing: 0.08em; font-size: clamp(10px, 1.05vw, 13px); text-transform: uppercase; margin-bottom: var(--sp-3); }
.stream-card .sc-head .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--page-bg); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.14), inset 0 -1px 2px rgba(255, 255, 255, 0.65); display: flex; align-items: center; justify-content: center; color: #4f4f4f; flex: 0 0 30px; }
.stream-pill {
  display: flex; align-items: center; gap: var(--sp-2);
  background: var(--card-bg);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 0.5em 1em;
  font-weight: 400;
  font-size: clamp(11px, 1.2vw, 14px);
  margin-bottom: var(--sp-2);
  color: var(--muted);
  white-space: nowrap;
}
.stream-pill.hl { background: var(--tile); color: var(--ink); }
/* both device nodes share ONE grid: identical image row + caption rows,
   so device centres and caption tops align structurally across nodes */
.flow .node { text-align: center; flex: 0 1 auto; max-width: 200px; display: grid; grid-template-rows: 4.7em clamp(150px, 17vw, 234px) 1.7em 3em; }
.flow .node img { grid-row: 2; align-self: center; height: clamp(96px, 11vw, 152px); width: auto; margin: 0 auto; object-fit: contain; }
.flow .node .t { grid-row: 3; margin-top: var(--sp-2); }
.flow .node .d { grid-row: 4; }
.flow .node--sm img { height: clamp(48px, 5.5vw, 80px); }
.flow .node .t { font-weight: 700; font-size: clamp(11px, 1.2vw, 14px); }
.flow .node .d { font-weight: 400; color: var(--muted); font-size: clamp(10px, 1.05vw, 13px); margin-top: 2px; line-height: 1.3; }

/* ---------------- Setup comparison ---------------- */
.setup-block { margin-top: var(--gap-block); }
.setup-panel {
  position: relative;
  display: grid;
  grid-template-columns: clamp(34px, 3.4vw, 44px) 1fr;
  gap: clamp(12px, 1.6vw, 22px);
  margin-bottom: var(--gap-item);
}
.setup-tab {
  background: var(--tile);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 400;
  font-size: var(--fs-note);
  letter-spacing: 0.06em;
  padding: var(--sp-4) 0;
}
.setup-body {
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(16px, 2vw, 28px);
}
/* Zoned panel: control room | audience area, split by --split */
.setup-zones {
  position: relative;
  padding: clamp(44px, 4.6vw, 58px) clamp(16px, 2vw, 28px) clamp(16px, 2vw, 26px);
  overflow: hidden;
}
.setup-zones::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: var(--split, 60%); right: 0;
  background: #fcfcfd;
  border-radius: var(--r-tile);
  box-shadow: -10px 0 26px rgba(0, 0, 0, 0.055);
}
.setup-zones > * { position: relative; z-index: 1; }
.zone-label {
  position: absolute; top: clamp(14px, 1.6vw, 20px); left: clamp(16px, 2vw, 28px);
  font-weight: 400; letter-spacing: 0.12em;
  font-size: clamp(10px, 1.05vw, 13px); text-transform: uppercase;
}
.zone-label--right { left: calc(var(--split, 60%) + clamp(14px, 1.8vw, 24px)); }

/* Bettear setup: switch (line exits its center) + media player below,
   straight run to the caster centered in the audience zone */
.su-illus { display: block; width: min(88%, 900px); margin: clamp(26px, 4.4vw, 60px) auto clamp(30px, 5vw, 68px); }
.su-flow {
  display: flex; align-items: flex-start; gap: 0;
  padding: clamp(24px, 4vw, 56px) 0 clamp(28px, 4.6vw, 64px) clamp(24px, 16%, 170px);
}
.su-gear { position: relative; display: grid; gap: 14px; justify-items: start; flex: 0 0 auto; color: #1f1f26; }
.su-gear svg { display: block; height: auto; }
.su-gear svg:first-child { width: 106px; margin-left: 42px; }
.su-gear svg:last-child { width: 140px; }
.su-gear::before {
  content: ''; position: absolute; left: 60px; top: 46px; height: 15px; width: 2.5px;
  background: #1f1f26;
}
.su-line { flex: 1 1 auto; min-width: 50px; height: 2.5px; background: #1f1f26; margin-top: 21.5px; }
.su-caster { flex: 0 0 112px; margin-top: -36px; margin-right: clamp(20px, 12%, 130px); color: #1f1f26; }
.su-caster svg { width: 100%; height: auto; display: block; }
@media (max-width: 759px) {
  .su-illus { display: block; width: min(88%, 900px); margin: clamp(26px, 4.4vw, 60px) auto clamp(30px, 5vw, 68px); }
.su-flow { padding: 16px 0 20px 12px; }
  .su-gear svg:first-child { width: 84px; margin-left: 30px; }
  .su-gear svg:last-child { width: 112px; }
  .su-gear::before { left: 46px; top: 37px; height: 13px; }
  .su-line { margin-top: 17px; min-width: 30px; }
  .su-caster { flex-basis: 92px; margin-top: -30px; margin-right: 12px; }
}

/* Traditional setup: sources — bracket — FM transmitters — lines — antennas */
.trad-flow {
  display: grid;
  grid-template-columns: max-content clamp(18px, 2.6vw, 36px) max-content minmax(28px, 1fr) max-content;
  align-items: stretch;
  padding-top: var(--sp-2);
}
.tf-col { display: grid; grid-auto-rows: 1fr; align-items: center; min-width: 0; }
.tf-col .trad-pill { justify-self: stretch; margin: 2.5px 0; }
.tf-src { align-content: center; grid-auto-rows: auto; gap: 7px; padding-right: 4px; }
.tf-bracket, .tf-lines { display: grid; grid-auto-rows: 1fr; position: relative; }
.tf-bracket::before {
  content: ''; position: absolute; left: 50%; top: 5%; bottom: 5%;
  width: 1px; background: #3a3a44;
}
.tf-bracket::after {
  content: ''; position: absolute; left: -6px; right: 50%; top: 50%;
  height: 1px; background: #3a3a44;
}
.tf-bracket i { position: relative; }
.tf-bracket i::before {
  content: ''; position: absolute; left: 50%; right: -2px; top: 50%;
  height: 1px; background: #3a3a44;
}
.tf-lines i { position: relative; }
.tf-lines i::before {
  content: ''; position: absolute; left: -2px; right: -2px; top: 50%;
  height: 1px; background: #3a3a44;
}
.trad-pill {
  background: var(--card-bg);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 0.4em 1em;
  font-weight: 400;
  font-size: clamp(10px, 1.05vw, 13px);
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}
.chips-under { margin: var(--sp-1) 0 var(--gap-block) clamp(46px, 5vw, 66px); display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------------- Tour cards ---------------- */
.tour-card {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) 1.15fr;
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-top: var(--gap-block);
  align-items: center;
}
.tour-card .tc-txt { padding: clamp(18px, 2.4vw, 34px); }
.tour-card h4 { font-weight: 300; font-size: var(--fs-h3); line-height: 1.12; }
.tour-card h4.strong { font-weight: 700; font-size: var(--fs-h4); }
.tour-card .sub { font-weight: 400; color: var(--muted); font-size: var(--fs-note); margin: 6px 0 var(--sp-4); }
.tour-card ul { display: grid; gap: 0.4em; }
.tour-card li { font-weight: 400; font-size: clamp(13px, 1.35vw, 16px); line-height: 1.45; }
.tour-card p { font-weight: 400; font-size: clamp(13px, 1.35vw, 16px); line-height: 1.5; margin-top: var(--sp-3); }
.tour-card img { width: 100%; height: 100%; object-fit: cover; }
.tour-card--illus { grid-template-columns: minmax(170px, 1fr) 2.9fr; }
.tour-card--illus img { aspect-ratio: 996 / 650; height: auto; }

/* ---------------- Secure broadcast ---------------- */
.secure-prods { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--gap-item); margin-top: var(--gap-block); }
.secure-prod {
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.6vw, 34px);
}
.secure-prod h4 { font-weight: 400; font-size: clamp(18px, 2.1vw, 26px); margin-bottom: var(--sp-2); }
.secure-prod--center h4 { text-align: center; }
.secure-prod .imgs { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 22px); }
.secure-prod .imgs img { max-height: clamp(170px, 19vw, 250px); max-width: 100%; width: auto; object-fit: contain; }
.secure-prod--center .imgs img { max-height: clamp(140px, 16vw, 215px); max-width: calc(50% - clamp(5px, 0.7vw, 11px)); }
.secure-prod--center .imgs { margin-top: 30px; }
.secure-prod .imgs img.pod-wide {
  width: calc(100% + 2 * clamp(20px, 2.6vw, 34px));
  max-width: none; max-height: none;
  margin: 0 calc(-1 * clamp(20px, 2.6vw, 34px));
}
.secure-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--gap-item);
  width: min(100%, 780px);
  margin: var(--gap-item) auto 0;
  align-items: start;
}
.secure-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  padding: clamp(70px, 7.6vw, 96px) clamp(20px, 2.8vw, 38px) clamp(26px, 3vw, 42px);
  text-align: center;
}
.secure-card > h4 { position: absolute; top: clamp(32px, 3.4vw, 44px); left: 0; right: 0; font-weight: 700; font-size: var(--fs-h4); }
.secure-card p { font-weight: 400; font-size: var(--fs-note); line-height: 1.55; max-width: 340px; margin-inline: auto; }
.secure-card p + p { margin-top: 1.1em; }
.soft-pills { display: grid; gap: clamp(10px, 1.2vw, 14px); justify-items: center; }
.soft-pills .chip--soft { font-size: var(--fs-note); padding: 0.68em 1.5em; }
.secure-card .api { margin-top: 1.5em; }
.secure-card .api strong { font-weight: 700; }

/* ---------------- Home ---------------- */
.hero { position: relative; margin-bottom: var(--gap-section); }
.hero-img-home {
  width: 100%;
  aspect-ratio: 1536 / 625;
  object-fit: cover;
  border-radius: var(--r-tile);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}
.hero-overlay {
  position: absolute;
  left: clamp(22px, 3.5vw, 42px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 500px;
}
.hero-overlay h1 { font-weight: 300; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.01em; }
.hero-overlay p { margin-top: var(--sp-4); font-weight: 500; color: var(--muted); font-size: clamp(13px, 1.3vw, 15px); line-height: 1.5; max-width: 320px; }

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5.5vw, 64px) clamp(26px, 3.6vw, 44px);
  margin: var(--gap-section) 0;
}
.scenario-card {
  position: relative;
  display: block;
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.scenario-card .photo-wrap { display: block; overflow: hidden; border-radius: var(--r-tile) var(--r-tile) 0 0; }
.scenario-card .photo {
  width: 100%;
  aspect-ratio: 446 / 326;
  object-fit: cover;
  transition: transform var(--t-med);
}
.scenario-card .card-txt {
  display: flex; align-items: center; gap: var(--gap-item);
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  min-height: clamp(64px, 6.4vw, 84px);
}
.scenario-card .num {
  flex: 0 0 clamp(40px, 3.8vw, 48px);
  height: clamp(42px, 4vw, 50px);
  margin-top: calc(-1 * clamp(26px, 2.6vw, 34px));
  background: var(--tile);
  border-radius: 12px;
  box-shadow: var(--shadow-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  position: relative;
  z-index: 1;
}
.scenario-card h3 { font-weight: 700; font-size: var(--fs-h4); line-height: 1.2; }

.translate-badge { position: absolute; color: #fff; z-index: 1; pointer-events: none; }
.scenario-card .translate-badge { top: var(--sp-3); left: var(--sp-3); width: clamp(44px, 4.4vw, 56px); }
.hero-wrap .translate-badge { top: clamp(18px, 3vw, 40px); left: clamp(18px, 3vw, 40px); width: clamp(60px, 7vw, 96px); }
.translate-badge svg { width: 100%; height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35)); }

/* ---------------- Prev / next scenario arrows ---------------- */
.page-arrow {
  display: none;
  position: fixed; top: 50%;
  z-index: 80;
  padding: 14px 10px;
  color: var(--ink);
  align-items: center; justify-content: center;
  opacity: calc(0.75 - var(--arrow-out, 0) * 0.75);
  transition: opacity 0.15s linear;
}
.page-arrow svg { width: 12px; height: auto; transition: transform var(--t-med); }
/* centered on the same axis as the parked header objects (~46px outside content) */
.page-arrow--prev {
  left: max(10px, calc(50vw - 562px));
  transform: translateY(-50%) translateX(calc(var(--arrow-out, 0) * -160px));
}
.page-arrow--prev svg { transform: rotate(180deg); }
.page-arrow--next {
  right: max(10px, calc(50vw - 562px));
  transform: translateY(-50%) translateX(calc(var(--arrow-out, 0) * 160px));
}
.page-arrow:focus-visible { outline: 2px solid var(--label); outline-offset: 3px; border-radius: 8px; }
@media (min-width: 1240px) {
  .page-arrow { display: flex; }
}

/* ---------------- Page slide transitions (cross-document view transitions).
   The old page slides out while the new one slides in simultaneously; the
   arrows, to-top button and background are named separately so they stay put. */
@view-transition { navigation: auto; }
.page-shell { view-transition-name: shell; }
.page-arrow--prev { view-transition-name: nav-prev; }
.page-arrow--next { view-transition-name: nav-next; }
.to-top { view-transition-name: to-top; }
@keyframes vt-out-left { to { transform: translateX(-100%); } }
@keyframes vt-out-right { to { transform: translateX(100%); } }
@keyframes vt-in-right { from { transform: translateX(100%); } }
@keyframes vt-in-left { from { transform: translateX(-100%); } }
::view-transition-group(shell) { animation-duration: 0.42s; }
html[data-nav="fwd"]::view-transition-old(shell) { animation: vt-out-left 0.42s cubic-bezier(0.3, 0.4, 0.2, 1) both; }
html[data-nav="fwd"]::view-transition-new(shell) { animation: vt-in-right 0.42s cubic-bezier(0.3, 0.4, 0.2, 1) both; }
html[data-nav="back"]::view-transition-old(shell) { animation: vt-out-right 0.42s cubic-bezier(0.3, 0.4, 0.2, 1) both; }
html[data-nav="back"]::view-transition-new(shell) { animation: vt-in-left 0.42s cubic-bezier(0.3, 0.4, 0.2, 1) both; }
::view-transition-old(nav-prev), ::view-transition-new(nav-prev),
::view-transition-old(nav-next), ::view-transition-new(nav-next),
::view-transition-old(to-top), ::view-transition-new(to-top) { animation: none; }

/* ---------------- More-scenarios carousel ---------------- */
.more-strip { margin: 0 auto var(--gap-section); }
.strip-shell { position: relative; }
.strip-nav {
  position: absolute; top: calc(50% - 10px); transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform var(--t-med), box-shadow var(--t-med), background var(--t-med);
}
.strip-nav svg { width: 15px; height: auto; }
.strip-nav.prev { left: -8px; }
.strip-nav.prev svg { transform: rotate(180deg); }
.strip-nav.next { right: -8px; }
.strip-nav[hidden] { display: none; }
.strip-nav:focus-visible { outline: 2px solid var(--label); outline-offset: 3px; }
.strip {
  display: flex;
  gap: var(--gap-item);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: var(--sp-2) var(--sp-1) var(--sp-5);
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf transparent;
}
.mini-card {
  flex: 0 0 clamp(168px, 21vw, 214px);
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-pill);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.mini-card .photo-wrap { display: block; overflow: hidden; }
.mini-card img { width: 100%; aspect-ratio: 446 / 300; object-fit: cover; transition: transform var(--t-med); }
.mini-card .mc-txt { display: flex; align-items: center; gap: 8px; padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.mini-card .mc-num {
  flex: 0 0 26px; height: 28px; margin-top: -16px;
  background: var(--tile); border-radius: 8px; box-shadow: var(--shadow-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 300; font-size: 15px;
  position: relative; z-index: 1;
}
.mini-card h4 { font-weight: 700; font-size: clamp(11px, 1vw, 13px); line-height: 1.25; }
.mini-card.is-current { outline: 2px solid var(--label); outline-offset: 2px; cursor: default; }
.mini-card.is-current .mc-num { background: var(--label); color: #fff; }
.mini-card.is-current h4 .now { display: block; font-weight: 500; font-size: 0.9em; color: var(--label); }

/* ---------------- Footer ---------------- */
.site-footer { padding-bottom: var(--gap-section); }
.footer-card {
  background: var(--footer-grad);
  border-radius: var(--r-tile);
  color: #fff;
  padding: clamp(52px, 7vw, 96px) clamp(36px, 5.5vw, 84px);
}
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--gap-block) clamp(24px, 4vw, 60px); flex-wrap: wrap; }
.footer-tag { font-weight: 700; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.05; letter-spacing: -0.02em; }
.footer-cols { display: flex; gap: var(--gap-block) clamp(20px, 2.6vw, 34px); flex-wrap: wrap; }
.footer-col h5 { font-weight: 700; font-size: 13px; line-height: 1.8; }
.footer-col p, .footer-col a { display: block; font-weight: 400; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.85); }
.footer-col a { position: relative; width: fit-content; }
.footer-col a::after {
  content: ''; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}

/* ---------------- Menu overlay ---------------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 96;
  background: rgba(0, 0, 0, 0.12);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med);
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-panel {
  position: absolute;
  /* --menu-top / --menu-right are set by JS so the close X sits exactly
     over the header burger; these are the no-JS fallbacks. */
  top: var(--menu-top, 12px);
  right: var(--menu-right, clamp(12px, 2vw, 24px));
  width: min(620px, calc(100vw - 24px));
  max-height: calc(100vh - var(--menu-top, 12px) - 12px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  backdrop-filter: blur(26px) saturate(1.4);
  border-radius: var(--r-tile);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: clamp(56px, 6vw, 64px) clamp(22px, 2.8vw, 40px) clamp(22px, 2.8vw, 40px);
  transform: translateY(-12px) scale(0.98);
  opacity: 0;
  transition: transform var(--t-med), opacity var(--t-med);
}
.menu-overlay.open .menu-panel { transform: none; opacity: 1; }
.menu-close {
  position: absolute; top: var(--close-top, 14px); right: var(--close-right, 16px);
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink);
  border-radius: 8px;
  transition: transform var(--t-med);
}
.menu-close svg { display: block; width: 26px; height: 26px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-item); }
.menu-card { position: relative; }
.menu-card .translate-badge { top: 8px; left: 8px; width: 34px; }
.menu-card {
  background: #fff;
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-pill);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.menu-card .photo-wrap { overflow: hidden; }
.menu-card img { width: 100%; aspect-ratio: 193 / 141; object-fit: cover; transition: transform var(--t-med); }
.menu-card .m-txt { display: flex; align-items: center; gap: 10px; padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.menu-card .m-num {
  flex: 0 0 28px; height: 30px; margin-top: -18px;
  background: var(--tile); border-radius: 8px; box-shadow: var(--shadow-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 16px;
  position: relative; z-index: 1;
}
.menu-card h4 { font-weight: 700; font-size: clamp(11px, 1vw, 13px); line-height: 1.25; }
.menu-card.is-current { outline: 2px solid var(--label); outline-offset: 2px; }
.menu-card.is-current .m-num { background: var(--label); color: #fff; }
.menu-card.is-current h4 span.now { display: block; font-weight: 400; font-size: 0.85em; color: var(--label); }

/* ---------------- Scroll reveal (prototype: Education §1) ----------------
   Elements get a gentle slide-in the first time they scroll into view.
   The initial hidden state is applied by JS (data-reveal), so the content
   stays visible when JS is unavailable. */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--rv-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="right"] { transform: translateX(38px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Scroll to top ---------------- */
.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 80;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------------- Utilities ---------------- */
.u-block { margin-top: var(--gap-block); }
.u-center { margin-left: auto; margin-right: auto; }

/* ============================================================
   Hover — only on devices with a real pointer, only on
   interactive elements. Modern & clean: small lift + shadow.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  /* Section header pill: number only; label slides out to the right on hover.
     The drawer animates grid-template-columns 0fr → 1fr, so the open width is
     always the label's true intrinsic width + padding — no JS measurement,
     immune to font-loading races (the old Safari clipping bug).
     An invisible extender enlarges the hover zone to the card's whole top
     region — from the card's top edge down through the section heading. */
  .section-head { position: relative; z-index: 2; }
  .section-head::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: calc(-1 * var(--pad-card));
    height: calc(var(--pad-card) + clamp(170px, 22vw, 260px));
  }
  .head-pill {
    display: inline-grid;
    grid-template-columns: clamp(46px, 4vw, 54px) 0fr;
    align-items: stretch;
    transition: grid-template-columns var(--t-med);
  }
  .section-head .num { width: 100%; }
  .section-head .txt {
    min-width: 0;
    opacity: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    transform: translateX(-6px);
    transition: opacity var(--t-med), padding var(--t-med), transform var(--t-med);
  }
  .section-head:hover .head-pill {
    grid-template-columns: clamp(46px, 4vw, 54px) 1fr;
  }
  .section-head:hover .txt {
    opacity: 1;
    padding: 0 clamp(18px, 2.2vw, 30px) 0 clamp(14px, 1.8vw, 22px);
    transform: none;
  }

  .scenario-card:hover,
  .menu-card:hover,
  .mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
  .scenario-card:hover .photo,
  .menu-card:hover img,
  .mini-card:hover img { transform: scale(1.045); }

  .explore-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #e6f6ff;
  }
  .explore-item:hover .arrow { transform: translateX(4px); }

  .icon-btn svg, .burger-box { transition: transform var(--t-med); }
  .icon-btn:hover svg { transform: scale(1.1); }
  .burger:hover .burger-box { transform: rotate(45deg) scale(1.1); }
  .menu-close:hover { transform: scale(1.1); }
  .site-header .logo:hover .logo-svg { transform: scale(1.04); }
  .to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); background: #ccff00; }
  .strip-nav:hover { transform: translateY(-50%) scale(1.08); box-shadow: var(--shadow-hover); }
  .page-arrow:hover svg { transform: scale(1.2); }
  .page-arrow--prev:hover svg { transform: rotate(180deg) scale(1.2); }
  .footer-col a:hover { color: #fff; }
  .footer-col a:hover::after { transform: scaleX(1); }
  .hero-pill { transition: transform var(--t-med); }
}

/* ============================================================
   Responsive — desktop ≥900 · tablet 760–899 · phablet 520–759
   · mobile <520 (see DESIGN.md §1)
   ============================================================ */

/* Tablet and below */
@media (max-width: 899px) {
  .split, .secure-info { grid-template-columns: 1fr; }
  .split .fig { order: 2; }
  .section-card--sidefill { grid-template-columns: 1fr; }
  .section-card--sidefill .sf-fig {
    margin: var(--gap-block) calc(-1 * var(--pad-card)) calc(-1 * var(--pad-card));
    border-radius: 0 0 var(--r-card) var(--r-card);
    min-height: 280px;
  }
  .hidden-extras { grid-template-columns: 1fr 1fr; }
  .hidden-extras > div:first-child { grid-column: 1 / -1; }
  .info-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { justify-content: center; }
}

/* Phablet and below */
@media (max-width: 759px) {
  .meta-cols { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 6vw, 48px) clamp(18px, 3vw, 28px); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-row { grid-template-columns: 1fr; }
  .tier-row .tier-panel { border-radius: 0 0 var(--r-card) var(--r-card); }
  .info-cards { grid-template-columns: 1fr; }
  .info-card { text-align: left; padding: clamp(18px, 4vw, 26px) clamp(16px, 3vw, 24px) clamp(18px, 4vw, 26px) clamp(64px, 10vw, 72px); }
  .info-card .ico { top: 50%; left: 12px; transform: translateY(-50%); }
  .tour-card { grid-template-columns: 1fr; }
  .tour-card img { max-height: 240px; }
  .tour-card--illus img { max-height: none; }
  .secure-prods { grid-template-columns: 1fr; }
  .secure-info { width: 100%; }
  .sub-illus { grid-template-columns: 1fr; }
  .sub-illus .side { display: flex; align-items: center; gap: var(--sp-4); }
  .sub-illus .side img { max-height: 120px; }
  .trad-flow { grid-template-columns: minmax(0, 1fr) clamp(14px, 4vw, 24px) minmax(0, 1fr); }
  .tf-src { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; padding-right: 0; }
  .tf-bracket { display: none; }
  .zone-label--right { display: none; }
  .setup-zones::after { content: none; }
  .ms-caps { height: auto; position: static; display: flex; justify-content: space-around; margin-top: 10px; }
  .ms-cap { position: static; transform: none; width: auto; }
  .trad-pill { white-space: normal; }
  .chips-under { margin-left: 0; }
  .setup-panel { grid-template-columns: 1fr; }
  .setup-tab {
    writing-mode: horizontal-tb; transform: none;
    padding: var(--sp-2) var(--sp-4); justify-self: start;
  }
  .ipills { justify-items: stretch; }
  .ipill { width: 100%; }
  .ipills--duo { grid-template-columns: 1fr; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow > .arrow { transform: rotate(90deg); text-align: center; align-self: center; }
  .stream-card { max-width: none; flex-basis: auto; }
  .flow-panel { flex-basis: auto; }
  .flow .node { max-width: none; }
  .hidden-extras { grid-template-columns: 1fr; justify-items: start; }
  .hidden-extras > div:last-child { justify-items: start; }
  .antenna-row .lead { max-width: none; flex-basis: 100%; }
}

/* Mobile */
@media (max-width: 519px) {
  .hero { background: var(--card-bg); border-radius: var(--r-tile); box-shadow: var(--shadow-card); overflow: hidden; }
  .hero-img-home { border-radius: 0; box-shadow: none; }
  .hero-overlay { position: static; transform: none; max-width: none; padding: var(--sp-5) var(--sp-4); }
  .scenario-grid { grid-template-columns: 1fr; }
  .room-pills { grid-template-columns: 1fr; gap: 0; }
  .room-pills .col2 { margin-top: 0; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .prod-card { min-height: 150px; }
  .hero-overlay p { max-width: none; }
  .menu-panel { right: 12px; left: 12px; width: auto; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .footer-main { flex-direction: column; }
  .footer-cols { flex-direction: column; gap: var(--sp-4); }
  .header-actions { gap: var(--sp-4); }
  .to-top { width: 44px; height: 44px; }
  .secure-prod .imgs { flex-wrap: wrap; }
  .illus-full .callout { position: static; margin: var(--sp-2) var(--pad-card) 0; }
  .illus-full { display: flex; flex-direction: column; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .bg-fx i { transform: none !important; }
}

/* gentle hover on the flow/timecode pills (matches the deck's pill hover) */
.dflow-langs .lang, .dflow-tag, .dflow-card .dc-row, .tcode .tc-row, .tcode .tc-card {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.dflow-langs .lang:hover, .dflow-tag:hover, .dflow-card .dc-row:hover {
  background: #eaf4fd;
}
.tcode .tc-row:hover, .tcode .tc-card:hover {
  background: #d9f1ff;
  border-color: rgba(9, 90, 158, 0.85);
}
