/* ==========================================================================
   edimulo — Design system
   Yellow on near-black. Built for 320px → 2560px.
   --------------------------------------------------------------------------
   1  Tokens            7  Preview
   2  Reset & base      8  Title page
   3  Header            9  Player
   4  Billboard        10  Live TV
   5  Rows & cards     11  Browse / search / list / profiles
   6  Buttons          12  Footer, toasts, mobile nav, utilities
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  --y:        #FFC800;
  --y-hi:     #FFD84D;
  --y-lo:     #E0A800;
  --y-glow:   rgba(255, 200, 0, .28);

  --ink:      #08080A;
  --ink-2:    #0E0E11;
  --surf:     #16161A;
  --surf-2:   #1E1E23;
  --surf-3:   #2A2A31;
  --line:     rgba(255, 255, 255, .10);
  --line-2:   rgba(255, 255, 255, .06);

  --tx:       #F5F5F7;
  --tx-2:     #B4B4BE;
  --tx-3:     #7C7C87;

  --ok:       #46D369;
  --live:     #FF2D55;

  --pad:      clamp(16px, 4vw, 60px);
  --gap:      clamp(6px, .55vw, 10px);
  --r-sm:     4px;
  --r:        8px;
  --r-lg:     16px;
  --r-pill:   999px;

  --hdr-h:    68px;
  --shadow:   0 18px 48px rgba(0, 0, 0, .62);
  --shadow-y: 0 10px 32px rgba(255, 200, 0, .22);

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --font:     "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-dis: "Arial Black", "Segoe UI", Impact, var(--font);
}

/* Kids profile flips the accent to a warmer, softer gold. */
body.is-kids {
  --y:     #FFD84D;
  --y-hi:  #FFE88A;
  --y-glow: rgba(255, 216, 77, .3);
}

/* ── 2. Reset & base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* Any class that sets `display` outranks the UA's [hidden] rule, which would
   silently un-hide toggled elements (forms, the meter, the next-episode
   button). Keep this ahead of every component. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--tx);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--y); color: #000; }

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

/* thin dark scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--surf-3) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--surf-3); border-radius: 99px; border: 3px solid var(--ink); }
*::-webkit-scrollbar-track { background: transparent; }

.wrap { padding-inline: var(--pad); }
#main { min-height: 60vh; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 3. Header ─────────────────────────────────────────────────────────── */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--hdr-h);
  transition: background .3s var(--ease), backdrop-filter .3s;
  background: linear-gradient(180deg, rgba(8, 8, 10, .92), rgba(8, 8, 10, .55) 55%, transparent);
}
.hdr.is-solid {
  background: rgba(8, 8, 10, .94);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.hdr__in {
  height: var(--hdr-h);
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
}

/* The logo is a single SVG lockup — the wordmark with the sunrise as the dot
   on the i. Sized by height so the sun never gets clipped. */
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo img { height: 30px; width: auto; display: block; }
.logo--sm img { height: 24px; }
@media (max-width: 620px) { .logo img { height: 25px; } }

.hdr__nav { display: flex; gap: clamp(10px, 1.3vw, 20px); flex: 1; min-width: 0; }
.hdr__nav a {
  position: relative;
  font-size: 14px;
  color: var(--tx-2);
  padding: 6px 0;
  white-space: nowrap;
  transition: color .18s;
}
.hdr__nav a:hover { color: var(--tx); }
.hdr__nav a.is-active { color: var(--tx); font-weight: 700; }
.hdr__nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--y); border-radius: 2px;
}

.hdr__end { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }

.srch { display: flex; align-items: center; position: relative; }
.srch__btn { display: grid; place-items: center; width: 34px; height: 34px; color: var(--tx); border-radius: 50%; transition: background .2s; }
.srch__btn:hover { background: rgba(255, 255, 255, .09); }
.srch__in {
  width: 0; padding: 0; opacity: 0; border: 0; background: rgba(0, 0, 0, .72);
  border-radius: var(--r-sm); height: 34px; transition: width .32s var(--ease), opacity .25s, padding .32s;
  outline: none;
}
.srch.is-open .srch__in {
  width: clamp(170px, 22vw, 280px);
  padding: 0 12px;
  opacity: 1;
  border: 1px solid var(--line);
}
.srch.is-open .srch__in:focus { border-color: var(--y); }

.hdr__kids {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--tx-2); padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line); transition: .2s;
}
.hdr__kids:hover { color: var(--ink); background: var(--y); border-color: var(--y); }

.acct { position: relative; }
.acct__btn { display: flex; align-items: center; gap: 5px; }
.acct__btn img { width: 32px; height: 32px; border-radius: var(--r-sm); }
.acct__caret { color: var(--tx-2); transition: transform .25s; }
.acct.is-open .acct__caret { transform: rotate(180deg); }
.acct__menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: 240px;
  background: rgba(14, 14, 17, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: .2s var(--ease);
}
.acct.is-open .acct__menu { opacity: 1; visibility: visible; transform: none; }
.acct__menu > a, .acct__menu > button {
  display: block; width: 100%; text-align: left;
  padding: 9px 10px; font-size: 13.5px; color: var(--tx-2); border-radius: var(--r-sm);
}
.acct__menu > a:hover, .acct__menu > button:hover { background: var(--surf-2); color: var(--tx); }
.acct__profiles { border-bottom: 1px solid var(--line-2); padding-bottom: 6px; margin-bottom: 6px; }
.acct__p {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 10px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--tx-2);
}
.acct__p:hover { background: var(--surf-2); color: var(--tx); }
.acct__p.is-on { color: var(--y); }
.acct__p img { width: 30px; height: 30px; border-radius: var(--r-sm); }
.acct__p em { margin-left: auto; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .1em; color: var(--ink); background: var(--y); padding: 2px 5px; border-radius: 3px; }

.hdr__burger { display: none; width: 34px; height: 34px; place-items: center; }
.hdr__drawer {
  position: absolute; top: var(--hdr-h); left: 0; right: 0;
  background: rgba(10, 10, 13, .98); border-bottom: 1px solid var(--line);
  max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
}
.hdr.is-drawer .hdr__drawer { max-height: 420px; }
.hdr__drawer nav { display: flex; flex-direction: column; padding: 6px var(--pad) 14px; }
.hdr__drawer a { padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line-2); color: var(--tx-2); }

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: grid; }
}
@media (max-width: 620px) {
  .hdr__kids { display: none; }
  :root { --hdr-h: 58px; }
}

/* ── 4. Billboard ──────────────────────────────────────────────────────── */
.bb {
  position: relative;
  min-height: clamp(520px, 82vh, 880px);
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad) clamp(40px, 9vh, 110px);
  isolation: isolate;
  overflow: hidden;
}
.bb__media { position: absolute; inset: 0; z-index: -2; }
.bb__media img, .bb__media video {
  width: 100%; height: 100%; object-fit: cover;
  animation: bbIn 1.1s var(--ease) both;
}
.bb__media video { opacity: 0; transition: opacity .8s; }
.bb__media video.is-on { opacity: 1; }
@keyframes bbIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.bb::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .78) 34%, rgba(8, 8, 10, .12) 68%, rgba(8, 8, 10, .5) 100%),
    linear-gradient(0deg, var(--ink) 2%, rgba(8, 8, 10, .35) 26%, transparent 55%);
}

