/* InterSpace Distribution · site.css
   Theme language carried over from the original Framer build:
   warm paper surface, charcoal ink, Inter display + Geist Mono utility,
   dark pill buttons, soft 28–34px panels with a faint vertical gradient. */

:root {
  --paper: #fafaf7;
  --paper-2: #f3f2ec;
  --panel-a: #f1f0eb;
  --panel-b: #eae8e2;
  --panel-c: #eceae4;
  --ink: #2a2a27;
  --ink-2: #66645d;
  --muted: #8a8880;
  --muted-2: #b1aea5;
  --line: rgba(42, 42, 39, 0.08);
  --line-2: rgba(42, 42, 39, 0.12);
  --white: #ffffff;
  --accent: #de0a26;          /* InterSpace red */
  --accent-soft: rgba(222, 10, 38, 0.10);
  --live: #3aa676;
  --live-soft: rgba(58, 166, 118, 0.14);
  --wait: #d69a2a;
  --wait-soft: rgba(214, 154, 42, 0.16);
  --violet: #7466e8;
  --violet-soft: rgba(116, 102, 232, 0.12);

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-pill: 999px;
  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow-card: 0 0 0 1px rgba(42, 42, 39, 0.06), 0 4px 14px rgba(42, 42, 39, 0.08);
  --shadow-float: 0 1px 2px rgba(42, 42, 39, 0.05), 0 14px 36px rgba(42, 42, 39, 0.10), 0 40px 90px rgba(42, 42, 39, 0.10), 0 0 0 1px rgba(42, 42, 39, 0.06);
  --shadow-btn: 0 14px 30px rgba(42, 42, 39, 0.14), 0 2px 6px rgba(42, 42, 39, 0.08);

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-quick: 140ms;
  --t-std: 260ms;
  --t-slow: 520ms;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #fafaf7; /* the brand surface is deliberately light in both schemes */
  }
}
:root[data-theme="dark"] { --paper: #fafaf7; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(222, 10, 38, 0.16); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* Section labels as pills: the mark plus mono text, sentence case (Moonjar-style "Can't X just do this?") */
.eyebrow.pill { padding: 7px 16px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(0, 0, 0, 0.04); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.eyebrow.pill::before { display: none; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.008em; white-space: nowrap;
  transition-property: transform, box-shadow, background-color, color, border-color;
  transition-duration: var(--t-quick);
  transition-timing-function: var(--ease);
  transform: translateZ(0);
}
.btn:active { transform: scale(0.96); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.btn-dark:hover { background: #000; box-shadow: 0 18px 34px rgba(42, 42, 39, 0.20), 0 2px 6px rgba(42, 42, 39, 0.10); transform: translateY(-1px); }
.btn-dark:active { transform: scale(0.96); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--white); box-shadow: inset 0 0 0 1px rgba(42, 42, 39, 0.2); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }
.btn-light:hover { transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn .chev { width: 14px; height: 14px; opacity: 0.6; transition: transform var(--t-quick) var(--ease); }
.btn:hover .chev { transform: translateX(2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; isolation: isolate;
  height: 68px;
  display: flex; align-items: center;
  background: rgba(250, 250, 247, 0);
  transition: background-color var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease);
}
.nav.is-stuck { background: rgba(250, 250, 247, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 0; outline: 0; display: block; transition: transform var(--t-quick) var(--ease); }
.brand:hover img { transform: scale(1.04); }
.brand span { font-family: var(--font-mono); font-size: 14px; letter-spacing: -0.01em; text-transform: lowercase; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links .has-menu { display: flex; align-items: center; }
.nav-links a { padding: 8px 12px; border-radius: var(--r-pill); font-size: 14px; color: var(--ink-2); transition: color var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease); }
.nav-links a:hover { color: var(--ink); background: rgba(42, 42, 39, 0.05); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-pill); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform var(--t-std) var(--ease), background-color var(--t-std) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform var(--t-std) var(--ease), top var(--t-std) var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.nav-sheet { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-dark { display: none; }   /* mobile header: mark, language and menu only */
  .nav-toggle { display: inline-flex; }
  .nav-sheet {
    display: grid; gap: 2px; align-content: start;
    position: fixed; inset: 64px 0 0 0; z-index: 99;
    padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--paper, #fafaf7); box-shadow: 0 -1px 0 var(--line);
    opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none;
    transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease);
  }
  .nav.is-open + .nav-sheet { opacity: 1; transform: none; pointer-events: auto; }
  .nav-sheet a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .nav-sheet a:hover { background: var(--paper-2); }
  .nav-sheet .btn { margin-top: 8px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 640px; margin-inline: auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.section-head.left { margin-inline: 0; text-align: left; justify-items: start; }
.h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
.h2 { font-size: 56px; line-height: 1.04; letter-spacing: -0.03em; font-weight: 500; }   /* section titles: 56px, matching the Framer preset (56 / 36 / 28) */
@media (max-width: 1099px) { .h2 { font-size: 40px; } }
@media (max-width: 809px) { .h2 { font-size: 30px; } }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 500; }
.lead { font-size: 22px; line-height: 1.45; color: var(--ink-2); letter-spacing: -0.012em; }
@media (max-width: 1099px) { .lead { font-size: 18px; } }
@media (max-width: 809px) { .lead { font-size: 17px; } }
.body { font-size: 15px; line-height: 1.55; color: var(--ink-2); letter-spacing: -0.005em; }
.small { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.mark {
  background: linear-gradient(transparent 55%, rgba(222, 10, 38, 0.18) 55%);
  padding: 0 0.06em; border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: 0; }
.hero-copy { max-width: 760px; margin-inline: auto; text-align: center; display: grid; gap: 22px; justify-items: center; }
.hero .h1 .line { display: block; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-meta { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--live); }

.stage {
  position: relative; margin-top: clamp(40px, 6vw, 72px);
  border-radius: var(--r-xl);
  background: linear-gradient(#f1f0eb 0%, #eae8e2 58%, #eceae4 100%);
  padding: clamp(16px, 4vw, 56px);
  box-shadow: inset 0 0 0 1px rgba(42, 42, 39, 0.04);
  overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 18% 0%, rgba(116, 102, 232, 0.10), transparent 70%),
    radial-gradient(50% 50% at 88% 100%, rgba(222, 10, 38, 0.08), transparent 70%);
}
.stage-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(16px, 3vw, 32px); align-items: stretch; }
@media (max-width: 900px) { .stage-grid { grid-template-columns: 1fr; } }

/* Delivery ledger: the page's signature */
.ledger {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden; display: flex; flex-direction: column;
}
.ledger-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ledger-top .mono { letter-spacing: 0.04em; }
.ledger-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ledger-art { width: 40px; height: 40px; border-radius: 9px; flex: none; position: relative; overflow: hidden;
  background: conic-gradient(from 210deg at 50% 50%, #2a2a27, #7466e8 30%, #de0a26 62%, #f1c27a 82%, #2a2a27); }
.ledger-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%); }
.ledger-title strong { display: block; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger-title .mono { display: block; margin-top: 2px; text-transform: none; letter-spacing: 0.02em; font-size: 11.5px; }
.ledger-count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.ledger-count b { color: var(--ink); font-weight: 500; }
.ledger-rows { display: grid; }
.ledger-row {
  display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 12px;
  padding: 11px 18px; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.ledger-row .territory { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 9px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  width: 96px; justify-content: center;
  transition: background-color var(--t-std) var(--ease), color var(--t-std) var(--ease);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip[data-state="queued"] { background: rgba(42, 42, 39, 0.06); color: var(--muted); }
.chip[data-state="delivered"] { background: var(--wait-soft); color: #9a6a12; }
.chip[data-state="live"] { background: var(--live-soft); color: #23764f; }
.chip[data-state="live"]::before { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(58, 166, 118, 0.45); } 60% { box-shadow: 0 0 0 5px rgba(58, 166, 118, 0); } }
.ledger-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--paper); border-top: 1px solid var(--line); }
.progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(42, 42, 39, 0.08); overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 420ms var(--ease); }
.replay { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; margin: -6px -8px; border-radius: 8px; transition: color var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease); }
.replay:hover { color: var(--ink); background: rgba(42, 42, 39, 0.05); }
.replay svg { width: 12px; height: 12px; }

/* Side stack next to the ledger */
.stack { display: grid; gap: clamp(12px, 2vw, 16px); align-content: start; }
.tile { background: rgba(255, 255, 255, 0.72); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-card); backdrop-filter: blur(6px); }
.tile .mono { display: block; margin-bottom: 10px; }
.tile-stat { font-size: clamp(34px, 3.6vw, 44px); line-height: 1; letter-spacing: -0.035em; font-weight: 500; }
.tile-stat small { font-size: 15px; letter-spacing: -0.01em; color: var(--muted); margin-left: 6px; font-weight: 400; }
.tile p.body { margin-top: 8px; font-size: 14px; }
.tile-dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.tile-dark .mono { color: rgba(255, 255, 255, 0.55); }
.tile-dark p.body { color: rgba(255, 255, 255, 0.72); }
.statement { display: grid; gap: 6px; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; }
.statement li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.statement li:first-child { border-top: 0; padding-top: 0; }
.statement .num { color: var(--white); }
.statement .total { color: #8be0b6; }

/* ---------- Store marquee ---------- */
.stores { padding-block: clamp(40px, 5vw, 56px); }
.stores .mono { text-align: center; display: block; margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 16px 0 8px; border-radius: var(--r-pill);
  background: var(--white); box-shadow: var(--shadow-card);
  font-size: 14px; letter-spacing: -0.008em; white-space: nowrap;
}
.store img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.store.more { padding: 0 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  display: grid; grid-template-rows: auto 1fr; gap: 20px;
  background: linear-gradient(#f1f0eb 0%, #eae8e2 58%, #eceae4 100%);
  border-radius: var(--r-lg); padding: 22px;
  box-shadow: inset 0 0 0 1px rgba(42, 42, 39, 0.04);
}
.step-head { display: grid; gap: 8px; }
.step-head .mono { display: flex; justify-content: space-between; }
.step-head p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.step-ui { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 16px; min-height: 200px; display: grid; align-content: start; gap: 10px; }
.drop { border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 22px 16px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.drop .mono { text-transform: none; letter-spacing: 0.02em; font-size: 11.5px; }
.drop svg { width: 22px; height: 22px; color: var(--muted); }
.wave { display: flex; gap: 3px; align-items: center; height: 28px; }
.wave i { width: 3px; border-radius: 2px; background: var(--ink); height: var(--h, 40%); opacity: 0.85; }
.step-ui .field { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; background: var(--paper); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.step-ui .field b { color: var(--ink); font-weight: 500; }
.checklist { display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.checklist .dot { width: 18px; height: 18px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; background: var(--live-soft); color: #23764f; transition: background-color var(--t-std) var(--ease), color var(--t-std) var(--ease); }
.checklist .dot svg { width: 10px; height: 10px; }
.checklist li { color: var(--ink); }
.payout { display: grid; gap: 8px; }
.payout-total { font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.payout-total small { font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.04em; color: var(--muted); margin-left: 6px; }
.bars { display: grid; gap: 6px; margin-top: 6px; }
.bars li { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.bars i { display: block; height: 6px; border-radius: 4px; background: var(--ink); transform-origin: left; transform: scaleX(var(--w, 1)); transition: transform 0.9s var(--ease-out) 0.3s; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.bento > * { grid-column: span 2; }
.bento .wide { grid-column: span 3; }
@media (max-width: 1000px) { .bento > *, .bento .wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento > *, .bento .wide { grid-column: span 6; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(42, 42, 39, 0.06), 0 12px 30px rgba(42, 42, 39, 0.10); }
.card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.card .icon svg { width: 20px; height: 20px; }
.card .h4 { margin-top: 2px; }
.card .body { font-size: 14.5px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); padding: 4px 9px; border-radius: var(--r-pill); background: var(--paper-2); }
.card-soft { background: linear-gradient(#f1f0eb 0%, #eae8e2 58%, #eceae4 100%); }
.card-violet { background: linear-gradient(#f7f7f5 0%, #f5f4f6 58%, #eee9f5 100%); }
.split-demo { display: grid; gap: 6px; margin-top: 4px; }
.split-demo li { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.split-demo .bar { height: 8px; border-radius: 4px; background: rgba(42, 42, 39, 0.08); overflow: hidden; grid-column: 1 / -1; }
.split-demo .bar i { display: block; height: 100%; border-radius: 4px; background: var(--ink); transform-origin: left; transform: scaleX(var(--w)); transition: transform 0.9s var(--ease-out) 0.3s; }
.smartlink { border-radius: 14px; background: var(--white); box-shadow: var(--shadow-card); padding: 12px; display: grid; gap: 8px; }
.smartlink .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; background: var(--paper); font-size: 13px; }
.smartlink .row span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.smartlink .row img { width: 18px; height: 18px; border-radius: 5px; }
.smartlink .row .l { display: flex; align-items: center; gap: 8px; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; align-content: start; }
.compare-col.without { background: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(42, 42, 39, 0.05); }
.compare-col.with { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.compare-col .mono { display: inline-flex; align-items: center; gap: 8px; }
.compare-col.with .mono { color: rgba(255, 255, 255, 0.6); }
.compare-col ul { display: grid; gap: 12px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.compare-col.with li { color: rgba(255, 255, 255, 0.82); }
.compare-col li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare-col.without li svg { color: var(--muted-2); }
.compare-col.with li svg { color: #8be0b6; }

/* ---------- Spec sheet ---------- */
.spec { margin-top: clamp(36px, 5vw, 56px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 24px; border-top: 1px solid var(--line); align-items: baseline; }
.spec-row:first-child { border-top: 0; }
.spec-row .mono { letter-spacing: 0.08em; }
.spec-row p { font-size: 15px; color: var(--ink-2); }
.spec-row p b { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.plans.two { grid-template-columns: 1fr 1fr; max-width: 820px; margin-inline: auto; }
@media (max-width: 960px) { .plans, .plans.two { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { position: relative; display: grid; gap: 18px; background: var(--white); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-card); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(42, 42, 39, 0.06), 0 18px 40px rgba(42, 42, 39, 0.12); }
.plan.is-featured { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.plan.is-featured .mono, .plan.is-featured .small, .plan.is-featured .body { color: rgba(255, 255, 255, 0.62); }
.plan-flag { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent); color: var(--white); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price .amt { font-size: 48px; line-height: 1; letter-spacing: -0.04em; font-weight: 500; }
.plan-price .per { font-size: 14px; color: var(--muted); }
.plan-price .amt.text { font-size: 28px; letter-spacing: -0.02em; }
.plan ul { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.plan.is-featured ul { border-top-color: rgba(255, 255, 255, 0.12); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan.is-featured li { color: rgba(255, 255, 255, 0.82); }
.plan li b { color: var(--ink); font-weight: 500; }
.plan.is-featured li b { color: var(--white); }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--live); }
.plan.is-featured li svg { color: #8be0b6; }
.plan .btn { width: 100%; }
.plan.is-featured .btn-dark { background: var(--white); color: var(--ink); box-shadow: none; }
.plan.is-featured .btn-dark:hover { background: #f1f0eb; }
.plan-note { text-align: center; margin-top: 22px; }
.plan-note a { border-bottom: 1px solid var(--line-2); transition: border-color var(--t-quick) var(--ease); }
.plan-note a:hover { border-color: var(--ink); }

/* ---------- Royalties statement band ---------- */
.band { border-radius: var(--r-xl); background: linear-gradient(#f1f0eb 0%, #eae8e2 58%, #eceae4 100%); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; box-shadow: inset 0 0 0 1px rgba(42, 42, 39, 0.04); }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }
.band .h2 { margin-top: 10px; }
.band .lead { margin-top: 16px; }
.band .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 28px; }
.band .facts .k { font-size: 30px; letter-spacing: -0.035em; line-height: 1; font-weight: 500; }
.band .facts .v { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.sheet { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-float); overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sheet-rows { display: grid; }
.sheet-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: center; }
.sheet-row .mono { font-size: 11px; }
.sheet-row .num { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }
.sheet-total { display: flex; justify-content: space-between; padding: 14px 18px; background: var(--paper); font-family: var(--font-mono); font-size: 12.5px; }
.sheet-total b { font-weight: 500; }
.sheet-total .fee { color: var(--live); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: clamp(36px, 5vw, 56px) auto 0; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: flex-start; align-items: center; gap: 16px; padding: 18px 22px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 22px; height: 22px; flex: none; margin-left: auto; position: relative; border-radius: 50%; background: var(--paper-2); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform var(--t-std) var(--ease); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 22px 20px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.faq .answer a { border-bottom: 1px solid var(--line-2); }
.faq .answer.prose { max-width: none; font-size: 15px; }
.faq .answer.prose table { margin-top: 12px; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; display: grid; gap: 20px; justify-items: center; padding-block: clamp(80px, 12vw, 160px); }
.cta .h1 { font-size: clamp(36px, 5.6vw, 64px); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 36px; }
.footer .footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 1000px) { .footer .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer .brand { margin-bottom: 14px; }
.footer p.small { max-width: 320px; }
.footer h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 400; }
.footer ul { display: grid; gap: 9px; }
.footer li a { font-size: 14px; color: var(--ink-2); transition: color var(--t-quick) var(--ease); }
.footer li a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom .mono { font-size: 11px; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ==========================================================================
   Motion layer. Everything below is CSS-driven: compositor animations that
   keep running when requestAnimationFrame is throttled, and class-toggled
   transitions for scroll reveals. Only applies once JS has added html.js,
   so the no-JS page is fully visible.
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 24px)); } to { opacity: 1; transform: none; } }

/* Page-load sequence: one entrance pattern, staggered by delay */
html.js:not(.no-motion) .nav > .container { animation: rise 0.6s var(--ease-out) both; --rise: -10px; }
html.js:not(.no-motion) [data-hero="eyebrow"] { animation: rise 0.6s var(--ease-out) 0.1s both; --rise: 14px; }
html.js:not(.no-motion) [data-hero="title"] .line { animation: rise 0.9s var(--ease-out) both; --rise: 34px; }
html.js:not(.no-motion) [data-hero="title"] .line:nth-child(1) { animation-delay: 0.18s; }
html.js:not(.no-motion) [data-hero="title"] .line:nth-child(2) { animation-delay: 0.27s; }
html.js:not(.no-motion) [data-hero="title"] .line:nth-child(3) { animation-delay: 0.36s; }
html.js:not(.no-motion) [data-hero="lead"] { animation: rise 0.6s var(--ease-out) 0.5s both; --rise: 20px; }
html.js:not(.no-motion) [data-hero="actions"] > * { animation: rise 0.6s var(--ease-out) both; --rise: 16px; }
html.js:not(.no-motion) [data-hero="actions"] > :nth-child(1) { animation-delay: 0.6s; }
html.js:not(.no-motion) [data-hero="actions"] > :nth-child(2) { animation-delay: 0.67s; }
html.js:not(.no-motion) [data-hero="meta"] li { animation: rise 0.4s var(--ease-out) both; --rise: 10px; }
html.js:not(.no-motion) [data-hero="meta"] li:nth-child(1) { animation-delay: 0.78s; }
html.js:not(.no-motion) [data-hero="meta"] li:nth-child(2) { animation-delay: 0.83s; }
html.js:not(.no-motion) [data-hero="meta"] li:nth-child(3) { animation-delay: 0.88s; }
html.js:not(.no-motion) .stage { animation: rise 1s var(--ease-out) 0.7s both; --rise: 48px; }
html.js:not(.no-motion) .ledger { animation: rise 0.9s var(--ease-out) 0.95s both; --rise: 26px; }
html.js:not(.no-motion) .ledger-row { animation: rise 0.4s var(--ease-out) both; --rise: 10px; animation-delay: calc(1.1s + var(--r, 0) * 0.04s); }
html.js:not(.no-motion) .ledger-row:nth-child(2) { --r: 1; } html.js:not(.no-motion) .ledger-row:nth-child(3) { --r: 2; }
html.js:not(.no-motion) .ledger-row:nth-child(4) { --r: 3; } html.js:not(.no-motion) .ledger-row:nth-child(5) { --r: 4; }
html.js:not(.no-motion) .ledger-row:nth-child(6) { --r: 5; } html.js:not(.no-motion) .ledger-row:nth-child(7) { --r: 6; }
html.js:not(.no-motion) .ledger-row:nth-child(8) { --r: 7; } html.js:not(.no-motion) .ledger-row:nth-child(9) { --r: 8; }
html.js:not(.no-motion) .stack .tile { animation: rise 0.6s var(--ease-out) both; --rise: 22px; }
html.js:not(.no-motion) .stack .tile:nth-child(1) { animation-delay: 1.05s; }
html.js:not(.no-motion) .stack .tile:nth-child(2) { animation-delay: 1.15s; }
html.js:not(.no-motion) .stack .tile:nth-child(3) { animation-delay: 1.25s; }

/* Scroll reveals: hidden until .is-in, staggered inside groups via --i */
html.js:not(.no-motion) [data-reveal],
html.js:not(.no-motion) [data-reveal-child] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
html.js:not(.no-motion) [data-reveal].is-in,
html.js:not(.no-motion) [data-reveal-child].is-in { opacity: 1; transform: none; }

/* Inner details that play after their card lands */
html.js:not(.no-motion) .step:not(.is-in) .bars i,
html.js:not(.no-motion) .card:not(.is-in) .split-demo .bar i { transform: scaleX(0); }
html.js:not(.no-motion) .checklist .dot { transition-delay: calc(0.35s + var(--n, 0) * 0.32s); }
html.js:not(.no-motion) .step:not(.is-in) .checklist .dot { background: rgba(42, 42, 39, 0.06); color: transparent; transition-delay: 0s; }
.checklist li:nth-child(2) .dot { --n: 1; } .checklist li:nth-child(3) .dot { --n: 2; }
.checklist li:nth-child(4) .dot { --n: 3; } .checklist li:nth-child(5) .dot { --n: 4; }

/* Ambient: waveform breathing */
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
html.js:not(.no-motion) .wave i { transform-origin: center; animation: breathe 1.3s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-duration: 1.7s; } .wave i:nth-child(3n) { animation-duration: 1.1s; animation-delay: 0.2s; }
.wave i:nth-child(4n) { animation-delay: 0.4s; } .wave i:nth-child(5n) { animation-duration: 1.5s; animation-delay: 0.1s; }

/* ==========================================================================
   Site-wide components added for the multi-page build
   ========================================================================== */

/* Nav dropdowns */
.nav-links .has-menu { position: relative; }
.nav-links .has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.6; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  min-width: 520px; padding: 10px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.97); box-shadow: var(--shadow-float);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; pointer-events: none; visibility: hidden;
  /* Closing is delayed so the pointer can cross from the trigger into the panel without it vanishing. */
  transition: opacity var(--t-std) var(--ease) 180ms, transform var(--t-std) var(--ease) 180ms, visibility 0s linear calc(var(--t-std) + 180ms);
}
/* Invisible bridge over the gap between the trigger and the panel, so hover never drops in between. */
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu { opacity: 1; pointer-events: auto; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.menu.narrow { min-width: 280px; grid-template-columns: 1fr; }
.menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; }
.menu a b { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.menu a span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.menu a:hover { background: var(--paper-2); }
.nav-sheet details { border-top: 1px solid var(--line); padding-top: 4px; }
.nav-sheet summary { list-style: none; cursor: pointer; padding: 12px 14px; font-size: 16px; font-weight: 500; }
.nav-sheet summary::-webkit-details-marker { display: none; }
.nav-sheet details a { padding: 8px 14px 8px 26px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .nav-sheet { max-height: calc(100vh - 88px); overflow: auto; } }

/* Inner-page hero */
.page-hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero .hero-copy { text-align: left; margin-inline: 0; justify-items: start; max-width: 720px; }
.page-hero .hero-copy.center { text-align: center; margin-inline: auto; justify-items: center; }
.page-hero .hero-actions, .page-hero .hero-meta { justify-content: flex-start; }
.page-hero .hero-copy.center .hero-actions, .page-hero .hero-copy.center .hero-meta { justify-content: center; }
.page-hero .h1 { font-size: clamp(38px, 5.6vw, 64px); }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }
.visual { border-radius: var(--r-xl); background: linear-gradient(#f1f0eb 0%, #eae8e2 58%, #eceae4 100%); padding: clamp(14px, 3vw, 28px); box-shadow: inset 0 0 0 1px rgba(42, 42, 39, 0.04); position: relative; overflow: hidden; }
.visual::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 18% 0%, rgba(116, 102, 232, 0.10), transparent 70%), radial-gradient(50% 50% at 88% 100%, rgba(222, 10, 38, 0.08), transparent 70%); }
.visual > * { position: relative; }
.visual img { border-radius: var(--r-md); box-shadow: var(--shadow-float); outline: 1px solid rgba(0, 0, 0, 0.06); outline-offset: -1px; }
.visual.tall { display: flex; justify-content: center; }
.visual.tall img { max-height: 520px; width: auto; }
html.js:not(.no-motion) .page-hero .hero-copy > * { animation: rise 0.7s var(--ease-out) both; }
html.js:not(.no-motion) .page-hero .hero-copy > :nth-child(1) { animation-delay: 0.05s; }
html.js:not(.no-motion) .page-hero .hero-copy > :nth-child(2) { animation-delay: 0.15s; }
html.js:not(.no-motion) .page-hero .hero-copy > :nth-child(3) { animation-delay: 0.28s; }
html.js:not(.no-motion) .page-hero .hero-copy > :nth-child(4) { animation-delay: 0.38s; }
html.js:not(.no-motion) .page-hero .hero-copy > :nth-child(5) { animation-delay: 0.46s; }
html.js:not(.no-motion) .page-hero .visual { animation: rise 0.9s var(--ease-out) 0.35s both; --rise: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; color: var(--muted-2); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 22px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.stat .k { font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -0.035em; line-height: 1; font-weight: 500; }
.stat .v { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.stat.dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.stat.dark .v { color: rgba(255, 255, 255, 0.6); }

/* Feature list (two column dl) */
.features-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 760px) { .features-2 { grid-template-columns: 1fr; } }
.features-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) { .features-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-3 { grid-template-columns: 1fr; } }
.feat { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); align-items: start; }
.feat .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); }
.feat .icon svg { width: 20px; height: 20px; }
.feat h3 { font-size: 17px; letter-spacing: -0.012em; font-weight: 500; }
.feat p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.feat.soft { background: linear-gradient(#f1f0eb 0%, #eae8e2 58%, #eceae4 100%); }

/* Split (text + visual), alternating */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 56px); }
.split.rev > .split-copy { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > .split-copy { order: 0; } }
.split-copy { display: grid; gap: 16px; justify-items: start; }
.split-copy .h2 { font-size: clamp(28px, 3.6vw, 40px); }
.split-copy ul.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.ticks li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--live); }
.ticks li b { color: var(--ink); font-weight: 500; }

/* Logo / store wall */
.wall { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 48px); }
.wall-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.wall-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wall-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-card); font-size: 13.5px; letter-spacing: -0.005em; white-space: nowrap; }
.chip-store img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.chip-store .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.chip-store small { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 2px 6px; border-radius: 6px; background: var(--paper-2); }

/* Prose + legal layout */
.prose { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); text-wrap: balance; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; line-height: 1.2; margin-top: 2em; padding-top: 0.6em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 19px; letter-spacing: -0.015em; margin-top: 1.6em; }
.prose h4, .prose h5, .prose h6 { font-size: 16px; margin-top: 1.4em; }
.prose p b, .prose p strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 1em; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; } }
.prose code { font-family: var(--font-mono); font-size: 0.92em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.prose img { border-radius: var(--r-md); outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.prose .lead { font-size: 18px; color: var(--ink-2); }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; padding-block: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 88px; display: grid; gap: 4px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.toc .mono { margin-bottom: 8px; }
.toc a { font-size: 13.5px; color: var(--muted); padding: 6px 10px; border-radius: 8px; line-height: 1.35; }
.toc a:hover { color: var(--ink); background: var(--paper-2); }
.toc a.is-active { color: var(--ink); background: var(--white); box-shadow: var(--shadow-card); }
@media (max-width: 900px) { .toc { position: static; max-height: none; } }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legal-meta .tag { font-size: 11px; }

/* Forms */
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.form legend { display: grid; gap: 4px; margin-bottom: 8px; padding: 0; }
.form legend b { font-size: 18px; font-weight: 500; letter-spacing: -0.012em; }
.form legend span { font-size: 13.5px; color: var(--muted); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; letter-spacing: -0.005em; }
.field label small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  height: 46px; padding: 0 14px; border-radius: 12px; border: 0;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow var(--t-quick) var(--ease);
  width: 100%;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%238a8880' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.checks { display: grid; gap: 10px; }
.checks label, .radio label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.checks input, .radio input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form .hint { font-size: 13px; color: var(--muted); }
.form-card { background: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-card); }
.form-note { display: none; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-note.ok { display: block; background: var(--live-soft); color: #23764f; }
.form-note.err { display: block; background: var(--accent-soft); color: var(--accent); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Two-column page layout (form + aside) */
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.aside { display: grid; gap: 14px; position: sticky; top: 88px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside .tile { padding: 22px; }
.aside .tile p { font-size: 14px; }
.aside .tile a.link { color: var(--ink); border-bottom: 1px solid var(--line-2); }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { display: grid; gap: 0; margin-top: clamp(32px, 4vw, 48px); border-left: 1px solid var(--line-2); margin-left: 8px; }
.tl { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0 18px 28px; position: relative; }
.tl::before { content: ""; position: absolute; left: -5px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper); }
.tl .when { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.tl h3 { font-size: 18px; letter-spacing: -0.012em; font-weight: 500; }
.tl p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.tl a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 600px) { .tl { grid-template-columns: 1fr; gap: 4px; } }

/* News grid + article */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: grid; gap: 0; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); }
.news-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(42, 42, 39, 0.06), 0 12px 30px rgba(42, 42, 39, 0.10); }
.news-card .thumb { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.news-card .meta { display: flex; gap: 10px; align-items: center; }
.news-card h3 { font-size: 17px; letter-spacing: -0.012em; font-weight: 500; line-height: 1.3; }
.news-card p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.news-card.featured { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; }
.news-card.featured .thumb { aspect-ratio: auto; min-height: 320px; }
.news-card.featured .body { padding: clamp(22px, 3vw, 40px); align-content: center; }
.news-card.featured h3 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.025em; }
@media (max-width: 760px) { .news-card.featured { grid-template-columns: 1fr; } .news-card.featured .thumb { min-height: 220px; } }
.article { max-width: 760px; margin-inline: auto; padding-block: clamp(32px, 5vw, 64px); display: grid; gap: 22px; }
.article .hero-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.article .hero-img img { width: 100%; max-height: 460px; object-fit: cover; }
.article .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.article .h1 { font-size: clamp(32px, 4.6vw, 52px); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.related { margin-top: clamp(40px, 6vw, 72px); }

/* Jobs */
.jobs { display: grid; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.job { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-card); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); }
.job:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(42, 42, 39, 0.06), 0 12px 30px rgba(42, 42, 39, 0.10); }
.job h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.012em; }
.job p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.job .chev { width: 16px; height: 16px; color: var(--muted); }
@media (max-width: 600px) { .job { grid-template-columns: 1fr auto; } .job .tag { display: none; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.quote p { font-size: 15.5px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.quote p::before { content: "\201C"; color: var(--accent); font-size: 28px; line-height: 0; vertical-align: -10px; margin-right: 4px; }
.quote .who { display: flex; align-items: center; gap: 10px; }
.quote .who i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-mono); font-size: 12px; background: var(--ink); color: var(--white); }
.quote .who b { font-size: 13.5px; font-weight: 500; display: block; }
.quote .who span { font-size: 12px; color: var(--muted); }

/* Press logos */
.press-logos { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; margin-top: 18px; }
.press-logos img { height: 34px; width: auto; border-radius: 6px; opacity: 0.75; filter: grayscale(1); transition: opacity var(--t-quick) var(--ease), filter var(--t-quick) var(--ease); }
.press-logos img:hover { opacity: 1; filter: none; }

/* Pricing table (comparison) */
.table-wrap { overflow-x: auto; margin-top: clamp(32px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { border-top: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; background: var(--paper); }
.cmp td:first-child { color: var(--ink); font-weight: 500; }
.cmp td { color: var(--ink-2); }
.cmp .yes { color: #23764f; } .cmp .no { color: var(--muted-2); }
.cmp .yes svg, .cmp .no svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.cmp .hi { background: rgba(42, 42, 39, 0.03); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-inputs { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.calc-row { display: grid; grid-template-columns: 26px 1fr 130px; gap: 12px; align-items: center; }
.calc-row img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.calc-row .n { font-size: 14.5px; }
.calc-row .n small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.calc-row input { font: inherit; font-size: 14.5px; height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: right; font-variant-numeric: tabular-nums; width: 100%; }
.calc-row input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.calc-out { display: grid; gap: 14px; position: sticky; top: 88px; }
.calc-gross { padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.calc-gross .k { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-gross .mono { color: rgba(255, 255, 255, 0.55); }
.calc-gross p { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.calc-plans { display: grid; }
.calc-plan { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); align-items: center; background: var(--white); }
.calc-plan:first-child { border-top: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.calc-plan:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.calc-plan b { font-weight: 500; font-size: 14.5px; display: block; }
.calc-plan span { font-size: 12.5px; color: var(--muted); }
.calc-plan .net { font-family: var(--font-mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-plan.best { background: var(--live-soft); }
.calc-plan.best .net { color: #23764f; }
.calc-wrap { border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }

/* Territory */
.genres { display: flex; flex-wrap: wrap; gap: 8px; }
.genres span { padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-card); font-size: 14px; }
.flag { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-card); font-size: 22px; }

/* Bento variants */
.bento .card .stat-inline { font-size: 34px; letter-spacing: -0.035em; line-height: 1; }
.card.dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.card.dark .body, .card.dark .tag { color: rgba(255, 255, 255, 0.72); }
.card.dark .tag { background: rgba(255, 255, 255, 0.1); }
.card.dark .icon { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.card img.shot { border-radius: 12px; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; margin-top: auto; }
.app-badge img { height: 44px; width: auto; }

/* Misc */
.divider { height: 1px; background: var(--line); }
.inline-link { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.inline-link:hover { border-color: var(--ink); }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--paper-2); font-size: 14.5px; color: var(--ink-2); line-height: 1.5; align-items: start; }
.callout svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.callout b { color: var(--ink); font-weight: 500; }
.sitemap-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) { .sitemap-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sitemap-cols { grid-template-columns: 1fr; } }
.sitemap-cols h3 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 12px; }
.sitemap-cols li { margin: 0 0 8px; }
.sitemap-cols a { font-size: 15px; color: var(--ink-2); }
.sitemap-cols a:hover { color: var(--ink); }

/* ---------- Artist seat slider ---------- */
.seats { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.plan.is-featured .seats { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.seats-head { display: flex; justify-content: space-between; align-items: baseline; }
.seats-head b { font-size: 14px; font-weight: 500; }
.seats-foot { display: flex; justify-content: space-between; gap: 8px; }
.plan.is-featured .seats-foot { color: rgba(255, 255, 255, 0.6); }
.seats input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.seats input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) 0 var(--pct, 0%), rgba(42, 42, 39, 0.14) var(--pct, 0%) 100%); }
.seats input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(42, 42, 39, 0.14); }
.seats input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.seats input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink), 0 2px 8px rgba(42, 42, 39, 0.25); transition: transform var(--t-quick) var(--ease); }
.seats input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink), 0 2px 8px rgba(42, 42, 39, 0.25); }
.seats input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
.seats input[type="range"]:focus-visible { outline: none; }
.seats input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 5px rgba(42, 42, 39, 0.15); }
.plan.is-featured .seats input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #fff 0 var(--pct, 0%), rgba(255, 255, 255, 0.2) var(--pct, 0%) 100%); }
.plan.is-featured .seats input[type="range"]::-webkit-slider-thumb { background: var(--ink); box-shadow: 0 0 0 1.5px #fff; }
.plan.is-featured .seats input[type="range"]::-moz-range-progress { background: #fff; }
.plan.is-featured .seats input[type="range"]::-moz-range-thumb { background: var(--ink); box-shadow: 0 0 0 1.5px #fff; }
.plan-price .amt.num { min-width: 3.2ch; display: inline-block; }

/* ---------- Trustpilot ---------- */
.tp { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
@media (max-width: 860px) { .tp { grid-template-columns: 1fr; } }
.tp .h2 { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -0.035em; line-height: 1; }
.tp .mark { background: linear-gradient(transparent 55%, rgba(0, 182, 122, 0.22) 55%); }
.tp-score { display: grid; gap: 10px; justify-items: end; text-align: right; padding-top: 18px; border-top: 1px solid var(--line-2); }
.tp-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.tp-brand i { width: 10px; height: 10px; border-radius: 50%; background: #00b67a; }
.tp-stars { display: inline-flex; gap: 3px; }
.tp-stars span { width: 32px; height: 32px; display: grid; place-items: center; background: #00b67a; border-radius: 4px; color: #fff; }
.tp-stars span.half { background: linear-gradient(90deg, #00b67a var(--fill, 30%), #dcdce6 var(--fill, 30%)); }
.tp-stars span.empty { background: #dcdce6; }
.tp-stars svg { width: 20px; height: 20px; }
.tp-stars.sm span { width: 18px; height: 18px; border-radius: 3px; }
.tp-stars.sm svg { width: 11px; height: 11px; }
.tp-score .k { font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.tp-score .k small { font-size: 18px; letter-spacing: -0.01em; color: var(--muted); margin-left: 4px; }
.tp-score .v { font-size: 13px; color: var(--muted); }
.tp-score .v b { color: #007a52; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.tp-score a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.tp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1000px) { .tp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tp-grid { grid-template-columns: 1fr; } }
.tp-card { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.tp-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.tp-card footer { padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tp-card footer b { font-size: 14px; font-weight: 500; }
.tp-card footer span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Royalty calculator v2 ---------- */
.rc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .rc { grid-template-columns: 1fr; } }
.rc-in, .rc-out { display: grid; gap: 20px; }
.rc-out { position: sticky; top: 88px; }
@media (max-width: 960px) { .rc-out { position: static; } }
.rc-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 22px 24px; display: grid; gap: 16px; }
.rc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 32px; }
.rc-seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--paper-2); }
.rc-seg button { height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500; color: var(--muted); transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease); }
.rc-seg button.is-on { background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-chip { height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease), transform var(--t-quick) var(--ease); }
.rc-chip:hover { background: var(--white); }
.rc-chip:active { transform: scale(0.96); }
.rc-chip.is-on { background: var(--ink); color: var(--white); box-shadow: none; }
.rc-rows { display: grid; }
.rc-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 120px 72px 84px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rc-row:first-child { border-top: 0; padding-top: 2px; }
.rc-row img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.rc-name { font-size: 14.5px; letter-spacing: -0.005em; min-width: 0; }
.rc-name small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.02em; margin-top: 1px; }
.rc-name small[contenteditable="true"] span, .rc-row.is-editing [data-rate-label] { outline: 1px dashed var(--line-2); padding: 0 3px; border-radius: 4px; color: var(--ink); }
.rc-streams { font: inherit; font-size: 14px; height: 38px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: right; font-variant-numeric: tabular-nums; width: 100%; transition: box-shadow var(--t-quick) var(--ease); }
.rc-streams:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.rc-bar { height: 6px; border-radius: 4px; background: rgba(42, 42, 39, 0.08); overflow: hidden; }
.rc-bar i { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--ink); transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform 0.45s var(--ease-out); }
.rc-amt { font-family: var(--font-mono); font-size: 12.5px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .rc-row { grid-template-columns: 28px minmax(0, 1fr) 104px; } .rc-bar, .rc-amt { display: none; } }
.rc-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.rc-foot .rc-link { font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--line-2); padding: 0; transition: border-color var(--t-quick) var(--ease); }
.rc-foot .rc-link:hover { border-color: var(--ink); }
.rc-foot .rc-link.is-on { color: var(--accent); border-color: var(--accent); }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .rc-grid { grid-template-columns: 1fr; } }
.rc-field { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); align-content: start; }
.rc-field input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.rc-field input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) 0 var(--pct, 60%), rgba(42, 42, 39, 0.14) var(--pct, 60%) 100%); }
.rc-field input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(42, 42, 39, 0.14); }
.rc-field input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.rc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink), 0 2px 8px rgba(42, 42, 39, 0.25); }
.rc-field input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink), 0 2px 8px rgba(42, 42, 39, 0.25); }
.rc-select { font: inherit; font-size: 14.5px; color: var(--ink); height: 42px; padding: 0 36px 0 12px; border-radius: 10px; border: 0; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%238a8880' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; box-shadow: inset 0 0 0 1px var(--line-2); appearance: none; -webkit-appearance: none; }
.rc-select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.rc-gross { padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); display: grid; gap: 10px; }
.rc-gross .mono { color: rgba(255, 255, 255, 0.55); }
.rc-gross .k { font-size: clamp(38px, 4.2vw, 52px); letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.rc-gross-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.rc-gross-meta b { color: var(--white); font-weight: 500; }
.rc-plans-card { padding: 0; overflow: hidden; gap: 0; }
.rc-plans-card .rc-head { padding: 18px 24px 12px; }
.rc-plans { display: grid; }
.rc-plan { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line); align-items: center; transition: background-color var(--t-std) var(--ease); }
.rc-plan b { font-weight: 500; font-size: 14.5px; display: block; letter-spacing: -0.005em; }
.rc-plan span { font-size: 12.5px; color: var(--muted); }
.rc-plan-right { text-align: right; display: grid; gap: 2px; }
.rc-plan .net { font-family: var(--font-mono); font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rc-plan small { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rc-plan.best { background: var(--live-soft); }
.rc-plan.best .net { color: #23764f; }
.rc-plan.best small { color: #23764f; }
.visual-logo { display: grid; place-items: center; min-height: 280px; transition: background-color var(--t-std) var(--ease); }
.visual-logo img { width: min(72%, 440px); height: auto; border-radius: 0; box-shadow: none; outline: 0; transition: transform var(--t-std) var(--ease); }
.visual-logo:hover img { transform: scale(1.03); }
.rc-unit { display: flex; align-items: center; gap: 8px; }
.rc-unit span { font-size: 14px; color: var(--muted); font-family: var(--font-mono); }
.rc-terms .rc-field label { font-size: 11px; }
.rc-keep { padding: 2px 24px 18px; display: grid; gap: 6px; }
.rc-keep .k { font-size: clamp(30px, 3vw, 38px); letter-spacing: -0.035em; line-height: 1; font-weight: 500; color: #23764f; }
.rc-keep small { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rc-be { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.rc-be b { color: var(--ink); font-weight: 500; }
.rc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Captcha ---------- */
.captcha { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: end; }
.captcha .q { font-size: 13.5px; color: var(--ink-2); padding-bottom: 12px; }
.captcha .q b { color: var(--ink); font-weight: 500; font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.04em; }
@media (max-width: 480px) { .captcha { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 960px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.member { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.member .avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 18px; letter-spacing: 0.04em; color: var(--white); background: var(--ink); }
.member .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.member .avatar.soft { background: var(--paper-2); color: var(--ink); }
.member h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.012em; }
.member .role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.member p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.member.founder { grid-column: span 2; grid-template-columns: 64px 1fr; align-items: start; }
@media (max-width: 520px) { .member.founder { grid-column: span 1; grid-template-columns: 1fr; } }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2); transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease); }
.lang-switch:hover { background: rgba(42, 42, 39, 0.05); color: var(--ink); }
.nav-sheet .lang-switch { height: auto; padding: 12px 14px; font-family: var(--font-display); font-size: 16px; letter-spacing: 0; text-transform: none; border-top: 1px solid var(--line); border-radius: 0; }
@media (max-width: 900px) { .nav-cta .lang-switch { display: none; } }

/* Language switcher (nav dropdown, mobile sheet list, footer row) */
.lang-menu { position: relative; display: flex; align-items: center; }
.lang-menu > .lang-switch { gap: 6px; }
.lang-menu > .lang-switch svg { width: 15px; height: 15px; }
.lang-menu > .lang-switch::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.6; }
.lang-menu .menu { left: auto; right: 0; transform: translate(0, 6px); min-width: 180px; }
.lang-menu:hover .menu, .lang-menu:focus-within .menu, .lang-menu.is-open .menu { transform: translate(0, 0); opacity: 1; pointer-events: auto; visibility: visible; }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.lang-list a[aria-current="true"] { color: var(--ink); font-weight: 500; }
.lang-list a[aria-current="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nav-sheet .lang-list { border-top: 1px solid var(--line); padding-top: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-sheet .lang-list a { font-size: 15px; padding: 10px 14px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 14px 0 26px; font-size: 12px; letter-spacing: 0.04em; }
.footer-langs a { color: var(--muted); }
.footer-langs a:hover, .footer-langs a[aria-current="true"] { color: var(--ink); }
@media (max-width: 900px) { .nav-cta .lang-menu { display: none; } }

/* Product brand cards (About: The InterSpace Group) */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1100px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .brand-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: 1fr; } }
.brand-card { display: grid; align-content: start; gap: 8px; padding: 24px 22px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); color: var(--ink); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); }
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.brand-logo { height: 64px; display: flex; align-items: center; margin-bottom: 10px; }
.brand-logo img { max-height: 56px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.brand-card h3 { font-size: 17px; letter-spacing: -0.012em; font-weight: 500; }
.brand-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.brand-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.brand-go .chev { width: 12px; height: 12px; transition: transform var(--t-quick) var(--ease); }
.brand-card:hover .brand-go { color: var(--ink); }
.brand-card:hover .brand-go .chev { transform: translateX(2px); }

/* Right-to-left mirror (Arabic) */
[dir="rtl"] .section-head.left, [dir="rtl"] .page-hero .hero-copy, [dir="rtl"] .prose th, [dir="rtl"] .prose td, [dir="rtl"] .cmp th, [dir="rtl"] .cmp td { text-align: right; }
[dir="rtl"] .tile-stat small, [dir="rtl"] .payout-total small, [dir="rtl"] .field label small, [dir="rtl"] .tp-score .k small { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .faq summary .plus { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav-links .has-menu > a::after, [dir="rtl"] .lang-menu > .lang-switch::after { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .plan-flag { right: auto; left: 20px; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.3em; }
[dir="rtl"] .prose blockquote { border-left: 0; border-right: 2px solid var(--accent); padding-left: 0; padding-right: 1em; }
[dir="rtl"] .toc { padding-right: 0; padding-left: 6px; }
[dir="rtl"] .timeline { border-left: 0; border-right: 1px solid var(--line-2); margin-left: 0; margin-right: 8px; }
[dir="rtl"] .tl::before { left: auto; right: -5px; }
[dir="rtl"] .quote p::before { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .tp-score { justify-items: start; text-align: left; }
[dir="rtl"] .rc-amt, [dir="rtl"] .rc-plan-right { text-align: left; }
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] .lang-menu .menu { right: auto; left: 0; }
[dir="rtl"] .nav-sheet details a { padding: 8px 26px 8px 14px; }
[dir="rtl"] .btn:hover .chev, [dir="rtl"] .brand-card:hover .brand-go .chev { transform: translateX(-2px) scaleX(-1); }
[dir="rtl"] .chev { transform: scaleX(-1); }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* Arabic type: Inter has no Arabic glyphs, Noto Sans Arabic is loaded on /ar/ pages */
[lang="ar"] body, [lang="ar"] button, [lang="ar"] input, [lang="ar"] select, [lang="ar"] textarea { font-family: "Noto Sans Arabic", var(--font-display), system-ui, sans-serif; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .h1, [lang="ar"] .h2, [lang="ar"] .h3, [lang="ar"] .h4, [lang="ar"] .display { letter-spacing: 0; }

/* Footer social: circular logo buttons */
.footer-social { display: inline-flex; gap: 8px; align-items: center; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease); }
.footer-social a:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.footer-social a:active { transform: scale(0.96); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { align-items: center; }

/* ---------- Partner pages: logo strip and video format previews ---------- */
.partner-strip { margin-top: 28px; }
.partner-strip img { height: 36px; opacity: 0.85; filter: none; }
.partner-strip a:hover img { opacity: 1; }
.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .format-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .format-grid { grid-template-columns: 1fr; } }
.fmt { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.fmt h3 { font-size: 16px; letter-spacing: -0.012em; font-weight: 500; margin-top: 4px; }
.fmt p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.fmt-frame { --cover: url(../img/live/3978835.webp); position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: var(--ink) var(--cover) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); display: grid; place-items: center; isolation: isolate; }
.fmt-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 16, 0.05) 0%, rgba(20, 18, 16, 0.55) 100%); }
.fmt-frame.wide { aspect-ratio: 16 / 9; }
.fmt-frame.square { aspect-ratio: 1 / 1; }
.fmt-frame.tall { aspect-ratio: 9 / 16; max-height: 300px; width: auto; justify-self: center; }
.fmt-tag { position: absolute; left: 10px; bottom: 10px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); background: rgba(20, 18, 16, 0.55); padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(6px); }
.fmt-lyrics { position: relative; display: grid; gap: 4px; text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 13px; letter-spacing: -0.01em; padding: 0 12px; }
.fmt-lyrics .on { color: var(--white); font-size: 17px; font-weight: 500; }
.fmt-loop { position: relative; color: var(--white); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); background: rgba(20, 18, 16, 0.3); }
.fmt-eq { position: relative; display: flex; gap: 5px; align-items: flex-end; height: 40px; }
.fmt-eq i { display: block; width: 6px; border-radius: 3px; background: var(--white); height: 40%; animation: fmt-eq 1.1s ease-in-out infinite; transform-origin: bottom; }
.fmt-eq i:nth-child(2) { animation-delay: 0.15s; } .fmt-eq i:nth-child(3) { animation-delay: 0.3s; } .fmt-eq i:nth-child(4) { animation-delay: 0.45s; } .fmt-eq i:nth-child(5) { animation-delay: 0.6s; }
@keyframes fmt-eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.fmt-frame.tall::after, .fmt-frame.square::after { content: ""; position: absolute; inset: -20%; background: var(--cover) center / cover no-repeat; z-index: -1; animation: fmt-pan 14s ease-in-out infinite alternate; }
.fmt-frame.tall { background-image: none; } .fmt-frame.square { background-image: none; }
@keyframes fmt-pan { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-3%, 2%); } }
.visual-formats { display: grid; place-items: center; }
.fmt-hero { display: grid; grid-template-columns: 1.5fr 0.8fr; grid-template-rows: auto auto; gap: 12px; width: 100%; max-width: 520px; }
.fmt-hero .fmt-frame.wide { grid-column: 1; grid-row: 1; }
.fmt-hero .fmt-frame.tall { grid-column: 2; grid-row: 1 / 3; max-height: none; width: 100%; }
.fmt-hero .fmt-frame.square { grid-column: 1; grid-row: 2; max-width: 180px; }
@media (prefers-reduced-motion: reduce) { .fmt-eq i, .fmt-frame::after { animation: none; } }
[dir="rtl"] .fmt-tag { left: auto; right: 10px; }

/* ---------- World map with staff pins ---------- */
.map { position: relative; margin-top: clamp(32px, 4vw, 48px); border-radius: var(--r-xl); padding: clamp(14px, 3vw, 28px); background: linear-gradient(#fbfbf9 0%, #f1f0eb 100%); box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(42, 42, 39, 0.05); overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 55% 45%, rgba(222, 10, 38, 0.06), transparent 70%); pointer-events: none; }
.map-dots { display: block; width: 100%; height: auto; position: relative; }
.map-pins { position: absolute; inset: clamp(14px, 3vw, 28px); }
.pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; }
.pin i { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(222, 10, 38, 0.35); }
.pin i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; animation: pin-pulse 2.6s ease-out infinite; }
.pin.hq i { width: 14px; height: 14px; background: var(--ink); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 2px 10px rgba(42, 42, 39, 0.35); }
.pin.hq i::after { border-color: var(--ink); }
.pin:nth-child(2) i::after { animation-delay: 0.4s; } .pin:nth-child(3) i::after { animation-delay: 0.8s; } .pin:nth-child(4) i::after { animation-delay: 1.2s; } .pin:nth-child(5) i::after { animation-delay: 1.6s; }
@keyframes pin-pulse { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
.pin .mono { position: absolute; top: calc(100% + 8px); white-space: nowrap; font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink); background: rgba(255, 255, 255, 0.92); padding: 4px 8px; border-radius: 999px; box-shadow: var(--shadow-card); }
.pin.hq .mono { background: var(--ink); color: var(--white); }
.pin.l .mono, .pin.r .mono { top: 50%; transform: translateY(-50%); }
.pin.l .mono { right: calc(100% + 9px); }
.pin.r .mono { left: calc(100% + 9px); }
.pin.t .mono { top: auto; bottom: calc(100% + 8px); }
@media (max-width: 640px) { .pin .mono { display: none; } .pin i { width: 8px; height: 8px; } }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-card); font-size: 13.5px; }
.map-legend li i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.map-legend li.hq i { background: var(--ink); }
.map-legend li b { font-weight: 500; }
.map-legend li span { color: var(--muted); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .pin i::after { animation: none; } }

/* ---------- Film distribution: letterboxed hero ---------- */
.visual-film { display: grid; gap: 14px; align-content: center; }
.film-frame { border-radius: 14px; overflow: hidden; background: #0f0e0d; box-shadow: var(--shadow-float); display: grid; }
.film-bar { height: 26px; background: #050505; }
.film-card { aspect-ratio: 2.39 / 1; display: grid; align-content: end; gap: 10px; padding: clamp(16px, 3vw, 28px); color: var(--white);
  background: radial-gradient(120% 90% at 20% 10%, rgba(222, 10, 38, 0.55), transparent 60%), radial-gradient(80% 80% at 90% 90%, rgba(120, 90, 255, 0.35), transparent 60%), linear-gradient(160deg, #262421, #0f0e0d); }
.film-card .mono { color: rgba(255, 255, 255, 0.6); }
.film-card b { font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.05; }
.film-windows { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.film-windows span { padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.film-windows span:first-child { background: var(--white); color: var(--ink); box-shadow: none; }
.film-windows i { width: 14px; height: 1px; background: rgba(255, 255, 255, 0.45); }
.film-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.film-chips .mono { font-size: 10.5px; padding: 6px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-card); color: var(--ink); }

/* ---------- YouTube MCN: Creator Hub mock and segment grid ---------- */
.visual-hub { display: grid; place-items: center; }
.hub { width: 100%; max-width: 520px; background: var(--ink); color: var(--white); border-radius: 18px; padding: 18px; display: grid; gap: 14px; box-shadow: var(--shadow-float); font-size: 13px; }
.hub-lite { max-width: none; }
.hub-top { display: flex; align-items: center; gap: 10px; }
.hub-top b { font-weight: 500; font-size: 14px; }
.hub-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(222, 10, 38, 0.25); }
.hub-pill { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.hub-pill.live { background: rgba(35, 118, 79, 0.35); color: #8be0b6; }
.hub-channels { display: grid; gap: 6px; }
.hub-ch { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.hub-ch i { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.hub-ch > div { min-width: 0; }
.hub-ch b { display: block; font-weight: 500; font-size: 13px; }
.hub-ch span { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.hub-rev { display: grid; gap: 8px; padding-top: 4px; }
.hub-rev-head { display: flex; justify-content: space-between; }
.hub-rev .mono { color: rgba(255, 255, 255, 0.5); font-size: 10.5px; }
.hub-bar { display: grid; grid-template-columns: 96px 1fr 40px; gap: 10px; align-items: center; }
.hub-bar span { font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.hub-bar div { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hub-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--accent), #ff5c6c); transform-origin: left; animation: hub-grow 1.1s var(--ease-out) both; }
.hub-bar b { font-family: var(--font-mono); font-size: 11px; text-align: right; color: var(--white); }
@keyframes hub-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hub-foot { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; gap: 6px 8px; align-items: baseline; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hub-foot .mono { font-size: 10px; color: rgba(255, 255, 255, 0.5); }
.hub-foot b { font-weight: 500; font-size: 12.5px; }
@media (max-width: 480px) { .hub-foot { grid-template-columns: auto 1fr; } .hub-bar { grid-template-columns: 80px 1fr 36px; } }
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1000px) { .seg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .seg-grid { grid-template-columns: 1fr; } }
.seg { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); }
.seg:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.seg .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.seg .icon svg { width: 20px; height: 20px; }
.seg h3 { font-size: 16.5px; letter-spacing: -0.012em; font-weight: 500; }
.seg p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.compare-col .small { color: var(--muted); margin-top: 4px; }
.compare-col.with .small { color: rgba(255, 255, 255, 0.55); }
[dir="rtl"] .hub-pill { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hub-bar i { transform-origin: right; }
@media (prefers-reduced-motion: reduce) { .hub-bar i { animation: none; } }

/* ---------- Forms: repeatable fields and consent checkbox ---------- */
.multi-list { display: grid; gap: 8px; }
.multi-add { justify-self: start; font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--line-2); padding: 0; margin-top: 2px; transition: border-color var(--t-quick) var(--ease); }
.multi-add:hover { border-color: var(--ink); }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.field.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }

/* Press row: image logos plus text wordmarks for outlets without a usable logo file */
.press-logos img { max-width: 150px; object-fit: contain; }
.press-word { font-family: var(--font-display, inherit); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); opacity: 0.7; transition: opacity var(--t-quick) var(--ease); white-space: nowrap; }
.press-word:hover { opacity: 1; }

/* ---------- Consent banner ---------- */
.consent { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 90; width: min(440px, calc(100vw - 32px)); opacity: 0; transform: translateY(12px); transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease); }
.consent.is-in { opacity: 1; transform: translateY(0); }
.consent-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-float), 0 0 0 1px rgba(42, 42, 39, 0.06); padding: 20px 20px 16px; display: grid; gap: 14px; }
.consent-body { display: grid; gap: 6px; }
.consent-body b { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.consent-body p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.consent-body a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.consent-body a:hover { border-color: var(--ink); }
.consent-prefs { display: grid; gap: 8px; }
.consent-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.consent-row b { display: block; font-size: 13.5px; font-weight: 500; }
.consent-row small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.consent-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-row i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: rgba(42, 42, 39, 0.18); transition: background-color var(--t-quick) var(--ease); }
.consent-row i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform var(--t-quick) var(--ease); }
.consent-row input:checked + i { background: var(--ink); }
.consent-row input:checked + i::after { transform: translateX(16px); }
.consent-row input:disabled + i { opacity: 0.55; }
.consent-row input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent-link { font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--line-2); padding: 0; margin-inline-start: auto; transition: border-color var(--t-quick) var(--ease); }
.consent-link:hover { border-color: var(--ink); }
.footer-link { font: inherit; color: inherit; border-bottom: 1px solid var(--line-2); padding: 0; margin-inline-start: 10px; cursor: pointer; }
.footer-link:hover { border-color: var(--ink); color: var(--ink); }
[dir="rtl"] .consent-row i::after { left: auto; right: 3px; }
[dir="rtl"] .consent-row input:checked + i::after { transform: translateX(-16px); }
@media (max-width: 560px) { .consent { inset-inline-start: 8px; bottom: 8px; width: calc(100vw - 16px); } .consent-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* The hidden attribute must win over component display rules */
[hidden] { display: none !important; }

/* ---------- Home hero: real product on real devices, over a softly blurred photo ---------- */
.stage.devices { position: relative; display: grid; place-items: end center; overflow: hidden; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) 0; min-height: 380px; background: #dcd9d1; box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(42, 42, 39, 0.06); isolation: isolate; }
.devices-bg { position: absolute; inset: -48px; background: url(../img/live/LVZ5d29.webp) center / cover no-repeat; filter: blur(30px) saturate(1.05); transform: scale(1.12); z-index: 0; }
.devices-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 250, 247, 0.42) 0%, rgba(250, 250, 247, 0.12) 60%, rgba(20, 18, 16, 0.18) 100%); }
.devices-shot { position: relative; z-index: 1; width: min(100%, 1040px); height: auto; display: block; filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.38)); animation: devices-in 1.1s var(--ease-out) both; animation-delay: 0.15s; }
@keyframes devices-in { from { opacity: 0; transform: translateY(28px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 640px) { .stage.devices { min-height: 0; padding-top: 20px; border-radius: 18px; } .devices-shot { filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35)); } }
@media (prefers-reduced-motion: reduce) { .devices-shot { animation: none; } }

