@import url('/stadium/fonts.css');
/* =============================================================
   RaceTime marketing pages — shared Soft UI design system
   Soft UI without top-left inner highlight (no neumorphic emboss).
   Bottom/right soft shadows only.
   ============================================================= */

/* ── Self-hosted Inter (per RaceTime brand kit) ───────────────
   No Google Fonts CDN request — fonts served from the same origin. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/Inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/Inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/Inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/Inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./assets/fonts/Inter-800.woff2") format("woff2");
}

:root {
  /* Brand */
  --brand-orange-1: #FF4E1F;
  --brand-orange-2: #FF4E1F;
  --brand-amber-1:  #FF4E1F; /* retired amber -> Race Orange (flat v2) */
  --brand-amber-2:  #E63E12; /* hover shade of Race Orange (flat v2) */
  --brand-blue:     #1FA8E0;
  --brand-ink:      #0B1220;
  --brand-slate:    #6B7A90;

  /* Surfaces (Soft UI light) */
  --bg:             #EEF0F5;
  --surface:        #F4F6FB;
  --surface-raised: #F8F9FC;
  --surface-sunken: #E8ECF4;
  --border:         rgba(11,18,32,0.07);
  --border-strong:  rgba(11,18,32,0.12);

  /* Text */
  --text-1: #0B1220;
  --text-2: #4B5563;
  --text-3: #6B7A90;
  --text-inv: #FFFFFF;

  /* Soft shadows (NO top-left white highlight — bottom-right only) */
  --shadow-1: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-2: 0 6px 16px rgba(15,23,42,0.06);
  --shadow-3: 0 14px 32px rgba(15,23,42,0.10);
  --shadow-press: inset 0 -1px 0 rgba(148,163,184,0.10);
  /* Note: shadow-glow-* kept as variable names for compatibility,
     but values are now neutral grey to match the rest of the soft UI. */
  --shadow-glow-orange: 0 16px 36px rgba(15, 23, 42, 0.10);
  --shadow-glow-blue:   0 16px 36px rgba(15, 23, 42, 0.10);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-full: 9999px;

  /* Type — system fonts only (no external CDN, no Google Fonts).
     Falls back to Inter if user has it installed locally, otherwise uses
     native system fonts per RaceTime brand kit (Helvetica Neue / system-ui). */
  --font-sans: "Inter",-apple-system,"Helvetica Neue",system-ui,Arial,sans-serif;
  --font-mono: "SF Mono",Menlo,Consolas,"Courier New",monospace;

  /* Layout */
  --maxw: 1280px;
  --maxw-wide: 1440px;
  --pad-x: clamp(16px, 4vw, 28px);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
/* Clip horizontal decoration without making the full-height body a second
   vertical scroll container. Page scrolling and anchor jumps belong to the viewport. */
html, body { overflow-x: clip; }

body {
  font-family: var(--font-sans);
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-orange-1); text-decoration: none; }
a:hover { color: var(--brand-orange-2); }

/* ── Top nav ───────────────────────────────────────────────── */
.rt-nav {
  position: sticky; top: 0; z-index: 50;
  padding: 22px var(--pad-x) 10px;
  backdrop-filter: blur(14px);
  background: rgba(238,240,245,0.85);
}
.rt-nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
  padding: 14px clamp(20px, 3.2vw, 48px);
  display: flex; align-items: center; justify-content: flex-start; gap: 16px;
  position: relative;
  min-height: 72px;
  background: rgba(248,249,252,0.94);
  border: 1px solid rgba(11,18,32,0.08);
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(15,23,42,0.06);
  backdrop-filter: blur(18px);
}
.rt-logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
  min-width: 0;
}
.rt-logo img {
  height: 36px; width: auto; display: block;
  max-width: 100%;
}
@media (max-width: 540px) {
  .rt-logo img { height: 28px; max-width: 112px; }
}
@media (max-width: 380px) {
  .rt-logo img { height: 26px; max-width: 96px; }
}
/* Hide screen-reader-only logo wordmark text — logo is in the SVG */
.rt-logo .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rt-nav-links {
  display: flex; gap: 6px; align-items: center;
  /* Two auto margins (here + on .rt-nav-tools) split the free space evenly:
     logo pinned left, links centred, tools pinned right — identical at any width. */
  margin-left: auto;
}
.rt-nav-link {
  font-weight: 600; font-size: 0.92rem; color: var(--text-2);
  padding: 8px 14px; border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: background 160ms, color 160ms, border-color 160ms;
}
.rt-nav-link:hover {
  background: rgba(255,78,31,0.10);
  border-color: rgba(255,78,31,0.28);
  color: var(--brand-ink);
}
.rt-nav-link.is-active {
  background: var(--brand-ink);
  color: #fff;
}
.rt-marketing-app[data-mode="dark"] .rt-nav-link,
.rt-nav[data-mode="dark"] .rt-nav-link {
  color: rgba(248, 250, 252, 0.72);
}
.rt-marketing-app[data-mode="dark"] .rt-nav-link:hover,
.rt-nav[data-mode="dark"] .rt-nav-link:hover {
  background: rgba(255, 138, 61, 0.14);
  border-color: rgba(255, 138, 61, 0.36);
  color: #F8FAFC;
}
.rt-marketing-app[data-mode="dark"] .rt-nav-link.is-active,
.rt-nav[data-mode="dark"] .rt-nav-link.is-active {
  background: #F8FAFC;
  border-color: rgba(248, 250, 252, 0.20);
  color: #0B1220;
}
.rt-nav-cta {
  background: var(--brand-orange-1);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-weight: 700; font-size: 0.92rem;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(15,23,42,0.14);
  transition: transform 160ms, box-shadow 160ms, background 160ms;
  margin-left: 4px;
}
.rt-nav-cta:hover {
  background: var(--brand-amber-2);
  border-color: transparent;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15,23,42,0.18);
}

/* Chapter rail — sticky sub-nav under the main nav */
.chapter-rail {
  position: sticky;
  top: 104px; /* match the floating marketing nav height */
  z-index: 40;
  background: var(--bg); /* fully opaque so screenshots underneath don't bleed through */
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.10);
}
/* Anchor offset — when jumping to a chapter, leave room for both nav + rail */
section[id^="chapter-"] { scroll-margin-top: 170px; }
.chapter-rail-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chapter-rail-inner::-webkit-scrollbar { display: none; }
.chapter-rail a {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-3);
  border-radius: var(--r-full);
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms, color 160ms;
}
.chapter-rail a:hover {
  background: var(--surface-raised);
  color: var(--brand-ink);
}
.chapter-rail a.is-active {
  background: var(--brand-ink);
  color: #fff;
}

/* Floating sticky CTA — appears after scrolling past hero */
.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  text-decoration: none;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (max-width: 540px) {
  .sticky-cta { bottom: 16px; right: 16px; left: 16px; text-align: center; justify-content: center; }
}

/* Mobile-menu toggle (hidden at desktop) */
.rt-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin-left: auto;
}
.rt-nav-toggle span {
  width: 18px; height: 2px; background: var(--brand-ink); border-radius: 2px;
  transition: transform 200ms, opacity 200ms;
}
.rt-marketing-app[data-mode="dark"] .rt-nav-toggle {
  background: var(--surface-sunken);
  border-color: var(--border-strong);
}
.rt-marketing-app[data-mode="dark"] .rt-nav-toggle span {
  background: var(--text-1);
}
@media (max-width: 1023px) {
  .rt-nav { padding: 10px var(--pad-x) 8px; }
  .rt-nav-inner {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 28px;
  }
  .rt-nav-controls { gap: 6px; }
  .rt-nav-toggle { display: inline-flex; }
  .rt-nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    z-index: 100;
    background: var(--surface-raised);
    backdrop-filter: blur(18px);
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.20);
    align-items: stretch;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height 260ms ease, padding 260ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .rt-nav-links.is-open {
    max-height: 400px;
    padding-top: 16px; padding-bottom: 16px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }
  .rt-nav-link {
    padding: 13px 16px;
    font-size: 1.08rem;
    font-weight: 700;
    text-align: left;
    border-radius: var(--r-md);
    color: var(--text-2);
  }
  .rt-nav-cta {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    margin: 8px 0 0;
    font-size: 1.05rem;
  }
}
.rt-marketing-app[data-mode="dark"] .rt-nav-links {
  background: var(--surface-raised);
  border-color: var(--border-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
@media (max-width: 720px) {
  .rt-marketing-app[data-mode="dark"] .rt-nav-link,
  .rt-nav[data-mode="dark"] .rt-nav-link {
    color: rgba(248, 250, 252, 0.78);
  }
  .rt-marketing-app[data-mode="dark"] .rt-nav-cta,
  .rt-nav[data-mode="dark"] .rt-nav-cta {
    color: #fff;
  }
}

.rt-marketing-app[data-mode="dark"] .chapter-rail {
  background: var(--bg);
  border-color: var(--border);
  box-shadow: 0 12px 22px -18px rgba(0, 0, 0, 0.70);
}

.rt-marketing-app[data-mode="dark"] .chapter-rail a {
  color: rgba(248, 250, 252, 0.70);
}

.rt-marketing-app[data-mode="dark"] .chapter-rail a:hover {
  background: var(--surface-raised);
  color: #F8FAFC;
}

.rt-marketing-app[data-mode="dark"] .chapter-rail a.is-active {
  background: #F8FAFC;
  color: #0B1220;
}

/* ── Hero ──────────────────────────────────────────────────── */
.rt-hero {
  position: relative; overflow: hidden;
  padding: clamp(32px, 5vw, 56px) var(--pad-x) clamp(40px, 5vw, 56px);
  background: #F4F6FB;
}
.rt-marketing-app[data-mode="dark"] .rt-hero {
  background: var(--surface);
}
.rt-hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
  box-sizing: border-box;
  position: relative; z-index: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.rt-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--brand-orange-1);
  text-transform: uppercase;
}
.rt-marketing-app[data-mode="dark"] .rt-eyebrow {
  background: rgba(24, 27, 37, 0.78);
  border-color: var(--border-strong);
}
.rt-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand-orange-1);
  box-shadow: 0 0 0 4px rgba(107, 122, 144, 0.18);
  animation: rt-pulse 1.6s ease-out infinite;
}
@keyframes rt-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(107, 122, 144, 0.35); }
  100% { box-shadow: 0 0 0 10px rgba(107, 122, 144, 0); }
}

.rt-h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 18px 0 14px;
  color: var(--brand-ink);
  max-width: 900px;
}
.rt-h1 .gradient {
  color: var(--brand-orange-1);
}
.rt-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-2);
  max-width: 720px;
  margin: 0 0 28px;
}

.rt-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-full);
  font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 0;
  transition: transform 160ms, box-shadow 160ms, background 160ms;
  text-decoration: none;
}
.btn-primary {
  color: #fff;
  background: var(--brand-orange-1);
  box-shadow: var(--shadow-glow-orange);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18); }