.bb__body { max-width: min(640px, 92%); position: relative; }
.bb__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 800; letter-spacing: .22em;
  color: var(--y); margin-bottom: 14px; text-transform: uppercase;
}
.bb__kicker::before { content: ""; width: 26px; height: 2px; background: var(--y); }
.bb__title {
  font-family: var(--font-dis);
  font-size: clamp(38px, 6.4vw, 88px);
  line-height: .94;
  letter-spacing: -.035em;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .75);
  margin-bottom: 8px;
}
.bb__tag {
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--y);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 14px;
}
.bb__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.bb__blurb {
  font-size: clamp(14px, 1.15vw, 17px);
  color: #E4E4E8;
  max-width: 34em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bb__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.bb__side {
  position: absolute; right: var(--pad); bottom: clamp(40px, 9vh, 110px);
  display: flex; align-items: center; gap: 14px;
}
.bb__mat {
  border-left: 3px solid rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .45);
  padding: 5px 14px 5px 10px; font-size: 14px; letter-spacing: .04em;
}
.bb__dots { position: absolute; right: var(--pad); bottom: clamp(14px, 3vh, 32px); display: flex; gap: 7px; }
.bb__dots button {
  width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .32);
  transition: .25s;
}
.bb__dots button.is-on { background: var(--y); width: 38px; }
@media (max-width: 780px) {
  .bb { min-height: 76vh; text-align: left; }
  /* The rows are pulled up over the billboard, so these would land on top of
     the first row heading at phone widths. */
  .bb__side, .bb__dots { display: none; }
  .bb::before { background: linear-gradient(0deg, var(--ink) 6%, rgba(8, 8, 10, .55) 40%, rgba(8, 8, 10, .35) 100%); }
}

/* ── 5. Rows & cards ───────────────────────────────────────────────────── */
.rows { position: relative; z-index: 2; margin-top: clamp(-90px, -6vh, -40px); padding-bottom: 60px; }
.rows > .row:first-child { padding-top: 0; }

.row { padding: clamp(14px, 2.2vh, 26px) 0; }
.row__head { padding-inline: var(--pad); margin-bottom: 10px; }
.row__title {
  display: flex; align-items: baseline; gap: 12px;
  font-size: clamp(17px, 1.6vw, 24px);
  letter-spacing: -.01em;
}
.row__more {
  font-size: 12.5px; font-weight: 700; color: var(--tx-3);
  opacity: 0; transform: translateX(-8px); transition: .25s var(--ease);
}
.row__more span { color: var(--y); }
.row:hover .row__more { opacity: 1; transform: none; }
.row__sub { margin: 3px 0 0; font-size: 13px; color: var(--tx-3); }

.row__wrap { position: relative; }
.row__track {
  display: flex;
  gap: var(--gap);
  padding: 6px var(--pad) 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  /* Without this the snapport starts at the border box, so the browser snaps
     straight past the left padding on load and the first card sits flush at 0. */
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.row__track::-webkit-scrollbar { display: none; }

.row__nav {
  position: absolute; top: 0; bottom: 14px; width: clamp(34px, var(--pad), 64px);
  display: grid; place-items: center; z-index: 5; color: #fff;
  background: linear-gradient(90deg, rgba(8, 8, 10, .88), rgba(8, 8, 10, 0));
  opacity: 0; transition: opacity .22s;
}
.row__nav--next { right: 0; background: linear-gradient(270deg, rgba(8, 8, 10, .88), rgba(8, 8, 10, 0)); }
.row__nav--prev { left: 0; }
.row__wrap:hover .row__nav { opacity: 1; }
.row__nav:hover svg { transform: scale(1.28); }
.row__nav svg { transition: transform .2s; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8)); }
.row__nav.is-off { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .row__nav { display: none; } }

/* card */
.card {
  flex: 0 0 auto;
  width: clamp(126px, 15vw, 186px);
  scroll-snap-align: start;
  position: relative;
  transition: transform .28s var(--ease);
}
.card--wide { width: clamp(230px, 26vw, 330px); }
.card__shot {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--surf);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .45);
  aspect-ratio: 2 / 3;
}
.card--wide .card__shot { aspect-ratio: 16 / 9; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__img { transform: scale(1.04); }
.card__shot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: box-shadow .2s;
}
.card:hover .card__shot::after { box-shadow: inset 0 0 0 2px var(--y); }

.card__flag {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  font-family: var(--font-dis); font-size: 13px; color: var(--y);
  text-shadow: 0 2px 6px rgba(0, 0, 0, .9);
}
.card__flag--new {
  font-family: var(--font); font-size: 9px; font-weight: 800; letter-spacing: .08em;
  background: var(--y); color: #000; padding: 2px 5px; border-radius: 3px; text-shadow: none;
}
.card__playdot {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px;
  display: grid; place-items: center; color: #000; background: rgba(255, 200, 0, .94);
  border-radius: 50%; opacity: 0; transform: scale(.7); transition: .25s var(--ease);
}
.card:hover .card__playdot { opacity: 1; transform: none; }
.card__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(255, 255, 255, .24);
}
.card__bar i { display: block; height: 100%; background: var(--y); }
.card__cap { display: block; padding: 8px 2px 0; }
.card__cap b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.card__cap em {
  display: block; font-style: normal; font-size: 11.5px; color: var(--tx-3); margin-top: 2px;
}

/* top 10 */
.row--top10 .row__track {
  padding-left: calc(var(--pad) + 6px);
  scroll-padding-left: calc(var(--pad) + 6px);
}
.card--rank { width: clamp(200px, 24vw, 300px); display: flex; align-items: flex-end; }
.card--rank .card__shot { width: 58%; margin-left: auto; }
.card__rank {
  font-family: var(--font-dis);
  font-size: clamp(90px, 12vw, 170px);
  line-height: .74;
  color: var(--ink);
  -webkit-text-stroke: 3px var(--y);
  paint-order: stroke fill;
  position: absolute; left: -4px; bottom: -8px; z-index: 1;
  letter-spacing: -.06em;
  pointer-events: none;
  transition: -webkit-text-stroke-color .25s;
}
.card--rank:hover .card__rank { -webkit-text-stroke-color: var(--y-hi); }

/* ── 6. Buttons & chips ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 26px;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  transition: .2s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--play { background: var(--y); color: #0A0A0B; }
.btn--play:hover { background: var(--y-hi); box-shadow: var(--shadow-y); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .26); }
.btn--line { border: 1px solid var(--line); color: var(--tx); }
.btn--line:hover { border-color: var(--y); color: var(--y); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

.rbtn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  display: grid; place-items: center; color: #fff;
  background: rgba(20, 20, 24, .5); transition: .2s;
}
.rbtn:hover { border-color: var(--y); color: var(--y); background: rgba(255, 200, 0, .1); }
.rbtn.is-on { border-color: var(--y); color: #000; background: var(--y); }

.ibtn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.6px solid rgba(255, 255, 255, .5);
  display: grid; place-items: center; color: #fff; transition: .18s;
}
.ibtn:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.ibtn--play { background: var(--y); border-color: var(--y); color: #000; }
.ibtn--play:hover { background: var(--y-hi); border-color: var(--y-hi); }
.ibtn--more { margin-left: auto; }
.ibtn.is-on { background: var(--y); border-color: var(--y); color: #000; }

.chip {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  padding: 3px 8px; border-radius: 3px;
}
.chip--orig { background: var(--y); color: #000; }

/* The brand is lowercase, always — it is drawn that way in the logo. Wrap it in
   this wherever it sits inside an all-caps treatment (kickers, footer column
   headings, table heads) so the uppercase transform lets it through unchanged. */
