/* Microdra.ma for Brands — design system and components.
   Layout uses logical properties so it can flip to RTL later. Light app surfaces, dark marketing surfaces. */

:root {
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --paper: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --sunken: #f1ede6;
  --ink: #17141c;
  --ink-2: #48434f;
  --ink-3: #78727f;
  --ink-4: #a7a1ac;
  --line: #e5e0d8;
  --line-2: #eeeae3;

  --red: #e0303e;
  --red-ink: #c21e2d;
  --red-soft: #fcebec;
  --brand: #12304f;
  --brand-2: #1f4f80;
  --brand-soft: #e9eff6;
  --green: #187a52;
  --green-soft: #e4f3eb;
  --amber: #9a6200;
  --amber-soft: #fbf0d9;

  --night: #0d0b10;
  --night-2: #16131b;
  --night-3: #201c26;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-ink: rgba(255, 255, 255, 0.94);
  --night-ink-2: rgba(255, 255, 255, 0.66);
  --night-ink-3: rgba(255, 255, 255, 0.42);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(23, 20, 28, 0.05), 0 0 0 1px rgba(23, 20, 28, 0.045);
  --sh-2: 0 12px 32px -14px rgba(23, 20, 28, 0.2), 0 2px 6px -2px rgba(23, 20, 28, 0.06), 0 0 0 1px rgba(23, 20, 28, 0.04);
  --sh-3: 0 40px 90px -30px rgba(10, 8, 14, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --side-w: 276px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dark-surface { background: var(--night); }
/* Paints the phone's status-bar band so nothing scrolls visibly under it. */
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--paper); }
body.dark-surface::before { background: var(--night); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: rgba(224, 48, 62, 0.18); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 24px; height: 24px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.display { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; }
.h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.h4 { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.lede { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 64ch; }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.prose p { color: var(--ink-2); max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.caps { text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px rgba(224, 48, 62, 0.8); }
.btn-primary:hover { background: var(--red-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2530; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f3efe9; }
.btn-outline { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-4); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--sunken); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn .ic { width: 18px; height: 18px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--ink-2); transition: background 0.15s; }
.icon-btn:hover { background: var(--sunken); color: var(--ink); }
.link { color: var(--red-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
}
.chip-dark { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.86); }
.chip-select { height: 40px; padding: 0 16px; font-size: 14px; cursor: pointer; transition: all 0.15s var(--ease); }
.chip-select:hover { border-color: var(--ink-4); }
.chip-select.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-select .ic { width: 16px; height: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
}
.badge .ic { width: 13px; height: 13px; stroke-width: 2; }
.badge-red { background: var(--red-soft); color: var(--red-ink); }
.badge-ink { background: var(--ink); color: #fff; }
.badge-soft { background: var(--sunken); color: var(--ink-2); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-brand { background: var(--brand-soft); color: var(--brand-2); }

/* ---------- cards & grids ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card-pad { padding: 26px; }
.card-hover { transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease); }
.card-hover:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: var(--stack, 14px); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line-2); border: 0; margin: 22px 0; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field + .field { margin-top: 16px; }
.label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.input, .textarea {
  width: 100%; height: 48px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font-size: 15px; transition: border-color 0.15s, box-shadow 0.15s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; line-height: 1.6; }
.input:hover, .textarea:hover { border-color: var(--ink-4); }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 20, 28, 0.07); }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input-wrap { position: relative; }
.input-wrap .ic { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-4); }
.input-wrap .input { padding-inline-start: 44px; }
.help { font-size: 12.5px; color: var(--ink-3); }
.form-error { font-size: 13.5px; color: var(--red-ink); background: var(--red-soft); padding: 10px 14px; border-radius: 10px; }

/* ---------- wordmark & avatars ---------- */
.wordmark { font-family: var(--f-ui); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; direction: ltr; unicode-bidi: isolate; line-height: 1; }
.wordmark i { font-style: normal; color: var(--red); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, #e0303e, #8d1a40);
}
.avatar-lg { width: 56px; height: 56px; font-size: 18px; }
.avatar-xl { width: 72px; height: 72px; font-size: 22px; }
.avatar-ink { background: linear-gradient(135deg, #2b2632, #0f0d12); }
.avatar-brand { background: linear-gradient(135deg, #1f4f80, #0c2340); }
.brand-logo { width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(23, 20, 28, 0.08); }
.brand-logo img { width: 86%; height: 86%; object-fit: contain; }

/* =========================================================
   App shell
   ========================================================= */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.side {
  position: sticky; top: 0; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--night); color: var(--night-ink-2);
  padding: 22px 16px 18px;
  overflow-y: auto;
}
.side .wordmark { color: #fff; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 4px 10px 22px; }
.side-tag { font-size: 11px; font-weight: 600; color: var(--night-ink-3); border: 1px solid var(--night-line); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.side-tag.long { font-size: 10.5px; padding: 3px 6px; margin-inline-end: -10px; }
.side-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; margin-bottom: 18px; border-radius: 16px;
  background: var(--night-2); border: 1px solid var(--night-line);
}
.side-brand b { display: block; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.side-brand span { font-size: 12px; color: var(--night-ink-3); }
.brand-wordmark { display: block; height: 26px; width: auto; margin: 2px 0 6px; } /* a logo that already spells the name, on the dark card */
.nav-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-ink-3); padding: 16px 12px 8px; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  height: 42px; padding: 0 12px; border-radius: 11px;
  font-size: 14.5px; font-weight: 500; color: var(--night-ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--night-2); color: #fff; }
.nav a.on { background: var(--night-3); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }
.nav a.on .ic { color: var(--red); }
.nav a .tail { margin-inline-start: auto; display: inline-flex; }
.nav a .tail .ic { width: 15px; height: 15px; color: var(--night-ink-3); }
.nav a .new { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--red); padding: 2px 7px; border-radius: 999px; }
.side-foot { margin-top: auto; padding-top: 18px; }
.side-mgr {
  padding: 16px; border-radius: 16px;
  background: linear-gradient(160deg, #241f2a, #17141c);
  border: 1px solid var(--night-line);
}
.side-mgr .row { gap: 10px; }
.side-mgr b { color: #fff; font-size: 14px; font-weight: 600; display: block; line-height: 1.3; }
.side-mgr span { font-size: 12px; color: var(--night-ink-3); }
.side-user { display: flex; align-items: center; gap: 10px; padding: 14px 8px 0; }
.side-user .who { flex: 1; min-width: 0; }
.side-user .who b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user .who span { display: block; font-size: 12px; color: var(--night-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user .icon-btn { color: var(--night-ink-3); }
.side-user .icon-btn:hover { background: var(--night-2); color: #fff; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  display: flex; align-items: center; gap: 12px;
  height: 68px; padding: 0 var(--gutter);
  background: rgba(246, 243, 238, 0.82); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.topbar.scrolled { border-bottom-color: var(--line-2); }
.topbar .crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); min-width: 0; }
.topbar .crumbs b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .crumbs .ic { width: 14px; height: 14px; }
.topbar .sp { flex: 1; }
.menu-btn { display: none; }
.page { width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px var(--gutter) 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 0 28px; }
.page-head .lede { margin-top: 8px; }

.scrim { display: none; }

/* =========================================================
   Dashboard home
   ========================================================= */
.welcome { padding: 22px 0 26px; }
.welcome .h1 { margin-top: 6px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.concept-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--brand); box-shadow: var(--sh-2); isolation: isolate;
}
.concept-card .reel { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); z-index: -2; }
.concept-card .reel img { width: 100%; height: 100%; object-fit: cover; }
.concept-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 18, 32, 0.96) 8%, rgba(8, 18, 32, 0.55) 52%, rgba(8, 18, 32, 0.15)); }
.concept-card .in { padding: 84px 30px 30px; }
.concept-card .top { position: absolute; top: 22px; inset-inline: 22px; display: flex; align-items: center; justify-content: space-between; }
.concept-card .title { font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; margin: 10px 0 12px; }
.concept-card .title em { font-style: italic; font-weight: 400; color: rgba(255, 255, 255, 0.82); }
.concept-card p { color: rgba(255, 255, 255, 0.8); max-width: 52ch; }
.concept-card .stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 20px 0 22px; }
.concept-card .stats div b { display: block; font-family: var(--f-display); font-size: 28px; line-height: 1; color: #fff; }
.concept-card .stats div span { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.mgr-card .row { gap: 14px; }
.journey { counter-reset: j; }
.journey li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::after { content: ''; position: absolute; inset-inline-start: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line-2); }
.journey li:last-child::after { display: none; }
.journey .mk { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: var(--sunken); color: var(--ink-3); border: 1px solid var(--line); position: relative; z-index: 1; }
.journey li.done .mk { background: var(--ink); border-color: var(--ink); color: #fff; }
.journey li.done::after { background: var(--ink); }
.journey li.now .mk { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px var(--red-soft); }
.journey .tx b { display: block; font-size: 14.5px; font-weight: 600; }
.journey .tx span { font-size: 13px; color: var(--ink-3); }
.journey li.todo .tx b { color: var(--ink-3); font-weight: 500; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 42px 0 16px; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1);
  transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.tool:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.tool .ti { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--sunken); color: var(--ink); }
.tool.open .ti { background: var(--red); color: #fff; }
.tool .ti .ic { width: 22px; height: 22px; }
.tool p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.tool .ft { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tool .ft .ic { width: 16px; height: 16px; }
.tool .badge { position: absolute; top: 20px; inset-inline-end: 20px; }

/* =========================================================
   Concept
   ========================================================= */
.c-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); color: #fff; background: #0a1626;
  box-shadow: var(--sh-2);
}
.c-hero .strip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; z-index: -2; }
.c-hero .strip figure { position: relative; overflow: hidden; }
.c-hero .strip img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.c-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 14, 26, 0.94) 38%, rgba(6, 14, 26, 0.3)), linear-gradient(to top, rgba(6, 14, 26, 0.8), transparent 60%); }
.c-hero .in { padding: clamp(28px, 5vw, 56px); max-width: 720px; }
.c-hero .kick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.c-hero .kick img { height: 30px; width: auto; border-radius: 6px; background: #fff; padding: 3px 6px; }
.c-hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 7vw, 92px); line-height: 0.92; letter-spacing: -0.03em; margin: 22px 0 18px; }
.c-hero h1 em { font-style: italic; font-weight: 400; color: rgba(255, 255, 255, 0.82); }
.c-hero p { font-size: 17px; color: rgba(255, 255, 255, 0.84); max-width: 52ch; }
.c-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.note {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; padding: 16px 20px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh-1);
}
.note .ni { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-ink); flex: none; }
.note .nt { flex: 1; min-width: 220px; }
.note .nt b { display: block; font-size: 14.5px; }
.note .nt span { font-size: 13.5px; color: var(--ink-3); }
.note-sample .ni { background: var(--amber-soft); color: var(--amber); }

