/* v2.css — the clean world of beegait.ai (2026-09-15 evening: Samer rejected the whiteboard's sketch
 * and grid and took the standing exit — "a clean, modern software site" at the Linear · Stripe · Vercel
 * bar; recorded in PRODUCT.md). Loaded after site.css, which keeps the base, the chrome and the prose
 * pages. Colours only through tokens.css: the ground is the tokens' raised white, the band the tokens'
 * off-white, the ink the tokens' text, the one blue the tokens' accent (mixed for the night board).
 * Straight lines, the tokens' soft corners, hairlines, elevation only on the film frames. No grid,
 * no strokes, no glow, no glass. */

/* ── the typeface: Bricolage Grotesque, self-hosted, two subset instances (OFL, see fonts/) ── */
@font-face { font-family: "Bricolage Text"; src: url("../fonts/BricolageGrotesque-Text.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Display"; src: url("../fonts/BricolageGrotesque-Display.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }

:root {
  --c-ground: var(--mc-bg-2);
  --c-band: var(--mc-bg);
  --c-ink: var(--mc-text);
  --c-muted: color-mix(in srgb, var(--mc-muted) 72%, var(--mc-text));   /* the tokens' muted pulled toward the ink for AA on white */
  --c-line: var(--mc-hairline);
  --c-accent: color-mix(in srgb, var(--mc-accent) 76%, black);           /* fills on the night board: white must sit on it */
  --c-accent-text: color-mix(in srgb, var(--mc-accent) 70%, white);      /* blue text on the night board */
  --c-on-accent: white;                                                   /* the tokens' --mc-on-accent is white in both themes */
  --c-r: var(--mc-r);        /* 14 px: frames, panels */
  --c-r-sm: var(--mc-r-sm);  /* 10 px: controls */
  --c-shadow: var(--mc-shadow-soft);
  --c-font: "Bricolage Text", "Segoe UI", system-ui, sans-serif;
  --c-display: "Bricolage Display", "Bricolage Text", "Segoe UI", system-ui, sans-serif;
  --c-ease: cubic-bezier(.2, .7, .2, 1);
}
html.light { --c-accent: var(--mc-accent); --c-accent-text: var(--mc-accent); }

/* ── the page ─────────────────────────────────────────────────────────────── */
body { background: var(--c-ground); font-family: var(--c-font); font-size: 1.05rem; line-height: 1.6; color: var(--c-ink); caret-color: var(--c-accent); }
::selection { background: var(--c-accent); color: var(--c-on-accent); }
a { color: var(--c-accent-text); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--c-display); font-weight: 600; letter-spacing: -.022em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); }
h3 { font-size: 1.12rem; }
.lede { font-family: var(--c-font); color: var(--c-muted); }
.wrap { max-width: 72rem; }

/* the header: a plain white rail with a hairline */
.top { background: var(--c-ground); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--c-line); }
.nav-list a { color: var(--c-muted); font-weight: 500; }
.nav-list a:hover, .nav-list a:focus-visible { color: var(--c-ink); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--c-ink); }
.nav-list .btn-primary, .nav-list .btn-primary:hover { color: var(--c-on-accent); }
.nav-list .btn-ghost, .nav-list .btn-ghost:hover { color: var(--c-ink); }
.nav-list .btn { padding: .5rem .95rem; font-size: .94rem; }
.theme, .nav-toggle { border: 1px solid var(--c-line); background: var(--c-ground); color: var(--c-ink); border-radius: var(--c-r-sm); }
@media (max-width: 56em) { .nav-list { background: var(--c-ground); border-bottom: 1px solid var(--c-line); } }