.brand { text-transform: none; }
.chip--new { background: var(--live); color: #fff; letter-spacing: .1em; }

.mt-score { color: var(--ok); font-weight: 800; }
.mt-mat { border: 1px solid var(--line); padding: 0 6px; border-radius: 3px; font-size: 12px; color: var(--tx-2); }
.mt-hd { border: 1px solid var(--line); padding: 0 5px; border-radius: 3px; font-size: 10px; letter-spacing: .06em; color: var(--tx-2); }
.mt-flag { color: var(--tx-2); }

/* ISO country chip — stands in for flag emoji, which Windows cannot render */
.cc {
  display: inline-block; margin-right: 6px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .09em; line-height: 1.5;
  padding: 1px 5px; border-radius: 3px;
  background: rgba(255, 200, 0, .16); color: var(--y);
  border: 1px solid rgba(255, 200, 0, .3);
  vertical-align: 1px;
}
.card__cap .cc { font-size: 9px; padding: 0 4px; margin-right: 5px; }
.bb__meta > *, .preview__meta > * { display: inline-flex; align-items: center; }

/* ── 7. Hover preview ──────────────────────────────────────────────────── */
.preview {
  position: absolute; z-index: 80;
  background: var(--surf); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
  opacity: 0; visibility: hidden; transform: scale(.86) translateY(6px);
  transform-origin: center bottom;
  transition: opacity .18s var(--ease), transform .24s var(--ease), visibility .24s;
  pointer-events: none;
}
.preview.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.preview__media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.preview__img, .preview__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview__vid { opacity: 0; transition: opacity .5s .2s; }
.preview.is-playing .preview__vid { opacity: 1; }
.preview__mute {
  position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px;
  border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .4);
}
.preview.is-unmuted .preview__slash { display: none; }
.preview__body { padding: 12px 14px 14px; }
.preview__acts { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.preview__title { font-size: 15px; margin-bottom: 5px; }
.preview__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; margin-bottom: 6px; }
.preview__tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--tx-2); }
.preview__tags i { color: var(--y); font-style: normal; }

/* ── 8. Title page ─────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: clamp(440px, 68vh, 720px);
  display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(30px, 6vh, 66px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .95) 0%, rgba(8, 8, 10, .7) 40%, rgba(8, 8, 10, .2) 100%),
    linear-gradient(0deg, var(--ink) 1%, transparent 60%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; width: 100%; }
.hero__poster { width: 210px; border-radius: var(--r); box-shadow: var(--shadow); }
@media (max-width: 900px) { .hero__poster { display: none; } .hero__in { grid-template-columns: 1fr; } }

.title-h {
  font-family: var(--font-dis);
  font-size: clamp(34px, 5.4vw, 74px);
  line-height: .94; letter-spacing: -.035em; margin-bottom: 10px;
}
.hero__tag { color: var(--y); font-style: italic; font-weight: 600; font-size: clamp(14px, 1.4vw, 19px); margin-bottom: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; margin-bottom: 14px; align-items: center; }
.hero__blurb { max-width: 52ch; color: #E2E2E6; font-size: clamp(14px, 1.05vw, 16.5px); }
.hero__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }

.sect { padding: clamp(26px, 4vh, 46px) var(--pad); }
.sect__h {
  font-size: clamp(17px, 1.5vw, 22px); margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.sect__h::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px 32px; }
.facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 5px; }
.facts dd { margin: 0; font-size: 14.5px; color: var(--tx); }
.facts dd a { color: var(--y); }
.facts dd a:hover { text-decoration: underline; }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tagrow a, .tagrow span {
  font-size: 12.5px; padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--surf-2); color: var(--tx-2); border: 1px solid var(--line-2);
  transition: .18s;
}
.tagrow a:hover { color: var(--ink); background: var(--y); border-color: var(--y); }

/* episodes */
.seasonbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.seasonbar select {
  background: var(--surf-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 9px 14px; font-size: 14px; font-weight: 600;
}
.eps { display: flex; flex-direction: column; }
.ep {
  display: grid; grid-template-columns: 44px 200px 1fr auto; gap: 18px; align-items: center;
  padding: 16px 14px; border-top: 1px solid var(--line-2); border-radius: var(--r);
  transition: background .2s;
}
.ep:hover { background: var(--surf); }
.ep:last-child { border-bottom: 1px solid var(--line-2); }
.ep__n { font-size: 20px; color: var(--tx-3); text-align: center; font-weight: 700; }
.ep__shot { position: relative; border-radius: var(--r-sm); overflow: hidden; }
.ep__shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ep__shot .card__playdot { opacity: 0; }
.ep:hover .ep__shot .card__playdot { opacity: 1; transform: none; }
.ep__b h4 { font-size: 15px; margin-bottom: 4px; display: flex; gap: 10px; align-items: baseline; }
.ep__b h4 em { font-style: normal; font-size: 12px; color: var(--tx-3); font-weight: 500; }
.ep__b p { margin: 0; font-size: 13.5px; color: var(--tx-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep__dur { font-size: 13px; color: var(--tx-3); white-space: nowrap; }
.ep.is-watched .ep__n { color: var(--y); }
@media (max-width: 820px) {
  .ep { grid-template-columns: 34px 130px 1fr; }
  .ep__dur { display: none; }
}

/* ── 9. Player ─────────────────────────────────────────────────────────── */
body.player-page { background: #000; overflow: hidden; }
.pl { position: fixed; inset: 0; background: #000; }
.pl video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.pl.is-idle { cursor: none; }
.pl.is-idle .pl__bar, .pl.is-idle .pl__top { opacity: 0; pointer-events: none; }

.pl__top {
  position: absolute; inset: 0 0 auto; z-index: 6;
  padding: 18px var(--pad);
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent);
  transition: opacity .3s;
}
.pl__back { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.pl__back svg { transition: transform .2s; }
.pl__back:hover svg { transform: translateX(-4px); }
.pl__now { margin-left: auto; text-align: right; }
.pl__now b { display: block; font-size: 15px; }
.pl__now span { font-size: 12.5px; color: var(--tx-2); }

.pl__center {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 4;
  pointer-events: none;
}
.pl__big {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: 2px solid rgba(255, 255, 255, .55);
  display: grid; place-items: center; color: #fff; pointer-events: auto;
  opacity: 0; transform: scale(.8); transition: .25s var(--ease);
}
.pl.is-paused .pl__big { opacity: 1; transform: none; }
.pl__spin {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--y);
  animation: spin .8s linear infinite; display: none;
}
.pl.is-buffering .pl__spin { display: block; }
.pl.is-buffering .pl__big { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.pl__flash {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 88px; height: 88px; border-radius: 50%; background: rgba(0, 0, 0, .6);
  display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700;
  opacity: 0; transition: opacity .35s; z-index: 5; pointer-events: none;
}
.pl__flash--back { left: 14%; }
.pl__flash--fwd { right: 14%; }
.pl__flash.is-on { opacity: 1; }

.pl__bar {
  position: absolute; inset: auto 0 0; z-index: 6;
  padding: 0 var(--pad) 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .92) 30%, transparent);
  transition: opacity .3s;
}
.pl__seek { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; }
.pl__track { position: relative; height: 4px; width: 100%; background: rgba(255, 255, 255, .25); border-radius: 3px; transition: height .15s; }
.pl__seek:hover .pl__track { height: 7px; }
.pl__buf { position: absolute; inset: 0 auto 0 0; background: rgba(255, 255, 255, .4); border-radius: 3px; width: 0; }
.pl__fill { position: absolute; inset: 0 auto 0 0; background: var(--y); border-radius: 3px; width: 0; }
.pl__knob {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--y); transform: translate(-50%, -50%) scale(0); transition: transform .15s;
  box-shadow: 0 0 0 4px var(--y-glow);
}
.pl__seek:hover .pl__knob { transform: translate(-50%, -50%) scale(1); }
.pl__tip {
  position: absolute; bottom: 26px; transform: translateX(-50%);
  background: rgba(0, 0, 0, .88); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 3px 8px; font-size: 12px; font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .15s; pointer-events: none; white-space: nowrap;
}
.pl__seek:hover .pl__tip { opacity: 1; }

.pl__ctrls { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.pl__ctrls .cbtn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; transition: .18s;
}
.pl__ctrls .cbtn:hover { background: rgba(255, 255, 255, .14); color: var(--y); }
.pl__ctrls .cbtn.is-on { color: var(--y); }
.pl__time { font-size: 13px; color: var(--tx-2); font-variant-numeric: tabular-nums; margin-left: 6px; }
.pl__gap { flex: 1; }

.pl__vol { display: flex; align-items: center; }
.pl__vol input {
  width: 0; opacity: 0; transition: width .25s var(--ease), opacity .2s; accent-color: var(--y);
  height: 4px; cursor: pointer;
}
.pl__vol:hover input, .pl__vol:focus-within input { width: 88px; opacity: 1; margin-left: 6px; }

.pl__menu { position: relative; }
.pl__pop {
  position: absolute; bottom: 52px; right: 0; min-width: 170px;
  background: rgba(14, 14, 17, .97); border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px; box-shadow: var(--shadow); display: none;
}
.pl__menu.is-open .pl__pop { display: block; }
.pl__pop h6 { margin: 4px 8px 8px; font-size: 11px; letter-spacing: .14em; color: var(--tx-3); text-transform: uppercase; }
.pl__pop button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 8px 10px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--tx-2);
}
.pl__pop button:hover { background: var(--surf-2); color: var(--tx); }
.pl__pop button.is-on { color: var(--y); font-weight: 700; }

