@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/geist-latin-ext.woff2?v=58a6b173d5ca) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/geist-latin.woff2?v=9b6f5ff45b27) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-latin-ext.woff2?v=745994b5cd95) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-latin.woff2?v=5f3d6ad60f29) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-latin-ext.woff2?v=f5df746dbc2e) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-latin.woff2?v=e3b56e90510a) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: light-dark(#f5f2eb, #121316);
  --sand: light-dark(#ece7dc, #17191d);
  --card: light-dark(#fffdf9, #1a1b1f);
  --chrome: light-dark(#efeadf, #1f2127);
  --ink: light-dark(#16181d, #f1ede4);
  --text: light-dark(#3f434c, #c3c5cb);
  --muted: light-dark(#4c505a, #b0b3ba);
  --line: light-dark(#dcd5c7, #2c2e34);
  --line-2: light-dark(#d3cbbb, #34363d);
  --frame: light-dark(#d6cfbf, #2f3137);
  --night: light-dark(#16181d, #0b0c0e);
  --on-night: #f3efe6;
  --on-night-2: #c3c5cb;
  --y: #ffd23f;
  --y-hover: #ffdc63;
  --y-soft: light-dark(#fff1bf, #2b2513);
  --y-border: light-dark(#dec05a, #5c4d1f);
  --link: light-dark(#2453d6, #8fb0ff);
  --link-hover: light-dark(#163a9e, #b9ccff);
  --display: 'Schibsted Grotesk', system-ui, sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 4.5vw, 64px);
  --sec: clamp(64px, 7vw, 100px);
  --shadow: 0 40px 80px -48px light-dark(rgba(60, 45, 10, .45), rgba(0, 0, 0, .92));
  --lv-drop: drop-shadow(0 28px 34px light-dark(rgba(60, 45, 10, .22), rgba(0, 0, 0, .55)));
  --csv-fade: clamp(72px, 10.5vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul, figure, dl, dd, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1312px;
  box-sizing: content-box;
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--bg); }

/* Typography */
.eyebrow {
  font: 600 13px/1.4 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.h1 {
  margin-top: 14px;
  font: 800 clamp(36px, 4.4vw, 60px)/1.02 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h2 {
  font: 800 clamp(30px, 3.6vw, 48px)/1.04 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h2-xl {
  font: 800 clamp(34px, 4.4vw, 56px)/1.02 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h3 {
  font: 700 clamp(19px, 1.5vw, 22px)/1.22 var(--display);
  letter-spacing: -.02em;
}
.lead {
  margin-top: 16px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--text);
  max-width: 62ch;
  text-wrap: pretty;
}
.u {
  text-decoration: underline;
  text-decoration-color: var(--y);
  text-decoration-thickness: .16em;
  text-underline-offset: .09em;
  text-decoration-skip-ink: none;
}
.mono-k {
  font: 600 13px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.cap {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: light-dark(rgba(245, 242, 235, .88), rgba(18, 19, 22, .88));
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-transparency: reduce) {
  .hdr { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.hdr-in {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 700 17px/1 var(--display);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img { border-radius: 8px; flex: none; }

.hdr-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--y);
  color: #16181d;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14);
  transition: background-color .15s ease, transform .1s ease;
}
.hdr-cta:hover, .btn:hover { background: var(--y-hover); color: #16181d; }
.hdr-cta:active, .btn:active { transform: translateY(1px); }
.hdr-cta:focus-visible, .btn:focus-visible { outline-color: var(--ink); }

.hdr-cta {
  min-height: 40px;
  padding: 0 18px;
  font: 600 14.5px/1 var(--sans);
}
.btn {
  min-height: 54px;
  padding: 0 26px;
  font: 600 17px/1 var(--sans);
}
@media (max-width: 400px) {
  .hdr-cta { padding: 0 14px; font-size: 13.5px; }
  .brand { font-size: 15.5px; gap: 8px; }
}

/* Hero */
.hero {
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(48px, 5vw, 76px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(460px, 47vw, 670px);
  gap: clamp(32px, 3.6vw, 56px);
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-p {
  margin-top: clamp(16px, 1.8vw, 22px);
  max-width: 33em;
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.52;
  color: var(--text);
  text-wrap: pretty;
}
.hero-act {
  margin-top: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.facts {
  font: 500 13.5px/1.45 var(--mono);
  letter-spacing: .01em;
  color: var(--muted);
}
.hero-fig { min-width: 0; }

/* Browser + Side Panel frame (real WebP captures: youtube-context-hero 546x720 + shot-b-hero 800x1022) */
.browser {
  container-type: inline-size;
  border: 1px solid var(--frame);
  border-radius: 14px;
  overflow: hidden;
  background: var(--chrome);
  box-shadow: var(--shadow);
}
.b-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.b-bar i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: light-dark(#d3cbbb, #3a3c43);
}
.b-url {
  margin-left: 8px;
  flex: 0 1 300px;
  min-width: 0;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--card);
  font: 500 12px/1 var(--mono);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.b-body {
  display: grid;
  grid-template-columns: 49.21fr 50.79fr;
  background: light-dark(#fff, #0f0f0f);
}
.b-page {
  grid-column: 1;
  grid-row: 1;
  height: 0;
  min-height: 100%;
  overflow: hidden;
}
.b-page img {
  width: 100%;
  margin-left: 0;
}
.b-panel {
  grid-column: 2;
  grid-row: 1;
  background: light-dark(#fff, #16181d);
  box-shadow: -1px 0 0 var(--frame), -18px 0 40px -24px rgba(0, 0, 0, .32);
}
.sp-crop {
  aspect-ratio: 800 / 1022;
  overflow: hidden;
}
.sp-crop img { width: 100%; }

/* Standalone real panel frame */
.shot-frame {
  border: 1px solid var(--frame);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.shot-frame-dark {
  border: 1px solid var(--frame);
  border-radius: 14px;
  overflow: hidden;
  background: #16181d;
  box-shadow: var(--shadow);
}
.shot-top-bar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
  font: 600 12.5px/1 var(--mono);
  color: var(--muted);
}

@media (max-width: 1039px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .hero-fig {
    width: 100%;
    max-width: 680px;
  }
}
@media (max-width: 599px) {
  .b-bar, .b-page { display: none; }
  .b-body { grid-template-columns: minmax(0, 1fr); }
  .b-panel { grid-column: 1; box-shadow: none; }
  .sp-crop { aspect-ratio: 800 / 880; }
}

/* Mobile copy-link helper */
.desk-link { display: none; }
@media (max-width: 760px) {
  .desk-link {
    display: block;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
}
.desk-link p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.dl-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.dl-url {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--chrome);
  border: 1px solid var(--line);
  font: 500 14px/1.3 var(--mono);
  color: var(--ink);
  user-select: all;
  word-break: break-all;
}
.copy-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 14.5px/1 var(--sans);
  cursor: pointer;
}
.copy-btn:hover { background: var(--ink); color: var(--bg); }
html:not(.has-js) [data-copy-link] { display: none; }
.copy-status { margin-top: 6px; min-height: 1.4em; font-size: 13.5px; color: var(--muted); }

/* Sections */
.sec { padding-block: var(--sec); border-top: 1px solid var(--line); }
.sec-sand { background: var(--sand); }
.sec-head { max-width: 64ch; margin-bottom: clamp(28px, 3.6vw, 44px); }
.sec-head .h2 { margin-top: 10px; }
.sec-head .h2:first-child { margin-top: 0; }
.mt-md { margin-top: 26px; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }

/* Layout Family 1: 4-step visual workflow strip (real 800x800 shot-b-how-1..4-dark.webp) */
.steps-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(18px, 2.2vw, 30px);
}
.steps-4 li {
  display: flex;
  flex-direction: column;
}
.step-shot {
  margin-bottom: 18px;
  border: 1px solid var(--frame);
  border-radius: 14px;
  overflow: hidden;
  background: #16181d;
  box-shadow: var(--shadow);
}
.step-crop {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.step-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
.step-n {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  font: 600 13px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.steps-4 h3 {
  margin-top: 10px;
  font: 700 20px/1.22 var(--display);
  letter-spacing: -.02em;
}
.steps-4 p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}
@media (max-width: 980px) {
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .steps-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Layout Family 2: Asymmetric Bento Grid */
.bento-5 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.bento-cell {
  grid-column: span 2;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento-wide { grid-column: span 3; }
.bento-tint { background: var(--chrome); }
.bento-accent { background: var(--y-soft); border-color: var(--y-border); }
.bento-stat {
  font: 800 clamp(28px, 3vw, 40px)/1 var(--display);
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.bento-cell p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}
.bento-k {
  font: 600 12.5px/1.3 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 920px) {
  .bento-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-cell, .bento-wide { grid-column: span 1; }
  .bento-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .bento-5 { grid-template-columns: minmax(0, 1fr); }
  .bento-cell, .bento-wide { grid-column: 1 / -1; }
}

/* Layout Family 3: Annotated Creator Card (shot-b-card 752x1118) + Split Proof */
.split-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 36px clamp(40px, 6vw, 80px);
  align-items: start;
}
.split-proof-rev {
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
}
@media (max-width: 960px) {
  .split-proof, .split-proof-rev {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-fig { max-width: 460px; }
}

.annot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 514px);
  gap: 32px clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 980px) {
  .annot-grid { grid-template-columns: minmax(0, 1fr); }
}
.annot-media {
  position: relative;
  padding-left: 44px;
  container-type: inline-size;
}
.annot-card {
  position: relative;
  aspect-ratio: auto;
  border: 0;
  border-radius: calc((100cqw - 44px) * 12 / 376);
  overflow: hidden;
  background: transparent;
  filter: var(--lv-drop);
}
.annot-card picture,
.annot-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
}
.annot-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 2.13%;
  width: 95.74%;
  top: 18.07%;
  height: 8.23%;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(255, 210, 63, .7);
  transition: opacity .25s ease;
}
.spot {
  position: absolute;
  left: var(--x, 2.13%);
  top: var(--y, 8.94%);
  width: var(--w, 81.12%);
  height: var(--h, 6.8%);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(255, 210, 63, .7);
  transition: opacity .25s ease, left .32s cubic-bezier(.2, .7, .2, 1), top .32s cubic-bezier(.2, .7, .2, 1), width .32s cubic-bezier(.2, .7, .2, 1), height .32s cubic-bezier(.2, .7, .2, 1);
}
.pin {
  position: absolute;
  left: 0;
  top: var(--py, 12.34%);
  width: 44px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  cursor: pointer;
}
.pin[data-n="1"] { --py: 12.34%; }
.pin[data-n="2"] { --py: 28.26%; }
.pin[data-n="3"] { --py: 47.58%; }
.pin[data-n="4"] { --py: 79.07%; }
.pin[data-n="5"] { --py: 96.24%; }
.pin b {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 12px/1 var(--mono);
  transition: background-color .2s, color .2s;
}
.pin::after { content: ""; flex: 1; height: 1.5px; background: var(--ink); }
.pin::before { content: ""; position: absolute; inset: -10px 0; }
.pin:hover b { background: var(--y); color: #16181d; }
.annot[data-active="1"] .spot, .annot:has(.legend li:nth-child(1) button:is(:hover, :focus-visible)) .spot, .annot:has(.pin[data-n="1"]:hover) .spot { --x: 2.13%; --y: 8.94%; --w: 81.12%; --h: 6.8%; opacity: 1; }
.annot[data-active="2"] .spot, .annot:has(.legend li:nth-child(2) button:is(:hover, :focus-visible)) .spot, .annot:has(.pin[data-n="2"]:hover) .spot { --x: 2.13%; --y: 25.94%; --w: 95.74%; --h: 4.65%; opacity: 1; }
.annot[data-active="3"] .spot, .annot:has(.legend li:nth-child(3) button:is(:hover, :focus-visible)) .spot, .annot:has(.pin[data-n="3"]:hover) .spot { --x: 2.13%; --y: 30.95%; --w: 95.74%; --h: 33.27%; opacity: 1; }
.annot[data-active="4"] .spot, .annot:has(.legend li:nth-child(4) button:is(:hover, :focus-visible)) .spot, .annot:has(.pin[data-n="4"]:hover) .spot { --x: 2.13%; --y: 64.58%; --w: 95.74%; --h: 28.98%; opacity: 1; }
.annot[data-active="5"] .spot, .annot:has(.legend li:nth-child(5) button:is(:hover, :focus-visible)) .spot, .annot:has(.pin[data-n="5"]:hover) .spot { --x: 64.92%; --y: 94.28%; --w: 32.95%; --h: 3.94%; opacity: 1; }
.annot[data-active="1"] .annot-card::before, .annot:has(.legend li:nth-child(1) button:is(:hover, :focus-visible)) .annot-card::before, .annot:has(.pin[data-n="1"]:hover) .annot-card::before { opacity: 1; }
.annot:has(.legend li:not(:nth-child(1)) button:is(:hover, :focus-visible)) .annot-card::before, .annot:has(.pin:not([data-n="1"]):hover) .annot-card::before { opacity: 0; }
.annot[data-active="1"] .pin[data-n="1"] b,
.annot[data-active="2"] .pin[data-n="2"] b,
.annot[data-active="3"] .pin[data-n="3"] b,
.annot[data-active="4"] .pin[data-n="4"] b,
.annot[data-active="5"] .pin[data-n="5"] b { background: var(--y); color: #16181d; }
@media (max-width: 599px) {
  .annot-media { padding-left: 34px; }
  .annot-card { border-radius: calc((100cqw - 34px) * 12 / 376); }
  .pin { width: 34px; }
  .pin b { width: 22px; height: 22px; font-size: 11px; }
}

.legend { border-top: 1px solid var(--line-2); }
.legend li { border-bottom: 1px solid var(--line); }
.legend button {
  appearance: none;
  width: 100%;
  padding: 15px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 4px 14px;
}
.legend .num {
  grid-row: span 2;
  margin-top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 12px/1 var(--mono);
}
.legend button[aria-pressed="true"] .num {
  background: var(--y);
  border-color: var(--y);
  color: #16181d;
}
.legend .t { font: 700 18px/1.28 var(--display); }
.legend .d { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Filter 2-col card grid */
.filter-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.filter-card {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--card);
}
.filter-card h3 {
  font: 700 17px/1.25 var(--display);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.filter-card code {
  font: 500 12px/1.2 var(--mono);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--chrome);
  color: var(--muted);
  white-space: nowrap;
}
.filter-card p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}
@media (max-width: 640px) {
  .filter-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Layout Family 4: Real Panel Capture Pairings + Editorial Criteria Cards */
.pair-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(20px, 2.8vw, 36px);
  align-items: start;
}
.pair-shots figure { min-width: 0; }
@media (max-width: 720px) {
  .pair-shots { grid-template-columns: minmax(0, 1fr); }
  .pair-shots figure { max-width: 460px; }
}

.ed-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ed-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ed-stack {
  display: grid;
  gap: 16px;
}
@media (max-width: 960px) {
  .ed-grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ed-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
.ed-card {
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ed-card-accent {
  background: var(--y-soft);
  border-color: var(--y-border);
}
.ed-k {
  font: 600 12.5px/1.35 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ed-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}
.ed-list {
  margin-top: 2px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}
.ed-list li {
  position: relative;
  padding-left: 16px;
}
.ed-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1.5px;
  background: var(--ink);
}
.ed-card code,
.ed-list code,
.ref-table code {
  font: 500 13px/1.3 var(--mono);
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--chrome);
  border: 1px solid var(--line);
  color: var(--ink);
}
.ed-card-accent code {
  background: var(--card);
}

/* Layout Family 5: Authentic Static CSV Preview (matches [lang]/index.html) + Static Reference Tables */
.csv-card,
.ref-card {
  border: 1px solid var(--frame);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.csv-bar,
.ref-bar {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
  font: 600 13px/1.3 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
}
.csv-bar span:last-child,
.ref-bar span:last-child {
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--muted);
}
.csv-tbl {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--csv-fade)), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - var(--csv-fade)), transparent);
}
.csv table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font: 500 13px/1.4 var(--mono);
}
.csv th, .csv td {
  padding: 15px 14px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.csv thead th {
  font-weight: 500;
  color: var(--muted);
}
.csv tbody tr:last-child > * { border-bottom: 0; }
.csv tbody th { font-weight: 600; color: var(--ink); }
.csv th:first-child, .csv td:first-child { padding-left: 18px; }
.csv tr > *:last-child { padding-right: 18px; }
.csv .num { font-variant-numeric: tabular-nums; }
.csv .clip span {
  display: block;
  max-width: 38ch;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3ch), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 3ch), transparent);
}
.csv-also {
  margin: 0;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line);
  font: 500 13px/1.55 var(--mono);
  color: var(--muted);
  text-wrap: pretty;
}
.csv-rec, .csv-more { display: none; }
@media (max-width: 700px) {
  .csv-cols { display: none; }
  .csv-tbl { display: none; }
  .csv-rec { display: block; padding: 4px 16px; }
  .csv-rec dl {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px 14px;
    padding: 12px 0 10px;
    font: 500 13px/1.4 var(--mono);
  }
  .csv-rec dt { color: var(--muted); }
  .csv-rec dd { overflow-wrap: anywhere; }
  .csv-rec dd.clip { grid-column: 1 / -1; margin-top: -2px; }
  .csv-rec .clip span {
    max-width: none;
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .csv-more {
    display: block;
    margin: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
    font: 500 13px/1.4 var(--mono);
    color: var(--muted);
  }
  .csv-rec .csv-more:last-child { border-bottom: 0; }
  .csv-also { padding: 12px 16px 14px; }
}

.ref-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ref-scroll:focus-visible { outline-offset: -3px; }
.ref-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}
.ref-table th,
.ref-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.ref-table thead th {
  background: var(--bg);
  font: 600 12.5px/1.35 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.ref-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.ref-table tbody td {
  color: var(--text);
}
.ref-table tbody tr:last-child > * {
  border-bottom: 0;
}
.ref-table .col-idx {
  width: 52px;
  font: 500 13px/1.4 var(--mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ref-scope {
  font: 600 12px/1.3 var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.ref-saved-row {
  background: var(--y-soft);
}
.ref-saved-row .ref-scope {
  color: var(--ink);
}

/* Native <details> FAQ (analytics.js tracks toggle on .qa details) */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: 96px; }
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  padding: 14px 0;
  cursor: pointer;
  font: 700 clamp(17px, 1.3vw, 19px)/1.35 var(--display);
  letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.plus {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 18px/1 var(--sans);
  transition: transform .2s ease, border-color .2s ease;
}
.qa summary:hover .plus { border-color: var(--ink); }
details[open] > summary .plus { transform: rotate(45deg); border-color: var(--ink); }
.qa .ans {
  padding: 0 0 18px;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  display: grid;
  gap: 10px;
}

/* Final conversion CTA section */
.final {
  padding-block: clamp(72px, 8.5vw, 120px);
  border-top: 1px solid var(--line-2);
  background: var(--sand);
}
.final .h2-xl { max-width: 16em; }
.final-act {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

/* Shared Footer */
.ftr {
  background: var(--night);
  color: #b5b7bd;
  border-top: 1px solid rgba(243, 239, 230, .12);
}
.ftr :focus-visible { outline-color: var(--y); }
.ftr-guides {
  padding-block: 26px 20px;
  border-bottom: 1px solid rgba(243, 239, 230, .12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  font-size: 14.5px;
}
.ftr-k {
  font: 600 12px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8d9098;
  margin-right: 4px;
}
.ftr-guides a,
.ftr-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #b5b7bd;
  text-decoration: none;
}
.ftr-guides a:hover,
.ftr-legal a:hover { color: #f3efe6; }
.ftr-guides a[aria-current="page"] {
  color: var(--y);
  font-weight: 600;
}
.ftr-in {
  padding-block: 22px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}
.ftr .brand { color: #f3efe6; font-size: 16px; }
.ftr-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  font-size: 14px;
}
.ftr p { font-size: 14px; color: #9c9fa7; }
.ftr-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.ftr-badge img {
  width: 128px;
  height: 40px;
}
