/* =========================================================
   Bidframe — site styles
   Dark, data-forward theme. Accent: Bidframe red.
   ========================================================= */

:root {
  --bg: #FAFAFA;
  --bg-2: #F3F4F6;
  --bg-3: #F3F4F6;
  --surface: #FFFFFF;
  --surface-2: #F6F7F9;
  --input: #FFFFFF;
  --line: #E7E8EC;
  --line-2: #E4E5E9;
  --line-3: #D3D6DC;
  --text: #111111;
  --text-2: #2A2D35;
  --muted: #5B606B;
  --muted-2: #6B7080;
  --accent: #E1251B;
  --accent-hover: #C41E15;
  --accent-text: #C81E15;
  --accent-tint: #FDEDEC;
  --accent-line: #F4C6C2;
  --light-bg: #F4F5F7;
  --light-text: #14161C;
  --light-muted: #4A4F5C;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
  --pad-x: clamp(20px, 4vw, 32px);
  --pad-y: clamp(56px, 8vw, 96px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--light { background: var(--light-bg); color: var(--light-text); }
.section--light .lead { color: var(--light-muted); }
.stack { display: flex; flex-direction: column; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.section--light .eyebrow { color: #B4141C; }
.pill-eyebrow { align-self: flex-start; display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); border: 1px solid var(--accent-line); background: #FDEDEC; padding: 8px 14px; border-radius: 999px; }
.h1 { font-size: clamp(38px, 4.4vw + 10px, 66px); font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: clamp(30px, 2.4vw + 12px, 46px); font-weight: 700; }
.h3 { font-size: clamp(21px, 0.8vw + 16px, 26px); font-weight: 600; }
.lead { font-size: clamp(16px, 0.4vw + 14px, 19px); color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .stack { gap: 12px; max-width: 700px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: var(--radius-sm); font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer; border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease; text-align: center; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, 0.7); border-color: #D3D6DC; color: var(--text); }
.btn--ghost:hover { border-color: var(--text-2); color: var(--text); }
.btn--dark { background: var(--light-text); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 600; color: var(--accent-text); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 250, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand__mark { width: 28px; height: 28px; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--accent-text); }
.nav .btn { margin-left: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line-3); border-radius: 10px; color: var(--text); cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px var(--pad-x) 24px; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid #ECEDF0; font-size: 17px; font-weight: 500; }
.mobile-nav .btn { width: 100%; margin-top: 18px; }
.mobile-nav.is-open { display: block; }
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Hero + parallax */
.hero { position: relative; overflow: hidden; }
.parallax-layer { position: absolute; pointer-events: none; will-change: transform; }
.grid-bg { left: 0; right: 0; top: -200px; height: 1500px; background-image: linear-gradient(#ECEDF0 1px, transparent 1px), linear-gradient(90deg, #ECEDF0 1px, transparent 1px); background-size: 64px 64px; }
.frame { border: 2px solid var(--accent-line); border-radius: 26px; }
.frame--accent { border-color: var(--accent); opacity: .55; border-radius: 18px; }
.frame--quiet { border-color: var(--line-2); }
.hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 56px); padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero__copy { flex: 1 1 480px; min-width: 0; gap: 24px; }
.hero__copy .btn-row .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .hero__copy .btn-row .btn { flex: 0 0 auto; } }
.hero__panel { flex: 1 1 400px; min-width: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(14px, 2vw, 20px); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px rgba(17, 17, 17, .10); }
.hero__panel-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 8px; font-size: 15px; font-weight: 600; }

/* Package card (mini + full) */
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #3C404A; background: #EEF0F3; padding: 5px 10px; border-radius: 6px; }
.tag--live { color: #1B7A44; background: #E6F4EC; }
.mini-card { background: var(--surface-2); border: 1px solid #E4E5E9; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s ease, transform .2s ease; }
.mini-card:hover { border-color: #C5C8D0; color: var(--text); transform: translateY(-2px); }
.mini-card__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.mini-card__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 28px); }
.pkg-card { display: flex; flex-direction: column; gap: 14px; }
.pkg-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pkg-card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.pkg-card p { font-size: 14px; color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 13px; }
.facts dt { color: var(--muted-2); }
.facts dd { margin: 2px 0 0; color: #2A2D35; }
.pkg-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.btn--card { background: #FFFFFF; border: 1px solid #D3D6DC; color: var(--text); }
.btn--card:hover { border-color: var(--text-2); color: var(--text); }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 36px; padding-top: 28px; padding-bottom: 28px; }
.strip__label { flex-basis: 100%; text-align: center; font-size: 14px; color: var(--muted); }
.strip__item { font-weight: 600; color: var(--text-2); }

/* Grids */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.light-card { background: #fff; border: 1px solid #E1E3E8; border-radius: 20px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.light-card p { color: var(--light-muted); }
.channel-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s ease, transform .2s ease; }
.channel-card:hover { border-color: #C5C8D0; color: var(--text); transform: translateY(-3px); }
.channel-card__icon { width: 32px; height: 32px; color: var(--accent-text); }
.channel-card__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.channel-card__desc { font-size: 15px; color: var(--muted); }
.step-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--accent-text); line-height: 1; }
.step-title { font-size: 21px; font-weight: 600; }

/* Split section */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 56px); }
.split > * { flex: 1 1 400px; min-width: 0; }
.split .stack { gap: 20px; }
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter__label { font-size: 14px; color: #3C404A; }
.meter__track { height: 8px; background: #EEF0F3; border-radius: 4px; overflow: hidden; }
.meter__fill { height: 100%; background: var(--accent); border-radius: 4px; width: 0; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.is-visible .meter__fill { width: var(--w); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band__inner .stack { flex: 1 1 420px; gap: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-3); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__brand { flex: 1 1 260px; gap: 14px; }
.site-footer__brand p { font-size: 14px; color: var(--muted); max-width: 300px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 56px; font-size: 14px; }
.site-footer__cols .stack { gap: 12px; }
.site-footer__cols a { color: var(--muted); }
.site-footer__cols a:hover { color: var(--text); }
.site-footer__head { font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 20px; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: var(--muted-2); border-top: 1px solid #ECEDF0; }
.site-footer__bottom a { color: var(--muted-2); }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .grid-bg { height: 1000px; top: -120px; }
.page-hero__inner { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); gap: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }

/* Marketplace */
.search { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid #E4E5E9; border-radius: 14px; padding: 0 18px; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 16px; padding: 18px 0; }
.search input:focus { outline: none; }
.search:focus-within { border-color: #B5B9C2; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex: 0 0 auto; white-space: nowrap; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-3); color: var(--text-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s ease; }
.chip:hover { border-color: #B5B9C2; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.market { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; }
.filters { flex: 0 0 260px; width: 260px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 92px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.filters legend, .filters .label { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #3C404A; min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.select, .input, .textarea { width: 100%; background: var(--input); color: var(--text); border: 1px solid var(--line-3); border-radius: var(--radius-sm); padding: 13px 14px; font: inherit; font-size: 16px; }
.select:focus, .input:focus, .textarea:focus { outline: none; border-color: #9A9EA8; box-shadow: 0 0 0 3px rgba(225, 37, 27, .25); }
.textarea { resize: vertical; min-height: 96px; }
.filters-toggle { display: none; width: 100%; justify-content: space-between; }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.results__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 20px; }
.empty { text-align: center; padding: 48px 24px; border: 1px dashed var(--line-3); border-radius: var(--radius); color: var(--muted); }
.banner { background: #FDEDEC; border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
@media (max-width: 860px) {
  .filters { display: none; position: static; flex: 1 1 100%; width: 100%; }
  .filters.is-open { display: flex; }
  .filters-toggle { display: inline-flex; }
}

/* Package detail */
.pkg-layout { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.pkg-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pkg-side { flex: 1 1 320px; max-width: 380px; position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line-3); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 60px rgba(17, 17, 17, .08); }
.pkg-side .btn { width: 100%; }
.facts-lg { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px 28px; }
.facts-lg dt { font-size: 13px; color: var(--muted-2); }
.facts-lg dd { margin: 4px 0 0; font-size: 16px; font-weight: 500; }
.outline-chip { display: inline-block; font-size: 14px; color: var(--text-2); border: 1px solid var(--line-3); padding: 8px 14px; border-radius: 999px; }
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .pkg-side { display: none; }
  .mobile-bar { display: flex; position: sticky; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line-3); padding: 12px var(--pad-x); align-items: center; justify-content: space-between; gap: 16px; }
}

/* Deal builder */
.builder { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(20px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 32px; box-shadow: 0 30px 70px rgba(17, 17, 17, .08); }
.builder__main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.builder__progress-text { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.builder__bars { display: flex; gap: 6px; margin-top: 10px; }
.builder__bars span { flex: 1; height: 5px; border-radius: 99px; background: #E4E5E9; transition: background .3s ease; }
.builder__bars span.is-on { background: var(--accent); }
.builder__step { display: none; flex-direction: column; gap: 16px; border: 0; margin: 0; padding: 0; min-width: 0; }
.builder__step.is-active { display: flex; }
.builder__step h3 { font-size: clamp(22px, 1vw + 16px, 28px); font-weight: 700; }
.builder__step legend { padding: 0; }
.options { display: grid; gap: 10px; }
.options--wide { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.options--mid { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.options--narrow { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.opt { position: relative; text-align: left; font: inherit; color: var(--text); cursor: pointer; border-radius: 14px; padding: 16px; min-height: 48px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-3); background: var(--surface-2); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.opt:hover { border-color: #B5B9C2; }
.opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.opt__label { font-weight: 600; font-size: 16px; }
.opt__desc { font-size: 13px; color: var(--muted); }
.opt[aria-pressed="true"] .opt__desc { color: #A8231B; }
.opt-chip { font: inherit; cursor: pointer; border-radius: 999px; padding: 10px 18px; min-height: 44px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-3); background: var(--surface-2); color: var(--text-2); transition: all .2s ease; }
.opt-chip:hover { border-color: #B5B9C2; }
.opt-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); color: #fff; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; font-weight: 400; color: var(--muted-2); }
.field .opt-note { font-weight: 400; color: var(--muted-2); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #3C404A; line-height: 1.6; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.builder__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line-2); }
.builder__error { color: #C81E15; font-size: 14px; min-height: 1em; }
.builder__summary { flex: 1 1 260px; min-width: 0; align-self: flex-start; background: var(--input); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.builder__summary dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.builder__summary dl > div { padding-bottom: 12px; border-bottom: 1px solid #ECEDF0; }
.builder__summary dt { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.builder__summary dd { margin: 3px 0 0; font-size: 15px; }
.builder__summary dd.is-empty { color: #9A9EA8; }
.builder__done { display: none; flex-direction: column; gap: 18px; }
.builder.is-done .builder__done { display: flex; }
.builder.is-done .builder__step, .builder.is-done .builder__nav { display: none; }
.done-icon { width: 60px; height: 60px; border-radius: 16px; background: #FDEDEC; border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; color: var(--accent-text); }
.next-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 10px; }
.next-steps li { background: var(--surface-2); border: 1px solid #E4E5E9; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.next-steps li span:first-child { color: var(--accent-text); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Prose (legal, about) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 1.2vw + 18px, 30px); margin: 40px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: #3C404A; margin-bottom: 14px; }
.prose ul { padding-left: 22px; }
.note-box { border: 1px dashed var(--accent-line); background: #FDF3F2; color: #A8231B; border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; }

/* Partners */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.logo-tile { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px 18px; display: flex; flex-direction: column; gap: 4px; }
.logo-tile strong { font-size: 17px; }
.logo-tile span { font-size: 13px; color: var(--muted-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .meter__fill { transition: none; }
  .parallax-layer { transform: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }
@media (max-width: 860px) { .hero .frame { opacity: .25; } }

/* =========================================================
   Modern layer: glass, glow, marquee, bento, spotlight
   ========================================================= */
:root { --glass: rgba(255, 255, 255, 0.72); --glass-line: rgba(17, 17, 17, 0.08); --radius-lg: 24px; }
body { background: radial-gradient(1200px 600px at 80% -10%, rgba(225, 37, 27, 0.10), transparent 60%), var(--bg); background-repeat: no-repeat; }

/* Floating glass header */
.site-header { top: 12px; background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 12px; margin-top: 12px; }
.site-header__bar { max-width: calc(var(--max) - 16px); background: var(--glass); border: 1px solid var(--glass-line); border-radius: 18px; padding: 10px 10px 10px 18px; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 10px 40px rgba(17, 17, 17, 0.08); }
.nav { gap: 6px; }
.nav > a:not(.btn) { padding: 8px 14px; border-radius: 10px; transition: background .2s ease, color .2s ease; }
.nav > a:not(.btn):hover { background: rgba(17, 17, 17, 0.05); color: var(--text); }
.nav > a[aria-current="page"] { background: rgba(225, 37, 27, 0.12); }
.mobile-nav { max-width: calc(var(--max) - 16px); margin: 8px auto 0; background: rgba(255, 255, 255, 0.98); border: 1px solid var(--glass-line); border-radius: 18px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.mobile-nav a:not(.btn):last-of-type { border-bottom: 0; }
main { margin-top: -78px; }
.hero__inner, .page-hero__inner { padding-top: clamp(130px, 13vw, 170px) !important; }
.section:first-child { padding-top: clamp(120px, 12vw, 150px); }

/* Glass surfaces */
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Hero glow + headline */
.hero__glow, .section-glow, .cta-band__glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); }
.hero__glow { width: 720px; height: 520px; right: -120px; top: 40px; background: radial-gradient(closest-side, rgba(225, 37, 27, 0.16), rgba(225, 37, 27, 0.08) 60%, transparent); animation: glow 12s ease-in-out infinite alternate; }
.section-glow { width: 640px; height: 420px; left: 50%; top: 20%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(225, 37, 27, 0.10), transparent); }
.cta-band__glow { width: 420px; height: 320px; right: -80px; top: -120px; background: radial-gradient(closest-side, rgba(225, 37, 27, 0.16), transparent); }
@keyframes glow { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.15); } }
.hero--modern .grid-bg { -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); }
.h1--xl { font-size: clamp(42px, 5.2vw + 10px, 80px); line-height: 1.0; letter-spacing: -0.04em; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(255, 90, 79, .6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 79, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 79, 0); } }

/* Supply path visual */
.path { flex: 1 1 400px; min-width: 0; border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 26px); box-shadow: 0 30px 80px rgba(17, 17, 17, .10); }
.path__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; margin-bottom: 18px; }
.path__list { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 14px; }
.path__list::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--line-3), var(--line-3)); }
.path__list::after { content: ""; position: absolute; z-index: 0; left: 16px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 14px 4px rgba(255, 90, 79, .55); animation: travel 4.5s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes travel { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(calc(var(--path-h, 300px) - 40px)); opacity: 0; } }
.path__node { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 0; border-radius: 14px; opacity: 0; transform: translateX(12px); animation: nodeIn .6s ease forwards; animation-delay: calc(var(--i) * 120ms + 200ms); }
@keyframes nodeIn { to { opacity: 1; transform: none; } }
.path__dot { position: relative; z-index: 2; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--surface-2); border: 1px solid var(--line-3); color: var(--accent-text); }
.path__node strong { font-size: 16px; }
.path__node .stack span { font-size: 13px; color: var(--muted); }
.path__node.is-hi { background: rgba(225, 37, 27, 0.10); border: 1px solid var(--accent-line); padding-left: 0; margin-left: -1px; }
.path__node.is-hi .path__dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 24px rgba(225, 37, 27, .55); }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(243, 244, 246, .7); padding: 22px 0 26px; overflow: hidden; }
.marquee__label { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; align-items: center; flex: 0 0 auto; }
.marquee__item { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--text-2); white-space: nowrap; padding: 0 28px; }
.marquee__sep { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee { -webkit-mask-image: none; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento__tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.bento__tile--a { grid-column: span 4; grid-row: span 2; }
.bento__tile--b { grid-column: span 2; }
.bento__tile--c { grid-column: span 2; }
.bento__tile--d { grid-column: span 6; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(120deg, rgba(225, 37, 27, 0.14), #FFFFFF 55%); border-color: var(--accent-line); }
.bento__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; margin-top: auto; }
@media (max-width: 960px) { .bento__tile--a, .bento__tile--d { grid-column: span 6; } .bento__tile--b, .bento__tile--c { grid-column: span 3; } }
@media (max-width: 640px) { .bento__tile--b, .bento__tile--c { grid-column: span 6; } }

/* Spotlight hover */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 37, 27, 0.06), transparent 60%); }
.spot:hover::before { opacity: 1; }
.spot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .3s ease; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 37, 27, 0.55), transparent 65%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::after { opacity: 1; }
.card, .channel-card, .mini-card, .logo-tile { border-radius: var(--radius-lg); }
.mini-card { border-radius: 16px; }

/* Buttons */
.btn--primary { box-shadow: 0 8px 24px rgba(225, 37, 27, .35), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(225, 37, 27, .45), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn--arrow svg { transition: transform .2s ease; }
.btn--arrow:hover svg { transform: translateX(4px); }
.btn--ghost { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Inner page heroes get the glow too */
.page-hero::before { content: ""; position: absolute; width: 640px; height: 420px; right: -100px; top: -60px; border-radius: 50%; filter: blur(80px); background: radial-gradient(closest-side, rgba(225, 37, 27, 0.12), transparent); pointer-events: none; }
.page-hero .grid-bg { -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 70%); }

/* Builder in glass */
.builder.glass { background: rgba(255, 255, 255, 0.8); border-radius: 28px; }

/* Staggered reveal for grids */
.grid > .reveal:nth-child(2), .bento > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .bento > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .bento > .reveal:nth-child(4) { transition-delay: .24s; }

@media (max-width: 860px) {
  .hero__glow { width: 420px; height: 360px; right: -160px; top: 120px; }
  .site-header { top: 8px; margin-top: 8px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__glow, .live-dot, .marquee__track, .path__list::after { animation: none; }
  .path__node { animation: none; opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__row[aria-hidden="true"] { display: none; }
}
.bento__list { grid-template-columns: 1fr; }
.bento__list .mini-card { flex-direction: row-reverse; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 16px 18px; }
.bento__list .mini-card .pkg-card__top { gap: 14px; }
@media (max-width: 860px) {
  .pill-eyebrow { font-size: 11px; letter-spacing: .06em; padding: 7px 12px; }
}

/* Brand "live corner": red dot on the open corner of a frame, echoing the logo */
.frame--dot::after { content: ""; position: absolute; right: -14px; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px rgba(225, 37, 27, .6); }
.brand img { height: 34px; width: auto; }
.site-footer__brand img { height: 52px; width: auto; }
@media (max-width: 860px) { .brand img { height: 30px; } }
.brand__logo { height: 60px; width: auto; display: block; }
@media (max-width: 860px) { .brand__logo { height: 48px; } }

/* Light theme fine-tuning */
.opt-chip[aria-pressed="true"] { color: var(--accent-text); }
.chip[aria-pressed="true"] { background: #111111; border-color: #111111; color: #FFFFFF; }
.site-header__bar { box-shadow: 0 8px 30px rgba(17, 17, 17, 0.06); }
.card, .channel-card, .bento__tile, .mini-card, .logo-tile, .filters, .builder, .pkg-side, .path { box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04); }
.hero__panel, .path { box-shadow: 0 24px 60px rgba(17, 17, 17, 0.08); }
.section--alt { background: var(--bg-2); }
.page-hero { background: linear-gradient(#FFFFFF, var(--bg)); }
.marquee__item { color: #3C404A; }
.btn--ghost:hover { border-color: #111111; }
.btn--card:hover { border-color: #111111; }
::selection { background: rgba(225, 37, 27, 0.18); }
.req { color: var(--accent-text); font-weight: 700; }
.turnstile { min-height: 65px; }

/* =========================================================
   Rich layer — colour, depth and illustration
   ========================================================= */
body { background: #FBFAF9; }

/* Gradient mesh (hero + page heroes) */
.mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mesh__b { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.mesh__b--1 { width: 620px; height: 620px; right: -120px; top: -180px; background: radial-gradient(circle at 40% 40%, #FF6B4A, rgba(225, 37, 27, 0) 70%); animation: mesh-a 18s ease-in-out infinite alternate; }
.mesh__b--2 { width: 520px; height: 520px; left: 28%; top: 120px; background: radial-gradient(circle, rgba(255, 176, 120, .85), rgba(255, 176, 120, 0) 70%); animation: mesh-b 22s ease-in-out infinite alternate; }
.mesh__b--3 { width: 460px; height: 460px; left: -140px; top: 260px; background: radial-gradient(circle, rgba(124, 58, 237, .30), rgba(124, 58, 237, 0) 70%); animation: mesh-a 26s ease-in-out infinite alternate-reverse; }
.mesh--soft .mesh__b { opacity: .38; }
.mesh--soft .mesh__b--2 { top: 40px; left: 52%; }
@keyframes mesh-a { to { transform: translate(-60px, 50px) scale(1.08); } }
@keyframes mesh-b { to { transform: translate(70px, -40px) scale(.94); } }
.hero--rich, .page-hero--rich { background: linear-gradient(180deg, #FFF6F2 0%, #FBFAF9 100%); }
.hero--rich .container, .page-hero--rich .container { position: relative; z-index: 1; }
.page-hero--rich { border-bottom-color: #F1E6E1; }

.grad-text { background: linear-gradient(100deg, #E1251B 10%, #FF5A3C 55%, #F59E0B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Floating cards on the hero path */
.path { overflow: visible; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #EFE7E3; border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px rgba(17, 17, 17, .12); font-size: 13px; color: var(--muted); animation: floaty 6s ease-in-out infinite; }
.float-card strong { color: var(--text); font-size: 14px; }
.float-card--a { left: -56px; bottom: -28px; }
.float-card--b { right: -36px; top: -44px; flex-direction: column; align-items: stretch; gap: 8px; width: 210px; animation-delay: -3s; }
.float-card__check { width: 34px; height: 34px; border-radius: 10px; background: #16A34A; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(22, 163, 74, .35); }
.float-card__check svg { width: 18px; height: 18px; }
.float-card__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.mix { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; }
.mix i { width: var(--w); background: var(--c); }
.mix-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.mix-legend b { width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-left: 4px; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .float-card--a { left: -12px; } .float-card--b { right: -8px; } }
@media (max-width: 640px) { .float-card--b { display: none; } .float-card--a { left: 12px; bottom: -22px; } }

/* Marquee on a warm band */
.marquee { background: #fff; }

/* Bento colour */
.bento__tile--b { background: #111111; border-color: #111111; color: #fff; }
.bento__tile--b .h3 { color: #fff; }
.bento__tile--b .muted { color: rgba(255, 255, 255, .68); }
.bento__tile--b .eyebrow { color: #FF7A63; }
.bento__tile--b .outline-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.bento__tile--c { background: linear-gradient(160deg, #FFF1EC, #FFFFFF 70%); border-color: #F6DDD5; }
.bento__tile--d { background: linear-gradient(115deg, #E1251B 0%, #FF5A3C 60%, #FF8A4C 100%); border-color: transparent; color: #fff; box-shadow: 0 24px 60px rgba(225, 37, 27, .25); }
.bento__tile--d .h3 { color: #fff; }
.bento__tile--d .muted { color: rgba(255, 255, 255, .85); }
.bento__tile--d .eyebrow { color: #FFE2D9; }
.bento__tile--d .btn--primary { background: #fff; color: var(--accent-text); box-shadow: 0 10px 24px rgba(17, 17, 17, .18); }
.bento__tile--d .btn--primary:hover { background: #FFF4F1; color: var(--accent-hover); }
.bento__tile--a { background: #fff; }

/* Channel cards with illustration */
.channel-card--rich { position: relative; overflow: hidden; padding: 0 0 26px; gap: 10px; }
.channel-card--rich > :not(.channel-card__art) { margin-left: 26px; margin-right: 26px; }
.channel-card--rich .channel-card__icon { display: none; }
.channel-card--rich:hover { border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 22px 50px color-mix(in srgb, var(--c) 18%, transparent); }
.channel-card--rich .link-arrow { color: var(--c); }
.channel-card__art { display: block; height: 150px; margin-bottom: 8px; position: relative; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 16%, #fff), color-mix(in srgb, var(--c) 6%, #fff)); border-bottom: 1px solid color-mix(in srgb, var(--c) 14%, #fff); }
.channel-card__art::after { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; top: -70px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); }
.art { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; transition: transform .35s ease; }
.channel-card--rich:hover .art { transform: translate(-50%, -54%) scale(1.04); }
.art__line { display: block; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--c) 18%, #E8E9EC); }
.w60 { width: 60%; } .w70 { width: 70%; } .w90 { width: 90%; }
.art__play { width: 0; height: 0; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.art__play--sm { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
.art__tag { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
/* display */
.art--display { width: 170px; background: #fff; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 12px 28px rgba(17, 17, 17, .10); }
.art__bar { display: block; height: 6px; width: 34%; border-radius: 3px; background: #D9DBE0; }
.art__ad { display: grid; place-items: center; height: 38px; border-radius: 6px; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 40%, transparent); }
/* video */
.art--video { width: 180px; display: flex; flex-direction: column; gap: 8px; }
.art__screen { height: 96px; border-radius: 12px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #111)); display: grid; place-items: center; box-shadow: 0 14px 30px color-mix(in srgb, var(--c) 35%, transparent); }
.art__progress { height: 6px; border-radius: 3px; background: rgba(17, 17, 17, .10); overflow: hidden; }
.art__progress i { display: block; height: 100%; width: 40%; background: var(--c); animation: prog 4s linear infinite; }
@keyframes prog { from { width: 8%; } to { width: 96%; } }
/* audio */
.art__wave { display: flex; align-items: center; gap: 5px; height: 80px; }
.art__wave i { display: block; width: 7px; height: 30%; border-radius: 4px; background: var(--c); animation: wave 1.2s ease-in-out infinite; animation-delay: calc(var(--d) * -0.11s); }
.art__wave i:nth-child(3n) { opacity: .6; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
/* native feed */
.art--feed { width: 180px; display: flex; flex-direction: column; gap: 8px; }
.art__post { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 8px 20px rgba(17, 17, 17, .08); }
.art__post.is-ad { outline: 2px solid color-mix(in srgb, var(--c) 55%, transparent); }
.art__thumb { flex: 0 0 34px; height: 34px; border-radius: 7px; background: #E3E5E9; }
.is-ad .art__thumb { background: var(--c); }
.art__lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.art__post--video { height: 64px; justify-content: center; position: relative; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #111)); }
.art__post--video .art__tag { position: absolute; left: 8px; bottom: 6px; color: #fff; }
/* ctv */
.art--ctv { display: flex; flex-direction: column; align-items: center; }
.art__tv { width: 170px; height: 100px; border-radius: 10px; border: 5px solid #1B1C21; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 45%, #111)); display: grid; place-items: center; box-shadow: 0 14px 30px rgba(17, 17, 17, .22); }
.art__stand { width: 60px; height: 6px; margin-top: 6px; border-radius: 3px; background: #1B1C21; }
@media (prefers-reduced-motion: reduce) { .art__wave i, .art__progress i, .mesh__b, .float-card { animation: none; } }

/* Dark "How it works" band */
.section--dark { position: relative; overflow: hidden; background: #0F0F12; color: #fff; border: 0; }
.section--dark .h2 { color: #fff; }
.section--dark .eyebrow { color: #FF7A63; }
.dark-glow { position: absolute; width: 900px; height: 600px; left: 50%; top: -260px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(225, 37, 27, .35), transparent); filter: blur(30px); pointer-events: none; }
.section--dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); pointer-events: none; }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.step-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .10); }
.step-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #E1251B, #FF6B4A); color: #fff; box-shadow: 0 10px 24px rgba(225, 37, 27, .4); margin-bottom: 6px; }
.step-card__icon svg { width: 22px; height: 22px; }
.section--dark .step-num { font-size: 15px; color: #FF7A63; letter-spacing: .1em; }
.section--dark .step-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; }
.step-card__body { color: rgba(255, 255, 255, .66); font-size: 15px; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid rgba(255, 255, 255, .10); }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact__num { font-family: var(--font-display); font-size: clamp(40px, 3vw + 16px, 60px); font-weight: 700; line-height: 1; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact__label { color: rgba(255, 255, 255, .62); font-size: 14px; }
@media (max-width: 860px) { .steps-row { grid-template-columns: 1fr; } .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CTA band: full brand gradient */
.cta-band { background: linear-gradient(115deg, #C81E15 0%, #E1251B 35%, #FF5A3C 75%, #FF8A4C 100%); border: 0; color: #fff; box-shadow: 0 30px 70px rgba(225, 37, 27, .28); }
.cta-band .h2 { color: #fff; }
.cta-band .muted { color: rgba(255, 255, 255, .86); }
.cta-band .btn--primary { background: #fff; color: var(--accent-text); box-shadow: 0 10px 24px rgba(17, 17, 17, .18); }
.cta-band .btn--primary:hover { background: #FFF4F1; color: var(--accent-hover); }
.cta-band .btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .2); }
.cta-band .frame { border-color: rgba(255, 255, 255, .35); }
.cta-band .frame--dot::after { background: #fff; box-shadow: 0 0 24px rgba(255, 255, 255, .7); }
.cta-band__glow { opacity: .5; }

/* Package cards: channel accent */
.pkg-card { position: relative; overflow: hidden; border-top: 4px solid var(--c, var(--accent)); transition: transform .2s ease, box-shadow .2s ease; }
.pkg-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px color-mix(in srgb, var(--c, #E1251B) 16%, transparent); }
.pkg-card .tag { background: color-mix(in srgb, var(--c, #E1251B) 12%, #fff); color: color-mix(in srgb, var(--c, #E1251B) 80%, #111); }
.pkg-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c, #E1251B) 14%, transparent), transparent 70%); pointer-events: none; }
.mini-card .tag { background: #FDEDEC; color: #B4141C; }

/* Dark footer */
.site-footer { background: #0F0F12; border-top: 0; color: rgba(255, 255, 255, .8); }
.site-footer__brand p { color: rgba(255, 255, 255, .6); }
.site-footer__brand a[href^="mailto"] { color: #fff; }
.site-footer__head { color: #fff; }
.site-footer__cols a { color: rgba(255, 255, 255, .62); }
.site-footer__cols a:hover { color: #fff; }
.site-footer__bottom { border-top-color: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .5); }
.site-footer__bottom a { color: rgba(255, 255, 255, .5); }
.site-footer__bottom a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.float-card--a { left: -72px; bottom: -52px; }
.float-card--b { right: -56px; top: -78px; }
@media (max-width: 1100px) { .float-card--a { left: -12px; } .float-card--b { right: -8px; } }
@media (max-width: 640px) { .float-card--a { left: 12px; bottom: -40px; } }
.hero--rich .hero__inner { padding-bottom: clamp(80px, 8vw, 112px); }
.ch-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 4px; }
.ch-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--c) 80%, #111); background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 20%, #fff); }
.ch-pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.section--warm { background: radial-gradient(1200px 500px at 85% 0%, #FFEDE6 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, #F2EDFF 0%, transparent 60%), #FBFAF9; }
.float-card--a { bottom: -40px; }
.point-card { position: relative; overflow: hidden; border-top: 4px solid var(--c); }
.point-card::before { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); }
.point-card__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--c); }

/* Partner badges (text-only until logos are approved) */
.p-group { --g: #E1251B; display: flex; flex-direction: column; gap: 18px; }
.p-group--supply { --g: #4338CA; }
.p-group--verify { --g: #0D9488; }
.p-group .eyebrow { color: var(--g); }
.p-group__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.p-group__count { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; color: color-mix(in srgb, var(--g) 22%, #fff); }
.p-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.p-badge { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.p-badge:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--g) 35%, #fff); box-shadow: 0 16px 34px color-mix(in srgb, var(--g) 12%, transparent); }
.p-badge__mono { flex: 0 0 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, #1B1C22, #3A3D48); box-shadow: inset 0 -3px 0 var(--g), 0 6px 14px rgba(17, 17, 17, .14); }
.p-badge__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-badge__text strong { font-size: 16px; line-height: 1.3; }
.p-badge__text span { font-size: 13px; color: var(--muted-2); }
/* marquee badges */
.marquee__item--badge { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; padding: 8px 16px 8px 8px; margin: 0 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; box-shadow: 0 1px 2px rgba(17, 17, 17, .04); }
.m-mono { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1B1C22, #3A3D48); box-shadow: inset 0 -2px 0 var(--accent); }
.marquee { background: linear-gradient(180deg, #FBFAF9, #F6F3F1); }

/* Partners: supply-flow diagram */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(300px, 1.05fr) 72px minmax(0, 1fr); align-items: stretch; }
.flow__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.flow__label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flow__step { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); color: var(--accent-text); font-size: 12px; letter-spacing: 0; }
.flow__col--hub .flow__label { justify-content: center; }
.flow__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: center; position: relative; }
.flow-chip { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 12px 8px 8px; font-size: 13px; box-shadow: 0 1px 2px rgba(17, 17, 17, .04); transition: transform .2s ease, border-color .2s ease; }
.flow-chip:hover { transform: translateX(3px); border-color: var(--line-3); }
.flow-chip strong { font-size: 14px; line-height: 1.25; }
.flow-chip .stack > span { color: var(--muted-2); font-size: 12px; }
.flow-chip--supply .m-mono { box-shadow: inset 0 -2px 0 #4338CA; }
.flow-chip--dsp .m-mono { box-shadow: inset 0 -2px 0 #E1251B; }
.m-mono--teal { box-shadow: inset 0 -2px 0 #2DD4BF !important; }
/* brackets joining chips to the pipe */
.flow-chip::after { content: ""; position: absolute; top: 50%; width: 18px; height: 2px; background: #D9DBE1; }
.flow-chip--supply::after { right: -19px; }
.flow-chip--dsp::after { left: -19px; }
.flow__col--supply .flow__list::after, .flow__col--dsp .flow__list::after { content: ""; position: absolute; top: 22px; bottom: 22px; width: 2px; background: #D9DBE1; border-radius: 2px; }
.flow__col--supply .flow__list::after { right: -19px; }
.flow__col--dsp .flow__list::after { left: -19px; }
.flow__col--supply .flow__list { margin-right: 19px; }
.flow__col--dsp .flow__list { margin-left: 19px; }
/* animated pipes */
.flow__link { display: flex; align-items: center; padding-top: 44px; }
.flow__pipe { position: relative; display: block; width: 100%; height: 4px; border-radius: 4px; overflow: hidden; background: #E6E2DF; }
.flow__link:first-of-type .flow__pipe, .flow__col--supply + .flow__link .flow__pipe { margin-left: -19px; width: calc(100% + 19px); }
.flow__col--hub + .flow__link .flow__pipe { margin-right: -19px; width: calc(100% + 19px); }
.flow__pipe::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #E1251B 0 10px, transparent 10px 22px); animation: pipe 1.1s linear infinite; }
@keyframes pipe { from { transform: translateX(-22px); } to { transform: translateX(0); } }
/* hub */
.hub { position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 26px 26px; border-radius: 24px; background: #111114; color: #fff; box-shadow: 0 30px 70px rgba(17, 17, 17, .22); }
.hub__glow { position: absolute; width: 380px; height: 300px; top: -160px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(225, 37, 27, .55), transparent); filter: blur(10px); pointer-events: none; }
.hub > * { position: relative; }
.hub__mark { width: 56px; height: 56px; }
.hub__title { font-family: var(--font-display); font-size: 22px; }
.hub__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; }
.hub__checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .82); padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.hub__checks li > span { flex: 0 0 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg, #E1251B, #FF6B4A); }
.hub__checks svg { width: 14px; height: 14px; }
.hub__verify { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(45, 212, 191, .45); background: rgba(45, 212, 191, .06); text-align: left; font-size: 12px; color: rgba(255, 255, 255, .6); }
.hub__verify strong { color: #fff; font-size: 14px; }
.hub__deal { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--accent-text); }
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; width: 100%; }
  .flow__link { padding: 0; height: 56px; justify-content: center; }
  .flow__pipe, .flow__col--supply + .flow__link .flow__pipe, .flow__col--hub + .flow__link .flow__pipe { width: 4px; height: 100%; margin: 0; }
  .flow__pipe::before { background: repeating-linear-gradient(180deg, #E1251B 0 10px, transparent 10px 22px); animation-name: pipe-v; }
  .flow__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0 !important; }
  .flow-chip::after, .flow__list::after { display: none; }
  .flow__label { justify-content: center; }
}
@keyframes pipe-v { from { transform: translateY(-22px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .flow__pipe::before { animation: none; } }
.hub > * { position: static; }
.hub > *:not(.hub__glow) { position: relative; }
.hub__glow { position: absolute; }
.hub { justify-content: center; }
.hub__deal { margin-top: 4px; }
.flow__list { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; }
@media (max-width: 640px) { .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow-chip { padding: 7px 8px 7px 7px; gap: 8px; } .flow-chip strong { font-size: 13px; } .flow-chip .m-mono { width: 26px; height: 26px; flex: 0 0 26px; font-size: 10px; } }

/* =========================================================
   Header — refined
   ========================================================= */
.site-header__bar { position: relative; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px; padding: 8px 8px 8px 18px; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 40px rgba(17, 17, 17, .08); transition: padding .25s ease, background .25s ease, box-shadow .25s ease, border-radius .25s ease; }
.site-header__bar::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(110deg, rgba(225, 37, 27, .45), rgba(255, 138, 76, .25) 30%, rgba(17, 17, 17, .06) 60%, rgba(124, 58, 237, .18)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.site-header.is-scrolled .site-header__bar { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 16px 44px rgba(17, 17, 17, .12); padding-top: 4px; padding-bottom: 4px; }
.brand__logo { transition: height .25s ease; }
.site-header.is-scrolled .brand__logo { height: 46px; }
.nav { gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 500; color: var(--text-2); background: none; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease; }
.nav > .nav__link:not(.btn), .nav__trigger { padding: 9px 14px; }
.nav__link:hover, .nav__dd.is-open .nav__trigger { background: rgba(17, 17, 17, .05); color: var(--text); }
.nav__link[aria-current="page"] { background: transparent; color: var(--accent-text); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(225, 37, 27, .6); }
.nav__link--quiet { color: var(--muted); }
.nav__chev { transition: transform .2s ease; opacity: .7; }
.nav__dd.is-open .nav__chev { transform: rotate(180deg); }
.nav__sep { width: 1px; height: 22px; background: var(--line-3); margin: 0 8px; }
.nav__cta { margin-left: 6px; border-radius: 12px; position: relative; overflow: hidden; }
.nav__cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
/* dropdown */
.nav__dd { position: relative; }
.menu { position: absolute; top: calc(100% + 14px); left: 50%; width: 600px; transform: translateX(-50%) translateY(8px); opacity: 0; visibility: hidden; pointer-events: none; background: rgba(255, 255, 255, .97); border: 1px solid var(--line-2); border-radius: 20px; padding: 10px; box-shadow: 0 30px 70px rgba(17, 17, 17, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav__dd.is-open .menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; color: var(--text); transition: background .15s ease; }
.menu-item:hover { background: color-mix(in srgb, var(--c) 7%, #fff); color: var(--text); }
.menu-item__icon { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); transition: transform .2s ease, background .2s ease, color .2s ease; }
.menu-item:hover .menu-item__icon { background: var(--c); color: #fff; transform: scale(1.05); }
.menu-item__icon .channel-card__icon { width: 20px; height: 20px; color: inherit; }
.menu-item__text { display: flex; flex-direction: column; gap: 2px; }
.menu-item__text strong { font-size: 15px; }
.menu-item__text span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 14px 8px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.menu__foot .link-arrow { font-size: 14px; }
@media (max-width: 1080px) { .nav__link--quiet, .nav__sep { display: none; } }
/* burger */
.nav-toggle { border-radius: 12px; background: #fff; }
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
/* mobile menu */
.mobile-nav.is-open { animation: drop .22s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mob-label { display: block; padding: 14px 4px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.mob-chs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #ECEDF0; }
.mobile-nav a.mob-ch { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--c) 22%, #fff); border-radius: 12px; background: color-mix(in srgb, var(--c) 7%, #fff); font-size: 14px; font-weight: 600; }
.mob-ch b { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
@media (prefers-reduced-motion: reduce) { .nav__cta::after { animation: none; display: none; } }

.float-card--b { top: -52px; }

/* DSP strip (still row, replaces the scrolling marquee) */
.dsp-strip { background: linear-gradient(180deg, #FBFAF9, #F6F3F1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(22px, 3vw, 30px) 0; }
.dsp-strip__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dsp-strip__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.dsp-strip__row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.dsp-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; padding: 7px 16px 7px 7px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; box-shadow: 0 1px 2px rgba(17, 17, 17, .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dsp-badge:hover { transform: translateY(-2px); border-color: rgba(225, 37, 27, .3); box-shadow: 0 10px 24px rgba(225, 37, 27, .1); }
@media (max-width: 640px) { .dsp-badge { font-size: 13px; padding: 5px 12px 5px 5px; } .dsp-badge .m-mono { width: 26px; height: 26px; font-size: 10px; } }

/* Partners flow v2: supply sources inside the Bidframe hub */
.flow--2 { grid-template-columns: minmax(0, 1.55fr) 96px minmax(0, 1fr); }
.hub--wide { padding: 0; min-height: 520px; justify-content: center; }
.hub-bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-around; padding: 18px 0; transform: rotate(-8deg) scale(1.25); opacity: .9; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,.08) 0%, rgba(0,0,0,.08) 45%, #000 85%); mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,.08) 0%, rgba(0,0,0,.08) 45%, #000 85%); pointer-events: none; }
.hub-bg__row { overflow: hidden; }
.hub-bg__track { display: flex; gap: 12px; width: max-content; animation: hub-drift var(--dur) linear infinite; animation-direction: var(--dir); }
@keyframes hub-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hub-src { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); font-size: 15px; font-weight: 600; white-space: nowrap; }
.hub-src .m-mono { box-shadow: inset 0 -2px 0 #6366F1; background: linear-gradient(135deg, #2A2C35, #454957); }
.hub__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 440px; margin: 0 auto; padding: 40px 28px; text-align: center; }
.hub__content::before { content: ""; position: absolute; inset: 10px -10px; z-index: -1; border-radius: 28px; background: radial-gradient(ellipse at center, rgba(17,17,20,.92) 40%, rgba(17,17,20,.55) 75%, transparent 100%); }
.hub--wide .hub__title { font-size: 24px; line-height: 1.2; }
.hub__lead { margin: 0; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.5; }
.flow--2 .flow__link { flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.flow--2 .flow__pipe { margin: 0 !important; width: 100% !important; }
.flow--2 .flow__col--hub + .flow__link .flow__pipe { margin-right: -19px !important; width: calc(100% + 19px) !important; }
.flow__deal { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); background: #fff; border: 1px solid #F3D3CF; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 1000px) {
  .flow--2 { grid-template-columns: 1fr; }
  .hub--wide { min-height: 0; }
  .flow--2 .flow__link { height: 84px; flex-direction: column; }
  .flow--2 .flow__pipe, .flow--2 .flow__col--hub + .flow__link .flow__pipe { width: 4px !important; height: 100%; margin: 0 !important; }
  .flow__deal { position: absolute; top: 50%; left: 50%; transform: translate(12px, -50%); }
}
@media (prefers-reduced-motion: reduce) { .hub-bg__track { animation: none; } }
.hub-bg { justify-content: center; gap: 14px; padding: 0; transform: rotate(-8deg) scale(1.35); opacity: .75; -webkit-mask-image: radial-gradient(ellipse 46% 50% at 50% 52%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.18) 55%, #000 100%); mask-image: radial-gradient(ellipse 46% 50% at 50% 52%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.18) 55%, #000 100%); }
.hub__content::before { background: radial-gradient(ellipse at center, rgba(17,17,20,.75) 35%, rgba(17,17,20,.35) 70%, transparent 100%); }
.hub__content { padding: 48px 28px; }
.hub > .hub-bg { position: absolute; inset: 0; }
.hub-bg { opacity: .6; }
/* background names: plain text, no badges */
.hub-src { padding: 0; border: 0; background: none; border-radius: 0; gap: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: rgba(255,255,255,.55); }
.hub-bg__track { gap: 44px; }
.hub-bg { gap: 22px; }
.float-card--a { bottom: -66px; } @media (max-width: 640px) { .float-card--a { bottom: -56px; } }
.path__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.path__sub { display: inline-flex; align-items: center; gap: 6px; font-size: 12px !important; font-weight: 600; color: var(--accent-text) !important; background: #fff; border: 1px solid #F3CFCB; padding: 4px 10px; border-radius: 999px; }
.path__sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.float-card--a { bottom: -40px; } @media (max-width: 640px) { .float-card--a { bottom: -36px; } }
/* DSP names without badges */
.dsp-strip__row { gap: 10px 0; align-items: center; }
.dsp-name { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #3A3D46; padding: 4px 22px; transition: color .2s ease; }
.dsp-name + .dsp-name { border-left: 1px solid var(--line-3); }
.dsp-name:hover { color: var(--text); }
@media (max-width: 640px) { .dsp-name { font-size: 15px; padding: 4px 12px; } .dsp-name:nth-child(odd) { border-left: 0; } }
.flow-chip { padding: 10px 14px; }
@media (max-width: 640px) { .dsp-name, .dsp-name + .dsp-name { border-left: 0; padding: 4px 10px; } .dsp-strip__row { gap: 6px 4px; } }
.float-card--b { width: 270px; }
.mix-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
.mix-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.mix-key b { width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin: 0; flex: 0 0 8px; }
.float-card--b { width: 340px; top: -74px; right: -80px; padding: 10px 14px; gap: 7px; }
.mix-legend { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 4px 12px; }
@media (max-width: 1100px) { .float-card--b { right: -8px; } }
.float-card__check--pending { background: #F59E0B; box-shadow: 0 6px 16px rgba(245, 158, 11, .35); }
.qual-list { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.qual-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.qual-list li > span { flex: 0 0 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #E1251B, #FF6B4A); color: #fff; box-shadow: 0 6px 14px rgba(225, 37, 27, .25); }
.qual-list svg { width: 14px; height: 14px; }
.float-card__check--brand { background: #111114; box-shadow: 0 6px 16px rgba(17, 17, 17, .28); } .float-card__check--brand img { width: 22px; height: 22px; display: block; }
.float-card__check--send { background: linear-gradient(135deg, #E1251B, #FF5A3C); box-shadow: 0 6px 16px rgba(225, 37, 27, .35); } .float-card__check--send svg { width: 18px; height: 18px; }
.opt-chip.is-disabled, .opt-chip:disabled { opacity: .38; cursor: not-allowed; background: #F1F1F3; border-color: #E4E5E9; color: #8A8F99; box-shadow: none; transform: none; }
.opt-chip.is-disabled:hover { background: #F1F1F3; border-color: #E4E5E9; }
.field-note { font-size: 13px; color: var(--muted-2); }

/* Device cards (deal builder, step 3) */
.dev-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.dev-head__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.dev-head__right .btn { padding: 7px 14px; font-size: 13px; }
.dev-head__right .btn:disabled { opacity: .45; cursor: not-allowed; }
.dev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dev-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 14px 18px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line-2); font: inherit; color: var(--text); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.dev-card:hover:not(:disabled) { border-color: rgba(225, 37, 27, .35); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 17, 17, .06); }
.dev-card__radio { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #C9CBD2; background: #fff; transition: border-color .2s ease; }
.dev-card__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #F2F3F5; color: #5B606B; margin-bottom: 4px; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.dev-card__icon svg { width: 24px; height: 24px; }
.dev-card__name { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.dev-card__desc { font-size: 13px; line-height: 1.4; color: var(--muted); }
.dev-card[aria-pressed="true"] { border-color: var(--accent); background: #FFF8F6; box-shadow: 0 0 0 3px rgba(225, 37, 27, .10), 0 12px 28px rgba(225, 37, 27, .10); }
.dev-card[aria-pressed="true"] .dev-card__icon { background: linear-gradient(135deg, #E1251B, #FF5A3C); color: #fff; box-shadow: 0 8px 18px rgba(225, 37, 27, .3); }
.dev-card[aria-pressed="true"] .dev-card__radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 5px, #fff 5.5px); }
.dev-card:disabled, .dev-card.is-disabled { cursor: not-allowed; background: #FCFCFD; border-color: #ECEDF0; box-shadow: none; transform: none; }
.dev-card:disabled > * { opacity: .38; }
@media (max-width: 640px) { .dev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .dev-card { padding: 18px 10px 14px; } .dev-card__desc { font-size: 12px; } .dev-head__right { align-items: flex-start; flex-direction: row; align-items: center; } }
.geo-custom { display: contents; }
.geo-add { display: flex; gap: 8px; max-width: 420px; }
.geo-add .input { flex: 1; min-height: 42px; }

/* Device picker v2: grouped list rows with switches */
.dev-head { align-items: center; }
.dev-head__right { flex-direction: row; align-items: center; gap: 10px; }
.dev-count { font-size: 12px; font-weight: 600; color: var(--accent-text); background: #FDEDEC; padding: 4px 10px; border-radius: 999px; }
.dev-clear { font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 4px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.dev-clear:hover { color: var(--text); }
.dev-clear:disabled { opacity: .4; cursor: not-allowed; text-decoration: none; }
.dev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dev-group { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.dev-group__label { padding: 10px 16px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); background: #FAFAFB; border-bottom: 1px solid var(--line); }
.dev-card { flex-direction: row; align-items: center; text-align: left; gap: 12px; padding: 12px 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none !important; }
.dev-card + .dev-card { border-top: 1px solid var(--line); }
.dev-card:hover:not(:disabled) { transform: none; background: #FBFBFC; border-color: var(--line); }
.dev-card__icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; margin: 0; background: #F2F3F5; }
.dev-card__icon svg { width: 19px; height: 19px; }
.dev-card__text { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dev-card__name { font-family: var(--font); font-size: 15px; font-weight: 600; }
.dev-card__desc { font-size: 12.5px; }
.dev-card__switch { flex: 0 0 36px; width: 36px; height: 20px; border-radius: 999px; background: #DADCE1; position: relative; transition: background .2s ease; }
.dev-card__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(17,17,17,.25); transition: transform .2s ease; }
.dev-card[aria-pressed="true"] { background: #FFFAF9; border-color: var(--line); }
.dev-card[aria-pressed="true"] .dev-card__icon { background: #FDEDEC; color: var(--accent); box-shadow: none; }
.dev-card[aria-pressed="true"] .dev-card__switch { background: var(--accent); }
.dev-card[aria-pressed="true"] .dev-card__switch::after { transform: translateX(16px); }
.dev-card:disabled { background: #FCFCFD; }
.dev-card:disabled > * { opacity: .4; }
@media (max-width: 760px) { .dev-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .dev-grid { grid-template-columns: 1fr; } .dev-card { padding: 11px 14px; } .dev-card__desc { font-size: 12px; } .dev-head__right { flex-direction: row; } }
.opt.is-disabled, .opt:disabled { opacity: .4; cursor: not-allowed; background: #F4F4F6; border-color: #E6E7EA; box-shadow: none; }
.opt.is-disabled:hover, .opt:disabled:hover { border-color: #E6E7EA; }

/* Market picker: searchable list with a scrollbar */
.geo-picker { position: relative; max-width: 460px; font-family: var(--font); }
.geo-picker__bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 14px; background: #fff; border: 1px solid var(--line-3); border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.geo-picker.is-open .geo-picker__bar, .geo-picker__bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225, 37, 27, .12); }
.geo-picker__search { width: 17px; height: 17px; color: var(--muted-2); flex: 0 0 17px; }
.geo-picker__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--text); }
.geo-picker__input::placeholder { color: #9A9EA8; font-weight: 400; }
.geo-picker__toggle { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; background: #F4F4F6; color: var(--muted); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.geo-picker__toggle:hover { background: #ECECEF; color: var(--text); }
.geo-picker.is-open .geo-picker__toggle svg { transform: rotate(180deg); }
.geo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 50px rgba(17, 17, 17, .14); scrollbar-width: thin; scrollbar-color: #C7C9CF transparent; }
.geo-list::-webkit-scrollbar { width: 10px; }
.geo-list::-webkit-scrollbar-track { background: transparent; margin: 6px; }
.geo-list::-webkit-scrollbar-thumb { background: #C7C9CF; border-radius: 10px; border: 3px solid #fff; }
.geo-list::-webkit-scrollbar-thumb:hover { background: #A9ACB4; }
.geo-list__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.geo-list__item:hover, .geo-list__item.is-active { background: #F6F6F8; color: var(--text); }
.geo-list__check { width: 16px; height: 16px; color: var(--accent); opacity: 0; flex: 0 0 16px; }
.geo-list__item[aria-selected="true"] { color: var(--accent-text); font-weight: 600; }
.geo-list__item[aria-selected="true"] .geo-list__check { opacity: 1; }
.geo-list__add { color: var(--accent-text); font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px; }
.geo-list__item[hidden] { display: none; }
.geo-picker--filter { max-width: none; margin-top: 4px; }
.geo-picker--filter .geo-picker__bar { height: 42px; }
.geo-picker--filter .geo-picker__input { font-size: 14px; }
.geo-picker--filter .geo-list { max-height: 260px; }
.geo-picker--filter .geo-list__item { font-size: 14px; padding: 8px 10px; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mp-chips:empty { display: none; }
.mp-chip { font: inherit; font-size: 13px; font-weight: 600; color: var(--accent-text); background: #FDEDEC; border: 1px solid #F3CFCB; border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.mp-chip:hover { background: #FBDCD9; }
.filters fieldset { min-width: 0; }
.geo-picker--filter { width: 100%; min-width: 0; }
.geo-picker--filter .geo-picker__bar { padding: 0 4px 0 10px; }
.geo-picker--filter .geo-list { z-index: 40; }
.filters { z-index: 5; }
.geo-picker--filter .geo-list { top: 48px; }

/* =========================================================
   Inventory Sources page (preview)
   ========================================================= */
.src-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.src-checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.src-checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.src-checks li > span { flex: 0 0 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #E1251B, #FF6B4A); color: #fff; box-shadow: 0 8px 18px rgba(225, 37, 27, .28); }
.src-checks svg { width: 15px; height: 15px; }

/* Orbit */
.orb { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.orb::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(225, 37, 27, .10), rgba(255, 138, 76, .06) 45%, transparent 70%); }
.orb__ring { position: absolute; inset: 0; border-radius: 50%; animation: orb-spin 80s linear infinite; }
.orb__ring--inner { animation-duration: 60s; animation-direction: reverse; }
.orb__ring::before { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed rgba(17, 17, 17, .14); }
.orb__ring--outer::before { inset: 4%; }
.orb__ring--inner::before { inset: 20%; border-color: rgba(225, 37, 27, .22); }
.orb__slot { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--r) * 1cqw)) rotate(calc(-1 * var(--a))); }
.orb__pill { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 10px 26px rgba(17, 17, 17, .10); font-family: var(--font-display); font-weight: 600; font-size: clamp(12px, 2.6cqw, 15px); color: var(--text); animation: orb-spin 80s linear infinite reverse; }
.orb__ring--inner .orb__pill { animation-duration: 60s; animation-direction: normal; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
.orb__ring .orb__pill { transform-origin: center; }
/* keep pills centered on their slot while counter-rotating */
.orb__pill { translate: -50% -50%; transform: none; }
.orb__beams { position: absolute; inset: 0; }
.orb__beams i { position: absolute; left: 50%; top: 50%; width: 38%; height: 2px; transform-origin: 0 50%; transform: rotate(var(--a)); background: linear-gradient(90deg, transparent, rgba(225, 37, 27, .0)); overflow: hidden; }
.orb__beams i::after { content: ""; position: absolute; top: -2px; right: 0; width: 6px; height: 6px; border-radius: 50%; background: #E1251B; box-shadow: 0 0 10px rgba(225, 37, 27, .7); animation: orb-beam 2.8s ease-in infinite; animation-delay: var(--d); opacity: 0; }
@keyframes orb-beam { 0% { right: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { right: 78%; opacity: 0; } }
.orb__core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2A2B31, #111114 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 24px 60px rgba(17, 17, 17, .35), 0 0 0 10px rgba(255, 255, 255, .7), 0 0 0 11px rgba(17, 17, 17, .06); z-index: 2; }
.orb__core img { width: 30%; height: auto; }
.orb__core strong { color: #fff; font-family: var(--font-display); font-size: clamp(12px, 3.2cqw, 18px); letter-spacing: -.01em; }
.orb__pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(225, 37, 27, .45); animation: orb-pulse 2.8s ease-out infinite; }
@keyframes orb-pulse { 0% { box-shadow: 0 0 0 0 rgba(225, 37, 27, .4); } 100% { box-shadow: 0 0 0 36px rgba(225, 37, 27, 0); } }

/* Source type cards */
.src-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.src-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line-2); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.src-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 20px 44px color-mix(in srgb, var(--c) 14%, transparent); }
.src-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); pointer-events: none; }
.src-card--ssp { grid-row: span 3; background: linear-gradient(165deg, #FFF3EF, #fff 55%); }
.src-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 65%, #FF8A4C)); box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 30%, transparent); margin-bottom: 4px; }
.src-card__icon svg { width: 22px; height: 22px; }
.src-card .h3 { font-size: 20px; }
.src-card__names { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.src-card__names li { font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 8%, #fff); border: 1px solid color-mix(in srgb, var(--c) 20%, #fff); color: color-mix(in srgb, var(--c) 75%, #111); }
.src-card--ssp .src-card__names { flex-direction: column; gap: 10px; }
.src-card--ssp .src-card__names li { font-size: 18px; padding: 12px 18px; border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 10px; color: var(--text); border-color: var(--line-2); }
.src-card--ssp .src-card__names li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 15%, transparent); }
.src-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

/* Source to seat */
.s2s__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.s2s__list::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 16px); }
.s2s__list::after { content: ""; position: absolute; left: 4%; top: 24px; width: 10px; height: 8px; border-radius: 4px; background: #FF5A3C; box-shadow: 0 0 14px #FF5A3C; animation: s2s-run 5s ease-in-out infinite; }
@keyframes s2s-run { 0% { left: 4%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 95%; opacity: 0; } }
.s2s__step { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.s2s__num { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: #1C1D22; border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 8px; position: relative; z-index: 1; }
.s2s__step:nth-child(2) .s2s__num { background: linear-gradient(135deg, #E1251B, #FF6B4A); border-color: transparent; box-shadow: 0 10px 24px rgba(225, 37, 27, .45); }
.s2s__step strong { color: #fff; font-family: var(--font-display); font-size: 20px; }
.s2s__step > span:last-child { color: rgba(255, 255, 255, .66); font-size: 15px; line-height: 1.5; }
.src-note { font-size: 13px; padding: 28px 0 0; }

@media (max-width: 960px) {
  .src-intro__grid { grid-template-columns: 1fr; }
  .orb { max-width: 460px; }
  .src-grid { grid-template-columns: 1fr; }
  .src-card--ssp { grid-row: auto; }
  .s2s__list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .s2s__list::before, .s2s__list::after { display: none; }
}
@media (max-width: 560px) { .s2s__list { grid-template-columns: 1fr; } .orb__pill { padding: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .orb__ring, .orb__pill, .orb__beams i::after, .orb__pulse, .s2s__list::after { animation: none; } }
/* rings turn together so pills never collide */
.orb__ring, .orb__ring--inner { animation: orb-spin 90s linear infinite; }
.orb__pill, .orb__ring--inner .orb__pill { animation: orb-spin 90s linear infinite reverse; }
.src-card--ssp .src-card__names { margin-top: 10px; }
@media (max-width: 560px) { .orb { width: 80%; } .src-intro { overflow: hidden; } }
@media (prefers-reduced-motion: reduce) { .orb__ring, .orb__ring--inner, .orb__pill, .orb__ring--inner .orb__pill { animation: none; } }
@media (max-width: 560px) {
  .orb { width: 86%; }
  .orb__pill { font-size: 0; padding: 0; width: 14px; height: 14px; border: 3px solid #fff; background: #E1251B; box-shadow: 0 4px 12px rgba(225, 37, 27, .35); }
  .orb__ring--outer .orb__pill { background: #FF8A4C; }
}
/* steady centre: no fractional translate, pulse drawn on its own layer */
.orb__core { left: 35%; top: 35%; width: 30%; height: 30%; aspect-ratio: auto; translate: none; transform: translateZ(0); backface-visibility: hidden; }
.orb__core img { width: 54px; max-width: 32%; height: auto; transform: translateZ(0); }
.orb__pulse { box-shadow: none; animation: none; }
.orb__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(225, 37, 27, .45); animation: orb-ring 2.8s ease-out infinite; will-change: transform, opacity; }
@keyframes orb-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.orb__ring, .orb__pill { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .orb__pulse::after { animation: none; } }
/* Header keeps the same height when scrolled (prevents the page jumping/shaking near the top) */
.site-header.is-scrolled .site-header__bar { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-scrolled .brand__logo { height: 60px; }
@media (max-width: 860px) { .site-header.is-scrolled .brand__logo { height: 48px; } }

/* Parallax on inner pages: soft shapes drifting behind the content */
main.has-decor { position: relative; isolation: isolate; overflow-x: clip; }
.page-decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.decor-blob { width: 460px; height: 460px; border-radius: 50%; filter: blur(60px); opacity: .5; }
.decor-blob--a { background: radial-gradient(circle, rgba(255, 107, 74, .45), transparent 70%); }
.decor-blob--b { background: radial-gradient(circle, rgba(124, 58, 237, .22), transparent 70%); }
.decor-dots { width: 180px; height: 120px; background-image: radial-gradient(rgba(225, 37, 27, .35) 1.5px, transparent 1.5px); background-size: 18px 18px; opacity: .7; }
.page-decor .frame { opacity: .7; }
/* Request page header */
.req-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF6F2 0%, #FBFAF9 420px); }
.req-section .req-grid { height: 900px; top: -120px; -webkit-mask-image: radial-gradient(ellipse at 75% 10%, #000 20%, transparent 60%); mask-image: radial-gradient(ellipse at 75% 10%, #000 20%, transparent 60%); }
@media (max-width: 860px) { .page-decor .frame, .req-section .frame { opacity: .3; } .decor-blob { width: 300px; height: 300px; } }

/* ===== Supply path visual (preview) ===== */
.path--viz { background: #0F0F12; border-radius: 26px; padding: 14px; box-shadow: 0 40px 90px rgba(225,37,27,.18), 0 20px 50px rgba(17,17,17,.25); border: 1px solid rgba(255,255,255,.06); }
.path__head--viz { display:flex; justify-content:space-between; align-items:center; color:#fff; font-weight:600; font-size:14px; padding: 6px 10px 10px; }
.viz-live { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:500; color:rgba(255,255,255,.7); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); padding:4px 10px; border-radius:999px; }
.viz-live i { width:7px; height:7px; border-radius:50%; background:#2BD47D; box-shadow:0 0 0 0 rgba(43,212,125,.6); animation: vzLive 1.8s infinite; }
@keyframes vzLive { 70% { box-shadow:0 0 0 7px rgba(43,212,125,0); } 100% { box-shadow:0 0 0 0 rgba(43,212,125,0); } }
.viz { display:block; width:100%; height:auto; border-radius:20px; }
.vz-line { fill:none; stroke-width:1.6; }
.vz-dash { fill:none; stroke:rgba(255,255,255,.25); stroke-width:1; stroke-dasharray:2 7; animation: vzDash 1.6s linear infinite; }
@keyframes vzDash { to { stroke-dashoffset:-18; } }
.vz-dot { filter: drop-shadow(0 0 4px rgba(255,107,74,.9)); }
.vz-node rect { fill:rgba(255,255,255,.05); stroke:rgba(255,255,255,.14); }
.vz-node--dsp rect { fill:rgba(225,37,27,.12); stroke:rgba(225,37,27,.6); }
.vz-lbl { fill:#fff; font: 600 13px/1 var(--font, Inter, system-ui, sans-serif); }
.vz-ico { fill:none; stroke:#FF8A4C; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.vz-screen circle { fill:rgba(255,255,255,.05); stroke:rgba(255,255,255,.16); }
.vz-screen .vz-ico { stroke:#fff; }
.vz-cap { fill:rgba(255,255,255,.45); font: 600 10.5px/1 var(--font, Inter, system-ui, sans-serif); letter-spacing:.14em; }
.vz-step { fill:rgba(255,255,255,.3); font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.vz-rail { stroke:rgba(255,255,255,.08); stroke-dasharray:3 5; }
.vz-orbit { fill:none; stroke:rgba(225,37,27,.35); stroke-dasharray:4 8; transform-box: fill-box; transform-origin:center; animation: vzSpin 22s linear infinite; }
.vz-orbit--in { stroke:rgba(255,255,255,.12); stroke-dasharray:1 6; animation-duration:14s; animation-direction:reverse; }
@keyframes vzSpin { to { transform: rotate(360deg); } }
.vz-ping { fill:none; stroke:#E1251B; stroke-width:2; transform-box: fill-box; transform-origin:center; animation: vzPing 2.4s ease-out infinite; }
@keyframes vzPing { 0% { transform:scale(1); opacity:.7; } 100% { transform:scale(1.6); opacity:0; } }
.vz-core-lbl { fill:#fff; font: 700 11px/1 var(--font, Inter, system-ui, sans-serif); letter-spacing:.02em; }
.vz-tag rect { fill:rgba(255,255,255,.06); stroke:rgba(255,255,255,.18); }
.vz-tag text { fill:rgba(255,255,255,.85); font: 600 11.5px/1 var(--font, Inter, system-ui, sans-serif); }
.vz-deal rect:first-child { fill:#fff; }
.vz-deal-k { fill:#E1251B; font: 700 10px/1 var(--font, Inter, system-ui, sans-serif); letter-spacing:.12em; }
.vz-deal-v { fill:#111; font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.vz-shine { fill:url(#vzShine); fill: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); opacity:0; }
.path--viz .float-card--a { top:auto; bottom:-60px; left:-48px; }
.path--viz .float-card--b { top:-96px; right:-40px; }
@media (prefers-reduced-motion: reduce) { .vz-dash, .vz-orbit, .vz-ping, .viz-live i { animation:none; } .vz-dot { display:none; } }
@media (max-width: 720px) { .path--viz .float-card { display:none; } }
.sr-only { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ===== Hero: liquid chrome (preview) ===== */
  /* ===== Y: Liquid chrome (WebGL) ===== */
  #heroChrome canvas { position:absolute; inset:0; width:100%; height:100%; }
  .lc-cap { position:absolute; z-index:4; left:0; right:0; bottom:3%; text-align:center; }
  .lc-cap strong { display:block; font-size:clamp(20px,2.4vw,28px); letter-spacing:-.03em; }
  .lc-cap strong span { background:linear-gradient(90deg,#E1251B,#FF8A4C); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .lc-cap small { display:inline-flex; align-items:center; gap:8px; margin-top:10px; font-family:ui-monospace,Menlo,monospace; font-weight:700; font-size:13px; background:#111; color:#fff; padding:7px 14px; border-radius:999px; opacity:0; transform:translateY(6px); transition: all .5s; }
  .lc-cap small.in { opacity:1; transform:none; }
  .lc-cap small i { font-style:normal; font-family: Inter, system-ui, sans-serif; color:#FF8A4C; font-size:10px; letter-spacing:.14em; }
  .lc-fallback { position:absolute; inset:20%; border-radius:50%; background: radial-gradient(circle at 35% 30%, #fff, #FF8A4C 30%, #E1251B 60%, #5b0d09); display:none; }


.path--chrome { background:none; border:0; box-shadow:none; padding:0; }
.hero-chrome { position:relative; width:100%; aspect-ratio: 1 / 1.02; }
.hero-chrome::before { content:""; position:absolute; inset:8% 6% 18%; border-radius:50%; background: radial-gradient(closest-side, rgba(255,107,74,.22), transparent 75%); filter: blur(20px); }
.path--chrome .float-card { display:none; }

/* Footer: animated logo */
.footer__logo { height:52px; width:auto; display:block; }

/* Logo tagline */
.brand__lockup, .footer__lockup { position:relative; display:inline-block !important; width:max-content; line-height:0; }
.brand__tag { position:absolute; left:28%; top:70%; font-family: var(--font-display, Inter, system-ui, sans-serif); font-weight:500; font-size:11.5px; line-height:1; letter-spacing:.01em; color:#4A4A4A; white-space:nowrap; pointer-events:none; }
.footer__lockup .brand__tag { color:rgba(255,255,255,.7); font-size:10px; }
@media (max-width: 860px) { .brand__lockup .brand__tag { font-size:9.5px; } }

/* ===== Home: curated supply showcase (preview) ===== */
.showcase { gap:18px; }
.sc-tabs { display:flex; flex-wrap:wrap; gap:8px; }
.sc-tab { display:inline-flex; align-items:center; gap:7px; font: 600 13px/1 var(--font-body, Inter, system-ui, sans-serif); padding:9px 14px; border-radius:999px; border:1px solid color-mix(in srgb, var(--c) 22%, #fff); background: color-mix(in srgb, var(--c) 7%, #fff); color: color-mix(in srgb, var(--c) 85%, #111); cursor:pointer; transition: all .25s; }
.sc-tab b { width:7px; height:7px; border-radius:50%; background:var(--c); transition: background .25s; }
.sc-tab:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--c) 45%, #fff); }
.sc-tab.is-on { background:var(--c); border-color:var(--c); color:#fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 35%, transparent); }
.sc-tab.is-on b { background:#fff; }
.sc-tab:focus-visible { outline:2px solid var(--c); outline-offset:2px; }
.sc-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; transition: opacity .22s, transform .22s; min-height: 330px; }
.sc-grid.is-out { opacity:0; transform: translateY(6px); }
.sc-card { position:relative; display:flex; flex-direction:column; border-radius:18px; overflow:hidden; background:#fff; border:1px solid #EFE7E3; color:inherit; text-decoration:none; box-shadow: 0 1px 2px rgba(17,17,17,.04); transition: transform .3s cubic-bezier(.3,1.4,.5,1), box-shadow .3s, border-color .3s; animation: scIn .5s cubic-bezier(.3,1.2,.5,1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes scIn { from { opacity:0; transform: translateY(14px) scale(.98); } }
.sc-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 22px 44px color-mix(in srgb, var(--c) 18%, transparent), 0 6px 12px rgba(17,17,17,.06); }
.sc-card:hover .art { transform: translate(-50%, -50%) scale(1.06); }
.sc-art.channel-card__art { height:132px; margin:0; flex:0 0 auto; }
.sc-art .art { scale:.82; }
.sc-body { display:flex; flex-direction:column; gap:8px; padding:14px 16px 16px; flex:1; }
.sc-top { display:flex; justify-content:space-between; align-items:center; }
.sc-badge { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: color-mix(in srgb, var(--c) 85%, #111); background: color-mix(in srgb, var(--c) 9%, #fff); padding:4px 8px; border-radius:999px; }
.sc-badge b { width:6px; height:6px; border-radius:50%; background:var(--c); }
.sc-name { font-size:15.5px; line-height:1.25; letter-spacing:-.01em; }
.sc-sum { font-size:13px; line-height:1.45; color:var(--muted, #5b5b66); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sc-meta { display:flex; flex-direction:column; gap:5px; margin-top:auto; padding-top:10px; border-top:1px dashed #EFE7E3; font-size:12px; color:#5b5b66; }
.sc-meta span { display:flex; align-items:center; gap:7px; }
.sc-meta svg { width:14px; height:14px; flex:0 0 auto; fill:none; stroke: var(--c); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.sc-cta { font-size:13px; font-weight:600; color: var(--c); display:inline-flex; gap:6px; margin-top:4px; }
.sc-card:hover .sc-cta span { transform: translateX(3px); }
.sc-cta span { transition: transform .25s; }
.sc-card--more { border-style:dashed; background: linear-gradient(160deg, #FFF6F2, #fff); --c:#E1251B; }
.sc-more { display:flex; flex-direction:column; justify-content:center; gap:8px; padding:22px; height:100%; }
.sc-more strong { font-size:16px; } .sc-more > span:not(.sc-cta) { font-size:13px; color:#5b5b66; }
.sc-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.sc-progress { width:120px; height:3px; border-radius:2px; background:#F1EAE7; overflow:hidden; }
.sc-progress.is-stopped { opacity:0; }
.sc-progress i { display:block; height:100%; width:0; background: linear-gradient(90deg,#E1251B,#FF8A4C); }
.sc-progress i.run { animation: scRun 5s linear forwards; }
.sc-progress i.paused { animation-play-state: paused; }
@keyframes scRun { to { width:100%; } }
.sc-grid .mini-card { grid-column: span 1; }
@media (max-width: 960px) { .sc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .sc-grid .sc-card:nth-child(3) { display:none; } }
@media (max-width: 600px) { .sc-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 -20px; padding:4px 20px 8px; } .sc-grid .sc-card { flex:0 0 78%; scroll-snap-align:start; } .sc-grid .sc-card:nth-child(3) { display:flex; } .sc-tabs { flex-wrap:nowrap; overflow-x:auto; margin:0 -20px; padding:2px 20px 6px; } .sc-tab { flex:0 0 auto; } }
@media (prefers-reduced-motion: reduce) { .sc-card { animation:none; } }
.lc-cap small.lc-brand { font-family: var(--font-display, Inter, system-ui, sans-serif); font-size:15px; font-weight:700; letter-spacing:-.01em; padding:8px 16px 8px 10px; gap:9px; }
.lc-cap small.lc-brand img { width:22px; height:22px; }

/* ===== About page (preview) ===== */
.glance-grid { display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.glance { background:#fff; border:1px solid #EFE7E3; border-radius:20px; padding:22px; display:flex; flex-direction:column; gap:4px; box-shadow:0 10px 30px rgba(17,17,17,.05); }
.glance strong { font-size:44px; line-height:1; letter-spacing:-.04em; background:linear-gradient(90deg,#E1251B,#FF8A4C); -webkit-background-clip:text; background-clip:text; color:transparent; }
.glance__k { font-weight:700; font-size:15px; }
.glance__d { font-size:13px; color:var(--muted,#5b5b66); line-height:1.45; margin-top:4px; }
.section--tint { background: linear-gradient(180deg, rgba(255,241,236,.55), rgba(255,241,236,0)); }
.about-curate { grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; }
.about-card__n { font-family: ui-monospace, Menlo, monospace; font-weight:700; font-size:13px; color:#E1251B; background:#FFF1EC; border-radius:8px; padding:4px 8px; align-self:flex-start; }
.about-band { display:flex; justify-content:space-between; align-items:center; gap:40px; background: radial-gradient(80% 120% at 90% 0%, rgba(225,37,27,.35), transparent 60%), #111; border-radius:28px; padding:48px; }
.about-band__k { font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.5); }
.about-band__pill { display:flex; align-items:center; gap:10px; color:#fff; font-weight:600; font-size:15px; padding:12px 16px; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); }
.about-band__pill::before { content:""; width:8px; height:8px; border-radius:50%; background:#E1251B; box-shadow:0 0 10px #E1251B; }
@media (max-width: 900px) { .about-curate { grid-template-columns:1fr; } .about-band { flex-direction:column; align-items:flex-start; padding:32px 24px; } .glance strong { font-size:36px; } }

/* ===== iPhone / iOS Safari fixes ===== */
/* Stop sideways panning and zoom-out on iOS (body overflow alone is ignored there) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
/* iOS zooms into any text field under 16px and stays zoomed; keep mobile fields at 16px */
@media (pointer: coarse), (max-width: 900px) { .geo-picker__input, .geo-picker--filter .geo-picker__input { font-size: 16px; } }
/* No hover lift on touch screens (it sticks after a tap) */
@media (hover: none) { .sc-card:hover, .sc-tab:hover, .pkg-card:hover { transform: none; } }
/* Package showcase: swipe row lines up with the tile padding */
@media (max-width: 600px) {
  .sc-grid { margin: 0 -22px; padding: 4px 22px 10px; scroll-padding-left: 22px; }
  .sc-tabs { margin: 0 -22px; padding: 2px 22px 6px; scroll-padding-left: 22px; }
  .sc-grid .sc-card { flex: 0 0 82%; }
}
@media (max-width: 600px) { .sc-tab.is-on { box-shadow: none; } }

/* ===== Showcase: phone layouts (preview) ===== */
.sc-pager { display:none; }
@media (max-width: 600px) {
  /* shared reset of the swipe row */
  .sc-grid.sc-grid--deck, .sc-grid.sc-grid--one, .sc-grid.sc-grid--list { display:grid; overflow:visible; margin:0; padding:0; scroll-snap-type:none; min-height:0; }
  .sc-pager { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:-4px; }
  .sc-pager[hidden] { display:none; }
  .sc-pager__btn { width:38px; height:38px; border-radius:50%; border:1px solid #EADFDA; background:#fff; font-size:22px; line-height:1; color:#111; display:grid; place-items:center; padding:0 0 3px; box-shadow:0 6px 14px rgba(17,17,17,.06); }
  .sc-pager__dots { display:flex; gap:7px; }
  .sc-pager__dots button { width:8px; height:8px; padding:0; border:0; border-radius:999px; background:#E2D8D4; transition: width .3s, background .3s; }
  .sc-pager__dots button.on { width:22px; background:#E1251B; }

  /* A. Deck: cards stacked with depth, swipe or tap arrows */
  .sc-grid--deck { grid-template-areas:"s"; padding-bottom:26px !important; }
  .sc-grid--deck .sc-card { grid-area:s; width:100%; flex:none !important; animation:none; transform-origin: 50% 100%;
    transform: translateY(calc(var(--k, 0) * 13px)) scale(calc(1 - var(--k, 0) * .05)); z-index: calc(10 - var(--k, 0));
    transition: transform .45s cubic-bezier(.3,1.25,.5,1), opacity .35s, box-shadow .35s; box-shadow: 0 18px 40px rgba(17,17,17,.10); }
  .sc-grid--deck .sc-card[style*="--k: 0"], .sc-grid--deck .sc-card[style*="--k:0"] { box-shadow: 0 24px 50px color-mix(in srgb, var(--c) 22%, transparent), 0 6px 14px rgba(17,17,17,.06); }
  .sc-grid--deck .sc-card[aria-hidden="true"] .sc-body { opacity:.0; }
  .sc-grid--deck .sc-card[aria-hidden="true"] { pointer-events:auto; }

  /* B. List: compact rows, everything visible, no swiping */
  .sc-grid--list { grid-template-columns:1fr; gap:10px; }
  .sc-grid--list .sc-card { flex-direction:row; align-items:stretch; flex:none !important; border-radius:16px; }
  .sc-grid--list .sc-art.channel-card__art { width:96px; height:auto; min-height:104px; border-bottom:0; border-right:1px solid color-mix(in srgb, var(--c) 14%, #fff); }
  .sc-grid--list .sc-art .art { scale:.5; }
  .sc-grid--list .sc-body { padding:12px 14px; gap:5px; }
  .sc-grid--list .sc-sum, .sc-grid--list .sc-meta span:nth-child(3) { display:none; }
  .sc-grid--list .sc-meta { flex-direction:row; flex-wrap:wrap; gap:4px 12px; padding-top:6px; border-top:0; margin-top:2px; }
  .sc-grid--list .sc-cta { display:none; }
  .sc-grid--list .sc-name { font-size:15px; }
  .sc-grid--list .sc-card::after { content:"›"; align-self:center; padding:0 14px 0 0; font-size:24px; color:var(--c); }
  .sc-grid--list .sc-card--more { flex-direction:column; }
  .sc-grid--list .sc-card--more::after { display:none; }
  .sc-grid--list .sc-more { padding:16px; }

  /* C. One at a time: a single full-width card that slides */
  .sc-grid--one { grid-template-areas:"s"; overflow:hidden !important; border-radius:18px; }
  .sc-grid--one .sc-card { grid-area:s; width:100%; flex:none !important; animation:none; transition: transform .45s cubic-bezier(.5,0,.2,1), opacity .45s; }
  .sc-grid--one .sc-card[aria-hidden="true"] { opacity:0; transform: translateX(40%) scale(.96); pointer-events:none; }
  .sc-grid--one .sc-card[aria-hidden="false"] { opacity:1; transform:none; }
  .sc-grid--one .sc-art.channel-card__art { height:150px; }
}
@media (max-width: 600px) {
  .sc-grid.sc-grid--deck, .sc-grid.sc-grid--one, .sc-grid.sc-grid--list { grid-template-columns: minmax(0, 1fr); }
  .sc-grid--list .sc-art.channel-card__art { flex:0 0 96px; }
}
@media (max-width: 600px) { .sc-grid--list .sc-art .art { left:50% !important; top:50% !important; right:auto !important; bottom:auto !important; transform: translate(-50%, -50%) scale(.5) !important; scale: none; margin:0 !important; } }

/* ===== Showcase channel picker: icon grid on phones (preview) ===== */
.sc-tab__ic { display:none; }
.sc-tab__t { display:inline; }
@media (max-width: 600px) {
  .sc-tabs { display:grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap:10px 6px; overflow:visible !important; margin:0 !important; padding:0 !important; flex-wrap:wrap; }
  .sc-tab { flex-direction:column; justify-content:flex-start; gap:6px; padding:0; border:0 !important; background:none !important; box-shadow:none !important; color:#3a3a44; font-size:11.5px; line-height:1.15; text-align:center; min-width:0; transform:none !important; }
  .sc-tab b { display:none; }
  .sc-tab__ic { display:grid; place-items:center; width:52px; height:52px; border-radius:16px; background: color-mix(in srgb, var(--c) 9%, #fff); border:1px solid color-mix(in srgb, var(--c) 20%, #fff); color: var(--c); transition: background .25s, color .25s, transform .3s cubic-bezier(.3,1.5,.5,1), box-shadow .25s; }
  .sc-tab__ic svg { width:22px; height:22px; }
  .sc-tab.is-on { color:#111; font-weight:700; }
  .sc-tab.is-on .sc-tab__ic { background: var(--c); border-color: var(--c); color:#fff; transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 20px color-mix(in srgb, var(--c) 35%, transparent); }
  .sc-tab__t { display:block; max-width:76px; overflow-wrap:anywhere; }
}
@media (max-width: 600px) {
  .sc-tabs { display:flex !important; flex-wrap:wrap; justify-content:center; }
  .sc-tab { flex:0 0 calc(25% - 5px); }
}

/* ===== Showcase phone layout: book (pages turn sideways) (preview) ===== */
@media (max-width: 600px) {
  .sc-grid.sc-grid--book { display:grid; grid-template-columns:minmax(0,1fr); grid-template-areas:"s"; overflow:visible; margin:0; padding:0 0 14px; min-height:0; perspective: 1400px; perspective-origin: 30% 50%; }
  .sc-grid--book .sc-card { grid-area:s; width:100%; flex:none !important; animation:none; transform-origin: left center; backface-visibility:hidden; -webkit-backface-visibility:hidden;
    transition: transform .7s cubic-bezier(.45,.05,.25,1), box-shadow .7s, opacity .7s; box-shadow: 4px 16px 34px rgba(17,17,17,.10); border-radius: 6px 18px 18px 6px; }
  /* spine shading on the left edge */
  .sc-grid--book .sc-card::before { content:""; position:absolute; z-index:3; left:0; top:0; bottom:0; width:16px; pointer-events:none; background: linear-gradient(90deg, rgba(17,17,17,.10), transparent); }
  /* light sweep while a page turns */
  .sc-grid--book .sc-card::after { content:""; position:absolute; inset:0; z-index:4; pointer-events:none; background: linear-gradient(90deg, rgba(255,255,255,0) 40%, rgba(17,17,17,.0)); transition: background .7s; }
  .sc-grid--book .sc-card[data-page="current"] { transform: rotateY(0deg); }
  .sc-grid--book .sc-card[data-page="under"] { transform: translateX(3px) translateY(3px); box-shadow: 2px 8px 18px rgba(17,17,17,.06); }
  .sc-grid--book .sc-card[data-page="under"] .sc-body, .sc-grid--book .sc-card[data-page="under"] .sc-art { opacity:.35; transition: opacity .5s .2s; }
  .sc-grid--book .sc-card[data-page="turned"] { transform: rotateY(-178deg); opacity:0; pointer-events:none; box-shadow: none; }
  .sc-grid--book .sc-card[data-page="turned"]::after { background: linear-gradient(90deg, rgba(17,17,17,.18), rgba(17,17,17,0) 60%); }
  .sc-grid--book .sc-card--more { border-radius: 6px 18px 18px 6px; }
}
@media (max-width: 600px) {
  .sc-grid--book .sc-card[data-page="turned"] { opacity:0; transition: transform .7s cubic-bezier(.45,.05,.25,1), opacity .2s .6s, box-shadow .7s; }
  .sc-grid--book .sc-card[data-page="current"] { opacity:1; transition: transform .7s cubic-bezier(.45,.05,.25,1), opacity .01s, box-shadow .7s; }
}

/* ===== Showcase phone layout: carousel (slides left, like turning to the next page) (preview) ===== */
@media (max-width: 600px) {
  .sc-grid.sc-grid--carousel { --w: 84%; --gap: 12px; display:flex; flex-wrap:nowrap; gap:var(--gap); overflow:visible !important; margin:0 !important; padding:4px 0 14px !important; scroll-snap-type:none; min-height:0; touch-action: pan-y; }
  .sc-grid--carousel .sc-card { flex:0 0 var(--w) !important; width:var(--w); animation:none;
    transform: translateX(calc((var(--w) + var(--gap)) * var(--pos, 0) * -1 + var(--drag, 0px)));
    transition: transform .5s cubic-bezier(.25,.9,.3,1), opacity .4s, box-shadow .4s; }
  .sc-grid--carousel.is-dragging .sc-card { transition: none; }
  .sc-grid--carousel .sc-card:not([data-page="current"]) { opacity:.55; }
  .sc-grid--carousel .sc-card[data-page="current"] { box-shadow: 0 18px 40px color-mix(in srgb, var(--c) 16%, transparent), 0 4px 10px rgba(17,17,17,.05); }
  .showcase:has(.sc-grid--carousel) { overflow:hidden; }
}
@media (max-width: 600px) { .sc-grid--carousel { cursor: grab; user-select: none; -webkit-user-select: none; } .sc-grid--carousel.is-dragging { cursor: grabbing; } .sc-grid--carousel img, .sc-grid--carousel svg { -webkit-user-drag: none; } }

@media (max-width: 600px) { .sc-grid--carousel { touch-action: pan-y pinch-zoom; overscroll-behavior-x: contain; } }

/* ===== Hero animation on phones: compact, centred, no empty gap ===== */
@media (max-width: 600px) {
  .path--chrome { margin-top: -8px; }
  .hero-chrome { aspect-ratio: 1 / .92; max-width: 420px; margin: 0 auto; }
  .hero-chrome::before { inset: 4% 4% 22%; }
  .lc-cap { bottom: 2%; }
  .lc-cap strong { font-size: 22px; }
  .lc-cap small.lc-brand { font-size: 14px; margin-top: 8px; }
}

/* ===== Hero on phones & tablets: pre-rendered animated image (works on every device) ===== */
.drops-anim { display:none; }
@media (max-width: 1024px), (pointer: coarse) {
  .hero-chrome > canvas, .hero-chrome .lc-fallback { display:none !important; }
  .hero-chrome { aspect-ratio:auto !important; height:auto !important; display:flex; flex-direction:column; align-items:center; gap:6px; padding-bottom:8px; }
  .drops-anim { display:block; width:min(100%, 400px); }
  .drops-anim img { display:block; width:100%; height:auto; }
  .hero-chrome .lc-cap { position:relative; inset:auto; bottom:auto; }
  .hero-chrome .lc-cap small.lc-brand { opacity:0; transform:translateY(6px); }
  .hero-chrome.is-playing .lc-cap small.lc-brand { animation: dropsPill 7s linear infinite; }
}
@keyframes dropsPill { 0%, 60% { opacity:0; transform:translateY(6px); } 66%, 86% { opacity:1; transform:none; } 92%, 100% { opacity:0; transform:translateY(6px); } }
@media (max-width: 1024px) and (prefers-reduced-motion: reduce), (pointer: coarse) and (prefers-reduced-motion: reduce) { .hero-chrome .lc-cap small.lc-brand, .hero-chrome.is-playing .lc-cap small.lc-brand { animation:none; opacity:1; transform:none; } }

/* New logo (final package, Nov 24): tagline is part of the logo, so it gets a little more height */
.brand__logo { height: 72px !important; margin: -8px 0 -6px; }
.site-header.is-scrolled .brand__logo { height: 72px !important; }
@media (max-width: 860px) { .brand__logo, .site-header.is-scrolled .brand__logo { height: 58px !important; margin: -6px 0 -4px; } }
.footer__logo { height: 64px; }
.footer__logo { height: 74px; }

/* === Hero (final): plain background; frame line draws with the merge and the sphere becomes the logo's dot === */
.hero.hero--rich { background:#FBFAF9; }
.hero.hero--rich .mesh, .hero.hero--rich .hero__glow, .hero.hero--rich .grid-bg, .hero.hero--rich .frame { display:none !important; }
.hero .hero__copy { position:relative; z-index:2; }
.hero-chrome canvas, .hero-chrome .drops-anim { position:relative; z-index:1; }
.hero-chrome .lc-cap { z-index:3; }
.hero-chrome .lc-cap small.lc-brand { display:none !important; }
.lc-frame { position:absolute; z-index:0; overflow:visible; pointer-events:none; height:auto; }
.lc-frame path { fill:none; stroke:#E7E2DF; stroke-width:9; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1 1; stroke-dashoffset:1; }
.lc-frame.is-static path { stroke-dashoffset:0; }
@media (max-width:1024px), (pointer:coarse) {
  .lc-frame { display:none !important; }   /* phones/tablets: the frame is drawn into the animation frames */
  .hero-chrome .drops-anim { width:min(100%, 480px); }
}
@media (max-width:480px) { .hero-chrome .lc-cap strong span { display:block; } .hero-chrome .lc-cap strong { line-height:1.15; } }
/* === Hero extras (final) === */
.px-glow, .px-ripple, .px-dots { pointer-events:none; }
.px-glow, .px-ripple { position:absolute; transform:translate(-50%,-50%); display:none; }
/* A · Glow: warm light behind the logo that blooms when it completes */
.pop-glow .px-glow { display:block; z-index:0; border-radius:50%; background:radial-gradient(closest-side, rgba(255,120,90,.30), rgba(255,150,120,.12) 45%, rgba(255,170,140,0) 72%); opacity:.35; transform:translate(-50%,-50%) scale(.8); transition:opacity 1.2s ease, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.pop-glow .is-logo .px-glow { opacity:1; transform:translate(-50%,-50%) scale(1.05); }
/* B · Dot field: fine dots fanning out from the logo, with a gentle scroll parallax */
.px-dots { position:absolute; inset:-200px 0 0 0; z-index:0; display:none; will-change:transform;
  background-image:radial-gradient(rgba(17,17,17,.26) 1.4px, transparent 1.7px); background-size:22px 22px;
  -webkit-mask-image:radial-gradient(560px 460px at var(--pop-x,70%) calc(var(--pop-y,40%) + 200px), #000 0%, rgba(0,0,0,.55) 45%, transparent 75%);
  mask-image:radial-gradient(560px 460px at var(--pop-x,70%) calc(var(--pop-y,40%) + 200px), #000 0%, rgba(0,0,0,.55) 45%, transparent 75%); }
.pop-dots .px-dots { display:block; }
.hero.pop-dots .hero__copy { position:relative; z-index:2; }
/* C · Ripple: one red ring spreads from the sphere the moment the logo completes (echo of the logo's own animation) */
.pop-ripple .px-ripple { display:block; z-index:0; border-radius:50%; border:2px solid rgba(225,37,27,.7); opacity:0; }
.pop-ripple .px-ripple::after { content:''; position:absolute; inset:-2px; border-radius:50%; border:2px solid rgba(225,37,27,.5); opacity:0; }
.pop-ripple .is-logo .px-ripple::after { animation:popRipple2 1.7s cubic-bezier(.12,.75,.3,1) .18s 1 both; }
@keyframes popRipple2 { 0% { opacity:.8; transform:scale(1); } 100% { opacity:0; transform:scale(2); } }
.pop-ripple .is-logo .px-ripple { animation:popRipple 1.5s cubic-bezier(.12,.75,.3,1) 1 both; }
@keyframes popRipple { 0% { opacity:1; transform:translate(-50%,-50%) scale(1); border-width:3px; } 100% { opacity:0; transform:translate(-50%,-50%) scale(2.6); border-width:1px; } }
/* D · Warm wash + grain: a soft peach light on the right of the hero and a fine paper grain */
.hero.hero--rich.pop-wash { background:radial-gradient(900px 640px at var(--pop-x,72%) var(--pop-y,40%), #FFEDE6 0%, #FDF4F0 40%, #FBFAF9 75%); }
.hero.pop-wash::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.35; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .42  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero.pop-wash > .container { position:relative; z-index:2; }
@media (prefers-reduced-motion: reduce) { .px-ripple { display:none !important; } .px-glow { transition:none; } }

/* === Inner-page headers (match the home hero): warm wash, dot field, grain, and the frame + dot mark === */
.page-hero.page-hero--brand { background:radial-gradient(820px 520px at 86% 42%, #FFEDE6 0%, #FDF4F0 40%, #FBFAF9 75%); }
.page-hero--brand::before { display:none; }
.page-hero--brand .grid-bg, .page-hero--brand .mesh, .page-hero--brand .frame { display:none !important; }
.page-hero--brand::after { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.35; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .42  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.page-hero--brand .container { position:relative; z-index:2; }
.ph-dots { position:absolute; inset:-120px 0 0 0; z-index:0; pointer-events:none;
  background-image:radial-gradient(rgba(17,17,17,.24) 1.4px, transparent 1.7px); background-size:22px 22px;
  -webkit-mask-image:radial-gradient(520px 380px at 84% calc(45% + 60px), #000 0%, rgba(0,0,0,.5) 45%, transparent 75%);
  mask-image:radial-gradient(520px 380px at 84% calc(45% + 60px), #000 0%, rgba(0,0,0,.5) 45%, transparent 75%); }
.ph-mark { position:absolute; z-index:1; right:max(24px, calc((100vw - 1200px) / 2 + 40px)); top:calc(50% + 34px); width:clamp(150px, 15vw, 220px); height:auto; transform:translateY(-50%); overflow:visible; pointer-events:none; }
.ph-mark__frame { fill:none; stroke:#E7E2DF; stroke-width:9; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1 1; stroke-dashoffset:1; animation:phTrace 1s cubic-bezier(.45,0,.3,1) .25s forwards; }
.ph-mark__dot { fill:#E1251B; transform-box:fill-box; transform-origin:center; transform:scale(0); animation:phDot .5s cubic-bezier(.2,1.6,.4,1) 1.2s forwards; filter:drop-shadow(0 4px 8px rgba(225,37,27,.35)); }
.ph-mark__ring { fill:none; stroke:rgba(225,37,27,.6); stroke-width:1.4; transform-box:fill-box; transform-origin:center; opacity:0; animation:phRing 1.5s cubic-bezier(.12,.75,.3,1) 1.25s 1 both; }
.ph-mark__ring--2 { animation-delay:1.45s; }
@keyframes phTrace { to { stroke-dashoffset:0; } }
@keyframes phDot { to { transform:scale(1); } }
@keyframes phRing { 0% { opacity:1; transform:scale(1); } 100% { opacity:0; transform:scale(3); } }
@media (max-width:860px) {
  .ph-mark { width:104px; top:auto; bottom:22px; right:18px; transform:none; opacity:.9; }
  .ph-dots { -webkit-mask-image:radial-gradient(300px 240px at 88% 85%, #000 0%, rgba(0,0,0,.45) 45%, transparent 75%); mask-image:radial-gradient(300px 240px at 88% 85%, #000 0%, rgba(0,0,0,.45) 45%, transparent 75%); }
}
@media (prefers-reduced-motion: reduce) { .ph-mark__frame { animation:none; stroke-dashoffset:0; } .ph-mark__dot { animation:none; transform:none; } .ph-mark__ring { display:none; } }
.req-section.page-hero--brand { position:relative; overflow:hidden; background:radial-gradient(820px 520px at 86% 18%, #FFEDE6 0%, #FDF4F0 40%, #FBFAF9 75%); }
.req-section .ph-dots { -webkit-mask-image:radial-gradient(520px 340px at 84% 120px, #000 0%, rgba(0,0,0,.5) 45%, transparent 75%); mask-image:radial-gradient(520px 340px at 84% 120px, #000 0%, rgba(0,0,0,.5) 45%, transparent 75%); }
@media (max-width:860px) {
  .ph-mark { width:54px; top:clamp(122px, 30vw, 136px); bottom:auto; right:18px; transform:none; opacity:1; }
  .ph-mark__frame { stroke-width:11; }
  .ph-dots { -webkit-mask-image:radial-gradient(260px 200px at 90% 150px, #000 0%, rgba(0,0,0,.45) 45%, transparent 75%); mask-image:radial-gradient(260px 200px at 90% 150px, #000 0%, rgba(0,0,0,.45) 45%, transparent 75%); }
}
/* Inner pages: quieter than the home hero (no animated mark) */
.page-hero.page-hero--brand { background:radial-gradient(760px 480px at 88% 38%, #FFF1EB 0%, #FDF6F3 42%, #FBFAF9 75%); }
.page-hero--brand::after { opacity:.25; }
.ph-dots { opacity:.6; }
.ph-mark { display:none !important; }