.pl__skip {
  position: absolute; right: var(--pad); bottom: 132px; z-index: 7;
  background: rgba(255, 255, 255, .92); color: #000; font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: var(--r-sm);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.pl__skip.is-on { opacity: 1; visibility: visible; transform: none; }
.pl__skip:hover { background: #fff; }

.pl__next {
  position: absolute; right: var(--pad); bottom: 132px; z-index: 7; width: min(380px, 76vw);
  background: rgba(14, 14, 17, .96); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; box-shadow: var(--shadow); display: flex; gap: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease);
}
.pl__next.is-on { opacity: 1; visibility: visible; transform: none; }
.pl__next img { width: 128px; border-radius: var(--r-sm); }
.pl__next h5 { font-size: 11px; letter-spacing: .14em; color: var(--tx-3); text-transform: uppercase; margin-bottom: 5px; }
.pl__next b { display: block; font-size: 15px; margin-bottom: 8px; }
.pl__next .btn { height: 36px; padding: 0 16px; font-size: 13px; }
.pl__ring { position: absolute; right: 12px; top: 12px; font-size: 12px; color: var(--y); font-weight: 800; }

.pl__cc {
  position: absolute; left: 50%; bottom: 116px; transform: translateX(-50%);
  max-width: min(860px, 82vw); text-align: center; z-index: 5;
  font-size: clamp(16px, 2.2vw, 26px); font-weight: 600; line-height: 1.35;
  text-shadow: 0 2px 8px #000, 0 0 22px #000;
  pointer-events: none; display: none;
}
.pl.is-cc .pl__cc { display: block; }
.pl.is-idle .pl__cc { bottom: 60px; }

@media (max-width: 700px) {
  .pl__vol { display: none; }
  .pl__ctrls .cbtn { width: 38px; height: 38px; }
}

/* ── 10. Live TV ───────────────────────────────────────────────────────── */
.live { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0; padding-top: var(--hdr-h); }
@media (max-width: 1100px) { .live { grid-template-columns: 1fr; } }

.live__stage { position: sticky; top: var(--hdr-h); align-self: start; }
.live__video { position: relative; aspect-ratio: 16/9; background: #000; }
.live__video video { width: 100%; height: 100%; object-fit: cover; }
.live__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0, 0, 0, .6); padding: 5px 11px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
}
.live__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.live__ctl { position: absolute; inset: auto 0 0; padding: 40px 18px 14px; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); }
.live__info { padding: 18px var(--pad); }
.live__info h1 { font-size: clamp(20px, 2.4vw, 30px); margin-bottom: 6px; }
.live__prog { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--tx-2); margin-top: 10px; }
.live__pbar { flex: 1; height: 4px; background: var(--surf-3); border-radius: 3px; overflow: hidden; max-width: 340px; }
.live__pbar i { display: block; height: 100%; background: var(--live); }