/* controls */
.btn { border: 1px solid transparent; border-radius: var(--c-r-sm); font-family: var(--c-font); font-weight: 600; padding: .72rem 1.15rem; box-shadow: none; transition: background .15s var(--c-ease), border-color .15s var(--c-ease), color .15s var(--c-ease); }
.btn:hover { transform: none; text-decoration: none; }
.btn-primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); box-shadow: none; }
.btn-primary:hover, .btn-primary:focus-visible { background: color-mix(in srgb, var(--c-accent) 85%, black); border-color: color-mix(in srgb, var(--c-accent) 85%, black); color: var(--c-on-accent); }
.btn-ghost { background: var(--c-ground); border-color: var(--c-line); color: var(--c-ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: color-mix(in srgb, var(--c-ink) 35%, var(--c-line)); color: var(--c-ink); }
.link { color: var(--c-accent-text); font-weight: 600; }
.link:hover, .link:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.btns { align-items: center; }
.btns .link { padding: .4rem 0; }

/* ── the home: "option 4 — product first" (Samer's pick, 2026-09-15) ─────────── */
.btn-lg { padding: .82rem 1.3rem; font-size: 1rem; }
.h4-hex { display: block; flex: none; width: 18px; height: 20px; background: var(--c-line); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .15s var(--c-ease); }

/* the hero: words left, the product right, the film on top of it */
.h4-hero { background: linear-gradient(180deg, var(--c-ground) 0%, var(--c-band) 100%); border-bottom: 1px solid var(--c-line); overflow: hidden; }
.h4-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: center; padding-block: 4.5rem; }
.h4-hero h1 { margin: 0; font-weight: 700; letter-spacing: -.034em; line-height: 1.03; font-size: clamp(2.5rem, 4.8vw, 4rem); text-wrap: balance; }
.h4-hero .lead { margin: 1.2rem 0 0; font-size: 1.18rem; color: var(--c-muted); max-width: 34ch; }
.h4-claims { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .55rem; }
.h4-claims li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: .6rem; font-weight: 500; }
.h4-claims li::before { content: ""; width: 20px; height: 22px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: color-mix(in srgb, var(--c-accent) 16%, var(--c-ground)); }
.h4-claims li::after { content: ""; position: absolute; left: 7.5px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid var(--c-accent-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.h4-hero .btns { margin-top: 2rem; }

.h4-product { position: relative; padding-bottom: 3.8rem; }
.h4-window { width: 128%; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-ground); overflow: hidden; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--c-ink) 35%, transparent), 0 10px 24px -14px color-mix(in srgb, var(--c-ink) 15%, transparent); }
.h4-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--c-line); background: var(--c-band); }
.h4-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line); }
.h4-bar span { margin-left: 12px; font-size: .78rem; color: var(--c-muted); background: var(--c-ground); border: 1px solid var(--c-line); border-radius: 6px; padding: 1px 14px; }
.h4-window .shot { margin: 0; }
.h4-window .shot img { border: 0; border-radius: 0; }
.h4-film { position: absolute; left: -1.75rem; bottom: 0; width: 15rem; background: var(--c-ground); border: 1px solid var(--c-line); border-radius: 14px; padding: 7px 7px 9px; box-shadow: 0 24px 50px -22px color-mix(in srgb, var(--c-ink) 45%, transparent); transition: width .25s var(--c-ease); }
.h4-film .film { gap: .45rem; --film-h: 40rem; }
.h4-film .film-frame, .h4-film .film-frame::after { border-radius: 9px; }
.h4-film .film-frame { box-shadow: none; aspect-ratio: var(--r, 16 / 9); width: min(100%, calc(var(--film-h, 34rem) * var(--r, 1.7778))); }   /* one film alone: its own shape, nothing to align with */
.h4-film figcaption { padding: 0 .25rem; font-size: .82rem; }
.h4-film:has(.film[data-playing]) { width: min(26rem, 100%); z-index: 2; }