.btn-secondary {
  background: var(--surface-raised);
  color: var(--brand-ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-ghost {
  background: transparent; color: var(--brand-ink);
  font-weight: 700;
}

/* ── Sections ──────────────────────────────────────────────── */
.rt-section {
  padding: clamp(32px, 4.5vw, 56px) var(--pad-x);
}
.rt-section-inner {
  max-width: var(--maxw);
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
  margin: 0 auto;
  box-sizing: border-box;
}

.rt-section-head {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
  max-width: 760px;
}
.rt-section-eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-orange-1); font-weight: 700;
}
.rt-h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0; color: var(--brand-ink);
}
.rt-h3 {
  font-size: 1.25rem; font-weight: 700; line-height: 1.25;
  margin: 0 0 8px; color: var(--brand-ink);
}
.rt-marketing-app[data-mode="dark"] .rt-h1,
.rt-marketing-app[data-mode="dark"] .rt-h2,
.rt-marketing-app[data-mode="dark"] .rt-h3,
.rt-marketing-app[data-mode="dark"] .deep-h2,
.rt-marketing-app[data-mode="dark"] .seq-step-body h4,
.rt-marketing-app[data-mode="dark"] .shot-legend strong,
.rt-marketing-app[data-mode="dark"] .mini-feats li strong,
.rt-marketing-app[data-mode="dark"] .tabshots-cap strong,
.rt-marketing-app[data-mode="dark"] .callout .val {
  color: var(--text-1);
}
.rt-marketing-app[data-mode="dark"] .btn-secondary,
.rt-marketing-app[data-mode="dark"] .btn-ghost,
.rt-marketing-app[data-mode="dark"] .logo-pill {
  color: var(--text-1);
}
.rt-sub {
  font-size: 1.05rem; color: var(--text-2); margin: 0;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--surface-raised);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  padding: 28px;
}
.card-feature {
  background: var(--surface-raised);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 200ms, box-shadow 200ms;
}
.card-feature:hover { transform: none; border-color: var(--border-strong); box-shadow: var(--shadow-2); }

.card-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: rgba(255, 78, 31, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-orange-1);
  margin-bottom: 4px;
}
.card-icon svg {
  width: 24px; height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Grid layouts ──────────────────────────────────────────── */
.grid-3 {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-widgets-2row {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) { .grid-widgets-2row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-widgets-2row { grid-template-columns: 1fr; } }

/* Force 3 columns (6 cards → 3+3) */
.grid-3x2 {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
@media (max-width: 880px) { .grid-3x2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid-3x2 { grid-template-columns: 1fr; } }

/* 5 pillars on a single row at desktop */
.grid-pillars-5 {
  display: grid; gap: 16px;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}
@media (max-width: 1200px) { .grid-pillars-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .grid-pillars-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-pillars-5 { grid-template-columns: 1fr; } }

/* Secondary aside note — distinct from numbered legends so it doesn't look like tabs */
.rt-aside {
  padding: 20px 24px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.rt-aside-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-orange-1); font-weight: 700;
  margin: 0 0 12px;
}
.grid-2 {
  display: grid; gap: 28px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── Stats ─────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.stat {
  background: var(--surface-raised);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  padding: 22px 24px;
}
.stat-value {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--brand-orange-1);
  line-height: 1;
}
.stat-label {
  color: var(--text-3); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 8px;
}

/* ── Pill / chips ──────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--surface-sunken);
  color: var(--text-2); font-weight: 600; font-size: 0.82rem;
  border: 1px solid var(--border);
}
.chip-live {
  background: rgba(34,197,94,0.10); color: #15803D; border-color: rgba(34,197,94,0.25);
}
.chip-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px; background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}

/* ── Screenshot frame ──────────────────────────────────────── */
.screenshot {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  position: relative;
}
.screenshot img { display: block; width: 100%; height: auto; }
.screenshot-tab {
  display: flex; gap: 6px; padding: 12px 16px;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--border);
}
.screenshot-tab span {
  width: 10px; height: 10px; border-radius: 999px; background: #D1D5DB;
}
.screenshot-tab span:nth-child(1) { background: #FF5F57; }
.screenshot-tab span:nth-child(2) { background: #FEBC2E; }
.screenshot-tab span:nth-child(3) { background: #28C840; }

.screenshot-caption {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  font-size: 0.9rem; color: var(--text-2);
}
.rt-marketing-app[data-mode="dark"] .screenshot-caption,
.rt-marketing-app[data-mode="dark"] .tabshots-cap {
  background: rgba(24, 27, 37, 0.72);
}

/* ── Footer ────────────────────────────────────────────────── */
.rt-footer {
  background: var(--brand-ink);
  color: #cbd5e1;
  padding: 64px var(--pad-x) 32px;
  margin-top: 32px;
}
.rt-footer.rt-marketing-app {
  background: var(--brand-ink);
  color: #cbd5e1;
}
.rt-footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
  box-sizing: border-box;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
@media (max-width: 880px) { .rt-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .rt-footer-inner { grid-template-columns: 1fr; } }
.rt-footer h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.rt-footer a { color: #cbd5e1; display: block; padding: 4px 0; font-weight: 500; }
.rt-footer a:hover { color: #fff; }
.rt-footer-bottom {
  max-width: var(--maxw); margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: #94a3b8;
}

@media (max-width: 540px) {
  .rt-hero {
    padding: 26px var(--pad-x) 38px;
  }
  .rt-h1 {
    font-size: clamp(1.95rem, 8.4vw, 2.25rem) !important;
    line-height: 1.04;
    letter-spacing: -0.045em;
    margin: 16px 0 16px;
    max-width: calc(100vw - (2 * var(--pad-x)));
  }
  .rt-h1 br {
    display: none;
  }
  .rt-lead {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .rt-cta-row {
    width: 100%;
    align-items: stretch;
  }
  .rt-cta-row .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  .rt-section {
    padding: 34px var(--pad-x);
  }
  .card,
  .card-feature {
    padding: 22px;
    border-radius: 24px;
  }
  .chapter-rail {
    top: 90px;
  }
  .chapter-rail-inner {
    padding: 0 var(--pad-x);
  }
  .rt-footer {
    margin-top: 18px;
    padding: 42px 24px 28px;
  }
  .rt-footer-inner {
    gap: 28px;
  }
  .rt-footer .rt-logo img {
    height: 32px;
  }
  .rt-footer p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .rt-footer h4 {
    margin: 0 0 10px;
    font-size: 0.78rem;
    color: #F8FAFC;
  }
  .rt-footer a {
    color: #dbe5f2;
    padding: 5px 0;
    font-size: 1rem;
  }
  .rt-footer-bottom {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.9rem;
  }
  .rt-footer-bottom nav {
    flex-direction: column;
    gap: 4px !important;
  }
}

/* ── Utilities ─────────────────────────────────────────────── */
.text-grad {
  color: var(--brand-orange-1);
}
.text-mono { font-family: var(--font-mono); }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 12px; } .mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 12px; } .mb-4 { margin-bottom: 24px; }

/* ── Big CTA banner ────────────────────────────────────────── */
.rt-cta-banner {
  margin: 0 var(--pad-x);
  max-width: var(--maxw);
  margin-left: auto; margin-right: auto;
  background: var(--brand-ink);
  color: #fff;
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-3);
}
.rt-marketing-app[data-mode="dark"] .rt-cta-banner {
  background: #0B1220;
}
.rt-cta-banner h2 { color: #fff; margin: 0 0 12px; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; }
.rt-cta-banner p { color: rgba(255,255,255,0.78); margin: 0 0 24px; font-size: 1.05rem; max-width: 600px; }

/* ── Form ──────────────────────────────────────────────────── */
.rt-form {
  display: grid; gap: 16px;
}
.rt-form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .rt-form .row { grid-template-columns: 1fr; } }
.rt-input, .rt-textarea, .rt-select {
  width: 100%;
  padding: 14px 16px;
  font: inherit; color: var(--text-1);
  background: var(--surface-sunken);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition: border 160ms, box-shadow 160ms, background 160ms;
}
.rt-input:focus, .rt-textarea:focus, .rt-select:focus {
  outline: 0;
  border-color: var(--brand-orange-1);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}
.rt-textarea { min-height: 140px; resize: vertical; }
.rt-label {
  font-size: 0.85rem; font-weight: 700; color: var(--text-2);
  margin-bottom: 6px; display: block;
}
.rt-field { display: flex; flex-direction: column; }
.rt-hint { font-size: 0.82rem; color: var(--text-3); margin-top: 6px; }

/* ── Timeline ──────────────────────────────────────────────── */
.timeline { display: grid; gap: 16px; position: relative; }
.timeline-item {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start;
  padding: 18px 22px;
  background: var(--surface-raised);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.timeline-dot {
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--brand-orange-1);
  color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow-orange);
}

/* ── About-specific ────────────────────────────────────────── */
.about-hero {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center;
}
@media (max-width: 880px) { .about-hero { grid-template-columns: 1fr; text-align: left; } .about-photo { max-width: 260px; } }
.about-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  border: 6px solid #fff;
  transform: rotate(-1.5deg);
  background: var(--surface);
}
.rt-marketing-app[data-mode="dark"] .about-photo {
  border-color: rgba(248, 250, 252, 0.12);
}
.about-photo img { aspect-ratio: 4/5; object-fit: cover; width: 100%; height: 100%; }

/* ── Feature spotlight ─────────────────────────────────────── */
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin: 36px 0;
}
.spotlight.reverse { direction: rtl; }
.spotlight.reverse > * { direction: ltr; }
@media (max-width: 960px) { .spotlight, .spotlight.reverse { grid-template-columns: 1fr; direction: ltr; } }

.spotlight-num {
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700;
  color: var(--brand-orange-1); letter-spacing: 0.12em;
}

/* ── Decorative chip row ───────────────────────────────────── */
.logo-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  max-width: 100%;
}
.logo-pill {
  padding: 10px 18px;
  border-radius: var(--r-full);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  font-weight: 700; color: var(--brand-ink);
  font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo-pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand-blue); }
@media (max-width: 540px) {
  .logo-row {
    gap: 8px;
  }
  .logo-pill {
    padding: 8px 12px;
    font-size: 0.88rem;
    max-width: 100%;
  }
}

/* ── Floating badges (hero garnish) ────────────────────────── */
.badge-floating {
  position: absolute;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-2);
  font-weight: 600; font-size: 0.85rem;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(8px);
}
.rt-marketing-app[data-mode="dark"] .badge-floating {
  background: rgba(24, 27, 37, 0.94);
}
.badge-floating .num {
  font-family: var(--font-mono); color: var(--brand-orange-1); font-weight: 800;
}

/* ── Animation utilities ───────────────────────────────────── */
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.float { animation: float-y 6s ease-in-out infinite; }

/* ── Print/screen helpers ──────────────────────────────────── */
.hide-mobile { }
@media (max-width: 720px) { .hide-mobile { display: none; } }