.guide { border-left: 1px solid var(--line-2); max-height: calc(100vh - var(--hdr-h)); overflow-y: auto; }
@media (max-width: 1100px) { .guide { border-left: 0; border-top: 1px solid var(--line-2); max-height: none; } }
.guide__h {
  position: sticky; top: 0; z-index: 2; background: rgba(8, 8, 10, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 16px 18px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.guide__h h2 { font-size: 16px; }
.guide__filters { display: flex; gap: 6px; overflow-x: auto; padding: 10px 18px; border-bottom: 1px solid var(--line-2); scrollbar-width: none; }
.guide__filters::-webkit-scrollbar { display: none; }
.chan {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--line-2); width: 100%; text-align: left; transition: background .18s;
}
.chan:hover { background: var(--surf); }
.chan.is-on { background: rgba(255, 200, 0, .09); box-shadow: inset 3px 0 0 var(--y); }
.chan img { width: 92px; border-radius: var(--r-sm); }
/* These are <span>s because a <button> may only contain phrasing content,
   so each one needs an explicit display or the guide collapses into itself. */
.chan__b { display: block; min-width: 0; }
.chan__n { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }
.chan__n em { font-style: normal; font-size: 11px; color: var(--y); flex: none; }
.chan__now { display: block; font-size: 13px; color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chan__next { display: block; font-size: 11.5px; color: var(--tx-3); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chan__bar { display: block; height: 3px; background: var(--surf-3); border-radius: 2px; margin-top: 7px; overflow: hidden; }
.chan__bar i { display: block; height: 100%; background: var(--y); }

/* ── 11. Browse / search / list / profiles ─────────────────────────────── */
.page-top { padding: calc(var(--hdr-h) + clamp(20px, 4vh, 46px)) var(--pad) 0; }
.page-top h1 { font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -.03em; }
.page-top p { color: var(--tx-2); margin-top: 8px; max-width: 62ch; }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 20px var(--pad); position: sticky; top: var(--hdr-h); z-index: 40;
  background: linear-gradient(180deg, var(--ink) 72%, transparent);
}
.filters select, .filters .fsort {
  background: var(--surf-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 9px 12px; font-size: 13.5px; min-width: 132px; cursor: pointer;
}
.filters select:focus { border-color: var(--y); outline: none; }
.filters__count { margin-left: auto; font-size: 13px; color: var(--tx-3); }
.filters__reset { font-size: 13px; color: var(--y); }
.filters__reset:hover { text-decoration: underline; }

.pills { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--pad) 14px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; padding: 7px 15px; border-radius: var(--r-pill); font-size: 13px;
  background: var(--surf-2); border: 1px solid var(--line-2); color: var(--tx-2); transition: .18s;
  white-space: nowrap;
}
.pill:hover { color: var(--tx); border-color: var(--line); }
.pill.is-on { background: var(--y); border-color: var(--y); color: #000; font-weight: 700; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(128px, 15vw, 180px), 1fr));
  gap: clamp(14px, 1.6vw, 24px) var(--gap);
  padding: 6px var(--pad) 70px;
}
.grid .card { width: auto; }

.empty { padding: clamp(50px, 12vh, 120px) var(--pad); text-align: center; }
.empty__ico { font-size: 46px; margin-bottom: 14px; }
.empty h2 { font-size: clamp(20px, 2.4vw, 30px); margin-bottom: 10px; }
.empty p { color: var(--tx-2); max-width: 44ch; margin-inline: auto; }

/* search */
.searchbox { padding: calc(var(--hdr-h) + 34px) var(--pad) 0; }
.searchbox__f { position: relative; max-width: 720px; }
.searchbox__f input {
  width: 100%; height: 60px; padding: 0 20px 0 56px; font-size: 19px;
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--r);
  outline: none;
}
.searchbox__f input:focus { border-color: var(--y); box-shadow: 0 0 0 4px var(--y-glow); }
.searchbox__f svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--tx-3); }
.recent { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--tx-3); }
.recent button { padding: 5px 12px; border-radius: var(--r-pill); background: var(--surf-2); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--tx-2); }
.recent button:hover { border-color: var(--y); color: var(--y); }

/* profiles */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.gate__logo { position: fixed; top: 26px; left: var(--pad); z-index: 10; }
.gate__in { text-align: center; max-width: 900px; width: 100%; }
.gate h1 { font-size: clamp(28px, 4.4vw, 52px); margin-bottom: 8px; letter-spacing: -.03em; }
.gate p { color: var(--tx-2); margin-bottom: 40px; }
.gate__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 34px); }
/* display:block — a <button> centres its content box vertically, which knocks
   the taller Kids tile out of line with the rest. */
.pcard { display: block; width: clamp(110px, 15vw, 160px); }
.pcard img {
  width: 100%; aspect-ratio: 1; border-radius: var(--r); border: 3px solid transparent;
  transition: .22s var(--ease);
}
.pcard:hover img, .pcard:focus-visible img { border-color: var(--y); transform: translateY(-5px); }
.pcard span { display: block; margin-top: 12px; font-size: 15px; color: var(--tx-2); }
.pcard:hover span { color: var(--tx); }
.pcard--add .pcard__plus {
  width: 100%; aspect-ratio: 1; border-radius: var(--r); border: 2px dashed var(--line);
  display: grid; place-items: center; font-size: 46px; color: var(--tx-3); transition: .22s;
}
.pcard--add:hover .pcard__plus { border-color: var(--y); color: var(--y); }
.pcard__kids { display: inline-block; margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .12em; background: var(--y); color: #000; padding: 2px 6px; border-radius: 3px; }
.gate__foot { margin-top: 46px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.gate__who { margin-top: 20px; font-size: 12.5px; color: var(--tx-3); }
.pmanage { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 30px auto 0; text-align: left; }
.prow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surf); border-radius: var(--r); border: 1px solid var(--line-2); }
.prow img { width: 46px; height: 46px; border-radius: var(--r-sm); }
.prow b { flex: 1; font-size: 15px; }

/* ── 11b. Auth (sign in / create account / reset) ──────────────────────── */
body.auth-page { overflow-x: hidden; }

.au { position: relative; min-height: 100vh; display: flex; flex-direction: column; isolation: isolate; }

/* drifting poster wall */
.au__wall {
  position: fixed; inset: -12% -6%; z-index: -2;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  transform: rotate(-9deg) scale(1.25);
  filter: saturate(120%) blur(1.5px);
}
.au__col { display: flex; flex-direction: column; gap: 14px; animation: wallUp 80s linear infinite; }
.au__col--down { animation-name: wallDown; }
.au__col img { width: 100%; border-radius: var(--r-sm); aspect-ratio: 2/3; object-fit: cover; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (max-width: 900px) { .au__wall { grid-template-columns: repeat(4, 1fr); } }

/* One layer only — stacked gradients multiply and black the artwork out. */
.au__scrim {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 78% 68% at 50% 46%,
    rgba(8, 8, 10, .58) 0%, rgba(8, 8, 10, .78) 48%, rgba(8, 8, 10, .93) 78%, rgba(8, 8, 10, .98) 100%);
}

.au__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px var(--pad); flex: none;
}
.au__main { flex: 1; display: grid; place-items: center; padding: 8px var(--pad) 40px; }

.au__card {
  width: min(468px, 100%);
  background: rgba(14, 14, 17, .82);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .78), 0 0 0 1px rgba(255, 200, 0, .07);
  animation: auIn .5s var(--ease) both;
}
@keyframes auIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

.au__h { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.03em; }
.au__sub { margin: 8px 0 22px; color: var(--tx-2); font-size: 14.5px; }

.au__tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.au__tabs button { padding: 11px 4px; font-size: 14px; font-weight: 700; color: var(--tx-3); transition: color .2s; }
.au__tabs button:hover { color: var(--tx-2); }
.au__tabs button.is-on { color: var(--y); }
.au__ink {
  position: absolute; bottom: -1px; left: 0; width: 50%; height: 2px;
  background: var(--y); border-radius: 2px; transition: transform .3s var(--ease);
}
.au__tabs[data-mode="signup"] .au__ink { transform: translateX(100%); }

.au__form { display: flex; flex-direction: column; gap: 15px; }