/* the dated proof strip */
.h4-proof { border-bottom: 1px solid var(--c-line); background: var(--c-ground); }
.h4-proof-row { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
.h4-proof-row p { margin: 0; padding: 1.5rem 1.4rem; border-left: 1px solid var(--c-line); }
.h4-proof-row .h4-proof-intro { border-left: 0; padding-left: 0; font-size: .92rem; color: var(--c-muted); align-self: center; }
.h4-proof-row b { display: block; font-family: var(--c-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h4-proof-row span { color: var(--c-muted); font-size: .9rem; }

/* the six goals: pick one, read it, watch its films. Without JS every goal is open, one after the
   other; with JS (site.js adds .is-live) one is open — beside the list on a wide screen, under its own
   title on a phone. */
.h4-goals { padding-block: 5.5rem 6rem; }
.h4-goals h2 { margin: 0 0 2.4rem; font-weight: 700; letter-spacing: -.03em; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.h4-tabs { display: grid; gap: .3rem; }
.h4-tab { font: inherit; color: inherit; text-align: left; cursor: pointer; background: none; border: 1px solid transparent; border-radius: 12px; padding: 1rem 1.1rem; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .15rem .75rem; transition: background .15s var(--c-ease), border-color .15s var(--c-ease), box-shadow .15s var(--c-ease); }
.h4-tab .h4-hex { grid-row: span 2; margin-top: .2rem; }
.h4-tab:hover { background: var(--c-band); }
.h4-tab:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.h4-tab[aria-expanded="true"] { background: var(--c-ground); border-color: var(--c-line); box-shadow: 0 10px 26px -18px color-mix(in srgb, var(--c-ink) 40%, transparent); }
.h4-tab[aria-expanded="true"] .h4-hex { background: var(--c-accent); }
.h4-tab-title { font-family: var(--c-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.25; }
.h4-tab-line { color: var(--c-muted); font-size: .94rem; line-height: 1.5; }
.is-live .h4-tab[aria-expanded="false"] .h4-tab-line { display: none; }
.h4-panel { background: var(--c-band); border: 1px solid var(--c-line); border-radius: 16px; padding: 1.8rem; margin: .3rem 0 1rem; min-width: 0; }
.is-live .h4-panel:not(.is-open) { display: none; }
.h4-panel h3 { margin: 0 0 .5rem; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.h4-panel > p { margin: 0; color: var(--c-muted); max-width: 62ch; text-wrap: pretty; }
.h4-panel > p + p { margin-top: .8rem; }
.h4-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 1.6rem 1.2rem; margin-top: 1.6rem; align-items: start; }
.h4-films .film { --film-h: 12rem; }
.h4-films .film:first-child { grid-column: 1 / -1; --film-h: 26rem; }
.h4-more { margin: 1.2rem 0 0; }
@media (min-width: 64em) {
  .h4-tabs.is-live { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: 2.5rem; align-items: start; }
  .is-live .h4-tab { grid-column: 1; }
  .is-live .h4-tab:nth-of-type(1) { grid-row: 1; } .is-live .h4-tab:nth-of-type(2) { grid-row: 2; } .is-live .h4-tab:nth-of-type(3) { grid-row: 3; }
  .is-live .h4-tab:nth-of-type(4) { grid-row: 4; } .is-live .h4-tab:nth-of-type(5) { grid-row: 5; } .is-live .h4-tab:nth-of-type(6) { grid-row: 6; }
  .is-live .h4-panel { grid-column: 2; grid-row: 1 / 8; margin: 0; }
}
@media (max-width: 64em) {
  .h4-hero-grid { grid-template-columns: 1fr; }
  .h4-window { width: 100%; }
  .h4-film { left: .75rem; }
  .h4-proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h4-proof-row .h4-proof-intro { grid-column: 1 / -1; padding: 1.2rem 0 .2rem; }
  .h4-proof-row p:nth-child(2), .h4-proof-row p:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 36em) {
  .h4-hero-grid { padding-block: 3rem; }
  .h4-film { width: 10rem; left: .5rem; }
  .h4-film figcaption { display: none; }
  .h4-proof-row b { font-size: 1.45rem; }
  .h4-goals { padding-block: 4rem; }
  .h4-panel { padding: 1.2rem; }
}

.wb-section { padding: 3.25rem 0; }
@media (min-width: 60em) { .wb-section { padding: 5rem 0; } }
.wb-section + .wb-section { border-top: 1px solid var(--c-line); }
.wb-section.tint { background: var(--c-band); }
.wb-section h2 { margin: 0 0 .5em; max-width: 26ch; }
.wb-section > .wrap > p { max-width: 58ch; font-size: 1.08rem; color: var(--c-muted); margin: 0; }

/* the three steps: columns under a rule, never boxes */
.wb-flow { display: grid; gap: 2.2rem 2.4rem; list-style: none; margin: 2.2rem 0 0; padding: 0; }
.wb-flow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-flow li { display: grid; gap: .55rem; align-content: start; padding-top: 1.1rem; border-top: 2px solid var(--c-line); min-width: 0; }
.wb-flow li > div { display: grid; gap: .55rem; }
.wb-flow h3 { margin: 0; text-wrap: balance; }
.wb-flow p { margin: 0; font-size: .95rem; color: var(--c-muted); text-wrap: pretty; }
.wb-num { font-family: var(--c-display); font-weight: 600; font-size: 1rem; color: var(--c-accent-text); }
@media (max-width: 44em) { .wb-flow-3 { grid-template-columns: 1fr; gap: 1.6rem; } }

/* how it works: the three steps beside their film */
.wb-steps .film { max-width: 560px; margin-top: 2.4rem; }
@media (min-width: 60em) {
  .wb-steps .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); column-gap: 4rem; align-items: start; }
  .wb-steps h2 { grid-column: 1; }
  .wb-steps .wb-flow-3 { grid-column: 1; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.2rem; }
  .wb-steps .film { grid-column: 2; grid-row: 1 / span 2; max-width: none; margin-top: .4rem; }
}

/* a dated figure line (Pricing) */
.wb-dated { margin: 1.2rem 0 0; font-family: var(--mc-font-mono); font-size: .82rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }

/* works with what you have */
.wb-tags { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem .7rem; }
.wb-tags li { border: 1px solid var(--c-line); border-radius: var(--mc-r-pill); padding: .45rem 1rem; font-weight: 500; background: var(--c-ground); }

/* the door */
.wb-door { padding: 3.25rem 0; background: var(--c-band); border-top: 1px solid var(--c-line); }
@media (min-width: 60em) { .wb-door { padding: 5rem 0; } }
.wb-door .wrap > div { display: grid; gap: 1rem; justify-items: start; max-width: 56rem; }
.wb-door h2 { margin: 0; }
.wb-door p { margin: 0; max-width: 48ch; font-size: 1.08rem; color: var(--c-muted); }
.wb-door .btns { margin-top: .6rem; }

/* pages: a plain head */
.page-head { padding: clamp(2.6rem, 5vw, 4rem) 0 1.4rem; }
.page-head h1 { margin: 0 0 .4em; }
.page-head .lede { max-width: 56ch; margin: 0; }
.hero-page { padding-top: clamp(2.6rem, 5vw, 4rem); }

/* the film slot (build.py video()) — a clean widescreen frame with a soft shadow. Every frame is 16:9
   whatever the film's shape (Samer 2026-09-28: mixed shapes made the Watch page chaotic): a square or
   portrait film sits whole in it on a blurred copy of its own poster (.film-ground, emitted by build.py
   when the poster is not widescreen); the modal plays it at its real shape (--r on the figure). The
   video is positioned so it paints above the ground and below the play mark, in DOM order. */
.film { margin: 0; display: grid; gap: .6rem; min-width: 0; }
.film-frame { position: relative; aspect-ratio: 16 / 9; width: min(100%, calc(var(--film-h, 34rem) * 1.7778)); max-width: 100%; overflow: hidden; border-radius: var(--c-r); box-shadow: var(--c-shadow); background: var(--c-ground); }
.film-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--c-line); border-radius: var(--c-r); pointer-events: none; z-index: 3; }   /* the hairline as an overlay: the media fills the frame edge to edge */
.film-frame video { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.film-ground { position: absolute; inset: -12%; background: center / cover no-repeat; filter: blur(22px) saturate(.7); opacity: .55; }
.film-empty { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto 1fr; align-items: end; place-items: center; background-color: var(--c-band); background-size: cover; background-position: center; }
.film-empty .film-mark { opacity: .35; grid-row: 2; }
.film-soon { grid-row: 3; align-self: end; padding-bottom: .8rem; font-size: .82rem; color: var(--c-muted); }
.film-mark { width: 58px; height: auto; fill: var(--c-accent); }
.film-mark .film-mark-tri { fill: var(--c-on-accent); }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.film-play::before { content: ""; position: absolute; inset: 0; background: var(--c-ink); opacity: .04; transition: opacity .15s var(--c-ease); }
.film-play:hover::before, .film-play:focus-visible::before { opacity: .1; }
.film-play:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }
.film-play .film-mark { position: relative; z-index: 1; filter: drop-shadow(0 4px 12px color-mix(in srgb, var(--c-ink) 30%, transparent)); }
.film figcaption { display: grid; gap: .15rem; font-family: var(--c-font); font-size: .98rem; line-height: 1.4; margin: 0; color: var(--c-ink); }
.film-title { font-weight: 600; }
.film-line { color: var(--c-muted); }
.film-meta { font-family: var(--mc-font-mono); font-size: .78rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.film-tab { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: var(--c-ground); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--mc-r-pill); padding: .15rem .6rem; font-family: var(--mc-font-mono); font-size: .76rem; }
.film.is-target .film-frame { outline: 2px solid var(--c-accent); outline-offset: 4px; }

/* the film modal (site.js openFilm; Samer 2026-09-28): the film at 80 % of the screen's width on the
   lightbox's ground — a tall film (E1 square, E2 portrait) is held by the height instead; --r is the
   film's ratio, copied from its slot. The close mark is drawn (a stroke), never a glyph. */
.film-modal { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--c-ground) 94%, transparent); display: grid; place-items: center; padding: 4.5rem 1.5rem 1.5rem; cursor: zoom-out; }
.film-modal figure { margin: 0; display: grid; gap: .7rem; width: min(80vw, calc((100vh - 10rem) * var(--r, 1.7778))); max-width: 100%; cursor: auto; }
.film-modal video { display: block; width: 100%; aspect-ratio: var(--r, 16 / 9); height: auto; max-height: calc(100vh - 10rem); object-fit: contain; background: var(--c-ground); border-radius: var(--c-r); box-shadow: var(--c-shadow); outline: 0; }
.film-modal video:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.film-modal figcaption { display: grid; gap: .15rem; font-family: var(--c-font); font-size: .98rem; line-height: 1.4; color: var(--c-ink); }
.film-modal .close { position: absolute; top: 1.2rem; right: 1.2rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid var(--c-line); border-radius: var(--c-r); background: var(--c-ground); color: var(--c-ink); cursor: pointer; box-shadow: var(--c-shadow); }
.film-modal .close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.film-modal .close:hover { background: var(--c-band); }
.film-modal .close:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
@media (max-width: 40em) {
  .film-modal { padding: 4rem .75rem .75rem; }
  .film-modal figure { width: min(96vw, calc((100vh - 9rem) * var(--r, 1.7778))); }   /* a phone would waste its width at 80 % */
}