/* ── Cookie consent banner ─────────────────────────────────── */
.rt-cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
  display: none;
  font-size: 0.92rem;
  color: var(--text-1);
}
.rt-marketing-app[data-mode="dark"] .rt-cookie {
  background: var(--surface-raised);
  border-color: var(--border-strong);
  color: var(--text-1);
}
.rt-marketing-app[data-mode="dark"] .rt-cookie-actions button {
  background: var(--surface-sunken);
  color: var(--text-1);
}
.rt-marketing-app[data-mode="dark"] .rt-cookie-actions button.is-primary {
  background: var(--brand-orange-1);
  border-color: var(--brand-orange-1);
  color: #fff;
}
.rt-cookie.is-open { display: block; }
.rt-cookie p { margin: 0 0 12px; }
.rt-cookie a { color: var(--brand-orange-1); }
.rt-cookie-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.rt-cookie-actions button {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--r-full);
  cursor: pointer;
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--brand-ink);
  transition: background 160ms, transform 160ms;
}
.rt-cookie-actions button:hover { transform: translateY(-1px); }
.rt-cookie-actions button.is-primary {
  background: var(--brand-orange-1);
  color: #fff;
  border-color: var(--brand-orange-1);
}
@media (max-width: 540px) {
  .rt-cookie { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .rt-cookie-actions { flex-direction: column; }
  .rt-cookie-actions button { width: 100%; }
}

/* ── Click-to-zoom lightbox ────────────────────────────────── */
.shot img,
.tabshots-panel img,
.seq-step img {
  cursor: zoom-in;
  transition: filter 200ms;
}
.shot:hover img,
.seq-step:hover img {
  filter: brightness(1.02);
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(11, 18, 32, 0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background 160ms;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  max-width: 80vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   DEEP-DIVE FEATURES — enhanced screenshot treatments
   ═══════════════════════════════════════════════════════════ */

/* Browser-window chrome — more realistic */
.shot {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition: transform 240ms, box-shadow 240ms;
}
.shot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.shot-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #F1F4FA;
  border-bottom: 1px solid var(--border);
}
.shot-chrome-lights { display: flex; gap: 6px; }
.shot-chrome-lights span { width: 11px; height: 11px; border-radius: 999px; background: #D1D5DB; }
.shot-chrome-lights span:nth-child(1) { background: #FF5F57; }
.shot-chrome-lights span:nth-child(2) { background: #FEBC2E; }
.shot-chrome-lights span:nth-child(3) { background: #28C840; }
.shot-chrome-url {
  flex: 1;
  background: var(--surface-sunken);
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  min-width: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.shot-chrome-url::before {
  content: ""; width: 10px; height: 10px; border-radius: 999px;
  background: var(--brand-orange-1);
  flex-shrink: 0;
}
.shot img {
  width: 100%; height: auto; display: block;
}

/* Annotation pin — numbered marker positioned over a screenshot */
.shot-frame { position: relative; }
.shot-pin {
  position: absolute;
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--brand-orange-1);
  color: #fff;
  font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22), 0 0 0 4px rgba(15, 23, 42, 0.08);
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  animation: pin-pulse 2.4s ease-out infinite;
}
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22), 0 0 0 4px rgba(15, 23, 42, 0.08); }
  50%      { box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22), 0 0 0 10px rgba(15, 23, 42, 0); }
}

/* Annotation legend (list under or beside screenshot) */
.shot-legend {
  display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;
}
.shot-legend li {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start;
  padding: 14px 16px;
  background: var(--surface-raised);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.shot-legend .lg-num {
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--brand-orange-1); color: #fff;
  font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.shot-legend strong { color: var(--brand-ink); display: block; margin-bottom: 2px; }
.shot-legend span { color: var(--text-2); font-size: 0.92rem; }

/* Spotlight v2 — bigger, with chips inline */
.spotlight-deep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}
.spotlight-deep.reverse > div:first-child { order: 2; }
@media (max-width: 1000px) {
  .spotlight-deep,
  .spotlight-deep.reverse { grid-template-columns: 1fr; gap: 32px; }
  .spotlight-deep.reverse > div:first-child { order: 0; }
}

.deep-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 78, 31, 0.10);
  color: var(--brand-orange-1);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.deep-eyebrow .num {
  background: var(--brand-orange-1);
  color: #fff;
  width: 24px; height: 24px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
}

.deep-h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin: 14px 0 12px; color: var(--brand-ink);
}
.deep-lead {
  font-size: 1.05rem; color: var(--text-2); margin: 0;
}

/* Inline mini-feature list (used inside spotlights) */
.mini-feats {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; gap: 10px;
}
.mini-feats li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 0;
}
.mini-feats li::before {
  content: "";
  width: 18px; height: 18px;
  background: rgba(255, 78, 31, 0.10);
  border-radius: var(--r-xs);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4E1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3px;
  flex-shrink: 0;
}
.mini-feats li strong { color: var(--brand-ink); }
.mini-feats li span { color: var(--text-2); font-size: 0.95rem; }

/* Sequence rail — 3 screenshots as a journey */
.sequence {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
@media (max-width: 960px) {
  .sequence { grid-template-columns: 1fr; }
}
.seq-step {
  position: relative;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 200ms, box-shadow 200ms;
  display: flex; flex-direction: column;
}
.seq-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.seq-step-num { display: none; /* removed per user request */ }
.seq-step .shot-wrap {
  /* Uniform height container — shows the FULL screenshot, no cropping */
  height: 260px;
  background: var(--surface-sunken);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.seq-step .shot-wrap img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  display: block; cursor: zoom-in;
}
.seq-step-body { padding: 18px 20px; flex: 1; }
.seq-step-body h4 {
  margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--brand-ink);
}
.seq-step-body p { margin: 0; color: var(--text-2); font-size: 0.92rem; }

/* Equal-size 2-up screenshot grid (e.g. Reports section) */
.shots-2up {
  display: grid; gap: 28px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 880px) { .shots-2up { grid-template-columns: 1fr; } }
.shots-2up > .shot {
  display: flex; flex-direction: column;
}
.shots-2up > .shot > .shot-wrap {
  /* Uniform height container — full screenshot visible, no crop */
  height: 380px;
  background: var(--surface-sunken);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.shots-2up > .shot > .shot-wrap img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  display: block; cursor: zoom-in;
}
.shots-2up > .shot > .tabshots-cap { flex: 1; }

/* Tabbed shots — for multi-screen features */
.tabshots {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.tabshots-tabs {
  display: flex; gap: 4px;
  padding: 12px 12px 0;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tabshots-tab {
  padding: 10px 18px;
  font-size: 0.88rem; font-weight: 700;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms, color 160ms;
  font-family: var(--font-sans);
}
.tabshots-tab.is-active {
  background: var(--surface-raised);
  color: var(--brand-orange-1);
  box-shadow: 0 -2px 0 var(--brand-orange-1) inset;
}
.tabshots-tab:not(.is-active):hover { color: var(--brand-ink); }
.tabshots-panel { display: none; }
.tabshots-panel.is-active { display: block; }
.tabshots-panel img { width: 100%; display: block; }
.tabshots-cap {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem; color: var(--text-2);
}
.tabshots-cap strong { color: var(--brand-ink); }

/* Stat-callout next to a screenshot */
.callout-row {
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 24px;
}
.callout {
  padding: 18px 20px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.callout .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-orange-1);
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
}
.callout .val {
  font-size: 1.1rem; font-weight: 700; color: var(--brand-ink);
  margin-top: 4px;
}

/* Section divider with chapter number */
.chapter-mark {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.chapter-mark .num {
  font-family: var(--font-mono);
  font-size: 0.92rem; font-weight: 700;
  color: var(--brand-orange-1);
  letter-spacing: 0.14em;
}
.chapter-mark .line {
  flex: 1; height: 1px;
  background: var(--border);
}

/* Alternating section background — solid surface for separation */
.section-alt {
  background: #F1F4FA;
}
.rt-marketing-app[data-mode="dark"] .section-alt {
  background: var(--surface-sunken);
}

/* ═══════════════════════════════════════════════════════════════════
   ▌ V2 — "Field Manual" editorial system
   Bolder, more opinionated layer for the Features hub + deep-dive pages.
   Purely ADDITIVE: every selector below is new, so the original index /
   beta / legal pages are untouched. Built on the same tokens.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --hairline: rgba(11,18,32,0.10);
  --grid-line: rgba(11,18,32,0.045);
}

/* Mono kicker / eyebrow used across v2 */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-orange-1);
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand-orange-1);
  display: inline-block;
}

/* "NEW" tag — used on cards + nav for the new feature areas */
.badge-new {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  background: var(--brand-orange-1);
  padding: 3px 8px;
  border-radius: var(--r-full);
  line-height: 1;
  vertical-align: middle;
}
.badge-soft {
  color: var(--brand-orange-1);
  background: rgba(255,78,31,0.10);
  border: 1px solid rgba(255,78,31,0.22);
}

/* ── Scroll reveal (only animates once body opts in via JS) ───────── */
.reveal { will-change: opacity, transform; }
body.rt-reveal-on .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms cubic-bezier(.16,.84,.36,1),
              transform 640ms cubic-bezier(.16,.84,.36,1);
}
body.rt-reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.rt-reveal-on .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ═══ HUB — oversized editorial hero ════════════════════════════════ */
.hub-hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) var(--pad-x) clamp(36px, 5vw, 64px);
  overflow: hidden;
  background: #F4F6FB;
}
.hub-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
}
.hub-h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 22px 0 0;
  color: var(--brand-ink);
  max-width: 16ch;
}
.hub-h1 .grad { color: var(--brand-orange-1); }
.hub-lead {
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
  color: var(--text-2);
  max-width: 60ch;
  margin: 26px 0 30px;
}
.hub-metarow {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: var(--shadow-1);
  max-width: 760px;
}
.hub-metarow .m {
  flex: 1 1 140px;
  padding: 18px 22px;
  border-right: 1px solid var(--hairline);
}
.hub-metarow .m:last-child { border-right: 0; }
.hub-metarow .mv {
  font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--brand-ink); line-height: 1;
  font-feature-settings: "tnum" 1;
}
.hub-metarow .ml {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-top: 8px;
}
@media (max-width: 620px) {
  .hub-metarow .m { flex-basis: 50%; border-bottom: 1px solid var(--hairline); }
  .hub-metarow .m:nth-child(2) { border-right: 0; }
}

/* ── Marquee ribbon of integrations / capabilities ───────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--brand-ink);
  padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.82rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.82);
  padding: 0 26px;
  display: inline-flex; align-items: center; gap: 26px;
}
.marquee-track span::after {
  content: "●"; color: var(--brand-orange-1); font-size: 0.5rem;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ═══ Feature matrix — the index of deep-dive pages ════════════════ */
.matrix {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
.fcard {
  position: relative;
  display: flex; flex-direction: column;
  grid-column: span 4;
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 240ms cubic-bezier(.16,.84,.36,1), box-shadow 240ms, border-color 240ms;
  min-height: 230px;
}
.fcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: rgba(255,78,31,0.35); color: inherit; }
.fcard-span6 { grid-column: span 6; }
.fcard-span8 { grid-column: span 8; }
@media (max-width: 980px) { .fcard, .fcard-span6, .fcard-span8 { grid-column: span 6; } }
@media (max-width: 640px) { .fcard, .fcard-span6, .fcard-span8 { grid-column: span 12; } }

.fcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fcard-idx {
  font-family: var(--font-mono);
  font-size: 0.74rem; color: var(--text-3); letter-spacing: 0.1em;
}
.fcard-ico {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: rgba(255,78,31,0.09);
  color: var(--brand-orange-1);
  display: flex; align-items: center; justify-content: center;
  margin: 16px 0 14px;
}
.fcard-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--brand-ink); }
.fcard p { margin: 0; color: var(--text-2); font-size: 0.95rem; flex: 1; }
.fcard-go {
  margin-top: 18px;
  font-weight: 700; font-size: 0.9rem; color: var(--brand-orange-1);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 200ms;
}
.fcard:hover .fcard-go { gap: 14px; }