/* floating-label field */
.fld { position: relative; display: block; }
.fld > input {
  width: 100%; height: 56px; padding: 20px 14px 6px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  outline: none; font-size: 15px; transition: border-color .18s, background .18s, box-shadow .18s;
}
.fld > input:hover { background: rgba(255, 255, 255, .07); }
.fld > input:focus { border-color: var(--y); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px var(--y-glow); }
.fld > span {
  position: absolute; left: 15px; top: 17px;
  font-size: 15px; color: var(--tx-3); pointer-events: none;
  transform-origin: left top; transition: transform .18s var(--ease), color .18s;
}
.fld > input:focus + span,
.fld > input:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.74); color: var(--y); }
.fld > input:not(:focus):not(:placeholder-shown) + span { color: var(--tx-3); }
.fld--pw > input { padding-right: 50px; }
.fld__eye {
  position: absolute; right: 6px; top: 11px; width: 38px; height: 34px;
  display: grid; place-items: center; color: var(--tx-3); border-radius: var(--r-sm);
}
.fld__eye:hover { color: var(--y); background: rgba(255, 255, 255, .07); }
.fld__err { display: block; font-style: normal; font-size: 12.5px; color: #FF6B6B; margin-top: 6px; }
.fld__err:empty { display: none; }
.fld.is-bad > input { border-color: #FF6B6B; }
.fld.is-bad > input:focus { box-shadow: 0 0 0 3px rgba(255, 107, 107, .2); }

/* strength meter */
.meter { display: flex; align-items: center; gap: 10px; margin-top: -6px; }
.meter__bars { display: flex; gap: 4px; flex: 1; }
.meter__bars i { flex: 1; height: 4px; border-radius: 2px; background: var(--surf-3); transition: background .25s; }
.meter__label { font-size: 12px; font-weight: 700; color: var(--tx-3); min-width: 48px; text-align: right; }
.meter[data-score="1"] .meter__bars i.is-on { background: #FF6B6B; }
.meter[data-score="2"] .meter__bars i.is-on { background: #FFA23A; }
.meter[data-score="3"] .meter__bars i.is-on { background: var(--y); }
.meter[data-score="4"] .meter__bars i.is-on { background: var(--ok); }
.meter[data-score="1"] .meter__label { color: #FF6B6B; }
.meter[data-score="2"] .meter__label { color: #FFA23A; }
.meter[data-score="3"] .meter__label { color: var(--y); }
.meter[data-score="4"] .meter__label { color: var(--ok); }

/* checkbox */
.chk { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--tx-2); cursor: pointer; }
.chk input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--y); flex: none; cursor: pointer; }
.chk--terms { flex-wrap: wrap; }
.chk--terms .fld__err { flex-basis: 100%; margin-top: 2px; }
.chk.is-bad { color: #FF6B6B; }

.au__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.au__link { color: var(--y); font-size: 13.5px; font-weight: 600; background: none; padding: 0; }
.au__link:hover { text-decoration: underline; }

.au__submit { height: 52px; margin-top: 4px; position: relative; font-size: 15.5px; }
.au__submit:disabled { opacity: .75; cursor: default; }
.au__spin {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, .28); border-top-color: #0A0A0B;
  display: none; animation: spin .7s linear infinite;
}
.au__submit.is-busy .au__spin { display: block; }
.au__submit.is-busy .au__label { opacity: .8; }

.au__swap { margin: 4px 0 0; text-align: center; font-size: 13.5px; color: var(--tx-2); }

.au__alert {
  padding: 11px 14px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.45;
  border: 1px solid #FF6B6B; background: rgba(255, 107, 107, .12); color: #FFC9C9;
  margin-bottom: 16px;
}
.au__alert--good { border-color: var(--ok); background: rgba(70, 211, 105, .12); color: #BDF0CB; }

.au__notice {
  margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2);
  font-size: 11.5px; line-height: 1.55; color: var(--tx-3);
}
.au__notice strong { color: var(--y); font-weight: 700; }

.au__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 18px var(--pad) 28px; font-size: 12.5px; color: var(--tx-3); flex: none;
}
.au__foot nav { display: flex; gap: 18px; }
.au__foot a:hover { color: var(--y); }

/* account block in the header menu */
.acct__who { border-top: 1px solid var(--line-2); margin-top: 6px; padding: 10px 10px 4px; }
.acct__who b { display: block; font-size: 13px; }
.acct__who span { display: block; font-size: 11.5px; color: var(--tx-3); overflow: hidden; text-overflow: ellipsis; }
.acct__out { color: var(--y) !important; font-weight: 600; }

/* ── 11c. Legal documents ──────────────────────────────────────────────── */
body.legal-page { background: var(--ink); }

.lg-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px var(--pad);
  background: rgba(8, 8, 10, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.lg-top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lg-top nav a { font-size: 13.5px; color: var(--tx-2); }
.lg-top nav a:hover { color: var(--y); }
.lg-top nav a.is-on { color: var(--y); font-weight: 700; }
.lg-top .btn { margin-left: 4px; }

.lg {
  display: grid; grid-template-columns: 268px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 5vh, 56px) var(--pad) 80px;
  max-width: 1360px; margin: 0 auto;
}
@media (max-width: 940px) { .lg { grid-template-columns: 1fr; } .lg__toc { position: static !important; } }

.lg__toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.lg__toc h4 {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tx-3); margin-bottom: 12px;
}
.lg__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.lg__toc li { counter-increment: toc; }
.lg__toc a {
  display: block; padding: 6px 10px 6px 30px; position: relative;
  font-size: 13px; color: var(--tx-2); border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0; transition: .15s;
}
.lg__toc a::before {
  content: counter(toc); position: absolute; left: 10px;
  font-size: 11px; color: var(--tx-3); font-variant-numeric: tabular-nums;
}
.lg__toc a:hover { background: var(--surf); color: var(--tx); }
.lg__toc a.is-on { color: var(--y); border-left-color: var(--y); background: rgba(255, 200, 0, .07); }
.lg__toc a.is-on::before { color: var(--y); }

.lg__doc { max-width: 78ch; font-size: 15.5px; line-height: 1.75; color: #DCDCE2; }
.lg__doc h1 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.03em; margin-bottom: 10px; }
.lg__meta { color: var(--tx-3); font-size: 13.5px; margin-bottom: 26px; }
.lg__doc h2 {
  font-size: clamp(19px, 2vw, 24px); margin: 44px 0 14px; scroll-margin-top: 96px;
  padding-top: 22px; border-top: 1px solid var(--line-2);
}
.lg__doc section:first-of-type h2 { border-top: 0; padding-top: 0; margin-top: 30px; }
.lg__doc h3 { font-size: 16.5px; margin: 24px 0 8px; color: #fff; }
.lg__doc p { margin: 0 0 15px; }
.lg__doc ul, .lg__doc ol { margin: 0 0 16px; padding-left: 22px; }
.lg__doc li { margin-bottom: 8px; list-style: disc; }
.lg__doc ol > li { list-style: decimal; }
.lg__doc a { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }
.lg__doc strong { color: #fff; }
.lg__doc table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.lg__doc th, .lg__doc td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.lg__doc th { color: var(--tx); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: var(--surf); }
.lg__doc code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--surf-2); padding: 2px 6px; border-radius: 4px; }

/* Plain-English box at the top of each document. */
.lg__summary {
  background: var(--surf); border: 1px solid var(--line-2);
  border-left: 3px solid var(--y); border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px; margin-bottom: 34px; font-size: 14.5px;
}
.lg__summary h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--y); margin-bottom: 10px; }
.lg__summary p:last-child, .lg__doc li:last-child { margin-bottom: 0; }