/* ---------- Store icons: centred app-icon grid ---------- */
.stores .section-head { text-align: center; max-width: 720px; margin-inline: auto; }
.dsp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 26px; max-width: 760px; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; list-style: none;
  mask-image: linear-gradient(180deg, #000 62%, rgba(0, 0, 0, 0.15) 100%); -webkit-mask-image: linear-gradient(180deg, #000 62%, rgba(0, 0, 0, 0.15) 100%); }
.dsp-grid li { width: 56px; height: 56px; }
.dsp-grid img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; display: block; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06); transition: transform var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease); }
.dsp-grid li:hover img { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06); }
@media (max-width: 640px) { .dsp-grid { gap: 14px 16px; } .dsp-grid li, .dsp-grid img { width: 46px; height: 46px; } .dsp-grid img { border-radius: 12px; } }

/* Large icon grids: cap the stagger so the last rows do not wait seconds to appear */
.dsp-grid > li[data-reveal-child] { transition-delay: calc(min(var(--i, 0), 14) * 35ms) !important; }

/* ---------- "What makes InterSpace different" ---------- */
.diff { max-width: 980px; margin-inline: auto; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px); border: 1.5px dashed rgba(42, 42, 39, 0.16); border-radius: 28px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.diff-mark { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, 0.05); background: var(--white); padding: 8px; box-sizing: border-box; }
.diff .h2 { margin-top: 6px; }
.diff .lead { color: var(--muted); }
.vs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; }
.vs-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 8px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(0, 0, 0, 0.04); font-size: 15px; font-weight: 500; color: var(--ink); }
.vs-pill img, .vs-ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; }
.vs-ico { background: var(--paper-2); color: var(--ink-2); font-family: var(--font-mono); font-size: 12px; font-style: normal; }
.vs-ico svg { width: 13px; height: 13px; }
.vs-label { font-size: 11px; color: var(--muted); margin-inline: 4px; }
.diff-claim { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; color: var(--ink); margin-top: 18px; }
.squiggle { padding-bottom: 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='6' viewBox='0 0 40 6'%3E%3Cpath d='M0 3c5-3 10-3 15 0s10 3 15 0 10-3 10 0' fill='none' stroke='%2323764f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom / 40px 6px; }
.diff-text { max-width: 560px; font-size: 17.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.diff .btn { margin-top: 10px; }
@media (max-width: 640px) { .diff { border-radius: 20px; } .vs-label { width: 100%; } }

.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 820px; margin-top: 10px; text-align: left; }
@media (max-width: 720px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-tile { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 18px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(0, 0, 0, 0.04); align-items: start; }
.diff-tile .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.diff-tile .icon svg { width: 20px; height: 20px; }
.diff-tile h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.012em; }
.diff-tile p { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 4px; }
.diff-tile > div:last-child, .diff-tile h3 + p { grid-column: 2; }
.diff-tile h3 { grid-column: 2; grid-row: 1; }
.diff-tile .icon { grid-row: 1 / 3; }

/* Mock interfaces and illustrations are pictures, not copy: no text selection, no image dragging */
.step-ui, .ledger, .sheet, .statement, .hub, .fmt-frame, .fmt-hero, .film-frame, .film-chips, .split-demo, .map-pins, .drop, .checklist, .payout, .stage.devices, .rc-bar, [aria-hidden="true"] { user-select: none; -webkit-user-select: none; }
.step-ui img, .hub img, .stage.devices img, .fmt-frame img, .dsp-grid img, .brand-logo img, .press-logos img { -webkit-user-drag: none; user-drag: none; }

/* Royalties band: the phone screenshot replaces the statement mock */
.band-shot { display: grid; place-items: center; }
.band-shot img { width: 100%; max-width: 460px; height: auto; border-radius: 22px; box-shadow: var(--shadow-float); outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }

.footer-bottom .mono a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.footer-bottom .mono a:hover { border-color: var(--ink); }

/* Mobile safety: grid children may not force their column wider than the screen, long words wrap */
.legal > *, .split > *, .two-col > *, .bento > *, .hero-split > * { min-width: 0; }
.prose, .legal, .faq .answer, .diff-text, .card .body, .feat p { overflow-wrap: anywhere; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { position: static; max-height: none; } }

/* Very narrow phones (320px): stat cards stack, the film hero frame shrinks with the card */
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } .stat .k { font-size: 30px; } .visual-film { padding-inline: 10px; } .film-frame { max-width: 100%; } .film-card { aspect-ratio: 2 / 1; padding: 14px; } }