/* the download modal (site.js openDl; card MV2-APP-DOWNLOAD-DOOR, 2026-10-11): the film modal's
   ground, a small card — the platform rows download the FILE and close the modal; no second call
   to action inside. The close mark is the film modal's, drawn on the card. */
.dl-modal { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--c-ground) 94%, transparent); display: grid; place-items: center; padding: 1.5rem; cursor: zoom-out; }
.dl-modal[hidden] { display: none; }
.dl-card { position: relative; width: min(26rem, 100%); display: grid; gap: .9rem; padding: 1.6rem 1.8rem 1.8rem; background: var(--c-ground); border: 1px solid var(--c-line); border-radius: var(--c-r); box-shadow: var(--c-shadow); cursor: auto; }
.dl-card h2 { margin: 0; font-size: 1.3rem; }
.dl-lede { margin: 0; color: var(--c-muted); font-size: .98rem; line-height: 1.45; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem .9rem; border: 1px solid var(--c-line); border-radius: var(--c-r); color: var(--c-ink); text-decoration: none; }
.dl-row:hover { background: var(--c-band); }
.dl-row:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.dl-row b { flex: 1; }
.dl-chip { flex: none; font-size: .82rem; color: var(--c-muted); border: 1px solid var(--c-line); border-radius: 999px; padding: .1rem .55rem; white-space: nowrap; }
/* the visitor's own system (card MV2-APP-OS-PICK): the suggested row's primary emphasis — a mark, never a gate */
.dl-row.dl-mine { border-color: var(--c-accent); background: var(--c-band); }
.dl-mychip { flex: none; font-size: .82rem; color: var(--c-accent); border: 1px solid var(--c-accent); border-radius: 999px; padding: .1rem .55rem; white-space: nowrap; }
.dl-note { margin: 0; color: var(--c-muted); font-size: .95rem; }
.dl-modal .close { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0; border: 1px solid var(--c-line); border-radius: var(--c-r); background: var(--c-ground); color: var(--c-ink); cursor: pointer; }
.dl-modal .close svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dl-modal .close:hover { background: var(--c-band); }
.dl-modal .close:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* the film library (Watch) */
.films { padding: 1.6rem 0 2.8rem; }
.films h2 { margin: 0 0 .3rem; }
.films .row-line { margin: 0 0 1.6rem; color: var(--c-muted); max-width: 62ch; }
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 2.2rem 1.6rem; }