/* Section header for v2 */
.v2-head { max-width: 760px; margin-bottom: 30px; }
.v2-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.06;
  margin: 14px 0 0; color: var(--brand-ink);
}
.v2-head p { margin: 14px 0 0; font-size: 1.06rem; color: var(--text-2); }

/* ═══ DEEP-DIVE pages ══════════════════════════════════════════════ */
/* Breadcrumb / back-to-hub bar */
.dd-crumb {
  max-width: var(--maxw);
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
  margin: 18px auto 0;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3);
}
.dd-crumb a { color: var(--text-3); font-weight: 600; }
.dd-crumb a:hover { color: var(--brand-orange-1); }
.dd-crumb .sep { opacity: 0.5; }

/* Deep-dive hero — giant index numeral + meta rail */
.dd-hero {
  position: relative; overflow: hidden;
  padding: clamp(30px, 5vw, 64px) var(--pad-x) clamp(30px, 4vw, 48px);
  background: #F4F6FB;
}
.dd-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: end;
}
@media (max-width: 860px) { .dd-hero-inner { grid-template-columns: 1fr; gap: 24px; } }
.dd-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(11,18,32,0.07);
  -webkit-text-stroke: 1.5px rgba(11,18,32,0.18);
  user-select: none;
}
.dd-h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
  margin: 18px 0 0; color: var(--brand-ink); max-width: 18ch;
}
.dd-h1 .grad { color: var(--brand-orange-1); }
.dd-lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-2); max-width: 62ch; margin: 22px 0 0; }
.dd-meta {
  display: grid; gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-1);
  min-width: 230px;
  overflow: hidden;
}
.dd-meta .row { padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.dd-meta .row:last-child { border-bottom: 0; }
.dd-meta .k { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.dd-meta .v { font-size: 0.98rem; font-weight: 700; color: var(--brand-ink); margin-top: 4px; }

/* Sticky in-page contents (deep-dive) */
.dd-toc {
  position: sticky; top: 104px; z-index: 30;
  background: rgba(238,240,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
}
.dd-toc-inner {
  max-width: var(--maxw); margin: 0 auto;
  width: min(var(--maxw), calc(100vw - (2 * var(--pad-x))));
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.dd-toc-inner::-webkit-scrollbar { display: none; }
.dd-toc a {
  flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600;
  color: var(--text-3); padding: 7px 14px; border-radius: var(--r-full);
  white-space: nowrap; transition: background 160ms, color 160ms;
}
.dd-toc a:hover { background: var(--surface-raised); color: var(--brand-ink); }
.dd-toc a.is-active { background: var(--brand-ink); color: #fff; }
.dd-block { scroll-margin-top: 168px; }

/* Big editorial number block */
.bignum-row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); }
.bignum { padding: 4px 0; }
.bignum .n {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-ink);
}
.bignum .l { margin-top: 10px; color: var(--text-2); font-size: 0.96rem; max-width: 30ch; }

/* Spec grid (label / value rows) */
.specs { display: grid; gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-raised); }
.specs .srow { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 16px 22px; border-bottom: 1px solid var(--hairline); }
.specs .srow:last-child { border-bottom: 0; }
.specs .sk { font-weight: 700; color: var(--brand-ink); }
.specs .sv { color: var(--text-2); }
@media (max-width: 640px) { .specs .srow { grid-template-columns: 1fr; gap: 6px; } }

/* Cross-link rail to other deep-dive pages */
.dd-next { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.dd-next a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px;
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-1);
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}
.dd-next a:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(255,78,31,0.30); color: inherit; }
.dd-next .nk { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.dd-next .nt { font-size: 1.12rem; font-weight: 800; color: var(--brand-ink); letter-spacing: -0.01em; }
.dd-next .nd { color: var(--text-2); font-size: 0.92rem; }

/* Full-bleed-ish feature shot for deep-dive (reuses .shot chrome) */
.shot-xl { box-shadow: var(--shadow-3); }
.shot-tall .shot-wrap { height: 520px; background: var(--surface-sunken); display: flex; align-items: center; justify-content: center; padding: 18px; }
.shot-tall .shot-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; }

/* Two-column feature row that alternates */
.feat-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); gap: 44px; align-items: center; margin: 0; }
.feat-row.flip > div:first-child { order: 2; }
@media (max-width: 1000px) { .feat-row, .feat-row.flip { grid-template-columns: 1fr; gap: 28px; } .feat-row.flip > div:first-child { order: 0; } }

/* Inline list with check marks reused as .checks */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 20px; height: 20px; border-radius: var(--r-xs);
  background: rgba(255,78,31,0.10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4E1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  margin-top: 2px; flex-shrink: 0;
}
.checks li strong { color: var(--brand-ink); }
.checks li span { color: var(--text-2); font-size: 0.96rem; }

/* Pull-quote / principle band */
.band {
  border-left: 3px solid var(--brand-orange-1);
  padding: 6px 0 6px 24px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.25;
  color: var(--brand-ink); max-width: 24ch;
}
.band em { color: var(--brand-orange-1); font-style: normal; }

/* ── Hub v2.1 — grounded, screenshot-led (no marquee, no giant hero) ── */
.hub-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px; align-items: center;
}
@media (max-width: 980px) { .hub-split { grid-template-columns: 1fr; gap: 30px; } }
.hub-title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin: 16px 0 0; color: var(--brand-ink); max-width: 16ch;
}
.hub-title .grad { color: var(--brand-orange-1); }
.hub-sub { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 52ch; margin: 18px 0 26px; }

/* Animated count-up numbers band */
.countband {
  display: grid; gap: 0;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: var(--shadow-1);
}
@media (max-width: 720px) { .countband { grid-template-columns: repeat(2, 1fr); } }
.count {
  padding: 26px 24px;
  border-right: 1px solid var(--hairline);
}
.count:last-child { border-right: 0; }
@media (max-width: 720px) {
  .count:nth-child(2) { border-right: 0; }
  .count:nth-child(1), .count:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}
.count .cv {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-feature-settings: "tnum" 1;
  color: var(--brand-orange-1);
  display: inline-block;
}
.count .cl {
  margin-top: 12px; color: var(--text-2); font-size: 0.92rem; font-weight: 600;
  max-width: 22ch;
}

/* Feature cards WITH a real screenshot thumbnail */
.fcard.has-thumb { padding: 0; min-height: 0; }
.fcard-thumb {
  position: relative;
  height: 180px;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.fcard-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top left;
  display: block;
  transition: transform 420ms cubic-bezier(.16,.84,.36,1);
}
.fcard.has-thumb:hover .fcard-thumb img { transform: scale(1.04); }
.fcard-thumb .badge-new {
  position: absolute; top: 12px; right: 12px;
  box-shadow: 0 6px 16px rgba(15,23,42,0.20);
}
.fcard-pad { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }


/* Cap & center screenshots in tab panels so portrait/mobile shots are never upscaled */
.tabshots-panel { background: var(--surface-sunken); }
.tabshots-panel img { width: auto; height: auto; max-width: 100%; max-height: 74vh; margin: 0 auto; display: block; }

/* ═══════════════════════════════════════════════════════════════════
   ▌ Reusable nav controls — language switch + theme toggle
   ═══════════════════════════════════════════════════════════════════ */
.rt-nav-tools { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }

/* Language dropdown (flag + code + caret) */
.rt-lang { position: relative; }
.rt-lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 0.82rem; font-weight: 700; color: var(--text-2);
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 7px 12px; cursor: pointer;
  transition: background 140ms, color 140ms, border-color 140ms;
}
.rt-lang-btn:hover { color: var(--brand-ink); border-color: var(--border-strong); }
.rt-flag { width: 20px; height: 14px; border-radius: 3px; overflow: hidden; display: inline-flex; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.rt-flag svg { display: block; width: 100%; height: 100%; }
.rt-lang-caret { width: 12px; height: 12px; opacity: 0.55; transition: transform 160ms; }
.rt-lang.is-open .rt-lang-caret { transform: rotate(180deg); }
.rt-lang-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 156px; padding: 6px;
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-2);
  display: none; flex-direction: column; gap: 2px;
}
.rt-lang.is-open .rt-lang-list { display: flex; }
.rt-lang-list button {
  display: flex; align-items: center; gap: 9px;
  font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--text-2);
  background: transparent; border: 0; border-radius: var(--r-sm);
  padding: 9px 10px; cursor: pointer; text-align: left; width: 100%;
}
.rt-lang-list button:hover { background: var(--surface-sunken); color: var(--brand-ink); }
.rt-lang-list button.is-active { background: var(--brand-ink); color: #fff; }
.rt-theme {
  width: 38px; height: 38px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface-raised); color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: color 140ms, background 140ms, transform 140ms;
}
.rt-theme:hover { color: var(--brand-ink); transform: translateY(-1px); }
.rt-theme .ic-sun { display: none; }
.rt-theme .ic-moon { display: block; }
@media (max-width: 720px) {
  .rt-nav-tools { margin-left: auto; margin-right: 6px; gap: 8px; }
  .rt-lang-btn { padding: 6px 9px; font-size: 0.78rem; }
  .rt-theme { width: 34px; height: 34px; }
}

/* Phone / portrait screenshots: show at device width, never upscaled */
.shot-phone { max-width: 360px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════════
   ▌ Dark theme — token overrides + targeted surface/heading fixes
   Applied via <html data-theme="dark">. Most components use the tokens
   below, so they flip automatically; the rest are patched explicitly.
   ═══════════════════════════════════════════════════════════════════ */
html[data-theme="dark"] {
  --bg: #0B1220;
  --surface: #0F1828;
  --surface-raised: #16223C;
  --surface-sunken: #0C1422;
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);
  --hairline: rgba(255,255,255,0.10);
  --grid-line: rgba(255,255,255,0.05);
  --text-1: #F1F5F9;
  --text-2: #B7C2D0;
  --text-3: #8A97AB;
  --brand-ink: #F1F5F9; /* "ink" now means primary readable text in dark */
}
html[data-theme="dark"] body { background: var(--bg); color: var(--text-1); }

/* Surfaces that were hardcoded light */
html[data-theme="dark"] .rt-hero,
html[data-theme="dark"] .hub-hero,
html[data-theme="dark"] .dd-hero { background: var(--surface); }
html[data-theme="dark"] .section-alt { background: var(--surface-sunken); }
html[data-theme="dark"] .shot-chrome { background: var(--surface-sunken); }
html[data-theme="dark"] .tabshots-cap,
html[data-theme="dark"] .screenshot-caption { background: rgba(255,255,255,0.03); }
html[data-theme="dark"] .dd-toc { background: rgba(11,18,32,0.85); border-bottom-color: var(--border); }
html[data-theme="dark"] .rt-eyebrow { background: rgba(255,255,255,0.06); border-color: var(--border); }
html[data-theme="dark"] .about-photo { border-color: rgba(255,255,255,0.12); }
html[data-theme="dark"] .logo-pill { background: var(--surface-raised); color: var(--text-1); border-color: var(--border); }