/* ---------- Mobile menu: accordion sections with descriptions ---------- */
@media (max-width: 900px) {
  .nav-sheet .sheet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); border-top: 1px solid var(--line); border-radius: 0; }
  .nav-sheet .sheet-group { border-top: 0; padding-top: 0; }
  .nav-sheet .sheet-group summary { list-style: none; cursor: pointer; }
  .nav-sheet .sheet-group summary::-webkit-details-marker { display: none; }
  .sheet-chev { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform var(--t-std) var(--ease); }
  .nav-sheet .sheet-group[open] .sheet-chev { transform: rotate(180deg); }
  .nav-sheet .sheet-links { display: grid; gap: 4px; padding: 0 0 12px; }
  .nav-sheet .sheet-link { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
  .nav-sheet .sheet-link:active { transform: scale(0.99); }
  .nav-sheet .sheet-link b { font-size: 15.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
  .nav-sheet .sheet-link span { font-size: 13px; color: var(--muted); line-height: 1.4; }
  .nav-sheet .sheet-cta { width: 100%; box-sizing: border-box; margin: 10px 0 6px; justify-content: center; }
  .nav-sheet .lang-list { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
  .nav-sheet .lang-list a { padding: 10px 4px; font-size: 15px; }
  .nav.is-open ~ * { pointer-events: none; }
}