/* Every blank the company still has to fill in. Deliberately loud. */
.fill {
  background: rgba(255, 200, 0, .16); color: var(--y);
  border-bottom: 1px dashed var(--y); padding: 0 4px; border-radius: 3px;
  font-style: normal; white-space: nowrap;
}
.lg__draft {
  background: rgba(255, 95, 95, .1); border: 1px solid rgba(255, 95, 95, .45);
  border-radius: var(--r); padding: 16px 20px; margin-bottom: 30px; font-size: 14px; color: #FFD5D5;
}
.lg__draft strong { color: #fff; }

.lg__foot {
  border-top: 1px solid var(--line-2); padding: 30px var(--pad) 70px;
  display: flex; gap: 12px 30px; flex-wrap: wrap; align-items: center;
  font-size: 12.5px; color: var(--tx-3);
}
.lg__foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.lg__foot a:hover { color: var(--y); }

/* "A Beauld company" endorsement line */
.byline { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--tx-3); white-space: nowrap; }
.byline b { color: var(--tx-2); font-weight: 700; letter-spacing: .06em; }
.byline::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--y); flex: none; }

/* ── 12. Footer, toasts, mobile nav, utilities ─────────────────────────── */
.ftr { border-top: 1px solid var(--line-2); background: var(--ink-2); padding: clamp(36px, 6vh, 64px) 0 90px; }
.ftr__in { padding-inline: var(--pad); display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(28px, 5vw, 70px); }
.ftr__brand p { color: var(--tx-3); font-size: 13.5px; max-width: 34ch; margin-top: 14px; }
.ftr__social { display: flex; gap: 8px; margin-top: 16px; }
.ftr__social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--tx-2); transition: .18s;
}
.ftr__social a:hover { border-color: var(--y); color: var(--y); }
.ftr__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; }
.ftr__cols h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx); margin-bottom: 12px; }
.ftr__cols a { display: block; font-size: 13px; color: var(--tx-3); padding: 4px 0; }
.ftr__cols a:hover { color: var(--y); }
.ftr__base {
  grid-column: 1 / -1; border-top: 1px solid var(--line-2); margin-top: 14px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 12px; color: var(--tx-3);
}
.ftr__note { max-width: 70ch; }
@media (max-width: 780px) { .ftr__in { grid-template-columns: 1fr; } }

.edi-toasts { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.edi-toast {
  display: flex; align-items: center; gap: 10px;
  background: rgba(20, 20, 24, .97); border: 1px solid var(--line); border-left: 3px solid var(--y);
  border-radius: var(--r-sm); padding: 11px 18px; font-size: 14px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px); transition: .25s var(--ease);
}
.edi-toast.is-in { opacity: 1; transform: none; }
.edi-toast__i { color: var(--y); font-weight: 800; }

.mnav {
  position: fixed; inset: auto 0 0; z-index: 85; display: none;
  background: rgba(10, 10, 13, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mnav a { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 6px 0; font-size: 10.5px; color: var(--tx-3); }
.mnav a.is-active { color: var(--y); }
@media (max-width: 780px) {
  .mnav { display: flex; }
  body { padding-bottom: 60px; }
  .edi-toasts { bottom: 84px; }
}

.skel { background: linear-gradient(90deg, var(--surf) 25%, var(--surf-2) 37%, var(--surf) 63%); background-size: 400% 100%; animation: sk 1.3s infinite; border-radius: var(--r-sm); }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ── 13. Public marketing pages (landing + pricing) ────────────────────── */
body.pub-page { background: var(--ink); }

.pub-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px var(--pad);
  background: rgba(8, 8, 10, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: .25s;
}
.pub-top.is-solid { background: rgba(8, 8, 10, .96); border-bottom-color: var(--line-2); }
.pub-top nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); flex-wrap: wrap; }
/* :not(.btn) — otherwise the nav's link colour overrides the button's own,
   leaving grey text on the yellow CTA. */
.pub-top nav a:not(.btn) { font-size: 14px; color: var(--tx-2); }
.pub-top nav a:not(.btn):hover { color: var(--tx); }
.pub-top nav a.is-on { color: var(--y); font-weight: 700; }

/* hero */
.hero-pub {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 9vh, 110px) var(--pad) clamp(40px, 8vh, 90px);
}
.hero-pub__wall {
  position: absolute; inset: -14% -8%; z-index: -2;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px;
  transform: rotate(-8deg) scale(1.2); filter: saturate(118%) blur(1px);
}
.hero-pub__col { display: flex; flex-direction: column; gap: 12px; animation: wallUp 92s linear infinite; }
.hero-pub__col--down { animation-name: wallDown; }
.hero-pub__col img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--r-sm); }
.hero-pub::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 72% at 50% 42%,
    rgba(8, 8, 10, .62) 0%, rgba(8, 8, 10, .84) 46%, rgba(8, 8, 10, .97) 82%);
}
@media (max-width: 900px) { .hero-pub__wall { grid-template-columns: repeat(4, 1fr); } }

.hero-pub__in { max-width: 860px; margin: 0 auto; text-align: center; position: relative; }
.hero-pub h1 {
  font-family: var(--font-dis); font-size: clamp(34px, 6.2vw, 76px);
  line-height: .96; letter-spacing: -.035em; margin-bottom: 18px;
}
.hero-pub h1 em { font-style: normal; color: var(--y); }
.hero-pub__sub { font-size: clamp(16px, 1.7vw, 21px); color: #E2E2E8; max-width: 40ch; margin: 0 auto 14px; }
.hero-pub__price { font-size: 14.5px; color: var(--tx-2); margin-bottom: 26px; }
.hero-pub__price b { color: var(--y); }
.hero-pub__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-pub__note { margin-top: 16px; font-size: 12.5px; color: var(--tx-3); }

.sec { padding: clamp(44px, 8vh, 92px) var(--pad); }
.sec--tint { background: var(--ink-2); border-block: 1px solid var(--line-2); }
.sec__head { max-width: 720px; margin: 0 auto clamp(26px, 4vh, 48px); text-align: center; }
.sec__head h2 { font-size: clamp(24px, 3.4vw, 40px); letter-spacing: -.03em; margin-bottom: 12px; }
.sec__head p { color: var(--tx-2); font-size: clamp(14.5px, 1.3vw, 17px); }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; }
.feat { background: var(--surf); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 26px 24px; }
.feat__i {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 200, 0, .13); color: var(--y); margin-bottom: 16px;
}
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { color: var(--tx-2); font-size: 14px; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; text-align: center; }
.stat-pub b { display: block; font-family: var(--font-dis); font-size: clamp(30px, 4vw, 48px); color: var(--y); line-height: 1; letter-spacing: -.03em; }
.stat-pub span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--tx-2); }

.devices { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.devices span { padding: 9px 17px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surf); font-size: 13.5px; color: var(--tx-2); }