/* framed panels: the pricing plans, the Book form, the contents list */
.panel { border: 1px solid var(--c-line); border-radius: var(--c-r); background: var(--c-ground); padding: 1.4rem; }

/* the Pricing page */
.plans { padding: .6rem 0 1.6rem; }
.plan-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.4rem; align-items: stretch; }
.plan { display: grid; gap: .6rem; align-content: start; padding: 1.5rem 1.5rem 1.7rem; }
.plan h2 { margin: 0; font-size: 1.3rem; }
.plan p { margin: 0; color: var(--c-muted); }
.plan-price { color: var(--c-ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; }
.plan-price b { font-family: var(--c-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.plan-from, .plan-unit { font-size: .95rem; color: var(--c-muted); }
.plan-lift { border-color: var(--c-accent); border-width: 2px; }
.plan .btn { justify-self: start; margin-top: .4rem; }
.plan-billing { margin: 1.4rem 0 0; max-width: 62ch; color: var(--c-muted); }
.plans .wb-dated { display: inline; margin: 0; }
.plan-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

/* the comparator (Pricing, 2026-09-28): one row per thing a company asks about, the four plans as
   columns, the Standard column tinted like its lifted box; the check is the hero's hexagon mark, the
   dash a drawn stroke — never a glyph. On a narrow screen the table scrolls sideways inside its wrap. */
.compare-section { padding: 1rem 0 2.6rem; }
.compare-section h2 { margin: 0 0 1.2rem; font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-ground); }
.compare { width: 100%; min-width: 52rem; border-collapse: separate; border-spacing: 0; font-size: .95rem; line-height: 1.4; }
.compare th, .compare td { padding: .8rem 1rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--c-line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { vertical-align: bottom; padding-top: 1.1rem; font-family: var(--c-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }
.compare thead th b { display: block; font-weight: 600; }
.compare thead th span { display: block; margin-top: .2rem; font-family: var(--c-font); font-weight: 400; font-size: .84rem; color: var(--c-muted); }
.compare tbody th { font-weight: 500; color: var(--c-ink); width: 30%; }
.compare td { color: var(--c-muted); }
.compare .is-lift { background: color-mix(in srgb, var(--c-accent) 6%, var(--c-ground)); }
.compare thead .is-lift { box-shadow: inset 0 3px 0 var(--c-accent); }
.compare .ck { position: relative; display: inline-block; width: 20px; height: 22px; vertical-align: middle; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: color-mix(in srgb, var(--c-accent) 16%, var(--c-ground)); }
.compare .ck::after { content: ""; position: absolute; left: 7.5px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid var(--c-accent-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.compare .no { display: inline-block; width: 12px; height: 2px; vertical-align: middle; background: var(--c-line); border-radius: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 40em) {
  .compare { font-size: .9rem; }
  .compare th, .compare td { padding: .65rem .75rem; }
}

/* the Book page */
.book { padding: 1rem 0 3.5rem; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 56em) { .book-grid { grid-template-columns: 1fr; } }
.book-form { display: grid; gap: .3rem; padding: 1.6rem; }
.book-form label { font-weight: 600; margin-top: .8rem; }
.book-form input, .book-form textarea { font: inherit; color: var(--c-ink); background: var(--c-ground); border: 1px solid var(--c-line); border-radius: var(--c-r-sm); padding: .7rem .8rem; width: 100%; }
.book-form input:focus, .book-form textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-accent); }
.book-form button { margin-top: 1.2rem; justify-self: start; }
.book-note { margin: .8rem 0 0; color: var(--c-muted); }
.book-aside p { margin: 0 0 1em; max-width: 40ch; color: var(--c-muted); }
.book-aside strong { color: var(--c-ink); }

/* the in-page contents list (For your technical team) */
.with-toc { display: grid; gap: 2rem; align-items: start; }
.toc { border: 1px solid var(--c-line); border-radius: var(--c-r); padding: 1rem 1.1rem; background: var(--c-ground); }
.toc-title { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: .3rem; }
.toc a { color: var(--c-ink); text-decoration: none; }
.toc a:hover, .toc a:focus-visible { color: var(--c-accent-text); text-decoration: underline; }
@media (min-width: 900px) { .with-toc { grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; } .toc { position: sticky; top: 88px; } }

/* the footer */
.foot { border-top: 1px solid var(--c-line); }
.brand-line { font-family: var(--c-display); font-weight: 600; }