/* Nav chrome */
html[data-theme="dark"] .rt-nav { background: rgba(11,18,32,0.55); }
html[data-theme="dark"] .rt-nav-inner { background: rgba(15,24,40,0.92); border-color: var(--border); }
html[data-theme="dark"] .rt-lang-list button.is-active { background: #F1F5F9; color: #0B1220; }
html[data-theme="dark"] .rt-lang-list button:hover { background: var(--surface-sunken); color: var(--text-1); }
html[data-theme="dark"] .rt-theme .ic-sun { display: block; }
html[data-theme="dark"] .rt-theme .ic-moon { display: none; }
html[data-theme="dark"] .rt-nav-link.is-active { background: #F1F5F9; color: #0B1220; }
html[data-theme="dark"] .rt-nav-toggle span { background: var(--text-1); }

/* Headings & emphasis that hardcoded the dark ink colour */
html[data-theme="dark"] .rt-h1,
html[data-theme="dark"] .rt-h2,
html[data-theme="dark"] .rt-h3,
html[data-theme="dark"] .hub-title,
html[data-theme="dark"] .hub-h1,
html[data-theme="dark"] .dd-h1,
html[data-theme="dark"] .deep-h2,
html[data-theme="dark"] .v2-head h2,
html[data-theme="dark"] .fcard h3,
html[data-theme="dark"] .bignum .n,
html[data-theme="dark"] .band,
html[data-theme="dark"] .dd-meta .v,
html[data-theme="dark"] .specs .sk,
html[data-theme="dark"] .callout .val,
html[data-theme="dark"] .seq-step-body h4,
html[data-theme="dark"] .shot-legend strong,
html[data-theme="dark"] .tabshots-cap strong,
html[data-theme="dark"] .checks li strong,
html[data-theme="dark"] .mini-feats li strong,
html[data-theme="dark"] .dd-next .nt { color: var(--text-1); }

/* Buttons / cards that used ink text on a light surface */
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .btn-ghost { color: var(--text-1); }
html[data-theme="dark"] .rt-cta-banner { border: 1px solid var(--border); }

/* Cookie banner */
html[data-theme="dark"] .rt-cookie { background: var(--surface-raised); border-color: var(--border-strong); color: var(--text-1); }
html[data-theme="dark"] .rt-cookie-actions button { background: var(--surface-sunken); color: var(--text-1); }
html[data-theme="dark"] .rt-cookie-actions button.is-primary { background: var(--brand-orange-1); color: #fff; border-color: var(--brand-orange-1); }

/* Dim the giant chapter numeral the other way */
html[data-theme="dark"] .dd-num { color: rgba(255,255,255,0.06); -webkit-text-stroke-color: rgba(255,255,255,0.20); }

/* ── Mobile overflow guard: grid/flex children must be allowed to shrink ── */
.feat-row > *, .spotlight-deep > *, .hub-split > *, .shots-2up > *,
.sequence > *, .grid-2 > *, .grid-3 > *, .dd-hero-inner > * { min-width: 0; }
.shot, .tabshots { max-width: 100%; }
.shot img, .tabshots-panel img, .shots-2up img { max-width: 100%; }

/* ── Comfortable touch targets for nav controls on mobile ── */
@media (max-width: 720px) {
  .rt-lang-btn { min-height: 44px; }
  .rt-theme { width: 44px; height: 44px; }
}

/* ── Respect reduced motion: stop decorative loops ── */
@media (prefers-reduced-motion: reduce) {
  .rt-eyebrow-dot, .shot-pin, .float, .marquee-track,
  .fcard, .card-feature, .shot, .btn { animation: none !important; }
}

/* ── Social proof: timing-company logos + named events ── */
.proof-logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 28px; }
.proof-logo {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 14px 22px; box-shadow: var(--shadow-1);
  display: flex; align-items: center; justify-content: center; height: 80px; min-width: 150px;
}
.proof-logo img { max-height: 48px; width: auto; display: block; }
.proof-events { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .proof-events { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proof-events { grid-template-columns: 1fr; } }
.proof-event {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; background: var(--surface-raised);
  border: 1px solid var(--hairline); border-radius: var(--r-md); box-shadow: var(--shadow-1);
  text-decoration: none; color: inherit;
  transition: transform 180ms, box-shadow 180ms, border-color 180ms;
}
a.proof-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(255,78,31,0.30); color: inherit; }
.proof-event strong { display: block; color: var(--brand-ink); margin-bottom: 3px; }
.proof-event span { color: var(--text-2); font-size: 0.92rem; }
.pe-go { color: var(--brand-orange-1); font-weight: 700; font-size: 0.88rem; margin-top: 8px; display: inline-block; }

/* Trust band: a contextual full-width strip for partner logos */
.trust-band {
  display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap;
  padding: 16px 22px; background: var(--surface-raised);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
}
.trust-band .tb-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-3);
}
.trust-band .tb-logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.tb-logo {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 10px 18px; display: flex; align-items: center; justify-content: center;
  height: 58px; min-width: 132px; transition: border-color 160ms;
}
a.tb-logo:hover { border-color: var(--border-strong); }
.tb-logo img { max-height: 34px; width: auto; display: block; }
@media (max-width: 640px) {
  .trust-band { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust-band .tb-logos { margin-left: 0; }
  .tb-logo { flex: 1 1 40%; }
}

/* ═══════════════════════════════════════════════════════════════════
   ▌ Flat, instrument-like finish (de-generic)
   Content surfaces are defined by a hairline border, not a floating
   shadow. Hover shifts the border, not the position. Screenshots keep a
   faint lift so they read as framed captures. Numbers are tabular.
   ═══════════════════════════════════════════════════════════════════ */
.card, .card-feature, .fcard, .countband, .dd-meta, .specs, .callout,
.tabshots, .dd-next a, .stat, .trust-band, .proof-event, .hub-metarow,
.rt-aside, .timeline-item, .shot-legend li, .tb-logo {
  box-shadow: none;
}
.card-feature:hover, .fcard:hover, .dd-next a:hover, .proof-event:hover, a.tb-logo:hover {
  transform: none; box-shadow: none; border-color: rgba(255,78,31,0.45);
}
.btn-primary:hover, .btn-secondary:hover, .rt-theme:hover { transform: none; }
.btn-secondary:hover { border-color: var(--brand-ink); }
/* Screenshots: the only surfaces that keep a slight elevation */
.shot { box-shadow: var(--shadow-1); }
.shot:hover { transform: none; box-shadow: var(--shadow-2); }
.shot-xl, .shot-tall { box-shadow: var(--shadow-2); }
/* Tabular figures everywhere numbers are shown */
.count .cv, .bignum .n, .stat-value, .hub-metarow .mv, .dd-num,
.dd-meta .v, .specs .sv { font-variant-numeric: tabular-nums; }

/* Dark mode: surfaces that use --brand-ink as a BACKGROUND must stay dark.
   (--brand-ink is intentionally LIGHT in dark mode so text stays legible, so
   anything that paints it as a background has to be pinned dark here.) */
html[data-theme="dark"] .rt-footer,
html[data-theme="dark"] .rt-footer.rt-marketing-app { background: #0B1220; border-top: 1px solid var(--border); }
html[data-theme="dark"] .rt-cta-banner { background: #0B1220; }
html[data-theme="dark"] .dd-toc a.is-active { background: #F1F5F9; color: #0B1220; }
html[data-theme="dark"] .marquee { background: #0B1220; }
.pe-flag { flex: none; width: 26px; height: 18px; border-radius: 3px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); margin-top: 2px; }
.pe-flag svg { width: 100%; height: 100%; display: block; }

/* Stadium public-page design. Scoped so navigating to results/admin cannot
   change their fonts, surfaces or components. Static marketing pages share it. */
.rt-marketing-app, body:has(> .rt-nav) {
  --font-sans:'Plus Jakarta Sans',system-ui,sans-serif;
  --font-mono:'JetBrains Mono',monospace;
  --bg:#eceef2; --surface:#f5f6f8; --surface-raised:#f5f6f8;
  --surface-sunken:#e4e7ec; --border:#0b122017; --border-strong:#0b12202b;
  --shadow-1:0 2px 5px #0b12200c; --shadow-2:0 5px 14px #0b122014;
  --shadow-3:0 14px 32px #0b12201a; --maxw:1180px;
  font-family:var(--font-sans);
}
.rt-marketing-app[data-mode=dark]{--bg:#141820;--surface:#1d232e;--surface-raised:#1d232e;--surface-sunken:#111720;--border:#ffffff20;--border-strong:#ffffff30;--shadow-2:0 5px 14px #0004}
.rt-nav.rt-marketing-app, .rt-nav{background:#0b1220!important;padding:0 16px!important;backdrop-filter:none}
.rt-nav .rt-nav-inner{background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;padding:12px 0!important;min-height:68px!important;width:100%!important;max-width:1180px}
.rt-nav .rt-nav-link,.rt-nav[data-mode=dark] .rt-nav-link{color:#d5dbe4}
.rt-nav .rt-nav-link:hover,.rt-nav .rt-nav-link.is-active{color:#fff}
.rt-nav .rt-nav-cta,.rt-nav[data-mode=dark] .rt-nav-cta{background:#ff4e1f;color:#0b1220;border-radius:8px}
.rt-nav .rt-nav-toggle{background:#222c3c;border-color:#ffffff30;border-radius:8px;min-height:44px;min-width:44px}
.rt-nav .rt-nav-toggle span{background:#fff}
.rt-marketing-app :is(.rt-h1,.rt-h2,.rt-h3,.dd-h1,.deep-h2,.dd-hero h1,.about-name),body:has(> .rt-nav) :is(.rt-h1,.rt-h2,.rt-h3,.dd-h1,.deep-h2,.dd-hero h1){font-family:'Barlow Condensed',Impact,sans-serif;font-weight:700;letter-spacing:-.015em}
.rt-marketing-app .rt-h1,body:has(> .rt-nav) .rt-h1{font-size:clamp(48px,7vw,82px);line-height:1;max-width:900px}
.rt-marketing-app .rt-h2,body:has(> .rt-nav) .rt-h2{font-size:clamp(34px,4vw,48px)}
.rt-marketing-app .rt-h3,body:has(> .rt-nav) .rt-h3{font-size:28px}
.rt-marketing-app .rt-hero,body:has(> .rt-nav) .rt-hero{background:#0b1220;color:#fff;padding-block:40px 44px}
.rt-marketing-app .rt-hero :is(.rt-h1,.rt-lead),body:has(> .rt-nav) .rt-hero :is(.rt-h1,.rt-lead){color:#fff}
.rt-marketing-app .rt-hero .rt-lead{color:#d3dae3;font-size:18px;line-height:1.7}
.rt-marketing-app .rt-h1 .gradient{color:#ff4e1f}
.rt-marketing-app .rt-eyebrow{padding:0;background:none!important;border:0;box-shadow:none;font-size:12px;letter-spacing:.13em}
.rt-marketing-app .rt-section{padding-block:clamp(36px,5vw,64px)}
.rt-marketing-app :is(.card,.card-feature,.shot-wrap,.about-hero,.deep-preview){border-radius:14px;box-shadow:var(--shadow-2)}
.rt-marketing-app .card-icon{border-radius:10px;background:var(--surface-sunken);color:var(--text-1);box-shadow:none}
.rt-marketing-app .btn-primary,body:has(> .rt-nav) .btn-primary{background:#ff4e1f;color:#0b1220;border-radius:8px;box-shadow:0 4px 12px #0b122020;font-weight:700}
.rt-marketing-app .btn-primary:hover{background:#ff7049;color:#0b1220;box-shadow:0 5px 14px #0b122030}
.rt-marketing-app :is(.btn-secondary,.btn-ghost){border-radius:8px}
.rt-marketing-app :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #ff4e1f;outline-offset:4px}
.rt-marketing-app :is(button,input,select,.btn){min-height:44px}
.rt-marketing-app .rt-footer{background:#0b1220}
@media(max-width:1023px){.rt-nav .rt-nav-links{background:#141d2b!important;border-color:#ffffff20;box-shadow:0 12px 30px #0004}.rt-marketing-app .rt-hero{padding-block:28px 32px}.rt-marketing-app .rt-hero .rt-lead{font-size:16px}.rt-marketing-app .rt-h1{font-size:clamp(42px,10vw,64px)}}
@media(prefers-reduced-motion:reduce){.rt-marketing-app *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.rt-marketing-app :is(.hub-title,.hub-h1,.v2-head h2,.dd-block h2),body:has(> .rt-nav) :is(.hub-title,.hub-h1,.v2-head h2,.dd-block h2){font-family:'Barlow Condensed',Impact,sans-serif;font-weight:700;letter-spacing:-.015em}
.rt-marketing-app .hub-title{font-size:clamp(46px,7vw,80px);max-width:900px;line-height:1}
.rt-marketing-app .dd-h1{font-size:clamp(42px,5vw,64px);line-height:1.02}
.rt-marketing-app .v2-head h2{font-size:clamp(32px,4vw,46px)}
.rt-marketing-app .dd-hero{background:#0b1220;color:#fff}
.rt-marketing-app .dd-hero :is(.dd-h1,.dd-lead){color:#f4f6f8}
.rt-marketing-app .dd-hero .dd-num{color:#8290a3;-webkit-text-stroke:0}
.rt-marketing-app :is(.dd-toc,.chapter-rail){top:68px}
.rt-marketing-app .rt-footer, .rt-footer.rt-marketing-app{background:#0b1220}
.rt-nav .rt-nav-link.rt-nav-cta,.rt-nav .rt-nav-link.rt-nav-cta:hover{color:#0b1220!important}
.rt-nav-links[hidden]{display:none!important}
.rt-nav-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.rt-nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.rt-nav-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.rt-nav .rt-logo{min-height:44px;display:inline-flex;align-items:center}
/* Block-level links keep each footer item on its own row. */
.rt-footer a{min-height:44px;display:flex;align-items:center}
.rt-nav-controls>button{min-width:44px;min-height:44px}
.rt-marketing-app :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #0b1220;outline-offset:2px;box-shadow:0 0 0 4px #f9fafb!important}

/* Trial page: compact introduction and first-line aligned consent controls. */
header.rt-hero.trial-hero{padding-block:24px 28px}
.rt-hero.trial-hero .rt-h1{font-size:clamp(36px,4vw,56px);line-height:1.05;max-width:960px;margin:0 0 14px}
.rt-hero.trial-hero .rt-h1 .gradient{display:block;color:#FF4E1F}
.rt-hero.trial-hero .rt-lead{max-width:840px;font-size:17px;line-height:1.6;margin:0;color:#D1D5DB}
.rt-hero.trial-hero .rt-cta-row{margin-top:18px}
.rt-hero.trial-hero .logo-row{margin-top:16px}
.rt-hero.trial-hero .logo-pill.trial-offer{background:#FF4E1F;color:#0B1220;border-color:transparent}
.rt-hero.trial-hero .trial-offer .dot{background:currentColor;flex:none}
.rt-form .trial-consent{display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;align-items:start;min-height:44px;padding-block:8px;margin-top:4px;color:var(--text-2);font-size:15px;line-height:1.6;cursor:pointer}
.rt-form .trial-consent input[type=checkbox]{appearance:auto;width:18px;height:18px;min-width:18px;min-height:18px;margin:3px 0 0;accent-color:#FF4E1F;cursor:pointer}
@media(max-width:540px){header.rt-hero.trial-hero{padding-block:20px 24px}.rt-hero.trial-hero .rt-lead{font-size:16px}.rt-hero.trial-hero .rt-cta-row{gap:10px}}

/* =============================================================
   Marketing refresh — October 2026 (About, Features, Free trial)
   Follows the Stadium public design: ink hero card, Barlow Condensed
   uppercase headlines, Race Orange highlights, soft 20px cards.
   Every class is prefixed `mk-` so feature deep-dives stay untouched.
   ============================================================= */
.mk { --mk-ink:#0B1220; --mk-orange:#FF4E1F; --mk-blue:#1FA8E0; --mk-green:#16A34A; --mk-card:#fff; --mk-line:#D1D5DB; --mk-muted:#4B5563; --mk-soft:0 5px 16px rgba(11,18,32,.10),0 1px 3px rgba(11,18,32,.07); --mk-r:20px; font-family:var(--font-sans); color:var(--text-1) }
html[data-theme="dark"] .mk { --mk-card:#1D232E; --mk-line:#374151; --mk-muted:#C2CAD6; --mk-soft:0 6px 18px rgba(0,0,0,.35) }
.mk *, .mk *::before, .mk *::after { box-sizing:border-box }
.mk :is(h1,h2,h3,p,ul,ol,figure) { margin:0 }
.mk-wrap { width:min(1240px, calc(100% - 32px)); margin-inline:auto }
.mk-eyebrow { display:inline-flex; align-items:center; gap:8px; font:600 12px/1.4 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; color:var(--mk-muted) }
.mk-eyebrow::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--mk-orange) }
.mk-display { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:-.01em; line-height:.92 }
.mk-hl { color:var(--mk-orange) }
.mk-section { padding-block:clamp(44px,6vw,84px) }
.mk-section.is-tight { padding-block:clamp(28px,4vw,48px) }
.mk-section.is-alt { background:var(--surface-sunken) }
.mk-head { display:grid; gap:14px; max-width:820px; margin-bottom:clamp(24px,3.5vw,40px) }
.mk-head.is-center { margin-inline:auto; text-align:center; justify-items:center }
.mk-head h2 { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; font-size:clamp(36px,4.6vw,60px); line-height:.95; letter-spacing:-.01em; color:var(--text-1) }
.mk-head p { font-size:clamp(16px,1.4vw,18px); line-height:1.65; color:var(--mk-muted); max-width:720px }
.mk-lead { font-size:clamp(16px,1.5vw,19px); line-height:1.65 }
.mk-small { font-size:14px; line-height:1.55; color:var(--mk-muted) }

/* Buttons (reuse .btn/.btn-primary; add on-dark ghost + sizes) */
.mk .btn { border-radius:12px; min-height:48px; padding:12px 20px; font-size:16px }
.mk .btn-primary, .mk .btn-primary:hover { color:#0B1220 }
.mk-btn-ghost { background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.28); box-shadow:none }
.mk-btn-ghost:hover { color:#fff; background:rgba(255,255,255,.16) }
.mk-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center }

/* Hero — Stadium rounded ink card with panorama */
.mk-hero { position:relative; margin:12px 12px 0; border-radius:22px; overflow:hidden; color:#fff; background:#0B1220; isolation:isolate; box-shadow:0 10px 25px rgba(11,18,32,.16) }
.mk-hero::before { content:''; position:absolute; inset:0; z-index:-2; background:url('/stadium/hero-1280.webp') center 40%/cover no-repeat; opacity:.28 }
@supports (background-image: image-set(url('/stadium/hero-1280.avif') type('image/avif'))) {
  .mk-hero::before { background-image:image-set(url('/stadium/hero-1280.avif') type('image/avif'), url('/stadium/hero-1280.webp') type('image/webp')) }
}
.mk-hero::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, rgba(11,18,32,.96) 0%, rgba(11,18,32,.82) 48%, rgba(11,18,32,.55) 100%) }
.mk-hero-inner { display:grid; gap:28px; padding-block:clamp(28px,5vw,56px); align-items:center }
.mk-hero .mk-eyebrow { color:#E5E7EB }
.mk-hero h1 { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; font-size:clamp(44px,8.4vw,92px); line-height:.9; letter-spacing:-.015em; margin-top:12px }
.mk-hero h1 span { display:block }
.mk-hero .mk-lead { color:#E5E7EB; margin-top:18px; max-width:600px }
.mk-hero .mk-actions { margin-top:24px }
.mk-hero-note { margin-top:16px; font-size:14px; color:#C7CED8 }
.mk-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; padding:0; list-style:none }
.mk-chips li { display:inline-flex; align-items:center; gap:8px; min-height:34px; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); font-size:14px; font-weight:600; color:#F3F4F6 }
.mk-chips li::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--mk-orange); flex:none }
.mk-chips li.is-offer { background:var(--mk-orange); border-color:transparent; color:#0B1220 }
.mk-chips li.is-offer::before { background:#0B1220 }
@media (min-width:1000px) {
  .mk-hero-inner.has-visual { grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:44px }
}

/* Proof band */
.mk-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
@media (min-width:860px) { .mk-stats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px } }
.mk-stat { background:var(--mk-card); border:1px solid var(--mk-line); border-radius:var(--mk-r); box-shadow:var(--mk-soft); padding:18px 18px 16px }
.mk-stat-value { display:block; font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; font-size:clamp(38px,4.4vw,56px); line-height:1; color:var(--text-1); font-variant-numeric:tabular-nums }
.mk-stat-label { display:block; margin-top:6px; font-size:14px; line-height:1.45; color:var(--mk-muted) }
.mk-proof-title { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:12px; margin:clamp(28px,4vw,44px) 0 16px }
.mk-proof-title h3 { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; font-size:clamp(26px,2.6vw,34px); line-height:1 }
.mk-races { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; padding:0; list-style:none }
@media (min-width:720px) { .mk-races { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (min-width:1100px) { .mk-races { grid-template-columns:repeat(3,minmax(0,1fr)) } }
.mk-race { display:grid; grid-template-columns:44px minmax(0,1fr); gap:4px 14px; align-items:start; min-height:100%; padding:16px; background:var(--mk-card); border:1px solid var(--mk-line); border-radius:var(--mk-r); box-shadow:var(--mk-soft); color:var(--text-1); text-decoration:none; transition:transform .18s ease, box-shadow .18s ease }
a.mk-race:hover { color:var(--text-1); transform:translateY(-2px); box-shadow:0 10px 24px rgba(11,18,32,.14) }
.mk-race-num { grid-row:span 3; display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--surface-sunken); font:700 15px/1 'Barlow Condensed','Arial Narrow',sans-serif; color:var(--text-1) }
.mk-race-num svg { width:26px; height:18px; border-radius:3px; box-shadow:0 0 0 1px rgba(11,18,32,.12) }
.mk-race strong { font-size:17px; line-height:1.3 }
.mk-race-meta { font-size:14px; color:var(--mk-muted) }
.mk-race-count { font-weight:700; font-size:15px; font-variant-numeric:tabular-nums }
.mk-race.is-feature { border-color:var(--mk-orange) }
.mk-race-tag { justify-self:start; margin-top:4px; padding:2px 8px; border-radius:999px; background:#FFE7DF; color:#9A2A08; font-size:12px; font-weight:700; letter-spacing:.02em }
html[data-theme="dark"] .mk-race-tag { background:#4A1D0E; color:#FFC9B6 }
.mk-partners { display:flex; flex-wrap:wrap; gap:10px; align-items:center }
.mk-partner { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:8px 14px; border-radius:12px; background:var(--mk-card); border:1px solid var(--mk-line); font-weight:600; font-size:15px; color:var(--text-1); text-decoration:none }
.mk-partner img { height:24px; width:auto }
.mk-partner small { font-weight:500; color:var(--mk-muted); font-size:13px }

/* Spotlight (map section) */
.mk-spot { display:grid; gap:clamp(24px,4vw,48px); align-items:center }
@media (min-width:1000px) { .mk-spot { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) } }
.mk-spot.is-dark { background:#0B1220; color:#fff; border-radius:22px; padding:clamp(18px,3vw,36px); box-shadow:0 10px 25px rgba(11,18,32,.16) }
.mk-spot.is-dark .mk-head h2 { color:#fff }
.mk-spot.is-dark .mk-head p, .mk-spot.is-dark .mk-eyebrow { color:#D1D5DB }
.mk-checks { display:grid; gap:14px; padding:0; list-style:none }
.mk-checks li { display:grid; grid-template-columns:28px minmax(0,1fr); gap:2px 12px; align-items:start }
.mk-checks li::before { content:''; grid-row:span 2; width:28px; height:28px; border-radius:9px; background:var(--mk-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat }
.mk-checks strong { font-size:17px; line-height:1.35 }
.mk-checks span { font-size:15px; line-height:1.55; color:var(--mk-muted) }
.mk-spot.is-dark .mk-checks span { color:#C7CED8 }

/* Three ways to follow */
.mk-cards { display:grid; gap:14px; grid-template-columns:minmax(0,1fr) }
@media (min-width:760px) { .mk-cards.is-3 { grid-template-columns:repeat(3,minmax(0,1fr)) } .mk-cards.is-2 { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (min-width:760px) and (max-width:1099px) { .mk-cards.is-4 { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (min-width:1100px) { .mk-cards.is-4 { grid-template-columns:repeat(4,minmax(0,1fr)) } }
.mk-card { display:grid; align-content:start; gap:10px; padding:20px; background:var(--mk-card); border:1px solid var(--mk-line); border-radius:var(--mk-r); box-shadow:var(--mk-soft); color:var(--text-1) }
.mk-card h3 { font-size:19px; line-height:1.25; font-weight:700 }
.mk-card p { font-size:15px; line-height:1.6; color:var(--mk-muted) }
.mk-card-kicker { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#C2410C }
html[data-theme="dark"] .mk-card-kicker { color:#FF9B7A }
.mk-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--surface-sunken); color:var(--text-1) }
.mk-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round }

/* Bento platform grid */
.mk-bento { display:grid; gap:14px; grid-template-columns:minmax(0,1fr) }
@media (min-width:760px) { .mk-bento { grid-template-columns:repeat(6,minmax(0,1fr)) } .mk-tile { grid-column:span 3 } .mk-tile.is-wide { grid-column:span 6 } }
@media (min-width:1100px) { .mk-tile { grid-column:span 2 } .mk-tile.is-wide { grid-column:span 4 } .mk-tile.is-tall { grid-row:span 2 } }
.mk-tile { position:relative; display:flex; flex-direction:column; min-width:0; overflow:hidden; background:var(--mk-card); border:1px solid var(--mk-line); border-radius:var(--mk-r); box-shadow:var(--mk-soft); color:var(--text-1); text-decoration:none; transition:transform .18s ease, box-shadow .18s ease }
a.mk-tile:hover { color:var(--text-1); transform:translateY(-3px); box-shadow:0 12px 28px rgba(11,18,32,.14) }
.mk-tile-media { aspect-ratio:16/9; overflow:hidden; background:var(--surface-sunken); border-bottom:1px solid var(--mk-line) }
.mk-tile-media img { width:100%; height:100%; object-fit:cover; object-position:top left }
.mk-tile-body { display:grid; gap:8px; padding:18px 18px 20px; align-content:start; flex:1 }
.mk-tile h3 { font-size:19px; line-height:1.25; font-weight:700 }
.mk-tile p { font-size:15px; line-height:1.55; color:var(--mk-muted) }
.mk-tile-go { margin-top:auto; padding-top:6px; font-weight:700; font-size:14px; color:#C2410C }
html[data-theme="dark"] .mk-tile-go { color:#FF9B7A }
.mk-tile-tags { display:flex; flex-wrap:wrap; gap:6px; padding:0; list-style:none }
.mk-tile-tags li { padding:3px 9px; border-radius:999px; background:var(--surface-sunken); font-size:12px; font-weight:600; color:var(--text-1) }
.mk-new { display:inline-block; margin-left:6px; padding:2px 7px; border-radius:6px; background:var(--mk-orange); color:#0B1220; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; vertical-align:middle }

/* Race-day flow */
.mk-flow { display:grid; gap:14px; grid-template-columns:minmax(0,1fr); counter-reset:mkflow }
@media (min-width:900px) { .mk-flow { grid-template-columns:repeat(3,minmax(0,1fr)) } }
.mk-flow-step { padding:22px; border-radius:var(--mk-r); background:var(--mk-card); border:1px solid var(--mk-line); box-shadow:var(--mk-soft) }
.mk-flow-step h3 { display:flex; align-items:baseline; gap:10px; font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; font-size:30px; line-height:1 }
.mk-flow-step h3::before { counter-increment:mkflow; content:counter(mkflow, decimal-leading-zero); font-size:18px; color:var(--mk-orange) }
.mk-flow-step > p { margin-top:8px; font-size:15px; color:var(--mk-muted); line-height:1.55 }
.mk-flow-step ul { margin-top:14px; display:grid; gap:8px; padding:0; list-style:none }
.mk-flow-step li { position:relative; padding-left:18px; font-size:15px; line-height:1.5 }
.mk-flow-step li::before { content:''; position:absolute; left:0; top:.55em; width:7px; height:7px; border-radius:2px; background:var(--mk-orange) }

/* Integrations strip */
.mk-logos { display:flex; flex-wrap:wrap; gap:10px; padding:0; list-style:none }
.mk-logos li { display:inline-flex; align-items:center; min-height:44px; padding:8px 16px; border-radius:12px; background:var(--mk-card); border:1px solid var(--mk-line); font-weight:700; font-size:15px }
.mk-logos li small { margin-left:8px; font-weight:500; color:var(--mk-muted); font-size:13px }

/* Promo / CTA card (Stadium promo) */
.mk-cta { display:grid; gap:18px; padding:clamp(24px,4vw,44px); border-radius:22px; background:#1F2937; color:#fff; box-shadow:0 7px 17px rgba(11,18,32,.16) }
@media (min-width:900px) { .mk-cta { grid-template-columns:minmax(0,1.4fr) auto; align-items:center } }
.mk-cta h2 { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; font-size:clamp(36px,4.6vw,58px); line-height:.95 }
.mk-cta p { margin-top:12px; color:#E5E7EB; font-size:17px; line-height:1.6; max-width:640px }
.mk-cta .mk-small { color:#C7CED8; margin-top:10px }

/* About: founder + milestones */
.mk-founder { display:grid; gap:clamp(20px,4vw,48px); align-items:start }
@media (min-width:900px) { .mk-founder { grid-template-columns:minmax(0,360px) minmax(0,1fr) } }
.mk-founder figure { border-radius:22px; overflow:hidden; box-shadow:var(--mk-soft); border:1px solid var(--mk-line); background:var(--surface-sunken) }
.mk-founder img { width:100%; height:auto; aspect-ratio:4/5; object-fit:cover }
.mk-founder figcaption { padding:12px 16px; font-size:14px; color:var(--mk-muted); background:var(--mk-card) }
.mk-prose { display:grid; gap:16px; font-size:17px; line-height:1.7; color:var(--mk-muted); max-width:720px }
.mk-prose h2 { color:var(--text-1) }
.mk-quote { margin:4px 0 0; padding:18px 20px; border-radius:16px; background:var(--mk-card); border:1px solid var(--mk-line); box-shadow:var(--mk-soft); font-size:19px; line-height:1.55; font-weight:600; color:var(--text-1) }
.mk-quote cite { display:block; margin-top:8px; font-size:14px; font-style:normal; font-weight:500; color:var(--mk-muted) }
.mk-steps { display:grid; gap:12px; padding:0; list-style:none; counter-reset:mkstep }
.mk-steps > li { display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 16px; padding:18px 20px; border-radius:var(--mk-r); background:var(--mk-card); border:1px solid var(--mk-line); box-shadow:var(--mk-soft) }
.mk-steps > li::before { counter-increment:mkstep; content:counter(mkstep); grid-row:span 3; display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#0B1220; color:#fff; font:700 20px/1 'Barlow Condensed','Arial Narrow',sans-serif }
html[data-theme="dark"] .mk-steps > li::before { background:var(--mk-orange); color:#0B1220 }
.mk-steps.is-dated > li::before { content:none }
.mk-steps.is-dated > li { grid-template-columns:minmax(0,1fr) }
.mk-steps h3 { font-size:18px; line-height:1.3; font-weight:700 }
.mk-steps p { font-size:15px; line-height:1.6; color:var(--mk-muted) }
.mk-when { font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#C2410C }
html[data-theme="dark"] .mk-when { color:#FF9B7A }

/* Trial: offer card + form shell + FAQ */
.mk-offer { display:grid; gap:14px; padding:22px; border-radius:20px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18) }
.mk-offer h2 { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; font-size:30px; line-height:1; color:#fff }
.mk-offer .mk-checks span { color:#C7CED8 }
.mk-offer .mk-checks strong { color:#fff; font-size:16px }
.mk-form-grid { display:grid; gap:clamp(20px,3vw,40px); align-items:start }
@media (min-width:1000px) { .mk-form-grid { grid-template-columns:minmax(0,1fr) minmax(0,340px) } }
.mk-form-card { padding:clamp(20px,3.5vw,36px); border-radius:22px; background:var(--mk-card); border:1px solid var(--mk-line); box-shadow:var(--mk-soft) }
.mk-aside { display:grid; gap:14px; position:sticky; top:88px }
.mk-faq { display:grid; gap:10px; max-width:900px }
.mk-faq details { border-radius:16px; background:var(--mk-card); border:1px solid var(--mk-line); box-shadow:var(--mk-soft) }
.mk-faq summary { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:56px; padding:14px 20px; font-weight:700; font-size:17px; cursor:pointer; list-style:none }
.mk-faq summary::-webkit-details-marker { display:none }
.mk-faq summary::after { content:'+'; flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:var(--surface-sunken); font-size:20px; font-weight:600; transition:transform .2s ease }
.mk-faq details[open] summary::after { transform:rotate(45deg) }
.mk-faq details p { padding:0 20px 18px; font-size:15px; line-height:1.65; color:var(--mk-muted) }
.mk :is(a,button,summary):focus-visible { outline:3px solid var(--mk-blue); outline-offset:3px }
@media (max-width:640px) {
  .mk-hero { margin:8px 8px 0; border-radius:18px }
  .mk-hero .mk-actions .btn { flex:1 1 auto; justify-content:center }
  .mk-aside { position:static }
}
.mk-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap }
@media (min-width:1000px) { .mk-hero-inner.has-visual h1 { font-size:clamp(52px,4.7vw,70px) } }
@media (min-width:1100px) {
  .mk-tile.is-wide:has(.mk-tile-media) { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) }
  .mk-tile.is-wide .mk-tile-media { aspect-ratio:auto; height:100%; min-height:260px; border-bottom:0; border-right:1px solid var(--mk-line) }
}
.mk-hero-inner { grid-template-columns:minmax(0,1fr) }
.mk-hero-inner > * { min-width:0 }
@media (min-width:900px) { .mk-steps.is-dated { grid-template-columns:repeat(auto-fit,minmax(340px,1fr)) } .mk-steps.is-dated > li:last-child { border-color:var(--mk-orange) } }
@media (min-width:1100px) {
  .mk-steps:not(.is-dated):not(.is-stack) { grid-template-columns:repeat(5,minmax(0,1fr)) }
  .mk-steps:not(.is-dated):not(.is-stack) > li { grid-template-columns:minmax(0,1fr); align-content:start; gap:10px }
  .mk-steps:not(.is-dated):not(.is-stack) > li::before { grid-row:auto }
}
.mk-partner img { height:32px; padding:4px 8px; border-radius:8px; background:#fff; box-sizing:content-box }
/* `.mk ul { margin:0 }` outranks `.mk-chips`; restore the gap under the hero buttons. */
.mk .mk-chips { margin-top:22px }

/* ── Marketing refresh, round 2: real product footage + new sections ── */
/* Product footage frame (real captures; pause control for WCAG 2.2.2). */
.mk-video { position:relative; margin:0; border-radius:20px; overflow:hidden; background:#E8EBEE; border:1px solid var(--mk-line); box-shadow:var(--mk-soft) }
.mk-hero .mk-video { border-color:rgba(255,255,255,.18); box-shadow:0 18px 40px rgba(0,0,0,.35) }
.mk-video video, .mk-video > img { display:block; width:100%; height:auto; background:#E8EBEE }
.mk-video-toggle { position:absolute; right:12px; bottom:12px; display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border:0; border-radius:12px; background:rgba(11,18,32,.82); color:#fff; font:700 14px/1 var(--font-sans); cursor:pointer }
.mk-video-toggle::before { content:''; width:10px; height:12px; border-left:3px solid currentColor; border-right:3px solid currentColor; box-sizing:border-box }
.mk-video[data-state="paused"] .mk-video-toggle::before { border:0; border-left:10px solid currentColor; border-top:6px solid transparent; border-bottom:6px solid transparent; width:0; height:0 }
.mk-video .mk-when-paused, .mk-video[data-state="paused"] .mk-when-playing { display:none }
.mk-video[data-state="paused"] .mk-when-paused { display:inline }
.mk-video-tag { position:absolute; left:12px; top:12px; display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:10px; background:rgba(255,255,255,.95); color:#0B1220; font-size:13px; font-weight:700; box-shadow:0 2px 8px rgba(11,18,32,.16) }
.mk-video-tag::before { content:''; width:8px; height:8px; border-radius:50%; background:#DC2626 }
.mk-caption { margin-top:10px; font-size:13px; line-height:1.5; color:var(--mk-muted) }
.mk-hero .mk-caption { color:#AEB8C6 }
.mk-credit { font-size:12px; color:var(--mk-muted) }
.mk-hero .mk-credit { color:#94A3B8 }

/* In-page jump links under the Features hero. */
.mk-jump { position:relative; z-index:1; margin-top:-1px; padding:14px 0 0 }
.mk-jump ul { display:flex; gap:8px; overflow-x:auto; padding:2px 2px 8px; margin:0; list-style:none; scrollbar-width:none }
.mk-jump ul::-webkit-scrollbar { display:none }
.mk-jump a { display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border-radius:999px; background:var(--mk-card); border:1px solid var(--mk-line); color:var(--text-1); font-weight:600; font-size:15px; white-space:nowrap; text-decoration:none }
.mk-jump a:hover { border-color:var(--text-1); color:var(--text-1) }

/* Two-column media + text rows. */
.mk-row { display:grid; gap:clamp(20px,3.5vw,44px); align-items:center }
@media (min-width:1000px) { .mk-row { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) } }
/* Flipped rows put the visual after the text at every width, so phones read the heading first. */
.mk-row.is-flip > :first-child { order:2 }
.mk-row + .mk-row, .mk-cards + .mk-row, .mk-row + .mk-cards { margin-top:clamp(28px,4vw,48px) }
.mk-phone-pair { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(0,1fr); gap:14px; align-items:end }
.mk-phone { border-radius:28px; overflow:hidden; border:6px solid #0B1220; background:#0B1220; box-shadow:var(--mk-soft) }
.mk-phone img { display:block; width:100%; height:auto }
@media (max-width:640px) { .mk-phone-pair { grid-template-columns:minmax(0,1fr) } .mk-phone-pair .mk-phone { max-width:260px; justify-self:center } }

/* Race formats: schematic glyph per format. */
.mk-format svg.mk-glyph { width:100%; height:64px; display:block; border-radius:12px; background:var(--surface-sunken) }
.mk-glyph .road { fill:none; stroke:var(--mk-blue); stroke-width:4; stroke-linecap:round; stroke-linejoin:round }
.mk-glyph .road.is-swim { stroke:#0EA5E9 } .mk-glyph .road.is-bike { stroke:#F59E0B } .mk-glyph .road.is-run { stroke:#16A34A }
.mk-glyph .mat { stroke:var(--text-1); stroke-width:3; stroke-linecap:round }
.mk-glyph .dot { fill:var(--mk-orange) }
.mk-glyph .ink { fill:var(--text-1); font:700 12px/1 var(--font-sans) }

/* Screenshot frame with browser-like top bar. */
.mk-shot { margin:0; border-radius:16px; overflow:hidden; background:var(--mk-card); border:1px solid var(--mk-line); box-shadow:var(--mk-soft) }
.mk-shot img { display:block; width:100%; height:auto }
.mk-shot figcaption { padding:10px 14px; font-size:13px; color:var(--mk-muted); border-top:1px solid var(--mk-line) }
.mk-shot-stack { display:grid; gap:14px }

/* Code sample card (API). */
.mk-code { margin:0; border-radius:18px; overflow:hidden; background:#0B1220; color:#E5E7EB; box-shadow:0 10px 25px rgba(11,18,32,.25) }
.mk-code-bar { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:10px 16px; border-bottom:1px solid rgba(255,255,255,.12); font:600 13px/1.4 var(--font-sans); color:#C7CED8 }
.mk-code pre { margin:0; padding:16px; overflow-x:auto; font:500 13px/1.65 var(--font-mono); white-space:pre }
.mk-code .k { color:#FF9B7A } .mk-code .s { color:#86EFAC } .mk-code .c { color:#94A3B8 }
.mk-steps.is-inline { counter-reset:mkstep }
.mk-phone.is-solo { max-width:300px; width:100%; justify-self:center }
/* Highlight under the live counters: the biggest weekend handled so far. */
.mk-callout { display:grid; gap:4px 24px; margin-top:14px; padding:18px 22px; border-radius:var(--mk-r); background:#0B1220; color:#fff; box-shadow:0 10px 25px rgba(11,18,32,.16) }
@media (min-width:900px) { .mk-callout { grid-template-columns:auto minmax(0,1fr); align-items:center } .mk-callout-kicker { grid-column:1 / -1 } }
.mk-callout-kicker { font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#C7CED8 }
.mk-callout-num { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:700; text-transform:uppercase; font-size:clamp(30px,3.6vw,44px); line-height:1; color:#FF4E1F; font-variant-numeric:tabular-nums }
.mk-callout-text { font-size:15px; line-height:1.55; color:#E5E7EB }
@media (max-width:1100px) { .mk-jump ul { -webkit-mask-image:linear-gradient(90deg,#000 80%,transparent); mask-image:linear-gradient(90deg,#000 80%,transparent); padding-right:40px } }
/* Race-format gallery: real results screenshots in tabs (uses the shared tabshots behaviour). */
.mk-gallery-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 16px }
.mk-gallery .tabshots-tab { min-height:44px; padding:0 16px; border-radius:999px; border:1px solid var(--mk-line); background:var(--mk-card); color:var(--text-1); font:600 15px/1 var(--font-sans); cursor:pointer; box-shadow:none }
.mk-gallery .tabshots-tab.is-active { background:#0B1220; border-color:#0B1220; color:#fff }
html[data-theme="dark"] .mk-gallery .tabshots-tab.is-active { background:#fff; border-color:#fff; color:#0B1220 }
.mk-gallery .tabshots-panel { background:none; border:0; box-shadow:none }
.mk-gallery .tabshots-panel img { width:100%; height:auto; max-width:100%; max-height:none; margin:0; cursor:zoom-in }
.mk-gallery .mk-phone-pair { align-items:start }
/* Three phone screens side by side (Onsite app). */
.mk-phone-trio { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:start }
.mk-phone-trio .mk-phone { border-width:5px; border-radius:24px }
.mk-phone-trio .mk-phone:nth-child(2) { margin-top:28px }
@media (max-width:640px) { .mk-phone-trio { gap:8px } .mk-phone-trio .mk-phone { border-width:3px; border-radius:16px } .mk-phone-trio .mk-phone:nth-child(2) { margin-top:16px } }
/* Two screenshots side by side (announcer boards). */
.mk-two-up { display:grid; gap:14px; grid-template-columns:minmax(0,1fr); align-items:start }
@media (min-width:900px) { .mk-two-up { grid-template-columns:minmax(0,1fr) minmax(0,1fr) } }
.mk-shot.is-dark { background:#000; border-color:#1F2937 }
.mk-shot.is-dark figcaption { background:var(--mk-card) }
/* Compact tab gallery inside a two-column row (Cloud scoring). */
.mk-gallery.is-compact .mk-gallery-tabs { margin:0 0 12px }
.mk-row:has(.mk-gallery.is-compact) { align-items:start }
/* Standalone text links and chapter breadcrumbs: 44px touch targets. */
a.mk-tile-go { display:inline-flex; align-items:center; min-height:44px }
.rt-marketing-app .dd-crumb a { display:inline-flex; align-items:center; min-height:44px }
/* ── Phone compaction (≤640px): shorter page, readable screenshots ── */
.mk-only-phone { display:none }
@media (max-width:640px) {
  .mk-only-phone { display:block }
  .mk-hide-phone { display:none }
  .mk-phone.mk-only-phone { max-width:280px; justify-self:center; margin-inline:auto }
  /* All-features grid: text tiles only. */
  .mk-bento .mk-tile-media { display:none }
  .mk-bento .mk-tile-body { padding:16px }
  /* Race-format cards: graphic beside the title. */
  .mk-format { grid-template-columns:96px minmax(0,1fr); column-gap:14px; row-gap:4px; align-items:start }
  .mk-format svg.mk-glyph { grid-row:span 2; height:56px }
  /* Gallery: the phone screenshot is the readable one on a phone. */
  .mk-gallery .mk-phone-pair > .mk-shot { display:none }
  .mk-gallery .mk-phone-pair .mk-phone { max-width:280px; margin-inline:auto }
  .mk-gallery.is-compact .mk-phone-pair > .mk-shot, .mk-gallery.is-compact .tabshots-panel > .mk-shot { display:block }
  /* Tighter cards. */
  .mk-card { padding:16px; gap:8px }
  .mk-icon { width:36px; height:36px; border-radius:10px }
  .mk-icon svg { width:18px; height:18px }
}
@media (max-width:640px) { .mk-founder figure { max-width:260px } }