/* pricing controls */
.cycle { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.cycle__sw { display: inline-flex; background: var(--surf-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; }
.cycle__sw button { padding: 9px 20px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 650; color: var(--tx-2); transition: .18s; }
.cycle__sw button.is-on { background: var(--y); color: #0A0A0B; }
.cycle__save { font-size: 12.5px; color: var(--ok); font-weight: 700; }
.market-pick { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 30px; font-size: 13px; color: var(--tx-3); flex-wrap: wrap; }
.market-pick select { background: var(--surf-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font-size: 13.5px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 16px; max-width: 1240px; margin: 0 auto; align-items: stretch; }
.plan {
  background: var(--surf); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 26px 24px; position: relative; display: flex; flex-direction: column;
}
.plan--pop { border-color: var(--y); box-shadow: 0 0 0 1px var(--y), 0 20px 50px rgba(255, 200, 0, .12); }
.plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--y); color: #0A0A0B; font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; padding: 4px 12px; border-radius: var(--r-pill); white-space: nowrap;
}
.plan h3 { font-size: 19px; margin-bottom: 4px; }
.plan__tagline { color: var(--tx-3); font-size: 13px; margin-bottom: 18px; min-height: 2.6em; }
.plan__price { font-family: var(--font-dis); font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.03em; line-height: 1; }
.plan__cycle { font-size: 13px; color: var(--tx-3); margin: 6px 0 4px; }
.plan__alt { font-size: 12.5px; color: var(--ok); min-height: 1.4em; margin-bottom: 14px; }
.plan__beat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--y); background: rgba(255, 200, 0, .13); border: 1px solid rgba(255, 200, 0, .32);
  padding: 3px 9px; border-radius: var(--r-pill); margin-bottom: 8px;
}
.plan ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 9px; font-size: 13.5px; color: var(--tx-2); align-items: flex-start; }
.plan li svg { flex: none; margin-top: 2px; color: var(--ok); }
.plan li.no { color: var(--tx-3); }
.plan li.no svg { color: var(--tx-3); }
.plan .btn { margin-top: 22px; }

.cmp-wrap { overflow-x: auto; max-width: 1100px; margin: 0 auto; border: 1px solid var(--line-2); border-radius: var(--r); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
table.cmp th, table.cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); text-align: left; }
table.cmp thead th { background: var(--surf-2); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); white-space: nowrap; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td.ours { color: var(--y); font-weight: 800; }
table.cmp td.win { color: var(--ok); font-weight: 700; white-space: nowrap; }
.cmp-note { max-width: 1100px; margin: 14px auto 0; font-size: 12px; color: var(--tx-3); }

.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surf); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.faq summary { padding: 17px 22px; cursor: pointer; font-weight: 650; font-size: 15.5px; list-style: none; display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--y); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--y); }
.faq__a { padding: 0 22px 20px; color: var(--tx-2); font-size: 14.5px; line-height: 1.7; }
.faq__a p { margin: 0 0 10px; }
.faq__a p:last-child { margin: 0; }
.faq__a a { color: var(--y); }

.cta-band { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 40px); letter-spacing: -.03em; margin-bottom: 14px; }
.cta-band p { color: var(--tx-2); margin-bottom: 26px; }

/* ── 14. Pre-launch ────────────────────────────────────────────────────
   Visible enough that nobody mistakes the preview for a running service,
   quiet enough that it does not wreck the design. */
.launch-bar {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; text-align: center;
  padding: 11px var(--pad);
  background: linear-gradient(90deg, rgba(255, 200, 0, .16), rgba(255, 200, 0, .08));
  border-bottom: 1px solid rgba(255, 200, 0, .3);
  font-size: 13.5px; color: #F7E4A8;
}
.launch-bar b { color: var(--y); font-weight: 800; letter-spacing: .04em; }
.launch-bar a { color: var(--y); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 620px) { .launch-bar { font-size: 12.5px; padding: 9px 14px; } }

/* Small persistent marker in the header */
.preview-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  color: var(--y); background: rgba(255, 200, 0, .14);
  border: 1px solid rgba(255, 200, 0, .34);
  padding: 3px 8px; border-radius: var(--r-pill); white-space: nowrap;
}

/* Waitlist form */
.wait { max-width: 520px; margin: 0 auto; }
.wait__row { display: flex; gap: 10px; flex-wrap: wrap; }
.wait__row input {
  flex: 1 1 240px; min-width: 0; height: 50px; padding: 0 16px;
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; outline: none; transition: .15s;
}
.wait__row input:focus { border-color: var(--y); box-shadow: 0 0 0 3px var(--y-glow); }
.wait__row .btn { height: 50px; flex: 0 0 auto; }
.wait__note { margin: 12px 0 0; font-size: 12.5px; color: var(--tx-3); }
.wait__msg { margin: 12px 0 0; font-size: 13.5px; min-height: 1.2em; }
.wait__msg.is-ok { color: var(--ok); }
.wait__msg.is-bad { color: #FF6B6B; }

/* Pre-launch note on the pricing page */
.pre-note {
  max-width: 900px; margin: 0 auto 26px;
  background: rgba(255, 200, 0, .08); border: 1px solid rgba(255, 200, 0, .28);
  border-radius: var(--r); padding: 15px 20px; font-size: 13.5px; color: #F0E2BE;
}
.pre-note strong { color: var(--y); }

/* chosen-plan banner on the create-account form */
.au__plan {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  padding: 12px 15px; border-radius: var(--r-sm);
  background: rgba(255, 200, 0, .09); border: 1px solid rgba(255, 200, 0, .3);
}
.au__plan-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.au__plan-l { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--y); }
.au__plan-b b { font-size: 15px; }
.au__plan-p { font-size: 12.5px; color: var(--tx-2); }
.au__plan a { margin-left: auto; font-size: 13px; color: var(--y); font-weight: 650; white-space: nowrap; }
.au__plan a:hover { text-decoration: underline; }

/* ── 15. Breadcrumbs ───────────────────────────────────────────────────── */
.crumbs { padding: 14px var(--pad) 0; max-width: 1360px; margin: 0 auto; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--tx-3); }
.crumbs li + li::before { content: "›"; color: var(--tx-3); opacity: .6; }
.crumbs a { color: var(--tx-2); }
.crumbs a:hover { color: var(--y); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--y); }

/* SEO copy block — real prose, not a keyword dump */
.about { max-width: 780px; margin: 0 auto; }
.about h3 { font-size: 17px; margin: 26px 0 8px; color: #fff; }
.about p { color: var(--tx-2); font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
.about a { color: var(--y); }

/* Pricing page headline: an h1 for search, but it still reads as the deck did */
.pricing-h1 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.pricing-h1 span {
  display: block; margin-top: 10px;
  font-size: clamp(20px, 2.6vw, 32px); font-weight: 750; color: var(--tx-2);
}

/* ==== 16. REVERSED WORDMARK ===============================================
   The supplied wordmark is black letters on transparent, which is invisible
   on edimulo's near-black surfaces. brand.js adds this class to the supplied
   artwork and the filter turns the letters white — a per-pixel colour swap,
   so no outline, weight, join or letter-space is altered. The sun is excluded
   by the filter and keeps its own colours.

   Supply edimulo-wordmark-white and this never gets applied at all.
   ======================================================================= */
.brand--reverse { filter: url(#ediReverse); }