.c-tabs {
  position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 20;
  margin: 22px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter);
  background: rgba(246, 243, 238, 0.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
  overflow-x: auto; scrollbar-width: none;
}
.c-tabs::-webkit-scrollbar { display: none; }
.c-tabs .in { display: flex; gap: 4px; width: max-content; }
.c-tabs a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: all 0.15s; }
.c-tabs a:hover { color: var(--ink); background: var(--sunken); }
.c-tabs a.on { background: var(--ink); color: #fff; }
.c-tabs a .n { font-size: 11.5px; font-weight: 700; opacity: 0.55; }
.c-tabs a .ic { width: 15px; height: 15px; color: var(--red); }
.c-tabs a.on .ic { color: #fff; }

.c-body { padding-top: 36px; }
.c-sec { padding: 46px 0; border-top: 1px solid var(--line-2); }
.c-sec:first-child { border-top: 0; padding-top: 8px; }
.c-sec-head { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; }
.c-sec-head .side-h .eyebrow { margin-bottom: 10px; }
.sec-k { font-family: var(--f-display); font-size: 15px; color: var(--red-ink); font-weight: 700; }

.opt-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 8px 0 18px; }
.opt-hero .num { font-family: var(--f-display); font-size: 15px; font-weight: 700; color: var(--red-ink); }
.opt-hero h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; margin: 10px 0 16px; }
.opt-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.opt-hero .art { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--sh-2); background: var(--brand); }
.opt-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.opt-hero .art .tag { position: absolute; bottom: 16px; inset-inline-start: 16px; }

.interest.on { background: var(--green); border-color: var(--green); color: #fff; }

.opt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.opt-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease); }
.opt-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.opt-card .im { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand); }
.opt-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.opt-card:hover .im img { transform: scale(1.05); }
.opt-card .im::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 14, 26, 0.7), transparent 55%); }
.opt-card .im .n { position: absolute; bottom: 12px; inset-inline-start: 16px; z-index: 1; font-family: var(--f-display); font-size: 40px; font-weight: 700; color: #fff; line-height: 1; }
.opt-card .im .badge { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 1; }
.opt-card .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.opt-card .bd p { font-size: 14px; color: var(--ink-3); }
.opt-card .bd .link { margin-top: auto; padding-top: 8px; }

.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reason { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); }
.reason .ri { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); flex: none; }
.reason b { display: block; font-size: 15px; margin-bottom: 2px; }
.reason span { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }

.ticks li { position: relative; padding-inline-start: 30px; color: var(--ink-2); }
.ticks li + li { margin-top: 10px; }
.ticks li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23187a52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks-red li::before { background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c21e2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dots li { position: relative; padding-inline-start: 18px; color: var(--ink-2); }
.dots li + li { margin-top: 9px; }
.dots li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.quote {
  position: relative; padding: 28px 32px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
  font-family: var(--f-display); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; font-weight: 500;
}
.quote::before { content: '“'; position: absolute; top: 8px; inset-inline-start: 18px; font-size: 72px; line-height: 1; color: var(--red); opacity: 0.9; }
.quote span { display: block; padding-inline-start: 26px; }
.quote small { display: block; margin-top: 10px; padding-inline-start: 26px; font-family: var(--f-ui); font-size: 13px; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.punch { font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; }
.punch em { font-style: normal; color: var(--red); }

.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); }
.glance div { padding: 20px 22px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2); }
.glance div:nth-child(3n + 1) { border-inline-start: 0; }
.glance div:nth-last-child(-n + 3) { border-bottom: 0; }
.glance .ic { color: var(--red); margin-top: 3px; width: 18px; height: 18px; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.person b { display: block; font-size: 16px; }
.person .role { font-size: 13px; color: var(--red-ink); font-weight: 600; }
.person p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

.engine { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: e; }
.engine li { counter-increment: e; position: relative; padding: 20px 18px 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.engine li::before { content: '0' counter(e); display: block; font-family: var(--f-display); font-size: 30px; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 14px; }

.cast { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.char { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.char .row { gap: 12px; margin-bottom: 12px; }
.char b { display: block; font-size: 17px; font-family: var(--f-display); }
.char .role { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.char p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.char:nth-child(1) .avatar { background: linear-gradient(135deg, #e0303e, #7a1638); }
.char:nth-child(2) .avatar { background: linear-gradient(135deg, #1f4f80, #0c2340); }
.char:nth-child(3) .avatar { background: linear-gradient(135deg, #d98a1c, #8f4a0b); }
.char:nth-child(4) .avatar { background: linear-gradient(135deg, #2c8f6a, #0f4a36); }
.char:nth-child(5) .avatar { background: linear-gradient(135deg, #59506a, #1f1b27); }
.char:nth-child(6) .avatar { background: linear-gradient(135deg, #8a5ec7, #3f2272); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13.5px; padding: 7px 13px; border-radius: 10px; background: var(--surface); box-shadow: var(--sh-1); color: var(--ink-2); }

.episodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ep { position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.ep:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.ep .en { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.ep .en .big { font-family: var(--f-display); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.ep h4 { font-family: var(--f-display); font-size: 19px; font-weight: 700; margin: 12px 0 6px; }
.ep p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 14px; }
.ep .cliff { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--sunken); font-size: 13.5px; font-weight: 500; color: var(--ink); display: flex; gap: 10px; }
.ep .cliff .ic { color: var(--red); width: 16px; height: 16px; margin-top: 3px; }
.ep .brandline { margin-top: 10px; font-size: 12.5px; color: var(--brand-2); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.ep .brandline .ic { width: 14px; height: 14px; }
.ep.hl { background: var(--ink); color: #fff; }
.ep.hl .en, .ep.hl p { color: rgba(255, 255, 255, 0.7); }
.ep.hl .en .big { color: #fff; }
.ep.hl .cliff { background: rgba(255, 255, 255, 0.08); color: #fff; }

.twist { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.twist .card { padding: 26px; }
.twist .dark { background: var(--brand); color: #fff; }
.twist .dark p { color: rgba(255, 255, 255, 0.82); }
.twist .dark .eyebrow { color: rgba(255, 255, 255, 0.6); }

.phone {
  position: relative; width: 100%; max-width: 270px; aspect-ratio: 9 / 18.5;
  border-radius: 40px; padding: 10px; background: #0b0a0d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, var(--sh-3);
}
.phone::before { content: ''; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 999px; background: #000; z-index: 2; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; background: #111; }
.phone .ph-ui { position: absolute; inset: 10px; border-radius: 31px; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 30%); }
.phone .ph-cap { position: absolute; bottom: 26px; inset-inline: 24px; color: #fff; font-size: 12.5px; z-index: 2; pointer-events: none; }
.phone .ph-cap b { display: block; font-size: 14px; }
.vid-toggle { position: absolute; bottom: 22px; inset-inline-end: 22px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); color: #fff; }
.vid-toggle .ic { width: 16px; height: 16px; }
/* Storyboard: four stills cross-fade in a 16s cycle with a slow push-in; the first is visible on load. */
.stills figure { position: absolute; inset: 10px; border-radius: 31px; overflow: hidden; opacity: 0; animation: still-cycle 16s infinite; background: #111; }
.stills figure:nth-child(2), .stills figure:nth-child(2) img { animation-delay: 4s; }
.stills figure:nth-child(3), .stills figure:nth-child(3) img { animation-delay: 8s; }
.stills figure:nth-child(4), .stills figure:nth-child(4) img { animation-delay: 12s; }
.stills img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; animation: still-zoom 16s infinite; }
.stills figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 38%); }
.stills figcaption { position: absolute; z-index: 1; bottom: 22px; inset-inline: 20px; color: #fff; display: flex; flex-direction: column; gap: 1px; }
.stills figcaption span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.stills figcaption b { font-family: var(--f-display); font-size: 17px; font-weight: 600; line-height: 1.2; }
@keyframes still-cycle { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
@keyframes still-zoom { 0% { transform: scale(1.12); } 31% { transform: scale(1); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .stills figure, .stills img { animation: none !important; }
  .stills figure:first-child { opacity: 1; }
}

.vid-out {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 16px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 38%, rgba(224, 48, 62, 0.32), transparent 62%), var(--night-2);
}
.phone .vid-out { inset: 10px; border-radius: 31px; }
.vid-out .pl { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); margin-bottom: 6px; transition: transform 0.2s var(--ease); }
.vid-out:hover .pl { transform: scale(1.08); }
.vid-out .pl .ic { width: 20px; height: 20px; }
.vid-out b { font-size: 14px; font-weight: 600; }
.vid-out small { font-size: 12px; color: var(--night-ink-3); }

.ref { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; border-radius: var(--r-xl); background: var(--night); color: #fff; overflow: hidden; position: relative; }
.ref::after { content: ''; position: absolute; width: 520px; height: 520px; inset-inline-end: -160px; top: -200px; background: radial-gradient(circle, rgba(224, 48, 62, 0.35), transparent 65%); pointer-events: none; }
.ref p { color: var(--night-ink-2); }
.ref .phone { width: 240px; }
.ref .eyebrow { color: var(--night-ink-3); }

.arcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.arc { padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); }
.arc b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.arc span { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.spots { display: flex; flex-direction: column; gap: 12px; }
.spot { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.spot > div { padding: 20px; }
.spot .sn { display: grid; place-items: center; font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--red); background: var(--surface-2); border-inline-end: 1px solid var(--line-2); }
.spot .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-4); margin-bottom: 6px; display: block; }
.spot h4 { font-family: var(--f-display); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.spot p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.spot .sol { background: var(--brand-soft); }
.spot .sol .lbl { color: var(--brand-2); }
.spot .prf p { font-weight: 500; color: var(--ink); }
.spot-head { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr); font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 0 0 4px; }
.spot-head span { padding: 0 20px; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pillar { padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); }
.pillar b { display: block; font-size: 15px; margin-bottom: 4px; }
.pillar span { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }

.reel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)) minmax(0, 1fr); gap: 16px; align-items: start; }
.reel-v, .reel-w { position: relative; border-radius: 22px; overflow: hidden; background: #0b0a0d; box-shadow: var(--sh-2); }
.reel-v { aspect-ratio: 9 / 16; }
.reel-w { aspect-ratio: 16 / 9; }
.reel-v video, .reel-w video { width: 100%; height: 100%; object-fit: cover; }
.reel-v .vid-toggle, .reel-w .vid-toggle { bottom: 12px; inset-inline-end: 12px; }
.reel-label { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; }
.wide-col { display: flex; flex-direction: column; gap: 16px; }

.angles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.angle { padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.angle .k { font-size: 12.5px; font-weight: 700; color: var(--red-ink); }
.angle h3 { font-family: var(--f-display); font-size: 24px; font-weight: 700; margin: 6px 0 10px; }
.angle p { font-size: 14px; color: var(--ink-2); }

.cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-col { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.cmp-col .hd { padding: 22px 22px 18px; border-bottom: 1px solid var(--line-2); }
.cmp-col .hd .n { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--red-ink); }
.cmp-col .hd h3 { font-family: var(--f-display); font-size: 26px; font-weight: 700; margin-top: 2px; }
.cmp-col .hd .role { display: inline-block; margin-top: 8px; }
.cmp-col .bl { padding: 18px 22px; }
.cmp-col .bl + .bl { border-top: 1px solid var(--line-2); }
.cmp-col .bl .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-4); margin-bottom: 10px; display: block; }
.cmp-col .bl li { font-size: 14px; }
.cmp-col .ft { margin-top: auto; padding: 0 22px 22px; }
.cmp-col.feat { box-shadow: 0 0 0 2px var(--ink), var(--sh-2); }
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 22px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.ladder div { padding: 22px; background: var(--surface); position: relative; }
.ladder div:nth-child(2) { background: #f7f2ec; }
.ladder div:nth-child(3) { background: var(--ink); color: #fff; }
.ladder div:nth-child(3) span { color: rgba(255, 255, 255, 0.65); }
.ladder b { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 700; }
.ladder span { font-size: 13.5px; color: var(--ink-3); }

.deliv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.deliv div { padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); }
.deliv .ic { color: var(--red); margin-bottom: 12px; }
.deliv b { display: block; font-size: 14.5px; }
.deliv span { font-size: 13px; color: var(--ink-3); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); counter-reset: s; }
.steps li { counter-increment: s; padding: 18px 20px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2); display: flex; gap: 12px; align-items: baseline; }
.steps li:nth-child(4n + 1) { border-inline-start: 0; }
.steps li:nth-last-child(-n + 4) { border-bottom: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--ink-4); }

.materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--sh-1); cursor: pointer; text-align: start; font-size: 14px; color: var(--ink-2); transition: all 0.15s; }
.mat:hover { box-shadow: var(--sh-2); }
.mat .bx { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--ink-4); display: grid; place-items: center; flex: none; transition: all 0.15s; }
.mat .bx .ic { width: 14px; height: 14px; stroke-width: 2.6; color: #fff; opacity: 0; }
.mat.on { color: var(--ink); }
.mat.on .bx { background: var(--green); border-color: var(--green); }
.mat.on .bx .ic { opacity: 1; }
.progress { height: 8px; border-radius: 999px; background: var(--sunken); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width 0.35s var(--ease); }

.approvals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.appr { padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); position: relative; }
.appr .s { font-size: 12px; font-weight: 700; color: var(--red-ink); }
.appr b { display: block; font-size: 16px; margin: 4px 0 6px; font-family: var(--f-display); }
.appr span { font-size: 13px; color: var(--ink-3); }

.rec-hero { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--night); color: #fff; padding: clamp(30px, 5vw, 60px); isolation: isolate; }
.rec-hero::before { content: ''; position: absolute; width: 640px; height: 640px; inset-inline-start: -220px; bottom: -380px; background: radial-gradient(circle, rgba(224, 48, 62, 0.42), transparent 62%); z-index: -1; }
.rec-hero h2 { font-family: var(--f-display); font-size: clamp(32px, 4.6vw, 58px); font-weight: 700; line-height: 1.05; margin: 14px 0 12px; max-width: 18ch; }
.rec-hero p { color: var(--night-ink-2); font-size: 17px; }
.rec-hero .eyebrow { color: var(--night-ink-3); }
.rec-plus { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.rec-plus .pill { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--night-line); }
.rec-plus .pill b { font-family: var(--f-display); font-size: 20px; }
.rec-plus .pill span { font-size: 12.5px; color: var(--night-ink-3); display: block; }
.rec-plus .plus { font-size: 28px; color: var(--red); font-weight: 300; }
.next-card { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-2); }
.next-card .tx { flex: 1; min-width: 240px; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); min-width: 200px; transition: box-shadow 0.2s; }
.pager a:hover { box-shadow: var(--sh-2); }
.pager a span { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.pager a span .ic { width: 14px; height: 14px; }
.pager a b { font-size: 15px; }
.pager .nx { margin-inline-start: auto; text-align: end; align-items: flex-end; }

/* =========================================================
   Locked tools
   ========================================================= */
.lock-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: var(--sh-2); }
.lock-hero .tx { padding: clamp(28px, 4vw, 48px); }
.lock-hero .ti { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 22px; }
.lock-hero .ti .ic { width: 26px; height: 26px; }
.lock-hero h1 { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.1; margin: 10px 0 12px; }
.lock-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.lock-hero .art { position: relative; background: var(--night); min-height: 360px; overflow: hidden; display: grid; place-items: center; padding: 28px; }
.lock-hero .art::before { content: ''; position: absolute; width: 480px; height: 480px; top: -160px; inset-inline-end: -140px; background: radial-gradient(circle, rgba(224, 48, 62, 0.35), transparent 65%); }
.ghost-ui { position: relative; width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; filter: blur(1.5px); opacity: 0.85; }
.ghost-ui .g { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); }
.ghost-ui .g i { display: block; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.ghost-ui .g .c { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); flex: none; }
.ghost-ui .g .ln { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.lock-seal { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; padding: 24px 28px; border-radius: 22px; background: rgba(13, 11, 16, 0.78); border: 1px solid var(--night-line); backdrop-filter: blur(8px); max-width: 300px; }
.lock-seal .ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); }
.lock-seal .ring .ic { width: 26px; height: 26px; }
.lock-seal span { font-size: 13px; color: var(--night-ink-2); }

.reasons > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* =========================================================
   Public: landing, auth, onboarding, build
   ========================================================= */
.pub { min-height: 100vh; min-height: 100dvh; }
.land { background: var(--night); color: var(--night-ink); overflow-x: hidden; }
.land-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; display: flex; align-items: center; gap: 16px; height: 72px; padding: 0 var(--gutter); background: rgba(13, 11, 16, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--night-line); }
.land-nav .wordmark { color: #fff; }
.land-nav .sp { flex: 1; }
.land-nav .lnk { font-size: 14.5px; color: var(--night-ink-2); padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.land-nav .lnk:hover { color: #fff; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.hero { position: relative; isolation: isolate; padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 8vw, 120px); }
.hero::before { content: ''; position: absolute; width: 900px; height: 900px; top: -380px; inset-inline-end: -320px; background: radial-gradient(circle, rgba(224, 48, 62, 0.32), transparent 62%); z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.35; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--night-ink-2); }
.hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(46px, 6.6vw, 92px); line-height: 0.96; letter-spacing: -0.035em; margin: 22px 0 24px; color: #fff; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { color: var(--night-ink-2); font-size: 18.5px; max-width: 54ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero .trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px; font-size: 13.5px; color: var(--night-ink-3); }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero .trust .ic { width: 16px; height: 16px; color: var(--red); }
.stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.stage .phone { max-width: 300px; transform: rotate(-2.5deg); }
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(30, 26, 36, 0.78); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); font-size: 13px; color: var(--night-ink-2);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; color: #fff; font-size: 14px; }
.float .fi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.float .fi .ic { width: 18px; height: 18px; }
.float.f1 { top: 12%; inset-inline-end: -4%; }
.float.f2 { bottom: 16%; inset-inline-start: -6%; animation-delay: -3s; }
.float.f2 .fi { background: #fff; }
.float.f2 .fi img { width: 80%; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.band { padding: clamp(60px, 9vw, 120px) 0; position: relative; }
.band-light { background: var(--paper); color: var(--ink); }
.band-cream { background: #efe9e0; color: var(--ink); }
.band-head { max-width: 760px; margin-bottom: 44px; }
.band-head h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; margin-top: 14px; }
.band-head p { margin-top: 16px; font-size: 17.5px; color: var(--night-ink-2); max-width: 60ch; }
.band-light .band-head p, .band-cream .band-head p { color: var(--ink-2); }
.land .eyebrow { color: var(--night-ink-3); }
.land .band-light .eyebrow, .land .band-cream .eyebrow { color: var(--ink-3); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: h; }
.how li { counter-increment: h; position: relative; padding: 30px 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-1); }
.how li::before { content: counter(h); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--f-display); font-size: 20px; font-weight: 700; margin-bottom: 22px; }
.how li:first-child::before { background: var(--red); }
.how b { display: block; font-family: var(--f-display); font-size: 24px; margin-bottom: 8px; }
.how span { color: var(--ink-2); }
.how .tm { position: absolute; top: 34px; inset-inline-end: 28px; }
.managed { margin-top: 18px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 28px; border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.managed .tx { flex: 1; min-width: 240px; }
.managed span { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; }

.toolset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-xl); overflow: hidden; background: var(--night-line); border: 1px solid var(--night-line); }
.toolset > div { display: flex; flex-direction: column; padding: 30px 28px; background: var(--night); }
.toolset .ti { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: #fff; margin-bottom: 20px; }
.toolset > div:first-child .ti { background: var(--red); }
.toolset b { display: block; font-size: 18px; color: #fff; margin-bottom: 6px; }
.toolset .d { font-size: 14.5px; color: var(--night-ink-2); }
.toolset .tb { margin-top: auto; padding-top: 18px; }
.toolset .badge-red { background: rgba(224, 48, 62, 0.16); color: #ff8a93; }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.show-collage { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.show-collage figure { border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 15; box-shadow: var(--sh-2); }
.show-collage figure:nth-child(2) { transform: translateY(-26px); }
.show-collage img { width: 100%; height: 100%; object-fit: cover; }
.show-collage .seal { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.show-collage .seal img { height: 22px; width: auto; }
.show-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.show-list li:last-child { border-bottom: 0; }
.show-list .n { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--red); width: 34px; flex: none; }
.show-list b { display: block; font-size: 16px; }
.show-list span { font-size: 14px; color: var(--ink-3); }

.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.format { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; isolation: isolate; }
.format img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.format:hover img { transform: scale(1.05); }
.format::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 8, 14, 0.94), rgba(10, 8, 14, 0.2) 70%); }
.format .k { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.format b { display: block; font-family: var(--f-display); font-size: 30px; margin: 6px 0 8px; line-height: 1.1; }
.format span { font-size: 14px; color: rgba(255, 255, 255, 0.78); }

.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.03em; color: #fff; max-width: 16ch; margin: 16px auto 18px; }
.cta-band p { color: var(--night-ink-2); font-size: 17.5px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.foot { border-top: 1px solid var(--night-line); padding: 28px 0; font-size: 13px; color: var(--night-ink-3); }
.foot .wordmark { color: #fff; font-size: 17px; }

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; background: var(--paper); }
.auth-form { display: flex; flex-direction: column; padding: 28px var(--gutter); }
.auth-form .top { display: flex; align-items: center; justify-content: space-between; }
.auth-form .in { width: 100%; max-width: 420px; margin: auto; padding: 40px 0; }
.auth-form h1 { font-family: var(--f-display); font-size: clamp(32px, 3.6vw, 42px); font-weight: 700; line-height: 1.1; margin: 12px 0 10px; }
.auth-form form { margin-top: 30px; }
.auth-form .alt { margin-top: 22px; font-size: 14px; color: var(--ink-3); text-align: center; }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 12.5px; color: var(--ink-4); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-art { position: relative; overflow: hidden; background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; isolation: isolate; }
.auth-art .bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); z-index: -2; }
.auth-art .bg img { width: 100%; height: 100%; object-fit: cover; }
.auth-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13, 11, 16, 0.96) 15%, rgba(13, 11, 16, 0.35)); }
.auth-art blockquote { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; max-width: 22ch; }
.auth-art .by { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--night-ink-2); }
.auth-art .by b { color: #fff; display: block; }
.demo-box { margin-top: 18px; padding: 16px; border-radius: 16px; border: 1px dashed var(--line); background: var(--surface-2); }
.demo-box .row { gap: 12px; }

.onb { min-height: 100vh; min-height: 100dvh; background: var(--paper); display: flex; flex-direction: column; }
.onb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.onb-steps { display: flex; gap: 6px; }
.onb-steps i { width: 34px; height: 5px; border-radius: 999px; background: var(--line); transition: background 0.3s; }
.onb-steps i.on { background: var(--ink); }
.onb-main { flex: 1; display: grid; place-items: center; padding: 20px var(--gutter) 60px; }
.onb-card { width: 100%; max-width: 620px; }
.onb-card h1 { font-family: var(--f-display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.08; margin: 12px 0 12px; }
.onb-card .body { margin-top: 32px; }
.onb-card .choices { display: flex; flex-wrap: wrap; gap: 10px; }
.onb-card .nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; }
.url-wrap .url-input { height: 64px; font-size: 19px; border-radius: 18px; padding-inline-start: 54px; box-shadow: var(--sh-1); border-color: transparent; }
.url-input:focus { box-shadow: 0 0 0 4px rgba(23, 20, 28, 0.07), var(--sh-1); }
.url-wrap .ic { inset-inline-start: 20px; width: 22px; height: 22px; }

.build { min-height: 100vh; min-height: 100dvh; background: var(--night); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); isolation: isolate; position: relative; overflow: hidden; }
.build::before { content: ''; position: absolute; width: 900px; height: 900px; bottom: -480px; inset-inline-start: -300px; background: radial-gradient(circle, rgba(224, 48, 62, 0.3), transparent 62%); z-index: -1; }
.build-l { display: flex; flex-direction: column; justify-content: center; padding: 48px var(--gutter); max-width: 620px; margin-inline-start: auto; width: 100%; }
.build-l h1 { font-family: var(--f-display); font-size: clamp(32px, 4vw, 50px); font-weight: 700; line-height: 1.08; margin: 14px 0 10px; }
.build-l .eyebrow { color: var(--night-ink-3); }
.build-l .lede { color: var(--night-ink-2); }
.build-list { margin-top: 30px; }
.build-list li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; opacity: 0.35; transition: opacity 0.4s var(--ease); }
.build-list li.on, .build-list li.done { opacity: 1; }
.build-list .bm { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, 0.25); margin-top: 1px; }
.build-list li.on .bm { border-color: var(--red); border-top-color: transparent; animation: spin 0.9s linear infinite; }
.build-list li.done .bm { background: var(--red); border-color: var(--red); }
.build-list .bm .ic { width: 14px; height: 14px; stroke-width: 2.6; opacity: 0; }
.build-list li.done .bm .ic { opacity: 1; }
.build-list b { display: block; font-size: 16px; font-weight: 600; }
.build-list span { font-size: 13.5px; color: var(--night-ink-3); }
.build-bar { margin-top: 26px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.build-bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width 0.6s var(--ease); }
.build-r { position: relative; display: grid; place-items: center; padding: 40px; }
.build-r .tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 190px)); gap: 14px; transform: rotate(-4deg); }
.build-r .tiles figure { border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 14; opacity: 0; transform: translateY(20px) scale(0.96); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); box-shadow: var(--sh-3); }
.build-r .tiles figure.in { opacity: 1; transform: none; }
.build-r .tiles figure:nth-child(even) { margin-top: 40px; }
.build-r .tiles img { width: 100%; height: 100%; object-fit: cover; }
.build-sample { margin-top: 22px; font-size: 13px; color: var(--night-ink-3); display: flex; gap: 8px; align-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- loading, empty states, profile ---------- */
.splash { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; background: var(--paper); }
.splash p { max-width: 42ch; color: var(--ink-2); }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--red); animation: spin 0.8s linear infinite; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.soon-dot { font-size: 10.5px; font-weight: 600; color: #f5c56b; background: rgba(245, 197, 107, 0.12); padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.empty-hero { max-width: 640px; margin: 40px auto 0; padding: clamp(32px, 5vw, 56px); text-align: center; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-2); }
.empty-hero .ei { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber); }
.empty-hero .ei .ic { width: 28px; height: 28px; }
.empty-hero .h1 { margin: 8px 0 12px; }
.empty-hero .lede { margin: 0 auto; }
.concept-card.pending { background: radial-gradient(circle at 85% 15%, rgba(224, 48, 62, 0.35), transparent 55%), var(--night); min-height: 340px; }
.concept-card.pending::before { display: none; }
.concept-card.pending .in { padding-top: 30px; }
.concept-card.pending .title { font-size: clamp(30px, 3.6vw, 44px); margin-top: 18px; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.profile-grid .field + .field { margin-top: 24px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { margin: 14px 0 0; display: flex; flex-direction: column; gap: 12px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--ink-3); font-size: 13.5px; }
.facts dd { margin: 0; font-weight: 600; font-size: 14px; text-align: end; }
.float .fi-dark { background: #fff; color: var(--ink); }
.show-list .n .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.toast-error { background: var(--red-ink); }
.toast-error .ic { color: #fff; }

/* ---------- toast & reveal ---------- */
.toasts { position: fixed; z-index: 100; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--sh-3); animation: toast-in 0.35s var(--ease); }
.toast .ic { width: 18px; height: 18px; color: #6fe0a8; }
.toast.out { opacity: 0; transform: translateY(8px); transition: all 0.3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
.rise { animation: rise 0.6s var(--ease) both; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.still .rise { animation: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .episodes, .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arcs, .deliv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reel-row .wide-col { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot, .spot-head { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); }
  .spot .prf { grid-column: 2 / -1; border-top: 1px solid var(--line-2); }
  .spot-head span:last-child { display: none; }
}
@media (max-width: 1020px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 60; width: min(300px, 86vw); padding-top: calc(22px + env(safe-area-inset-top, 0px)); padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); padding-inline-start: calc(16px + env(safe-area-inset-left, 0px)); transform: translateX(-105%); transition: transform 0.3s var(--ease); }
  .nav-open .side { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(13, 11, 16, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .nav-open .scrim { opacity: 1; pointer-events: auto; }
  .menu-btn { display: inline-grid; }
  .home-grid, .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .c-sec-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .opt-hero, .twist, .lock-hero, .showcase, .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .opt-cards, .cmp, .formats, .how, .toolset { grid-template-columns: minmax(0, 1fr); }
  .engine, .approvals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(4n + 1) { border-inline-start: 1px solid var(--line-2); }
  .steps li:nth-child(2n + 1) { border-inline-start: 0; }
  .steps li:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line-2); }
  .steps li:nth-last-child(-n + 2) { border-bottom: 0; }
  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance div { border-inline-start: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
  .glance div:last-child { border-bottom: 0 !important; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-art { display: none; }
  .build { grid-template-columns: minmax(0, 1fr); }
  .build-r { display: none; }
  .build-l { margin: 0 auto; }
  .land-nav .lnk { display: none; }
  .float.f1 { inset-inline-end: 0; }
  .float.f2 { inset-inline-start: 0; }
}
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .g-2, .g-3, .g-4, .tools, .episodes, .cast, .team, .reasons, .angles, .materials, .pillars, .arcs, .deliv { grid-template-columns: minmax(0, 1fr); }
  .engine, .approvals, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-inline-start: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
  .steps li:last-child { border-bottom: 0 !important; }
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .spot, .spot-head { grid-template-columns: 48px minmax(0, 1fr); }
  .spot .sol, .spot .prf { grid-column: 2 / -1; border-top: 1px solid var(--line-2); }
  .spot-head { display: none; }
  .reel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-row .reel-v:nth-child(3) { display: none; }
  .reel-row .wide-col { grid-template-columns: minmax(0, 1fr); }
  .card-pad { padding: 20px; }
  .concept-card { min-height: 420px; }
  .concept-card .in { padding: 22px; }
  .topbar .crumbs span, .topbar .crumbs .ic { display: none; }
  .pager { flex-direction: column; }
  .pager .nx { margin-inline-start: 0; }
  .land-nav .lnk, .land-nav .side-tag { display: none; }
  .land-nav { gap: 8px; }
  .stage .phone { max-width: 240px; }
  .float { display: none; }
  .show-collage .seal { display: none; }
  .c-hero .strip { grid-template-columns: repeat(2, 1fr); }
  .c-hero .strip figure:nth-child(n + 3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Distribution partners (pages-dist.js): shortlist, catalogue, Watch app channel, analytics
   ========================================================= */
:root { --data: #2a78d6; --data-wash: rgba(42, 120, 214, 0.1); --data-soft: #e3eefb; }
.nav a .count { min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; flex: none; box-shadow: 0 0 0 0 rgba(24, 122, 82, 0.5); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(24, 122, 82, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(24, 122, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 122, 82, 0); } }
.nav a .live-dot { background: #3fd08f; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--surface); box-shadow: var(--sh-1); white-space: nowrap; }
.live-pill:not(.on) .live-dot { background: var(--ink-4); animation: none; }
.live-pill.on { color: var(--green); background: var(--green-soft); box-shadow: none; }
.poster { width: 100%; height: 100%; object-fit: cover; background: var(--night-3); }

/* home */
.brief-card .reel img { width: 100%; height: 100%; object-fit: cover; }
.brief-card::before { background: linear-gradient(to top, rgba(13, 11, 16, 0.97) 12%, rgba(13, 11, 16, 0.84) 62%, rgba(13, 11, 16, 0.45)); }
.brief-card .stats b small { font-size: 16px; color: rgba(255, 255, 255, 0.55); margin-inline-start: 2px; }
.brand-logo .brand-init, .side-brand .brand-init { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--ink); line-height: 1; }
.brief-card .mkts { display: flex; gap: 6px; }
.brief-card .mkts span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); }
.live-card .feat { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 16px; padding: 10px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.2s; }
.live-card .feat:hover { box-shadow: inset 0 0 0 1px var(--ink-4); }
.live-card .feat-p { width: 76px; height: 108px; border-radius: 10px; object-fit: cover; }
.live-card .feat .h3 { display: block; margin: 6px 0 2px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mini-kpis div { padding: 12px; border-radius: 12px; background: var(--sunken); }
.mini-kpis b { display: block; font-size: 20px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mini-kpis span { font-size: 12px; color: var(--ink-3); }

/* shortlist */
.mkt-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mkt { display: flex; gap: 14px; align-items: center; padding: 16px 18px; width: 100%; text-align: start; cursor: pointer; transition: box-shadow 0.15s; }
.mkt.on { box-shadow: 0 0 0 2px var(--tc), var(--sh-1); }
.mkt .code { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; letter-spacing: 0.06em; background: var(--tc, var(--ink)); color: var(--tc-on, #fff); flex: none; }
.mkt b { display: block; font-size: 15px; }
.mkt span { font-size: 13px; color: var(--ink-3); }
.reqs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.req { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.req .ti { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sunken); }
.req .badge { position: absolute; top: 20px; inset-inline-end: 18px; }
.req p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.section-title { flex-wrap: wrap; }
.asks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -4px 0 14px; font-size: 13px; color: var(--ink-3); }
.asks li { display: inline-flex; align-items: center; gap: 7px; }
.asks span { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--sunken); color: var(--ink-2); }
.chip .n { font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-inline-start: 2px; }
.chip-select.on .n { color: rgba(255, 255, 255, 0.7); }
.sl-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 0; margin-bottom: 6px; background: var(--paper); }
.sl-sum { font-size: 14px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1); }
.sl-sum b { color: var(--ink); }
.titles { display: grid; gap: 14px; }
.trow { padding: 18px 20px; transition: box-shadow 0.2s; }
.trow.picked { box-shadow: 0 0 0 2px var(--tc, var(--ink)), var(--sh-1); }
.trow-main { display: grid; grid-template-columns: 30px 72px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.trow .num, .open-slot .num { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--ink-4); line-height: 1; padding-top: 4px; font-variant-numeric: tabular-nums; }
.trow-poster { position: relative; width: 72px; height: 102px; border-radius: 10px; overflow: hidden; background: var(--night-3); }
.trow-poster .pl { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 11, 16, 0.25); color: #fff; opacity: 0; transition: opacity 0.2s; }
.trow-poster:hover .pl, .trow-poster:focus-visible .pl { opacity: 1; }
.trow-tx .t { display: block; margin-top: 6px; }
.trow-tx .t:hover { text-decoration: underline; text-underline-offset: 3px; }
.trow .logline { font-size: 14px; color: var(--ink-2); margin-top: 4px; max-width: 76ch; }
.pick { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer; transition: all 0.15s; }
.pick:hover { border-color: var(--ink-4); color: var(--ink); }
.pick.on { background: var(--tc, var(--ink)); border-color: var(--tc, var(--ink)); color: var(--tc-on, #fff); }
.pick input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--tc, var(--ink)); cursor: pointer; }
.pick.on input { accent-color: var(--tc-on, #fff); }
.pick input:disabled { opacity: 0.5; }
.trow-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 16px 0 0 118px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.trow-facts > div { padding: 12px 14px; border-inline-start: 1px solid var(--line-2); min-width: 0; }
.trow-facts > div:first-child { border-inline-start: 0; }
.trow-facts dt { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.trow-facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.trow-facts dd > span { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-3); line-height: 1.5; margin-top: 2px; }
.trow-facts dd a { color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; }
.trow-facts dd a:hover { color: var(--ink); }
.trow-facts .link { font-size: 14px; text-align: start; }
.trow-adapt { display: grid; gap: 6px; margin: 12px 0 0 118px; font-size: 13.5px; color: var(--ink-2); }
.trow-adapt > span { display: block; padding-inline-start: 24px; position: relative; }
.trow-adapt .ic { position: absolute; inset-inline-start: 0; top: 3px; color: var(--ink-3); }
.trow-adapt b { font-weight: 600; color: var(--ink); margin-inline-end: 4px; }
.trow-adapt .edit .ic, .trow-adapt .edit b { color: var(--amber); }
.open-slot { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 14px; padding: 20px; border: 1.5px dashed var(--line); background: transparent; box-shadow: none; }
.open-slot p { font-size: 14px; color: var(--ink-2); margin-top: 4px; max-width: 72ch; }
.money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rate { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.rate td { padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.rate td:last-child { text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate tr.tot td { border-bottom: 0; font-weight: 700; }
.money-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; }
.money-wide .total-card { padding-inline-start: 32px; border-inline-start: 1px solid var(--line-2); }
.money-share { grid-column: span 2; }
.total-card .big, .fitgrid .big, .term .big { display: block; font-size: 34px; font-weight: 700; line-height: 1.15; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.term .big { font-size: 28px; }
.term .unit { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.term .lead { display: block; font-size: 18px; font-weight: 700; line-height: 1.25; margin: 8px 0 2px; }
.term p { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.rate.share th { padding: 0 0 8px 16px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); text-align: end; border-bottom: 1px solid var(--line-2); }
.rate.share td + td { text-align: end; padding-inline-start: 16px; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate.share tbody tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.open-slot .slot-price { font-weight: 600; color: var(--ink); }
.total-card .mid { display: block; font-size: 24px; font-weight: 700; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.total-card .divider { margin: 16px 0; }
.out-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.out { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
.out-p { width: 56px; height: 80px; border-radius: 8px; object-fit: cover; filter: grayscale(0.7); opacity: 0.85; }
.out.extra .out-p { filter: none; opacity: 1; }
.out b { display: block; }
.out p { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

/* catalogue */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; }
.cat { display: flex; flex-direction: column; gap: 2px; border-radius: 16px; }
.cat-p { position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--night-3); margin-bottom: 10px; box-shadow: var(--sh-1); }
.cat-p .poster { transition: transform 0.4s var(--ease); }
.cat:hover .cat-p .poster { transform: scale(1.04); }
.cat-tag { position: absolute; top: 10px; inset-inline-start: 10px; }
.cat-len { position: absolute; bottom: 8px; inset-inline-end: 8px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(13, 11, 16, 0.7); padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.cat b { font-size: 15px; line-height: 1.3; }
.cat > span { font-size: 13px; color: var(--ink-3); }

/* series page */
.ser { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; padding-top: 18px; }
.ser-media { position: sticky; top: 88px; display: grid; gap: 10px; justify-items: center; }
.ser-phone { width: 100%; max-width: 340px; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; box-shadow: var(--sh-3); }
.ser-phone.wide { aspect-ratio: 16 / 9; border-radius: 18px; }
.ser-phone video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.ser-tx .eyebrow { display: flex; }
.ser-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feature-box { display: grid; gap: 14px; margin-top: 24px; padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh-1); }
.feature-box b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.feature-box b .ic { color: var(--red); }
.feature-box span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.feature-box.on { background: var(--night); color: #fff; }
.feature-box.on span { color: var(--night-ink-2); }
.feature-box.on .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.feature-box.on .btn-dark { background: #fff; color: var(--ink); }
.fitgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fitgrid p { font-size: 14.5px; color: var(--ink-2); }
.checks { display: grid; gap: 10px; margin-top: 14px; }
.checks li { display: flex; gap: 10px; font-size: 14px; }
.checks .ic { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
.checks li.bad .ic { color: var(--red); }
.fit-note { margin-top: 14px; font-size: 13.5px !important; padding: 10px 12px; border-radius: 10px; background: var(--sunken); }
.fit-note.edit { background: var(--amber-soft); color: var(--amber) !important; }
.fit-note.out { background: var(--red-soft); color: var(--red-ink) !important; }

/* watch app channel */
.watch-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.feat-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--night); color: #fff; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; padding: 28px; box-shadow: var(--sh-2); }
.feat-hero .bg { position: absolute; inset: -40px; width: calc(100% + 80px); max-width: none; height: calc(100% + 80px); object-fit: cover; filter: blur(40px) saturate(1.2); opacity: 0.45; z-index: -2; }
.feat-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 11, 16, 0.85), rgba(13, 11, 16, 0.6)); }
.feat-hero .fp { width: 170px; aspect-ratio: 2 / 3; height: auto; border-radius: 14px; object-fit: cover; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6); }
.feat-hero .t { display: block; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.05; margin: 14px 0 8px; }
.feat-hero p { color: rgba(255, 255, 255, 0.78); font-size: 14.5px; max-width: 56ch; }
.feat-hero .stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0 20px; }
.feat-hero .stats b { display: block; font-size: 24px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.feat-hero .stats span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.feat-hero .live-pill { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); box-shadow: none; }
.feat-hero .live-pill.on { background: rgba(63, 208, 143, 0.16); color: #7ff0bd; }
.feat-hero .live-pill.on .live-dot { background: #3fd08f; }
.qr-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.qr { width: 184px; height: 184px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.qr img, .qr canvas { width: 168px; height: 168px; }
.url-copy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: auto; }
.url-copy .mono { font-size: 12.5px; color: var(--ink-2); word-break: break-all; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 120px; gap: 14px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.strip a { display: grid; gap: 6px; align-content: start; }
.strip img { width: 120px; aspect-ratio: 2 / 3; height: auto; border-radius: 10px; object-fit: cover; background: var(--night-3); }
.strip span { font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: start; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: end; }
.tbl .nowrap { white-space: nowrap; }
.tbl .sub { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.tbl-sm td, .tbl-sm th { padding: 7px 10px; }
.camp-table, .series-card, .feed-card { overflow-x: auto; }
.cell-s { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.cell-s .th { width: 36px; height: 52px; border-radius: 7px; object-fit: cover; flex: none; background: var(--night-3); }
.cell-s b { display: block; font-weight: 600; }
.cell-s .badge { margin-top: 3px; }

/* analytics */
.an-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kpi { padding: 18px 18px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); min-width: 0; }
.kpi-l { display: block; font-size: 13px; color: var(--ink-3); }
.kpi-v { display: block; font-size: 30px; font-weight: 700; line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kpi-s { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.chart-card { margin-top: 14px; }
.chart-card .h4 { margin-inline-end: 6px; }
.an-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.series-card, .feed-card { margin-top: 14px; }
.tv { margin-top: 12px; }
.tv summary { cursor: pointer; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.tv .tbl { margin-top: 8px; max-width: 420px; }
.empty-mini { display: flex; align-items: center; gap: 10px; padding: 28px 18px; color: var(--ink-3); font-size: 14px; }

.cols, .curve { position: relative; height: 230px; margin-top: 18px; padding: 0 0 26px 44px; }
.cols-grid { position: absolute; inset: 0 0 26px 44px; pointer-events: none; }
.cols-grid span { position: absolute; inset-inline: 0; height: 1px; background: var(--line-2); }
.cols-grid i { position: absolute; inset-inline-end: calc(100% + 10px); top: -9px; font-style: normal; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cols-bars { position: relative; height: 100%; display: flex; align-items: flex-end; gap: 2px; }
.col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: default; }
.col:hover { background: linear-gradient(to top, var(--sunken), transparent); border-radius: 6px 6px 0 0; }
.col .bar { width: min(24px, 64%); background: var(--data); border-radius: 4px 4px 0 0; transition: height 0.5s var(--ease); }
.col.hi .bar { background: var(--red); }
.col em { position: absolute; top: calc(100% + 7px); font-style: normal; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.col.hi em { color: var(--ink); font-weight: 600; }
.hbars { display: grid; gap: 12px; margin-top: 16px; }
.hb { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: 13.5px; }
.hb-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.hb-t { height: 12px; }
.hb-f { display: block; height: 100%; min-width: 2px; background: var(--data); border-radius: 0 4px 4px 0; transition: width 0.5s var(--ease); }
.hb-v { text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb:hover .hb-f { background: #1f63b8; }
.curve-plot { position: relative; height: 100%; }
.curve-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.curve-plot .ln { fill: none; stroke: var(--data); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.curve-plot .area { fill: var(--data-wash); stroke: none; }
.curve-plot .dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--data); box-shadow: 0 0 0 2px var(--surface); pointer-events: none; }
.curve-plot .band { position: absolute; top: 0; bottom: 0; }
.curve-plot .band:hover { background: rgba(23, 20, 28, 0.04); }
.curve-x { position: absolute; inset-inline: 44px 0; bottom: 0; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }

.feed tr.clickable { cursor: pointer; transition: background 0.15s; }
.feed tr.clickable:hover { background: var(--surface-2); }
.feed tr.is-live { background: #f2faf6; }
.feed tr.is-live:hover { background: #e9f6ef; }
.feed td.w, .feed th.w { min-width: 150px; }
.prog { display: block; height: 4px; border-radius: 4px; background: var(--data-soft); margin-top: 6px; overflow: hidden; }
.prog span { display: block; height: 100%; background: var(--data); border-radius: 4px; transition: width 0.6s var(--ease); }
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.st.live { color: var(--green); }
.st.done { color: var(--ink-2); }
.st.done .ic { color: var(--green); }
.st.left { color: var(--ink-3); font-weight: 500; }

/* tooltip */
.tip { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; max-width: 260px; padding: 8px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.45; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.12s; }
.tip.on { opacity: 1; }
.tip b { font-weight: 600; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.modal-back { position: absolute; inset: 0; background: rgba(13, 11, 16, 0.6); backdrop-filter: blur(4px); animation: fadeIn 0.2s; }
.modal-box { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--surface); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-3); animation: rise 0.3s var(--ease); }
.modal-wide .modal-box { width: min(880px, 100%); }
.modal-x { position: absolute; top: 14px; inset-inline-end: 14px; }
.modal-dark .modal-box { background: var(--night); color: #fff; width: auto; max-width: 100%; }
.modal-dark .modal-x { color: rgba(255, 255, 255, 0.7); }
.modal-dark .modal-x:hover { background: var(--night-3); color: #fff; }
body.modal-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } }
.trailer { display: grid; gap: 16px; justify-items: center; }
.trailer-phone { height: min(72dvh, 680px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; }
.trailer-phone.wide { height: auto; width: min(80vw, 760px); aspect-ratio: 16 / 9; }
.trailer-phone video { width: 100%; height: 100%; object-fit: contain; }
.trailer-tx { display: grid; gap: 4px; text-align: center; justify-items: center; }
.trailer-tx .eyebrow { color: var(--night-ink-3); }
.trailer-tx .link { color: #ff8a93; }
.pv-head { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 18px; align-items: center; padding-inline-end: 40px; }
.pv-p { width: 74px; height: 106px; border-radius: 10px; object-fit: cover; }
.pv-head .h2 { display: block; margin: 4px 0 2px; }
.pv-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.pv-kpis .kpi { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pv-track { position: relative; height: 10px; border-radius: 6px; background: var(--data-soft); margin: 22px 0 30px; }
.pv-track .fill { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--data); border-radius: 6px; transition: width 0.6s var(--ease); }
.pv-track .mk { position: absolute; top: -4px; width: 4px; height: 18px; margin-inline-start: -2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.pv-track .lbl { position: absolute; top: 16px; inset-inline: 0; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pv-log { display: grid; gap: 8px; margin-top: 12px; font-size: 14px; max-height: 260px; overflow-y: auto; }
.pv-log li { display: flex; gap: 12px; align-items: center; }
.pv-log .t { min-width: 46px; font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 13px; }
.pv-log li.now { color: var(--green); font-weight: 600; }
.pv-log li.now span:last-child { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1180px) {
  .watch-grid { grid-template-columns: minmax(0, 1fr); }
  .qr-card { flex-direction: row; flex-wrap: wrap; text-align: start; justify-content: center; }
  .qr-card .qr { flex: none; }
  .qr-card p { max-width: 34ch; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trow-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trow-facts > div:nth-child(3) { border-inline-start: 0; }
  .trow-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 1020px) {
  .money, .fitgrid { grid-template-columns: minmax(0, 1fr); }
  .money-wide { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .money-wide .total-card { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line-2); padding-top: 20px; }
  .money-share { grid-column: auto; }
  .ser { grid-template-columns: minmax(0, 1fr); }
  .ser-media { position: static; }
  .ser-phone { max-width: 300px; }
  .out-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trow-facts, .trow-adapt { margin-inline-start: 0; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .mkt-row, .reqs, .an-grid, .out-list, .pv-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-v { font-size: 24px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .trow { padding: 16px; }
  .trow-main { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .trow-main .num { display: none; }
  .trow-poster { width: 60px; height: 86px; }
  .trow-main .pick { grid-column: 1 / -1; justify-self: start; }
  .trow-facts { grid-template-columns: minmax(0, 1fr); }
  .trow-facts > div { border-inline-start: 0 !important; border-top: 1px solid var(--line-2); }
  .trow-facts > div:first-child { border-top: 0; }
  .open-slot { grid-template-columns: minmax(0, 1fr); }
  .open-slot .num { display: none; }
  .feat-hero { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .feat-hero .fp { width: 120px; }
  .cols, .curve { height: 200px; padding-inline-start: 38px; }
  .cols-grid { inset-inline-start: 38px; }
  .curve-x { inset-inline-start: 38px; }
  .hb { grid-template-columns: 96px minmax(0, 1fr) 44px; }
  .pv-kpis { grid-template-columns: minmax(0, 1fr); }
  .modal { padding: 12px; }
  .modal-box { padding: 22px 18px; }
  .sl-bar { position: static; }
}

/* ---------- telcos ---------- */
.nav-telco img { width: 30px; height: 20px; flex: none; border-radius: 5px; background: #fff; padding: 1px; object-fit: contain; }
.nav-telco .tail { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--night-ink-3); }
.tlogo { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.tlogo img { width: 84%; height: 84%; object-fit: contain; }
.tlogo.lg { width: 56px; height: 56px; border-radius: 14px; }
.tlogo.xl { width: 76px; height: 76px; border-radius: 18px; }
.tc-where { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.tc-where.big { font-size: 15px; margin-top: 4px; }
.tm-list { display: grid; gap: 4px; margin-top: 14px; }
.tm-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; }
.tm-row:hover { background: var(--surface-2); }
.tm-tx { display: grid; line-height: 1.3; }
.tm-tx b { font-size: 14.5px; }
.tm-tx span { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-n { text-align: end; display: grid; line-height: 1.15; }
.tm-n b { font-size: 16px; font-variant-numeric: tabular-nums; }
.tm-n span { font-size: 11.5px; color: var(--ink-3); }
.telco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.telco-card { padding: 20px; display: flex; flex-direction: column; }
.tc-head { display: flex; align-items: center; gap: 14px; }
.tc-head .h3 { display: block; line-height: 1.2; }
.tc-feat { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 16px; padding: 8px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tc-feat .tc-p { width: 58px; height: 82px; border-radius: 9px; object-fit: cover; }
.tc-feat > div { display: grid; gap: 2px; min-width: 0; }
.telco-card .row { margin-top: auto !important; padding-top: 16px; }
.telco-head { align-items: center; }
.lang-list { margin: 14px 0 0; display: grid; gap: 10px; }
.lang-list dt { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.lang-list dd { margin: 2px 0 0; font-weight: 600; }
.src-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.feat-telcos { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- what a title is today ---------- */
.now-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-radius: 14px; background: var(--brand-soft); }
.now-facts > div { padding: 11px 14px; border-inline-start: 1px solid rgba(18, 48, 79, 0.1); min-width: 0; }
.now-facts > div:first-child { border-inline-start: 0; }
.now-facts dt { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-2); }
.now-facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.trow-now { margin: 16px 0 0 118px; }
.trow-now + .trow-facts { margin-top: 10px; }
.ser-tx .now-facts { margin-top: 18px; }

/* ---------- ordering a title: switches, free text, live price ---------- */
.trow-order { margin: 12px 0 0 118px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.trow-order summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 14px; border-radius: 14px; }
.trow-order summary::-webkit-details-marker { display: none; }
.trow-order summary:hover { background: var(--surface-2); }
.to-text { flex: 1; min-width: 0; color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.to-price { font-size: 15px; font-variant-numeric: tabular-nums; }
.to-chev { width: 16px; height: 16px; color: var(--ink-3); transition: transform 0.15s; }
.trow-order[open] .to-chev { transform: rotate(90deg); }
.trow-order .order { border-top: 1px solid var(--line-2); border-radius: 0 0 14px 14px; box-shadow: none; }
.order { display: grid; gap: 6px; padding: 14px; background: var(--surface); border-radius: 18px; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-2); }
.tg { border-radius: 12px; padding: 4px 10px; }
.tg.on { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tg-head { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.tg-head.static { cursor: default; }
.tg-head b { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.tg-price { font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg.on .tg-price { color: var(--ink); }
.tg-body { padding: 0 0 10px; display: grid; gap: 6px; }
.tg-body .textarea { min-height: 64px; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-chips .chip-select { height: 36px; padding: 0 12px; }
.sw { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-ui { flex: none; position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--ink-4); transition: background 0.15s var(--ease); }
.sw-ui::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s var(--ease); }
.sw:checked + .sw-ui { background: var(--ink); }
.sw:checked + .sw-ui::after { transform: translateX(16px); }
.sw:focus-visible + .sw-ui { outline: 2px solid var(--red); outline-offset: 2px; }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 10px 4px; margin-top: 4px; border-top: 1px solid var(--line-2); }
.order-foot > div { display: grid; gap: 2px; }
.order-foot .big { font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* ---------- analytics filters ---------- */
.an-selects { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; flex: 1; min-width: 0; }
.an-sel { display: grid; gap: 5px; flex: 1 1 170px; max-width: 280px; min-width: 0; }
.an-sel > span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.an-sel select { height: 44px; padding-block: 0; cursor: pointer; }

/* ---------- admin ---------- */
.adm-client b { font-size: 15px; }
.adm-telco { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 10px; font-size: 13.5px; white-space: nowrap; }
.adm-telco img { width: 20px; height: 20px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line); object-fit: contain; }
.adm-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--brand-2); }
.adm-link:hover span { text-decoration: underline; }
.adm-form { display: grid; gap: 14px; }
.adm-form .field + .field { margin-top: 0; }
.adm-h { margin: 12px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.adm-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.adm-num { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.adm-num-in { display: flex; align-items: center; gap: 8px; }
.adm-num-in .input { width: 104px; flex: none; }
.adm-num-in em { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.adm-tiers th:first-child, .adm-tiers td:first-child { width: 46%; }
.adm-tiers td:first-child .input { width: 100%; min-width: 180px; }
.adm-tiers th .input { width: 100%; min-width: 150px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.adm-tiers .adm-num { justify-content: end; }
.an-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.telco-head + [data-live-root] .kpis { margin-bottom: 20px; }
.telco-head + [data-live-root] .chart-card, .telco-head + [data-live-root] .an-grid { margin-top: 20px; }
.adm-shows { display: grid; gap: 4px; }
.adm-show-tx { display: grid; flex: 1; line-height: 1.35; padding: 6px 0; }
.adm-req { display: block; margin-top: 4px; color: var(--brand-2); }

@media (max-width: 760px) {
  .trow-now, .trow-order { margin-inline-start: 0; }
  .now-facts { grid-template-columns: minmax(0, 1fr); }
  .now-facts > div { border-inline-start: 0; border-top: 1px solid rgba(18, 48, 79, 0.1); }
  .now-facts > div:first-child { border-top: 0; }
  .to-text { display: none; }
  .trow-order summary b:first-of-type { flex: 1; }
  .an-sel { max-width: none; flex-basis: 100%; }
  .tg-head b { font-size: 14px; }
}

/* ---------- Creators portal (pages-creators.js, pages-creators-admin.js, pages-payout-options.js) ---------- */
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.chip-check:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(23, 20, 28, 0.12); }
select.input { cursor: pointer; padding-block: 0; }

.cr-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.cr-stars .ic { width: 15px; height: 15px; color: var(--ink-4); }
.cr-stars .on .ic { color: var(--amber); fill: var(--amber); }
.cr-rate { display: flex; gap: 4px; }
.cr-star { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--sunken); color: var(--ink-4); cursor: pointer; transition: all 0.15s var(--ease); }
.cr-star:hover { background: var(--amber-soft); color: var(--amber); }
.cr-star.on { background: var(--amber-soft); color: var(--amber); }
.cr-star.on .ic { fill: var(--amber); }

.cr-next { display: grid; grid-template-columns: 170px minmax(0, 1fr); overflow: hidden; color: inherit; }
.cr-next-img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; display: block; background: var(--sunken); }
.cr-next-img.none, .cr-row-img.none { display: grid; place-items: center; color: var(--ink-4); }
.cr-next-tx { padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cr-next-tx .h2 { margin-top: 8px; }
.cr-next-brief { color: var(--ink-2); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cr-next-facts { display: flex; gap: 30px; margin-top: 12px; }
.cr-next-facts span, .cr-row-n span { display: block; font-size: 11.5px; color: var(--ink-3); }
.cr-next-facts b { font-size: 16px; }
.cr-next-cta { align-self: flex-start; margin-top: auto; }
.cr-next-facts + .cr-next-cta { margin-top: 16px; }

.cr-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-block: 40px; }
.cr-empty .ei { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sunken); color: var(--ink-3); margin-bottom: 6px; }
.cr-empty .btn { margin-top: 10px; }
.ti-sm { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--sunken); color: var(--ink); }
.cr-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cr-demo { display: flex; align-items: center; gap: 8px; margin-top: 22px; }

.cr-rows { overflow: hidden; }
.cr-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 112px 76px 18px; align-items: center; gap: 16px; padding: 12px 18px; color: inherit; border-top: 1px solid var(--line-2); transition: background 0.15s var(--ease); }
.cr-row:first-child { border-top: 0; }
.cr-row:hover { background: var(--surface-2); }
.cr-row > .ic { width: 16px; height: 16px; color: var(--ink-4); }
.cr-row-img { width: 46px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--sunken); }
.cr-row-tx { min-width: 0; }
.cr-row-tx b { display: block; font-size: 15px; font-weight: 600; }
.cr-row-n b { font-size: 14px; white-space: nowrap; }

.cr-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 0 22px; padding: 18px 22px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.cr-steps li { position: relative; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
.cr-steps span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--sunken); }
.cr-steps span .ic { width: 14px; height: 14px; }
.cr-steps b { font-weight: 500; }
.cr-steps .done { color: var(--ink); }
.cr-steps .done span { background: var(--ink); color: #fff; }
.cr-steps .now { color: var(--ink); }
.cr-steps .now b { font-weight: 600; }
.cr-steps .now span { background: var(--red); color: #fff; box-shadow: 0 0 0 4px var(--red-soft); }

.cr-act .eyebrow { display: block; margin-bottom: 6px; }
.cr-act .h3 { display: block; }
.cr-act .muted { margin-top: 6px; }
.cr-paid { background: var(--green-soft); box-shadow: none; }
.cr-fb { margin: 12px 0 0; padding: 10px 14px; border-inline-start: 3px solid var(--line); background: var(--surface-2); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink-2); }
.cr-approve { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.cr-changes { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.cr-time { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.cr-time b { display: block; font-size: 14px; font-weight: 600; }
.cr-time p { margin-top: 4px; color: var(--ink-2); }
.cr-side-poster { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--r-lg); display: block; }
.cr-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cr-2col .field + .field { margin-top: 0; }
.profile-grid .cr-2col { margin-top: 24px; }
.profile-grid .cr-2col + .field { margin-top: 24px; }
.cr-plus { color: var(--green); }
.cr-balance { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.cr-what { min-width: 150px; }

.po-controls { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; padding: 20px 22px; }
.po-controls .field + .field { margin-top: 0; }
.po-amount .po-cur { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; }
.po-amount .input { padding-inline-start: 30px; width: 100%; }
.po-amount { display: block; }
.po-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.po-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); min-width: 0; }
.po-card.on { box-shadow: 0 0 0 2px var(--ink); }
.po-card.planned { background: var(--surface-2); }
.po-card.off { opacity: 0.72; }
.po-top { display: flex; align-items: center; gap: 12px; }
.po-top .ti { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--sunken); }
.po-top .badge { margin-inline-start: auto; }
.po-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.po-what { color: var(--ink-2); }
.po-lines { margin: 2px 0 0; display: flex; flex-direction: column; gap: 8px; }
.po-lines div { display: flex; justify-content: space-between; gap: 14px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.po-lines dt { color: var(--ink-3); font-size: 13px; flex: none; }
.po-lines dd { margin: 0; font-size: 13.5px; font-weight: 600; text-align: end; }
.po-note { color: var(--amber); }
.po-fees summary { cursor: pointer; color: var(--ink-2); font-weight: 600; }
.po-fees p { margin-top: 6px; }
.po-card > .btn, .po-why { margin-top: auto; }
.po-why { padding-top: 6px; }
.po-chosen { cursor: default; }
.po-table-wrap { overflow-x: auto; }
.po-table { min-width: 860px; }
.po-table th em { display: block; font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-4); }
.po-table tbody tr { cursor: pointer; }
.po-table tbody tr:hover { background: var(--surface-2); }
.po-table tbody tr.on { background: var(--amber-soft); }
.po-table td { padding: 10px 14px; white-space: nowrap; }
.po-cell span { vertical-align: middle; }
.po-mk { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-end: 6px; border-radius: 50%; }
.po-mk .ic { width: 11px; height: 11px; stroke-width: 3; }
.po-cell.yes .po-mk { background: var(--green-soft); color: var(--green); }
.po-cell.limited .po-mk { background: var(--amber-soft); color: var(--amber); }
.po-cell.check .po-mk { background: var(--sunken); color: var(--ink-3); }
.po-cell.no .po-mk { background: var(--red-soft); color: var(--red-ink); }
.po-cell.no { color: var(--ink-4); }
.po-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.po-questions { display: flex; flex-direction: column; gap: 14px; }
.po-questions b { display: block; font-size: 14.5px; font-weight: 600; }
.po-sources { margin-top: 24px; line-height: 1.7; }
.po-sources a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1180px) {
  .po-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .po-grid, .po-controls, .cr-tools, .cr-2col, .cr-balance { grid-template-columns: minmax(0, 1fr); }
  .cr-next { grid-template-columns: 110px minmax(0, 1fr); }
  .cr-next-tx { padding: 18px; }
  .cr-row { grid-template-columns: 46px minmax(0, 1fr) 18px; row-gap: 8px; }
  .cr-row-st, .cr-row-n { grid-column: 2; }
  .cr-row > .ic { grid-column: 3; grid-row: 1; }
  .cr-row-n { display: flex; gap: 8px; align-items: baseline; }
  .cr-steps { grid-template-columns: repeat(5, auto); padding: 14px; gap: 6px; justify-content: space-between; }
  .cr-steps li { flex-direction: column; gap: 4px; font-size: 11.5px; text-align: center; }
}

/* ---------- the shortlist per telco: switcher, revenue share, order per telco, summary ---------- */
.cp { position: relative; }
.cp-pop { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-start: 0; width: min(440px, 78vw); padding: 10px; border-radius: 14px; background: var(--surface); box-shadow: var(--sh-2, 0 12px 32px rgba(13, 11, 16, 0.18)), 0 0 0 1px var(--line); }
.cp-pop[hidden], .cp-opt[hidden], .cp-none[hidden] { display: none; }
.cp-search { width: 100%; margin-bottom: 8px; }
.cp-list { display: grid; gap: 2px; max-height: 280px; overflow-y: auto; }
.cp-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 10px; text-align: start; }
.cp-opt:hover, .cp-opt:focus-visible { background: var(--surface-2); }
.cp-opt .tlogo { width: 34px; height: 34px; border-radius: 9px; }
.cp-tx { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: 13px; color: var(--ink-3); }
.cp-tx b { font-size: 14px; font-weight: 600; color: var(--ink); }
.cp-opt .badge { flex: none; }
.cp-none { padding: 8px; }
.show-filter { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.show-dates { display: flex; flex-wrap: wrap; gap: 10px; }
.show-dates label { display: grid; gap: 4px; }
.show-dates span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.show-dates .input { height: 40px; width: 160px; padding-block: 0; }
.shows .tbl { min-width: 960px; }
.shows th:first-child, .shows td:first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--surface); }
.shows .tot td { border-top: 1px solid var(--line); background: var(--surface-2); }
.lang-series { flex: 0 1 280px; }
.lang-t { overflow-x: auto; }
.lang-t .tbl { min-width: 380px; }
[data-live="langs"] { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.checks li.open .ic { color: var(--amber); }
.th-sort { display: inline-flex; align-items: center; gap: 4px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; white-space: nowrap; }
.th-sort:hover, .th-sort.on { color: var(--ink); }
.tsw { position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 20; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 0 12px; margin-bottom: 8px; background: var(--paper); }
.tsw-b { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 54px; padding: 6px 14px 6px 8px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: start; transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
.tsw-b:hover { box-shadow: inset 0 0 0 1px var(--ink-4); }
.tsw-b.on { background: var(--tc); color: var(--tc-on); box-shadow: none; }
.tsw-b .tlogo { box-shadow: none; }
.tsw-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tsw-b .n { margin-inline-start: auto; font-size: 13px; font-variant-numeric: tabular-nums; opacity: 0.75; }
.share-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 14px; padding: 9px 12px 9px 14px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 3px 0 0 var(--tc, var(--ink)); font-size: 13px; color: var(--ink-2); }
.share-line .ic { align-self: center; color: var(--ink-3); }
.share-line b { font-weight: 600; color: var(--ink); }
.trow .share-line { margin: 12px 0 0 118px; }
.share-mini { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.cat > .share-mini { font-size: 12px; }
.ts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ts { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ts.on { box-shadow: 0 0 0 2px var(--tc), var(--sh-1); }
.ts-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ts-head > div { display: grid; gap: 2px; min-width: 0; }
.ts-lines { display: grid; gap: 8px; width: 100%; margin: 0; }
.ts-lines > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.ts-lines dt { color: var(--ink-3); }
.ts-lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ts-share { font-size: 13px; color: var(--ink-2); }
.ts-share b { display: block; font-weight: 600; color: var(--ink); }
.ts-titles { width: 100%; font-size: 13.5px; }
.ts-titles summary { cursor: pointer; color: var(--ink-2); font-weight: 600; }
.ts-titles ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.ts-titles li { display: flex; justify-content: space-between; gap: 12px; }
.ts-titles li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ts-titles li span { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ot-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 2px 6px 8px; }
.ot-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ot-tab { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ot-tab:hover:not([disabled]) { box-shadow: inset 0 0 0 1px var(--ink-4); }
.ot-tab.on { background: var(--tc); color: var(--tc-on); box-shadow: none; }
.ot-tab[disabled] { color: var(--ink-3); cursor: default; }
.ot-lock { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.ot-lock .tx { flex: 1; min-width: 160px; display: grid; gap: 2px; }
.ot-price { font-size: 16px; font-variant-numeric: tabular-nums; }
.ot-block { display: grid; gap: 6px; padding: 12px 4px 6px; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--tc); }
.ot-block-head { display: grid; gap: 2px; padding: 0 10px 4px; }
.ot-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 8px 4px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.ot-acts { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; }
.ot-do { background: var(--tc); color: var(--tc-on); white-space: normal; text-align: start; height: auto; min-height: 42px; padding-block: 8px; }
.titles { grid-template-columns: minmax(0, 1fr); }
.order, .ot-block, .ot-row, .ot-lock { min-width: 0; }
.ot-do:hover { background: var(--tc); filter: brightness(0.94); }
.ot-all { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.ot-sum { display: grid; gap: 8px; margin-top: 8px; padding: 12px 6px 4px; border-top: 1px solid var(--line-2); min-width: 0; }
.ot-rows { display: grid; gap: 8px; }
.ot-row { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.ot-row.off { background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.ot-row-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ot-row-h .ot-price { margin-inline-start: auto; }
.bill, .bill-tot, .bill-fees { display: grid; gap: 4px; width: 100%; margin: 0; font-size: 13px; }
.bill > div, .bill-tot > div, .bill-fees > div { display: flex; justify-content: space-between; gap: 12px; }
.bill dt, .bill-tot dt, .bill-fees dt { min-width: 0; color: var(--ink-2); }
.bill dd, .bill-tot dd, .bill-fees dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill .bill-rebate dt, .bill .bill-rebate dd { color: var(--green); }
.bill .bill-rebate dt { display: inline-flex; align-items: center; gap: 4px; padding-inline-start: 12px; }
.bill-i { display: inline-flex; border-radius: 50%; cursor: help; }
.bill-i:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.bill-tot { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-2); }
.bill-tot .tot, .bill-tot .tot dt { font-weight: 700; color: var(--ink); }
.bill-fees { margin-top: 6px; }
.bill-fees dt, .bill-fees dd { color: var(--ink-3); }
.bill-none { margin: 8px 0 0; }
.ot-row > .bill { margin-top: 8px; }
.ot-bill { margin: 8px 10px 0; }
.ot-row-all { display: grid; gap: 4px; padding: 8px 12px 2px; }
.ts-all { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; margin-top: 14px; }
.ts-all-h { display: grid; align-content: start; gap: 2px; flex: 1 1 260px; }
.ts-all .bill-tot { flex: 0 1 320px; margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 1020px) {
  .ts-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .trow .share-line { margin-inline-start: 0; }
}
@media (max-width: 560px) {
  .tsw { gap: 6px; }
  .tsw-b { flex-direction: column; justify-content: center; gap: 4px; min-height: 70px; padding: 6px 4px; font-size: 12.5px; }
  .tsw-b .tlogo { width: 30px; height: 30px; border-radius: 8px; }
  .tsw-b .n { display: none; }
  .ot-acts .btn { width: 100%; justify-content: center; }
}
