/* ============================================================
   RobotLAB 2026 — Components
   Extracted from the Claude Design prototype. Page-agnostic
   styles for headers, footers, hero, cards, forms, etc.
   Loads AFTER tokens.css.
   ============================================================ */

/* —— Top utility bar ————————————————— */
.util-bar { background: var(--rl-ink-900); color: var(--rl-ink-300); font-size: 13px; }
.util-bar-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 8px var(--s-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
}
.util-bar a { color: var(--rl-ink-300); }
.util-bar a:hover { color: white; }
.util-left { display: flex; align-items: center; gap: var(--s-4); }
.util-right { display: flex; align-items: center; gap: var(--s-4); }
.util-phone { display: flex; align-items: center; gap: 6px; }

/* —— Site header + nav ————————————————— */
.site-header {
  background: var(--rl-paper);
  border-bottom: 1px solid var(--rl-ink-200);
  position: sticky; top: 0; z-index: 50;
}
.site-header-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--s-6);
  height: 88px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-8);
}
.logo { display: inline-flex; align-items: center; text-decoration: none; height: 52px; }
.logo img { height: 52px; width: auto; display: block; }
.footer-brand .logo img { height: 48px; filter: brightness(0) invert(1); opacity: 0.95; }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.main-nav-item {
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--rl-ink-700);
  position: relative; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.main-nav-item:hover,
.main-nav-item[data-open="true"] { background: var(--rl-ink-050); color: var(--rl-ink-900); }
.main-nav-item .caret { width: 10px; height: 10px; opacity: 0.5; }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.search-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: transparent; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--rl-ink-500);
}
.search-btn:hover { background: var(--rl-ink-050); color: var(--rl-ink-900); }
.search-btn { cursor: pointer; }

/* Header search form — input collapses (opacity:0 + width:0) by default,
   expands on hover or focus-within. Submit/icon button stays clickable
   in both states. overflow:hidden on the form prevents the placeholder text
   from leaking out while the input is collapsed. */
.header-search { display: inline-flex; align-items: center; gap: 4px; overflow: hidden; }
.header-search-input {
  width: 0; min-width: 0; padding: 0; margin: 0;
  border: 1px solid transparent;
  background: transparent; font: inherit; color: var(--rl-ink-900);
  outline: none; opacity: 0; pointer-events: none;
  transition: width 200ms ease, padding 200ms ease, opacity 150ms ease,
              border-color 200ms ease, background 200ms ease;
  border-radius: var(--r-sm);
}
.header-search:hover .header-search-input,
.header-search:focus-within .header-search-input {
  width: 200px; padding: 8px 10px;
  border-color: var(--rl-ink-200);
  background: var(--rl-paper);
  opacity: 1; pointer-events: auto;
}
.header-search-input::placeholder { color: var(--rl-ink-400); }

/* —— Mega menu ————————————————— */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--rl-ink-200);
  box-shadow: var(--shadow-lg);
  display: none;
}
.mega.open { display: block; }
.mega-inner {
  max-width: var(--container); margin: 0 auto;
  padding: var(--s-10) var(--s-6);
  display: grid; grid-template-columns: 3fr 1.3fr; gap: var(--s-16);
}
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-8); }
.mega-col-title {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500);
  padding-bottom: var(--s-3); margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--rl-ink-200);
}
.mega-link { display: block; padding: 6px 0; font-size: 14px; color: var(--rl-ink-700); }
.mega-link:hover { color: var(--rl-blue-700); }
.mega-promo {
  background: var(--rl-ink-900); color: white;
  padding: var(--s-6); border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 240px;
}
.mega-promo .t-eyebrow { color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white); }
.mega-promo h4 { font-size: 20px; font-weight: 600; margin: var(--s-2) 0 var(--s-3); color: white; }
.mega-promo p { font-size: 14px; color: var(--rl-ink-300); margin-bottom: var(--s-4); }
.mega-promo a {
  font-size: 14px; font-weight: 500;
  color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white);
  display: inline-flex; align-items: center; gap: 4px;
}

/* —— Breadcrumb ————————————————— */
.crumb {
  padding: var(--s-4) 0; font-size: 13px; color: var(--rl-ink-500);
  border-bottom: 1px solid var(--rl-ink-200); background: white;
}
.crumb .container { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumb a { color: var(--rl-ink-500); }
.crumb a:hover { color: var(--rl-blue-700); }
.crumb .sep { color: var(--rl-ink-300); }
.crumb .current { color: var(--rl-ink-900); }

/* —— Homepage hero ————————————————— */
.hero {
  background: linear-gradient(180deg, var(--rl-blue-050) 0%, white 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rl-ink-200);
}
.hero-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-16);
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1; letter-spacing: -0.028em; font-weight: 600;
  margin-bottom: var(--s-6);
}
.hero h1 em { font-style: normal; color: var(--rl-blue-700); }
.hero .t-lead { max-width: 540px; margin-bottom: var(--s-8); }
.hero-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-10); }
.hero-media {
  aspect-ratio: 4/5;
  background: #0e1422 center/cover no-repeat;
  border-radius: var(--r-xl); position: relative; overflow: hidden;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,16,32,0.55) 100%);
}
.hero-media-caption {
  position: absolute; bottom: var(--s-5); left: var(--s-6); z-index: 2;
  color: rgba(255,255,255,0.9);
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-badge {
  position: absolute; top: var(--s-6); right: var(--s-6); z-index: 2;
  background: white; color: var(--rl-ink-900);
  padding: var(--s-4); border-radius: var(--r-md);
  width: 120px; text-align: center; box-shadow: var(--shadow-md);
}
.hero-badge .num {
  font-family: var(--rl-font-display); font-size: 36px; font-weight: 600;
  color: var(--rl-blue-700); line-height: 1;
}
.hero-badge .lbl {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500); margin-top: 4px;
}

/* —— Stats strip ————————————————— */
.stats-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rl-ink-200); padding-top: var(--s-8);
}
.stat-cell { padding: 0 var(--s-4); border-left: 1px solid var(--rl-ink-200); }
.stat-cell:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--rl-font-display); font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 600; color: var(--rl-ink-900); line-height: 1; letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--rl-ink-500); margin-top: 6px; }

/* —— Smart finder ————————————————— */
.finder {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-lg); padding: var(--s-8);
  box-shadow: var(--shadow-md);
  /* Prevent the finder from ever pushing its parent wider —
     long goal labels (e.g. "Reduce housekeeping labor") wrap instead. */
  max-width: 100%; min-width: 0; overflow-wrap: break-word;
}
.finder-label { margin-bottom: var(--s-4); }
.finder-row {
  display: flex; gap: var(--s-2) var(--s-3); flex-wrap: wrap; align-items: center;
  font-family: var(--rl-font-display);
  /* Smaller, with a tighter ceiling so wide goal tokens don't blow out the layout */
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500; line-height: 1.4; color: var(--rl-ink-900);
  min-width: 0;
}
.finder-select {
  background: var(--rl-blue-100); color: var(--rl-blue-700);
  border: 1px dashed var(--rl-blue-500);
  padding: 4px 12px; border-radius: var(--r-sm);
  font: inherit; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  /* Allow long labels inside a token to wrap (otherwise the whole word forces a wider container) */
  max-width: 100%; white-space: normal; text-align: left;
}
.finder-select:hover { background: color-mix(in oklch, var(--rl-blue-100) 70%, var(--rl-blue-500)); }
.finder-result {
  margin-top: var(--s-6); padding-top: var(--s-6);
  border-top: 1px solid var(--rl-ink-200);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  flex-wrap: wrap;
}

/* —— Section header ————————————————— */
.sec-head { max-width: 720px; margin-bottom: var(--s-10); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin: var(--s-3) 0 var(--s-4); }

/* —— Capability / vertical tile grid ————————————————— */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.tile {
  padding: var(--s-6);
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: all .15s ease; text-align: left;
  text-decoration: none; color: inherit;
}
.tile:hover {
  border-color: var(--rl-blue-500); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.tile-icon {
  width: 44px; height: 44px;
  background: var(--rl-blue-100); color: var(--rl-blue-700);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-2);
}
.tile h3 { font-size: 17px; font-weight: 600; }
.tile p { font-size: 14px; color: var(--rl-ink-500); }

/* —— Manufacturers strip ————————————————— */
.mfr-strip {
  background: var(--rl-ink-050); padding: var(--s-10) 0;
  border-top: 1px solid var(--rl-ink-200);
  border-bottom: 1px solid var(--rl-ink-200);
}
.mfr-head { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6) var(--s-6); }
.mfr-logos {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--rl-ink-200); border-radius: var(--r-md);
  background: white;
}
.mfr-cell {
  padding: var(--s-6); text-align: center;
  font-family: var(--rl-font-display); font-weight: 600;
  font-size: 15px; letter-spacing: -0.01em; color: var(--rl-ink-500);
  border-right: 1px solid var(--rl-ink-200);
  border-bottom: 1px solid var(--rl-ink-200);
  display: flex; align-items: center; justify-content: center;
  min-height: 80px; transition: color .15s;
  text-decoration: none;
}
.mfr-cell:hover { color: var(--rl-blue-700); }
.mfr-cell:nth-child(6n) { border-right: 0; }
.mfr-cell:nth-last-child(-n+6) { border-bottom: 0; }

/* —— Data section (Numbers behind the robots) ————————————————— */
.data-section { background: var(--rl-ink-900); color: white; }
.data-section h2 { color: white; }
.data-section .t-lead { color: var(--rl-ink-300); }
.data-section .sec-head p { color: var(--rl-ink-300); }
.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.data-card {
  background: #141c2c; border: 1px solid #2a3142;
  border-radius: var(--r-lg); padding: var(--s-8);
}
.data-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: var(--s-8); padding-bottom: var(--s-5);
  border-bottom: 1px solid #2a3142;
}
.data-card-head h3 { font-size: 22px; color: white; }
.data-card-head a {
  font-size: 13px; color: var(--rl-ink-400);
  display: inline-flex; align-items: center; gap: 4px;
}
.data-card-head a:hover { color: white; }
.data-metric { margin-bottom: var(--s-6); }
.data-metric:last-child { margin-bottom: 0; }
.data-metric-num {
  font-family: var(--rl-font-display); font-size: 44px; font-weight: 600;
  color: white; letter-spacing: -0.02em; line-height: 1;
}
.data-metric-num .unit { font-size: 22px; color: var(--rl-ink-400); font-weight: 500; margin-left: 6px; }
.data-metric-label { margin-top: 6px; font-size: 14px; color: var(--rl-ink-400); }

/* —— Franchise block ————————————————— */
.franchise-block {
  background: linear-gradient(105deg, var(--rl-blue-700) 0%, var(--rl-blue-900) 100%);
  color: white; border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-12);
  align-items: center; position: relative; overflow: hidden;
}
.franchise-block::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.franchise-block h2 { color: white; font-size: clamp(28px, 3vw, 42px); }
.franchise-block p { color: rgba(255,255,255,0.85); font-size: 16px; margin: var(--s-4) 0 var(--s-6); }
.franchise-stats { display: flex; gap: var(--s-8); margin-bottom: var(--s-6); flex-wrap: wrap; }
.franchise-stats .fs-num {
  font-family: var(--rl-font-display); font-size: 36px; font-weight: 600;
  color: white; line-height: 1;
}
.franchise-stats .fs-lbl { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.franchise-block ul { list-style: none; padding: 0; margin: 0; }
.franchise-block ul li {
  padding: 8px 0; font-size: 15px; color: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: baseline; gap: 10px;
}
.franchise-block ul li::before {
  content: '→'; color: color-mix(in oklch, var(--rl-accent-cyan) 70%, white);
  font-family: var(--rl-font-mono);
}

/* —— Footer ————————————————— */
.site-footer {
  background: var(--rl-ink-900); color: var(--rl-ink-300);
  padding: var(--s-16) 0 var(--s-6);
}
.footer-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--s-8);
  padding-bottom: var(--s-10);
  border-bottom: 1px solid #1f2740;
}
.footer-col h4 {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-ink-400); margin-bottom: var(--s-4); font-weight: 500;
}
.footer-col a { display: block; padding: 4px 0; font-size: 14px; color: var(--rl-ink-300); }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: var(--container); margin: 0 auto; padding: var(--s-6) var(--s-6) 0;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  font-size: 13px; color: var(--rl-ink-500); flex-wrap: wrap;
}
.footer-brand .logo { color: white; margin-bottom: var(--s-3); }
.footer-brand p { font-size: 14px; color: var(--rl-ink-400); max-width: 320px; }

/* —— Vertical (industry) hero ————————————————— */
.vhero {
  background: white;
  padding: var(--s-16) 0 var(--s-12);
  border-bottom: 1px solid var(--rl-ink-200);
}
.vhero-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); align-items: center;
}
.vhero h1 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: var(--s-4); }
.vhero .outcome {
  display: inline-flex; gap: var(--s-2); align-items: baseline;
  margin: var(--s-5) 0 var(--s-6);
  padding: var(--s-3) var(--s-4);
  background: color-mix(in oklch, var(--rl-accent-mint) 14%, white);
  border-left: 3px solid var(--rl-accent-mint);
  border-radius: var(--r-sm);
  font-family: var(--rl-font-display); font-size: 18px; font-weight: 500;
}
.vhero .outcome .num { font-size: 24px; color: oklch(0.42 0.12 160); font-weight: 600; }

/* —— Pain points ————————————————— */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.pain {
  padding: var(--s-6);
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md);
  border-top: 3px solid var(--rl-accent-clay);
}
.pain .k {
  font-family: var(--rl-font-mono); font-size: 12px;
  color: var(--rl-accent-clay); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: var(--s-3);
}
.pain h3 { font-size: 18px; margin-bottom: var(--s-2); }
.pain p { font-size: 14px; color: var(--rl-ink-500); }

/* —— Product card grid ————————————————— */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.product-card {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .15s; text-decoration: none; color: inherit;
}
.product-card:hover { border-color: var(--rl-ink-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-img {
  aspect-ratio: 4/3;
  background: var(--rl-ink-050) center/cover no-repeat;
  display: flex; align-items: flex-end; padding: var(--s-3);
  color: var(--rl-ink-500); font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--rl-ink-200);
}
.product-img[data-img] { color: transparent; }
.img-placeholder[data-img] { color: transparent !important; background-image: none; }
.product-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.product-brand { font-family: var(--rl-font-mono); font-size: 11px; color: var(--rl-ink-500); text-transform: uppercase; letter-spacing: 0.08em; }
.product-name { font-family: var(--rl-font-display); font-size: 18px; font-weight: 600; }
.product-desc { font-size: 13px; color: var(--rl-ink-500); margin-bottom: var(--s-3); flex: 1; }
.product-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-3); border-top: 1px solid var(--rl-ink-100);
}
.product-foot .price { font-family: var(--rl-font-display); font-size: 15px; font-weight: 600; }
.product-foot a { font-size: 13px; color: var(--rl-blue-700); font-weight: 500; }

/* —— ROI calculator ————————————————— */
.roi-card {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-lg); padding: var(--s-10);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-10);
}
.roi-inputs label { display: block; font-size: 13px; color: var(--rl-ink-700); margin-bottom: var(--s-2); font-weight: 500; }
.roi-inputs .field { margin-bottom: var(--s-5); }
.roi-inputs input[type=range] { width: 100%; accent-color: var(--rl-blue-700); }
.roi-inputs .value { font-family: var(--rl-font-mono); font-size: 14px; color: var(--rl-blue-700); }
.roi-output {
  background: var(--rl-ink-900); color: white;
  border-radius: var(--r-md); padding: var(--s-8);
  display: flex; flex-direction: column; justify-content: center;
}
.roi-output .big {
  font-family: var(--rl-font-display); font-size: 60px; font-weight: 600;
  color: color-mix(in oklch, var(--rl-accent-mint) 70%, white);
  line-height: 1; letter-spacing: -0.02em;
}
.roi-output .sub { font-size: 14px; color: var(--rl-ink-300); margin-top: var(--s-2); }
.roi-output hr { border: 0; border-top: 1px solid #2a3142; margin: var(--s-6) 0; }
.roi-output dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 14px; }
.roi-output dt { color: var(--rl-ink-400); }
.roi-output dd { margin: 0; color: white; font-family: var(--rl-font-mono); text-align: right; }

/* —— FAQ ————————————————— */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--rl-ink-200); padding: var(--s-5) 0; }
.faq-item:last-child { border-bottom: 1px solid var(--rl-ink-200); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--rl-font-display); font-size: 18px; font-weight: 500;
  color: var(--rl-ink-900); cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-family: var(--rl-font-mono); font-size: 22px; color: var(--rl-ink-500); transition: transform .2s; }
details[open] .faq-q::after { content: '–'; }
.faq-a { padding-top: var(--s-3); color: var(--rl-ink-700); font-size: 15px; line-height: 1.6; max-width: 680px; }

/* —— Quote / testimonial ————————————————— */
.quote-block {
  background: var(--rl-blue-050);
  border-left: 3px solid var(--rl-blue-700);
  padding: var(--s-8);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote-block blockquote {
  font-family: var(--rl-font-display); font-size: 22px; font-weight: 500;
  line-height: 1.4; color: var(--rl-ink-900); margin: 0 0 var(--s-5);
  letter-spacing: -0.01em;
}
.quote-attr { display: flex; align-items: center; gap: var(--s-3); }
.quote-attr-photo {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--rl-blue-100); color: var(--rl-blue-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--rl-font-display); font-weight: 600;
}
.quote-attr-name { font-weight: 600; font-size: 14px; }
.quote-attr-role { font-size: 13px; color: var(--rl-ink-500); }

/* —— Demo CTA / Mautic form slot ————————————————— */
.demo-cta {
  background: var(--rl-ink-900); color: white;
  padding: var(--s-16) var(--s-10);
  border-radius: var(--r-xl);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-10);
  align-items: center;
}
.demo-cta h2 { color: white; font-size: clamp(28px, 3vw, 40px); }
.demo-cta p { color: var(--rl-ink-300); margin: var(--s-4) 0 var(--s-6); }
.demo-cta ul.checks { list-style: none; padding: 0; margin-top: var(--s-6); color: var(--rl-ink-300); font-size: 14px; }
.demo-cta ul.checks li { padding: 4px 0; }
.demo-form {
  background: #141c2c; border: 1px solid #2a3142;
  border-radius: var(--r-md); padding: var(--s-6);
}
.demo-form .field { margin-bottom: var(--s-4); }
.demo-form label {
  font-size: 12px; color: var(--rl-ink-400);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: var(--rl-font-mono); display: block; margin-bottom: 6px;
}
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; background: var(--rl-ink-900); border: 1px solid #2a3142;
  color: white; padding: 10px 12px; border-radius: var(--r-sm);
  font: inherit; font-size: 14px;
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: 2px solid var(--rl-blue-500); outline-offset: 1px;
}
.demo-form .btn-submit {
  width: 100%; justify-content: center;
  background: color-mix(in oklch, var(--rl-accent-cyan) 70%, white);
  color: var(--rl-ink-900);
}

/* Light variant for non-dark sections */
.lead-form {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-lg); padding: var(--s-8);
}
.lead-form .field { margin-bottom: var(--s-4); }
.lead-form label {
  font-size: 12px; color: var(--rl-ink-500);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: var(--rl-font-mono); display: block; margin-bottom: 6px;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; background: white; border: 1px solid var(--rl-ink-200);
  color: var(--rl-ink-900); padding: 10px 12px; border-radius: var(--r-sm);
  font: inherit; font-size: 14px;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--rl-blue-500); outline-offset: 1px;
}

/* Mautic placeholder note styling */
.mautic-slot {
  border: 1px dashed var(--rl-blue-500);
  border-radius: var(--r-md);
  padding: var(--s-3);
  margin-bottom: var(--s-4);
  font-family: var(--rl-font-mono); font-size: 11px;
  color: var(--rl-blue-700);
  background: color-mix(in oklch, var(--rl-blue-100) 50%, white);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.demo-form .mautic-slot { color: color-mix(in oklch, var(--rl-accent-cyan) 70%, white); border-color: rgba(255,255,255,0.2); background: rgba(0,0,0,0.2); }

/* —— Capability page specifics ————————————————— */
.cap-hero { background: var(--rl-ink-900); color: white; padding: var(--s-16) 0; }
.cap-hero-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-12); align-items: end;
}
.cap-hero h1 { color: white; font-size: clamp(48px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.03em; }
.cap-hero p { color: var(--rl-ink-300); font-size: 18px; max-width: 500px; margin-top: var(--s-6); }
.cap-hero .t-eyebrow { color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white); }
.cap-hero-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4);
  border-top: 1px solid #2a3142; padding-top: var(--s-5);
}
.cap-hero-meta .m-num { font-family: var(--rl-font-display); font-size: 32px; font-weight: 600; color: white; }
.cap-hero-meta .m-lbl { font-size: 13px; color: var(--rl-ink-400); }

/* —— Product detail page (PDP) ————————————————— */
.pdp-hero { background: white; padding: var(--s-10) 0 var(--s-12); border-bottom: 1px solid var(--rl-ink-200); }
.pdp-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s-12);
}
.pdp-gallery { display: grid; grid-template-columns: 80px 1fr; gap: var(--s-4); }
.pdp-thumbs { display: flex; flex-direction: column; gap: var(--s-2); }
.pdp-thumb {
  aspect-ratio: 1; border-radius: var(--r-sm);
  background: var(--rl-ink-100) center/cover no-repeat;
  border: 1px solid var(--rl-ink-200); cursor: pointer;
}
.pdp-thumb.active { border-color: var(--rl-blue-700); border-width: 2px; }
.pdp-main-img {
  aspect-ratio: 4/3;
  background: var(--rl-ink-050) center/cover no-repeat;
  border: 1px solid var(--rl-ink-200); border-radius: var(--r-md);
  position: relative; overflow: hidden;
}
.pdp-main-img .play-btn {
  position: absolute; top: var(--s-4); right: var(--s-4);
  background: white; padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--rl-ink-900);
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 0;
}
.pdp-info .t-eyebrow { display: block; margin-bottom: var(--s-3); }
.pdp-info h1 { font-size: clamp(36px, 4vw, 52px); margin-bottom: var(--s-3); }
.pdp-tagline { font-size: 18px; color: var(--rl-ink-700); margin-bottom: var(--s-5); line-height: 1.5; }
.pdp-price-row {
  display: flex; align-items: baseline; gap: var(--s-4);
  margin-bottom: var(--s-5); padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rl-ink-200);
}
.pdp-price { font-family: var(--rl-font-display); font-size: 32px; font-weight: 600; }
.pdp-price-sub { font-size: 13px; color: var(--rl-ink-500); }
.pdp-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-8); }
.pdp-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); padding: 0; margin: 0; }
.pdp-highlights li {
  list-style: none; padding: 8px 0;
  font-size: 14px; display: flex; align-items: baseline; gap: 8px;
  color: var(--rl-ink-700);
}
.pdp-highlights li::before { content: '✓'; color: var(--rl-blue-700); font-weight: 600; }

/* —— Specs table ————————————————— */
.specs { background: white; border: 1px solid var(--rl-ink-200); border-radius: var(--r-lg); overflow: hidden; margin: 0; padding: 0; }
.specs-row {
  display: grid; grid-template-columns: 1fr 2fr;
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--rl-ink-100);
  font-size: 14px;
}
.specs-row:first-child { border-top: 0; }
.specs-row dt {
  color: var(--rl-ink-500); font-family: var(--rl-font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
}
.specs-row dd { margin: 0; color: var(--rl-ink-900); font-weight: 500; }

/* —— Manufacturer card / brand block ————————————————— */
.mfr-card {
  background: var(--rl-blue-050);
  border: 1px solid var(--rl-blue-100);
  border-radius: var(--r-lg); padding: var(--s-8);
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-8); align-items: center;
}
.mfr-logo-big {
  background: white; border: 1px solid var(--rl-ink-200);
  aspect-ratio: 16/9; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--rl-font-display); font-weight: 700; font-size: 32px;
  letter-spacing: -0.02em; color: var(--rl-ink-700);
}

/* —— Filter rail (used on store category + search + blog) ————————————————— */
.filter-shell {
  display: grid; grid-template-columns: 260px 1fr; gap: var(--s-8);
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
}
.filter-rail {
  position: sticky; top: 100px; align-self: start;
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md); padding: var(--s-5);
  /* Independent scroll: rail can be taller than the viewport without forcing
     the user to scroll the whole page just to reach the bottom filter group. */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  /* Reserve room for a scrollbar so checkboxes don't reflow when one appears. */
  scrollbar-gutter: stable;
}
.filter-rail h4 {
  font-family: var(--rl-font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--rl-ink-500);
  padding-bottom: var(--s-3); margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--rl-ink-100);
}
.filter-rail .filter-group { padding-bottom: var(--s-4); margin-bottom: var(--s-4); border-bottom: 1px solid var(--rl-ink-100); }
.filter-rail .filter-group:last-child { border-bottom: 0; margin-bottom: 0; }
.filter-rail label.checkbox {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 0; font-size: 14px; color: var(--rl-ink-700);
  cursor: pointer;
}
.results-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--s-5); gap: var(--s-4); flex-wrap: wrap;
}
.results-count { font-size: 14px; color: var(--rl-ink-500); }
.results-sort {
  font: inherit; font-size: 14px; padding: 8px 12px;
  background: white; border: 1px solid var(--rl-ink-200); border-radius: var(--r-sm);
  color: var(--rl-ink-900);
}

/* —— Tags / chips row ————————————————— */
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--s-5); }
.chip {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: white; border: 1px solid var(--rl-ink-200);
  color: var(--rl-ink-700); font-size: 13px;
  cursor: pointer; text-decoration: none;
}
.chip:hover { border-color: var(--rl-blue-500); color: var(--rl-blue-700); }
.chip.active { background: var(--rl-blue-700); color: white; border-color: var(--rl-blue-700); }

/* —— Article body (blog post / case study / legal / KB) ————————————————— */
.article {
  max-width: 720px; margin: 0 auto;
  font-size: 17px; line-height: 1.7; color: var(--rl-ink-700);
}
.article h2 { font-size: 28px; margin-top: 48px; margin-bottom: 16px; color: var(--rl-ink-900); }
.article h3 { font-size: 22px; margin-top: 32px; margin-bottom: 12px; color: var(--rl-ink-900); }
.article p { margin-bottom: var(--s-5); }
.article ul, .article ol { padding-left: 24px; margin-bottom: var(--s-5); }
.article ul li, .article ol li { margin-bottom: var(--s-2); }
.article a { color: var(--rl-blue-700); text-decoration: underline; text-underline-offset: 3px; }
.article blockquote {
  border-left: 3px solid var(--rl-blue-700);
  padding: var(--s-2) var(--s-5);
  margin: var(--s-6) 0;
  font-style: italic; color: var(--rl-ink-900);
}
.article figure { margin: var(--s-8) 0; }
.article figure img { border-radius: var(--r-md); border: 1px solid var(--rl-ink-200); }
.article figcaption {
  font-family: var(--rl-font-mono); font-size: 12px;
  color: var(--rl-ink-500); margin-top: var(--s-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.article hr { margin: var(--s-10) 0; border: 0; border-top: 1px solid var(--rl-ink-200); }
.article code {
  font-family: var(--rl-font-mono); font-size: 14px;
  background: var(--rl-ink-100); padding: 2px 6px; border-radius: 4px;
}

/* —— Article header / hero (post / case study) ————————————————— */
.article-hero {
  background: white; padding: var(--s-16) 0 var(--s-10);
  border-bottom: 1px solid var(--rl-ink-200);
}
.article-hero .container { max-width: var(--container-narrow); }
.article-meta {
  display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--rl-ink-500); margin-bottom: var(--s-4);
}
.article-meta a { color: var(--rl-blue-700); }
.article-hero h1 {
  font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: var(--s-5);
}
.article-hero .lede {
  font-size: 20px; line-height: 1.5; color: var(--rl-ink-700);
  max-width: 720px;
}
.author-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding-top: var(--s-6); margin-top: var(--s-6);
  border-top: 1px solid var(--rl-ink-100);
}
.author-row .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rl-blue-100); color: var(--rl-blue-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--rl-font-display); font-weight: 600;
}
.author-row .author-name { font-weight: 600; font-size: 14px; color: var(--rl-ink-900); }
.author-row .author-role { font-size: 13px; color: var(--rl-ink-500); }

/* —— Post card (blog index / resources hub) ————————————————— */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.post-card {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .15s; text-decoration: none; color: inherit;
}
.post-card:hover { border-color: var(--rl-ink-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-cover {
  aspect-ratio: 16/9;
  background: var(--rl-ink-050) center/cover no-repeat;
  border-bottom: 1px solid var(--rl-ink-200);
}
.post-body { padding: var(--s-5); flex: 1; display: flex; flex-direction: column; gap: var(--s-2); }
.post-kicker {
  font-family: var(--rl-font-mono); font-size: 11px;
  color: var(--rl-blue-700); text-transform: uppercase; letter-spacing: 0.08em;
}
.post-title { font-family: var(--rl-font-display); font-size: 20px; font-weight: 600; line-height: 1.25; }
.post-excerpt { font-size: 14px; color: var(--rl-ink-500); flex: 1; }
.post-meta { font-size: 12px; color: var(--rl-ink-500); padding-top: var(--s-3); border-top: 1px solid var(--rl-ink-100); }

/* Featured post (large) */
.post-card.featured { grid-column: span 2; flex-direction: row; }
.post-card.featured .post-cover { aspect-ratio: auto; min-height: 280px; flex: 1.2; border-right: 1px solid var(--rl-ink-200); border-bottom: 0; }
.post-card.featured .post-body { flex: 1; padding: var(--s-8); }
.post-card.featured .post-title { font-size: 26px; }

/* —— City/Franchise location hero ————————————————— */
.loc-hero {
  background: var(--rl-paper);
  padding: var(--s-12) 0 var(--s-10);
  border-bottom: 1px solid var(--rl-ink-200);
}
.loc-hero-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-12); align-items: center;
}
.loc-hero h1 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: var(--s-3); }
.loc-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
  margin-top: var(--s-6); padding-top: var(--s-6);
  border-top: 1px solid var(--rl-ink-200);
}
.loc-info dt {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--rl-ink-500);
  margin-bottom: 4px;
}
.loc-info dd { margin: 0; font-size: 15px; color: var(--rl-ink-900); }
.loc-map {
  aspect-ratio: 4/3; border-radius: var(--r-lg);
  background: var(--rl-blue-050) center/cover no-repeat;
  border: 1px solid var(--rl-ink-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--rl-blue-700);
  font-family: var(--rl-font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* —— Page-level intro / hub hero ————————————————— */
.hub-hero {
  background: linear-gradient(180deg, var(--rl-blue-050) 0%, white 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rl-ink-200);
}
.hub-hero .container { max-width: 920px; }
.hub-hero h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: var(--s-4); }
.hub-hero .t-lead { max-width: 700px; }

/* —— KB / Support categories ————————————————— */
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.kb-card {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md); padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  text-decoration: none; color: inherit;
  transition: all .15s;
}
.kb-card:hover { border-color: var(--rl-blue-500); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kb-card h3 { font-size: 18px; }
.kb-card p { font-size: 14px; color: var(--rl-ink-500); }
.kb-card .kb-count {
  font-family: var(--rl-font-mono); font-size: 12px; color: var(--rl-blue-700);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: auto;
}

/* —— Awards / press row ————————————————— */
.award-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.award {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md); padding: var(--s-5);
  text-align: center;
}
.award .yr { font-family: var(--rl-font-mono); font-size: 12px; color: var(--rl-blue-700); text-transform: uppercase; letter-spacing: 0.08em; }
.award h4 { font-size: 16px; font-weight: 600; margin: 8px 0 4px; }
.award p { font-size: 13px; color: var(--rl-ink-500); }

/* —— Image placeholder ————————————————— */
.img-placeholder {
  background-image: repeating-linear-gradient(
    135deg,
    var(--rl-ink-100) 0px, var(--rl-ink-100) 12px,
    var(--rl-ink-050) 12px, var(--rl-ink-050) 24px
  );
  border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--rl-ink-500);
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  text-align: center; padding: 16px; min-height: 160px;
}
.img-placeholder.dark {
  background-image: repeating-linear-gradient(
    135deg,
    #1a2335 0px, #1a2335 12px,
    #141c2c 12px, #141c2c 24px
  );
  border-color: #2a3142;
  color: var(--rl-ink-400);
}

/* —— Related products / horizontal row ————————————————— */
.related-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }

/* —— Pagination ————————————————— */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: var(--s-10); flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  border-radius: var(--r-sm); border: 1px solid var(--rl-ink-200);
  font-size: 14px; color: var(--rl-ink-700); background: white;
  text-decoration: none;
}
.pagination a:hover { border-color: var(--rl-blue-500); color: var(--rl-blue-700); }
.pagination .current { background: var(--rl-blue-700); color: white; border-color: var(--rl-blue-700); }

/* —— Big search bar (support, search results) ————————————————— */
.searchbar {
  display: flex; gap: 8px; align-items: center;
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: 999px; padding: 8px 8px 8px 20px;
  max-width: 720px; box-shadow: var(--shadow-sm);
}
.searchbar input {
  flex: 1; border: 0; outline: none; font: inherit;
  font-size: 16px; padding: 8px 0; background: transparent;
}
.searchbar button {
  background: var(--rl-blue-700); color: white;
  border: 0; padding: 10px 20px; border-radius: 999px;
  font-weight: 500; font-size: 14px;
}

/* —— 404 ————————————————— */
.notfound {
  max-width: 720px; margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--s-6); text-align: center;
}
.notfound .code {
  font-family: var(--rl-font-display); font-weight: 600;
  font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--rl-blue-700);
  letter-spacing: -0.04em;
}
.notfound h1 { font-size: clamp(28px, 3.5vw, 40px); margin: var(--s-3) 0 var(--s-4); }
.notfound p { font-size: 17px; color: var(--rl-ink-500); margin-bottom: var(--s-8); }

/* —— Section wrappers reused everywhere ————————————————— */
.bg-paper { background: white; }
.bg-page { background: var(--rl-page); }
.bg-ink-050 { background: var(--rl-ink-050); }
.bg-blue-050 { background: var(--rl-blue-050); }
.bg-ink-900 { background: var(--rl-ink-900); color: white; }
.border-t { border-top: 1px solid var(--rl-ink-200); }
.border-b { border-bottom: 1px solid var(--rl-ink-200); }

/* —— Responsive ————————————————— */
@media (max-width: 1024px) {
  .hero-grid, .vhero-grid, .cap-hero-inner, .pdp-grid, .franchise-block,
  .demo-cta, .roi-card, .loc-hero-grid, .mfr-card { grid-template-columns: 1fr; }
  .mega-inner { grid-template-columns: 1fr; }
  .tile-grid, .product-grid, .related-row, .post-grid, .kb-grid, .award-row { grid-template-columns: repeat(2, 1fr); }
  .mfr-logos { grid-template-columns: repeat(3, 1fr); }
  .mfr-cell:nth-child(6n) { border-right: 1px solid var(--rl-ink-200); }
  .mfr-cell:nth-child(3n) { border-right: 0; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); gap: var(--s-5) 0; }
  .stat-cell:nth-child(4) { border-left: 0; padding-left: 0; }
  .main-nav { display: none; }
  .data-grid { grid-template-columns: 1fr; }
  .pains { grid-template-columns: 1fr; }
  .filter-shell { grid-template-columns: 1fr; }
  .filter-rail { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { grid-column: span 2; flex-direction: column; }
  .post-card.featured .post-cover { border-right: 0; border-bottom: 1px solid var(--rl-ink-200); }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; }
  .pdp-thumb { width: 80px; }
}
@media (max-width: 640px) {
  .tile-grid, .product-grid, .related-row, .post-grid, .kb-grid, .award-row,
  .pains, .footer-grid { grid-template-columns: 1fr; }
  .mfr-logos { grid-template-columns: repeat(2, 1fr); }
  .mfr-cell:nth-child(3n) { border-right: 1px solid var(--rl-ink-200); }
  .mfr-cell:nth-child(2n) { border-right: 0; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .util-bar-inner { flex-wrap: wrap; gap: var(--s-2); }
  .specs-row { grid-template-columns: 1fr; }
  .pdp-highlights { grid-template-columns: 1fr; }
}

/* ============================================================
   PREMIUM CATEGORY / B2B PATTERNS (v2)
   Editorial header, sticky compare shelf, curated rows,
   spec-forward cards, TCO comparison, specialist CTA.

   Font discipline:
   - Display/body for content headers + prices
   - Mono only for tiny tags, badges, kicker labels, spec readouts
   ============================================================ */

/* —— Editorial category header ———————————————————— */
.cat-editorial {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background: white;
  border-bottom: 1px solid var(--rl-ink-200);
}
.cat-editorial .container { max-width: 1080px; }
.cat-editorial .label {
  font-family: var(--rl-font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--rl-ink-500); margin-bottom: var(--s-5);
  display: flex; gap: var(--s-3); align-items: center;
}
.cat-editorial .label::before {
  content: ''; width: 24px; height: 1px; background: var(--rl-ink-400);
}
.cat-editorial h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: -0.025em; line-height: 1.02;
  margin-bottom: var(--s-6);
}
.cat-editorial .lede {
  font-family: var(--rl-font-display);
  font-size: clamp(20px, 2vw, 24px); line-height: 1.4;
  font-weight: 400; color: var(--rl-ink-700);
  max-width: 760px; letter-spacing: -0.01em;
  margin-bottom: var(--s-8);
}
.cat-editorial .lede em { font-style: normal; color: var(--rl-ink-900); }
.cat-editorial .ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }

/* —— Trust strip (deployment counts) ———————————————————— */
.trust-strip {
  border-bottom: 1px solid var(--rl-ink-200);
  padding: var(--s-6) 0;
  background: var(--rl-paper);
}
.trust-strip-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: flex; align-items: center; gap: var(--s-10); flex-wrap: wrap;
}
.trust-strip-label {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-ink-500);
}
.trust-strip-stats { display: flex; gap: var(--s-8); flex-wrap: wrap; }
.trust-stat { display: flex; flex-direction: column; gap: 2px; }
.trust-stat .n {
  font-family: var(--rl-font-display); font-size: 22px; font-weight: 600;
  color: var(--rl-ink-900); letter-spacing: -0.01em; line-height: 1;
}
.trust-stat .l {
  font-size: 12px; color: var(--rl-ink-500);
  font-family: var(--rl-font-mono); text-transform: uppercase; letter-spacing: 0.06em;
}

/* —— Sticky compare shelf ———————————————————— */
.compare-shelf {
  position: sticky; top: 88px; z-index: 30;
  background: white;
  border-bottom: 1px solid var(--rl-ink-200);
  padding: var(--s-4) 0;
}
.compare-shelf-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: flex; align-items: center; gap: var(--s-5);
}
.compare-label {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-ink-500); white-space: nowrap;
}
.compare-slots { display: flex; gap: var(--s-2); flex: 1; }
.compare-slot {
  flex: 1; max-width: 140px; height: 36px;
  border: 1px dashed var(--rl-ink-300); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--rl-ink-500);
  font-family: var(--rl-font-mono); letter-spacing: 0.04em;
}
.compare-slot.filled {
  border: 1px solid var(--rl-blue-700); background: var(--rl-blue-050);
  color: var(--rl-blue-700); justify-content: space-between; padding: 0 12px;
  font-family: var(--rl-font-body); font-weight: 500;
  text-transform: none; letter-spacing: 0;
}
.compare-slot .x {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  color: var(--rl-blue-700); font-family: var(--rl-font-mono);
}
.compare-go {
  background: var(--rl-blue-700); color: white;
  border: 0; padding: 10px 18px; border-radius: var(--r-sm);
  font: inherit; font-weight: 500; font-size: 13px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.compare-go:hover { background: var(--rl-blue-900); }
.compare-go.disabled,
.compare-go[disabled] { opacity: 0.4; cursor: not-allowed; }
.compare-go:not(.disabled):not([disabled]) { box-shadow: 0 0 0 3px color-mix(in oklch, var(--rl-blue-700) 22%, transparent); }

/* Shake cue when the user tries to add a 5th product to the compare shelf. */
@keyframes rl-compare-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.compare-shelf.shake .compare-shelf-inner { animation: rl-compare-shake 0.5s ease-in-out; }

/* —— Curation segmented control ———————————————————— */
.curation { padding: var(--s-8) 0 var(--s-5); background: white; }
.curation-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap;
}
.seg {
  display: inline-flex; background: var(--rl-ink-050);
  border: 1px solid var(--rl-ink-200); border-radius: var(--r-sm);
  padding: 4px;
}
.seg button {
  background: transparent; border: 0; padding: 8px 16px;
  border-radius: var(--r-sm); font: inherit; font-size: 13px; font-weight: 500;
  color: var(--rl-ink-700); cursor: pointer; white-space: nowrap;
}
.seg button:hover { color: var(--rl-ink-900); }
.seg button.active { background: white; color: var(--rl-ink-900); box-shadow: var(--shadow-sm); }
.results-meta-b2b {
  display: flex; align-items: center; gap: var(--s-5);
  font-size: 13px; color: var(--rl-ink-500);
}
.results-meta-b2b strong { color: var(--rl-ink-900); font-weight: 600; }

/* —— B2B filter shell ———————————————————— */
.b2b-shell {
  display: grid; grid-template-columns: 280px 1fr; gap: var(--s-12);
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6) var(--s-16);
}
.b2b-rail {
  align-self: start; position: sticky; top: 156px;
  /* Same scrollability fix as .filter-rail above — long rail must not require
     scrolling the whole page to reach the bottom filter. */
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.b2b-rail h4 {
  font-family: var(--rl-font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--rl-ink-500);
  padding-bottom: var(--s-3); margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--rl-ink-200);
}
.b2b-filter { padding: var(--s-5) 0; border-bottom: 1px solid var(--rl-ink-100); }
.b2b-filter:first-of-type { padding-top: 0; }
.b2b-filter:last-of-type { border-bottom: 0; }
.b2b-filter-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s-3);
}
.b2b-filter-head .h { font-size: 13px; font-weight: 600; color: var(--rl-ink-900); }
.b2b-filter-head .c { font-family: var(--rl-font-mono); font-size: 11px; color: var(--rl-ink-500); }
.b2b-filter label {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0; font-size: 14px; color: var(--rl-ink-700); cursor: pointer;
}
.b2b-filter label .count {
  margin-left: auto; font-family: var(--rl-font-mono); font-size: 11px;
  color: var(--rl-ink-400);
}
.b2b-filter label:hover { color: var(--rl-ink-900); }
.b2b-filter input[type="checkbox"] { accent-color: var(--rl-blue-700); }
.b2b-clear {
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid var(--rl-ink-200);
  font-size: 13px; color: var(--rl-blue-700);
  font-weight: 500; background: transparent; border: 0; padding-left: 0;
  cursor: pointer;
}

/* —— Section labels (bracket numbering — display font for content) ———— */
.b2b-section-label {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: var(--s-4); margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--rl-ink-200);
  color: var(--rl-ink-900);
  flex-wrap: wrap; gap: var(--s-3);
}
.b2b-section-label .lhs { display: flex; gap: var(--s-3); align-items: baseline; }
.b2b-section-label .lhs .n {
  font-family: var(--rl-font-mono); font-size: 11px;
  font-weight: 500; letter-spacing: 0.1em;
  color: var(--rl-blue-700); text-transform: uppercase;
}
.b2b-section-label .lhs span:not(.n) {
  font-family: var(--rl-font-display);
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.2;
  color: var(--rl-ink-900);
}
.b2b-section-label .rhs { font-size: 13px; color: var(--rl-ink-500); }

/* —— Premium product grid + card ———————————————————— */
.b2b-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5);
  margin-bottom: var(--s-12);
}
.b2b-grid:last-child { margin-bottom: 0; }

.b2b-card {
  background: white;
  border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s;
  position: relative;
}
.b2b-card:hover { border-color: var(--rl-ink-400); }
.b2b-card.recommended { border-color: var(--rl-blue-700); }
.b2b-card.recommended::before {
  content: attr(data-rec-label, 'Recommended');
  position: absolute; top: 0; right: 0;
  background: var(--rl-blue-700); color: white;
  font-family: var(--rl-font-mono); font-size: 10px;
  padding: 6px 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom-left-radius: var(--r-sm);
  z-index: 2;
}
.b2b-card-img {
  aspect-ratio: 16/9;
  max-height: 200px;
  min-height: 160px;
  background: var(--rl-ink-050) center/cover no-repeat;
  border-bottom: 1px solid var(--rl-ink-200);
}
/* Empty img cells (no inline background-image, no <img>) get the same diagonal
   stripe placeholder used elsewhere on the site, so the card doesn't look
   broken before imagery.js wires up the data-img → S3 lookup. */
.b2b-card-img:empty {
  background-image: repeating-linear-gradient(
    135deg,
    var(--rl-ink-100) 0px, var(--rl-ink-100) 12px,
    var(--rl-ink-050) 12px, var(--rl-ink-050) 24px
  );
}
.b2b-card-body {
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3); flex: 1;
}
.b2b-card-brand {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-ink-500);
  display: flex; align-items: center; gap: var(--s-2);
}
.b2b-card-brand::after { content: '•'; color: var(--rl-ink-300); }
.b2b-card-cat { color: var(--rl-ink-700); }
.b2b-card-name {
  font-family: var(--rl-font-display);
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1;
}
.b2b-card-tagline {
  font-size: 14px; color: var(--rl-ink-700); line-height: 1.5;
  flex: 1;
}

/* Spec strip — monospace, technical readout (this is correct use of mono) */
.b2b-card-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rl-ink-100);
  border-bottom: 1px solid var(--rl-ink-100);
  margin: var(--s-2) 0;
}
.b2b-card-spec {
  padding: var(--s-3) 0;
  border-left: 1px solid var(--rl-ink-100);
  padding-left: var(--s-3);
}
.b2b-card-spec:first-child { border-left: 0; padding-left: 0; }
.b2b-card-spec dt {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500); margin-bottom: 4px;
}
.b2b-card-spec dd {
  margin: 0; font-family: var(--rl-font-mono); font-size: 14px;
  font-weight: 500; color: var(--rl-ink-900);
}

/* Metadata tags row */
.b2b-card-meta { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.b2b-card-meta .tag {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 8px; border: 1px solid var(--rl-ink-200);
  border-radius: 999px; color: var(--rl-ink-700);
  display: inline-flex; align-items: center; gap: 4px;
}
.b2b-card-meta .tag.ok {
  color: oklch(0.42 0.12 160);
  border-color: color-mix(in oklch, var(--rl-accent-mint) 35%, white);
}
.b2b-card-meta .tag.ok::before { content: '●'; font-size: 8px; }

/* Pricing — monthly rate big & bold, purchase price small fine print
   Runtime upgrade in behavior.js transforms the legacy markup
     <strong>From $X</strong>·<strong>RaaS $Y/mo</strong>(term)
   into the .bp-mo / .bp-buy structure below.  Both forms are styled. */
.b2b-card-pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-3) 0 var(--s-2);
  margin-top: auto;
  color: var(--rl-ink-700);
}
.b2b-card-pricing .bp-mo {
  font-family: var(--rl-font-display);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rl-ink-900);
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.b2b-card-pricing .bp-mo .bp-term {
  font-family: var(--rl-font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rl-ink-500);
}
.b2b-card-pricing .bp-buy {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--rl-ink-500);
  margin-top: 2px;
}
/* Legacy fallback for un-upgraded markup ----- */
.b2b-card-pricing > strong:first-of-type {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--rl-ink-500);
  order: 3;
  flex-basis: 100%;
}
.b2b-card-pricing > strong:last-of-type {
  font-family: var(--rl-font-display);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rl-ink-900);
  line-height: 1.05;
  order: 1;
  flex-basis: 100%;
}
.b2b-card-pricing > span:first-of-type { display: none; } /* hide "·" */
.b2b-card-pricing > span:last-of-type {
  font-family: var(--rl-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rl-ink-500);
  order: 2;
  flex-basis: 100%;
}

/* Trust line */
.b2b-card-trust {
  font-size: 12px; color: var(--rl-ink-500);
  display: flex; align-items: center; gap: 6px;
  padding-top: var(--s-2);
}
.b2b-card-trust::before {
  content: '✓'; color: var(--rl-blue-700); font-weight: 600;
}

/* Card actions */
.b2b-card-actions {
  display: flex; gap: var(--s-2); align-items: center;
  padding-top: var(--s-4); margin-top: var(--s-2);
  border-top: 1px solid var(--rl-ink-100);
}
.b2b-card-actions .compare-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--rl-ink-700); cursor: pointer;
  padding: 8px 10px; border: 1px solid var(--rl-ink-200); border-radius: var(--r-sm);
  background: white;
}
.b2b-card-actions .compare-toggle:hover { border-color: var(--rl-blue-500); color: var(--rl-blue-700); }
.b2b-card-actions .compare-toggle input { accent-color: var(--rl-blue-700); }
.b2b-card-actions .specs-link {
  font-size: 13px; color: var(--rl-ink-700);
  padding: 8px 12px; border-radius: var(--r-sm);
  text-decoration: none;
}
.b2b-card-actions .specs-link:hover { color: var(--rl-blue-700); }
.b2b-card-actions .quote-cta {
  margin-left: auto;
  font-size: 13px; font-weight: 500;
  background: var(--rl-ink-900); color: white;
  padding: 9px 14px; border-radius: var(--r-sm);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.b2b-card-actions .quote-cta:hover { background: var(--rl-blue-700); }

/* —— 5-year TCO section (dark) ———————————————————— */
.tco-section {
  background: var(--rl-ink-900); color: white;
  padding: var(--s-16) 0;
}
.tco-section .container, .tco-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
}
.tco-section .label {
  font-family: var(--rl-font-mono); font-size: 11px;
  color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white);
  text-transform: uppercase; letter-spacing: 0.12em;
  display: flex; gap: var(--s-3); align-items: center;
  margin-bottom: var(--s-4);
}
.tco-section .label::before {
  content: ''; width: 24px; height: 1px;
  background: color-mix(in oklch, var(--rl-accent-cyan) 60%, white);
}
.tco-section h2 {
  font-size: clamp(28px, 3.5vw, 42px); color: white;
  letter-spacing: -0.02em; margin-bottom: var(--s-3);
}
.tco-section .lead {
  color: var(--rl-ink-300); max-width: 640px; margin-bottom: var(--s-10);
  font-size: 16px;
}
.tco-table {
  width: 100%;
  border: 1px solid #2a3142; border-radius: var(--r-md); overflow: hidden;
  background: #141c2c;
}
.tco-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  padding: 18px 24px;
  border-top: 1px solid #2a3142;
  font-size: 14px; align-items: center;
}
.tco-row:first-child { border-top: 0; }
.tco-row.head {
  background: rgba(255,255,255,0.03);
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-400);
}
.tco-row .lbl {
  font-family: var(--rl-font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--rl-ink-400);
}
.tco-row .v {
  font-family: var(--rl-font-display);
  font-size: 16px; font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
}
.tco-row .v.win { color: color-mix(in oklch, var(--rl-accent-mint) 70%, white); font-weight: 600; }
.tco-row.total { background: rgba(255,255,255,0.03); }
.tco-row.total .lbl { color: white; font-weight: 600; }

/* —— Specialist consult CTA ———————————————————— */
.specialist-cta {
  border-top: 1px solid var(--rl-ink-200);
  background: var(--rl-blue-050);
  padding: var(--s-12) 0;
}
.specialist-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-12); align-items: center;
}
.specialist-inner h2 {
  font-size: clamp(26px, 3vw, 36px); margin-bottom: var(--s-4);
  letter-spacing: -0.02em;
}
.specialist-inner p { color: var(--rl-ink-700); font-size: 17px; line-height: 1.5; }
.specialist-actions { display: flex; flex-direction: column; gap: var(--s-3); }
.specialist-actions .item {
  display: flex; gap: var(--s-3); align-items: center;
  background: white; padding: var(--s-4) var(--s-5);
  border: 1px solid var(--rl-ink-200); border-radius: var(--r-md);
  text-decoration: none; color: var(--rl-ink-900); font-weight: 500; font-size: 15px;
  transition: border-color .15s;
}
.specialist-actions .item:hover { border-color: var(--rl-blue-500); }
.specialist-actions .item .ico {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rl-blue-100); color: var(--rl-blue-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.specialist-actions .item .meta {
  font-family: var(--rl-font-mono); font-size: 11px; color: var(--rl-ink-500);
  text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-top: 2px;
}

/* —— Concept ribbon (for v1/v2 toggling during design) ———— */
.concept-ribbon {
  position: fixed; top: 12px; right: 12px; z-index: 100;
  background: var(--rl-ink-900); color: white;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
}
.concept-ribbon a { color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white); margin-left: 8px; }

/* —— TCO responsive ———————————————————— */
@media (max-width: 720px) {
  .tco-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
  .tco-row .v::before {
    content: attr(data-h) ' · ';
    font-family: var(--rl-font-mono); color: var(--rl-ink-400);
    text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px;
  }
  .tco-row.head { display: none; }
  .specialist-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .b2b-grid { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
  .b2b-shell { grid-template-columns: 1fr; }
  .b2b-rail { position: static; }
  .compare-shelf { position: static; }
}

/* —— Finder dropdown (used on homepage) ———————————————————— */
.finder-select-wrap { position: relative; display: inline-flex; }
.finder-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: white;
  border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  min-width: 280px; max-width: 360px;
  max-height: 380px; overflow-y: auto;
  z-index: 80;
  padding: var(--s-2);
  font-family: var(--rl-font-body);
}
.finder-dropdown[hidden] { display: none; }
.finder-dropdown-head {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500);
  padding: 8px 10px 6px;
}
.finder-option {
  display: flex; align-items: center; gap: var(--s-3);
  width: 100%; padding: 10px 12px;
  background: transparent; border: 0; border-radius: var(--r-sm);
  text-align: left; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--rl-ink-900);
}
.finder-option:hover { background: var(--rl-ink-050); }
.finder-option.active { background: var(--rl-blue-050); color: var(--rl-blue-700); }
.finder-option .icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.finder-option .label-wrap { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.finder-option .label-main { font-weight: 500; }
.finder-option .label-sub {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--rl-ink-500);
}
.finder-option.disabled { opacity: 0.4; cursor: not-allowed; }
.finder-option-empty {
  padding: 14px 12px;
  font-size: 13px; color: var(--rl-ink-500); font-style: italic;
}

/* Result panel polish */
.finder-result-stats {
  display: flex; gap: var(--s-5); align-items: center; flex-wrap: wrap;
  font-size: 14px; color: var(--rl-ink-700);
}
.finder-result-stats .stat-num {
  font-family: var(--rl-font-display); font-weight: 600;
  color: var(--rl-ink-900); font-size: 18px;
}
.finder-result-tagline {
  font-size: 13px; color: var(--rl-ink-500);
  margin-top: var(--s-2); font-style: italic;
}

/* Banner shown on category page when finder was used */
.finder-context-banner {
  background: var(--rl-blue-050);
  border-bottom: 1px solid var(--rl-blue-100);
  padding: var(--s-5) 0;
}
.finder-context-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: flex; align-items: center; gap: var(--s-5);
  flex-wrap: wrap;
}
.finder-context-eyebrow {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-blue-700);
}
.finder-context-message {
  font-family: var(--rl-font-display);
  font-size: 18px; font-weight: 500;
  color: var(--rl-ink-900); letter-spacing: -0.01em;
  flex: 1;
}
.finder-context-message em { font-style: normal; color: var(--rl-blue-700); }
.finder-context-actions { display: flex; gap: var(--s-3); }
.finder-context-clear {
  background: transparent; border: 1px solid var(--rl-ink-300);
  color: var(--rl-ink-700); padding: 8px 14px;
  border-radius: var(--r-sm); font: inherit; font-size: 13px;
  cursor: pointer; text-decoration: none;
}
.finder-context-clear:hover { border-color: var(--rl-ink-500); }

/* ============================================================
   AVAILABLE-TERRITORY PATTERNS
   Same brand-blue palette as the rest of the site.
   Differentiation from existing-location pages comes from:
   - Layout (vertical form sidebar vs. horizontal form bar)
   - Badge ("TERRITORY AVAILABLE" pill vs. "ACTIVE FRANCHISE" dot)
   - Pulse animation on the status dot (open opportunity signal)
   - Copy / tone
   No new color introduced.
   ============================================================ */

/* —— Top status bar (blue, slightly darker tint than active to signal urgency) —— */
.avail-status-bar {
  background: linear-gradient(90deg, var(--rl-blue-100) 0%, var(--rl-blue-050) 100%);
  border-bottom: 1px solid var(--rl-blue-100);
  color: var(--rl-blue-900);
  padding: 10px 0;
  font-size: 13px;
}
.avail-status-bar .container {
  display: flex; align-items: center; gap: var(--s-3);
  flex-wrap: wrap;
}
.avail-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rl-blue-700);
  animation: avail-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.avail-status-text {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-blue-700); font-weight: 500;
}
.avail-status-text strong { color: var(--rl-blue-900); font-weight: 600; }
.avail-status-cta {
  margin-left: auto;
  font-size: 12px; font-weight: 500;
  color: var(--rl-blue-700);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.avail-status-cta:hover { color: var(--rl-blue-900); }

/* —— Available-territory hero (2-col with form on right) —————————— */
.avail-hero {
  background: linear-gradient(180deg, var(--rl-blue-050) 0%, white 100%);
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--rl-ink-200);
}
.avail-hero-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: var(--s-12); align-items: start;
}

.avail-hero-pitch h1 {
  font-size: clamp(36px, 4.8vw, 56px);
  letter-spacing: -0.025em; line-height: 1.05;
  margin: var(--s-5) 0 var(--s-4);
}
.avail-hero-pitch h1 em { font-style: normal; color: var(--rl-blue-700); }
.avail-hero-pitch .t-lead { max-width: 620px; margin-bottom: var(--s-6); }
.avail-hero-eyebrow-row {
  display: inline-flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
}

/* "Territory available" pill — solid brand blue */
.avail-large-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rl-blue-700);
  color: white;
  font-family: var(--rl-font-mono); font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 7px 14px; border-radius: 999px;
}
.avail-large-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: white;
  animation: avail-pulse 2.4s ease-in-out infinite;
}

/* Status meta (4 rows) */
.avail-hero-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
  padding-top: var(--s-6); margin-top: var(--s-6);
  border-top: 1px solid var(--rl-blue-100);
}
.avail-hero-meta dt {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500); margin-bottom: 4px;
}
.avail-hero-meta dd { margin: 0; font-size: 15px; color: var(--rl-ink-900); font-weight: 500; }
.avail-hero-meta dd.ok { color: var(--rl-blue-700); font-weight: 600; }

/* —— Above-fold lead form (right column) ———————————————— */
.avail-hero-form {
  background: white;
  border: 1px solid var(--rl-blue-100);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 40px color-mix(in oklch, var(--rl-blue-700) 12%, transparent);
  padding: var(--s-8);
  position: sticky; top: 112px;
}
.avail-hero-form-head { margin-bottom: var(--s-5); }
.avail-hero-form-head .kicker {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-blue-700); margin-bottom: 8px;
}
.avail-hero-form-head h3 {
  font-size: 22px; letter-spacing: -0.015em;
  margin-bottom: var(--s-2);
}
.avail-hero-form-head p {
  font-size: 14px; color: var(--rl-ink-500); line-height: 1.5;
}
.avail-form-fields { display: flex; flex-direction: column; gap: var(--s-3); }
.avail-form-fields .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.avail-form-fields .field { display: flex; flex-direction: column; }
.avail-form-fields label {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500); margin-bottom: 4px;
}
.avail-form-fields input,
.avail-form-fields select {
  background: white; border: 1px solid var(--rl-ink-200);
  padding: 10px 12px; border-radius: var(--r-sm);
  font: inherit; font-size: 14px; color: var(--rl-ink-900);
}
.avail-form-fields input:focus,
.avail-form-fields select:focus {
  outline: 2px solid var(--rl-blue-500);
  outline-offset: 1px;
  border-color: var(--rl-blue-700);
}
.avail-form-submit {
  margin-top: var(--s-3);
  background: var(--rl-blue-700);
  color: white;
  border: 0;
  padding: 14px 20px; border-radius: var(--r-md);
  font: inherit; font-weight: 500; font-size: 15px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
}
.avail-form-submit:hover { background: var(--rl-blue-900); }
.avail-form-foot {
  font-size: 12px; color: var(--rl-ink-500); margin-top: var(--s-3);
  text-align: center; line-height: 1.5;
}
.avail-form-foot a { color: var(--rl-blue-700); }

/* Trust line above form */
.avail-form-trust {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--rl-ink-500);
  margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px solid var(--rl-ink-100);
}
.avail-form-trust::before { content: '✓'; color: var(--rl-blue-700); font-weight: 600; }

/* —— Existing-location subtle indicator (symmetry — blue, established) —— */
.active-status-bar {
  background: var(--rl-blue-050);
  border-bottom: 1px solid var(--rl-blue-100);
  padding: 10px 0;
  font-size: 13px;
}
.active-status-bar .container {
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
}
.active-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rl-blue-700); flex-shrink: 0;
}
.active-status-text {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-blue-700); font-weight: 500;
}
.active-status-cta {
  margin-left: auto;
  font-size: 12px; font-weight: 500;
  color: var(--rl-blue-700); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.active-status-cta:hover { color: var(--rl-blue-900); }

/* —— Responsive ———————————————————— */
@media (max-width: 900px) {
  .avail-hero-grid { grid-template-columns: 1fr; }
  /* Form FIRST on mobile so it stays above-fold */
  .avail-hero-form { position: static; order: -1; }
  .avail-hero-meta { grid-template-columns: 1fr; }
  .avail-status-cta { margin-left: 0; }
}

/* ============================================================
   HORIZONTAL LEAD FORM BAR (existing-location pages)
   Pairs with the vertical .avail-hero-form on available-territory
   pages to create a clear visual contrast between page types.
   ============================================================ */
.loc-form-bar {
  background: transparent;
  padding: var(--s-8) 0;
}
.loc-form-bar-inner {
  max-width: var(--container); margin: 0 auto;
  padding: var(--s-6) var(--s-6);
  display: grid; grid-template-columns: 1fr; gap: var(--s-5);
  align-items: stretch;
  background: white;
  border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 var(--rl-ink-100), 0 12px 28px -18px color-mix(in oklch, var(--rl-blue-700) 18%, transparent);
  position: relative;
}
.loc-form-bar-inner::before {
  /* Accent rail down the left edge, signalling the form-card affordance */
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 3px;
  background: var(--rl-blue-700);
  border-radius: 0 2px 2px 0;
}
.loc-form-bar-head {
  display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap;
}
.loc-form-bar-head .kicker {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-blue-700);
  margin-bottom: 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.loc-form-bar-head .kicker::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rl-blue-700);
}
.loc-form-bar-head h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  color: var(--rl-ink-900);
  line-height: 1.25; margin: 0;
}
.loc-form-bar-fields {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.5fr 1fr auto;
  gap: var(--s-3); align-items: end;
}
.loc-form-bar-fields .field { display: flex; flex-direction: column; min-width: 0; }
.loc-form-bar-fields label {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--rl-ink-500); margin-bottom: 4px;
}
.loc-form-bar-fields input,
.loc-form-bar-fields select {
  background: white; border: 1px solid var(--rl-ink-200);
  padding: 10px 12px; border-radius: var(--r-sm);
  font: inherit; font-size: 14px; color: var(--rl-ink-900);
  width: 100%; min-width: 0;
}
.loc-form-bar-fields input:focus,
.loc-form-bar-fields select:focus {
  outline: 2px solid var(--rl-blue-500); outline-offset: 1px;
  border-color: var(--rl-blue-700);
}
.loc-form-bar-submit {
  background: var(--rl-blue-700); color: white;
  border: 0; padding: 11px 18px; border-radius: var(--r-md);
  font: inherit; font-weight: 500; font-size: 14px;
  cursor: pointer; white-space: nowrap; height: 42px;
}
.loc-form-bar-submit:hover { background: var(--rl-blue-900); }
.loc-form-bar-trust {
  font-size: 12px; color: var(--rl-ink-500);
  margin-top: var(--s-3); display: flex; align-items: center; gap: 6px;
}
.loc-form-bar-trust::before { content: '✓'; color: var(--rl-blue-700); font-weight: 600; }

@media (max-width: 1024px) {
  .loc-form-bar-inner { grid-template-columns: 1fr; }
  .loc-form-bar-fields { grid-template-columns: 1fr 1fr; }
  .loc-form-bar-fields .field:nth-child(5) { grid-column: span 2; }
  .loc-form-bar-submit { width: 100%; }
}
@media (max-width: 640px) {
  .loc-form-bar-fields { grid-template-columns: 1fr; }
  .loc-form-bar-fields .field:nth-child(5) { grid-column: auto; }
}

/* ============================================================
   FRANCHISE MEGA-MENU PANEL
   3-column override of .mega-cols + rich "Franchise with us"
   card in the first column.
   ============================================================ */
.mega-cols.three-col {
  grid-template-columns: 1.4fr 1fr 1fr;
}
.franchise-mega-card {
  background: linear-gradient(180deg, var(--rl-blue-050) 0%, white 100%);
  border: 1px solid var(--rl-blue-100);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.franchise-mega-card .mega-col-title { border-bottom: 0; padding-bottom: 0; margin-bottom: var(--s-3); }
.franchise-mega-card h4 {
  font-size: 17px; font-weight: 600; line-height: 1.25;
  color: var(--rl-ink-900); letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
}
.franchise-mega-card p {
  font-size: 13px; color: var(--rl-ink-700); line-height: 1.5;
  margin-bottom: var(--s-4);
}
.franchise-mega-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
  padding: var(--s-3) 0; margin-bottom: var(--s-4);
  border-top: 1px solid var(--rl-blue-100);
  border-bottom: 1px solid var(--rl-blue-100);
}
.franchise-mega-stats div { display: flex; flex-direction: column; gap: 2px; }
.franchise-mega-stats .n {
  font-family: var(--rl-font-display); font-size: 18px; font-weight: 600;
  color: var(--rl-blue-700); letter-spacing: -0.01em;
}
.franchise-mega-stats .l {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--rl-ink-500);
}
.mega-card-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500;
  color: var(--rl-blue-700);
  padding-top: var(--s-2);
}
.mega-card-cta:hover { color: var(--rl-blue-900); }

/* Strong "See all →" link inside mega column */
.mega-link.strong {
  color: var(--rl-blue-700); font-weight: 500;
  padding-top: var(--s-3); margin-top: var(--s-2);
  border-top: 1px solid var(--rl-ink-100);
}
/* Tiny "HQ" badge for the headquarters location */
.mega-link .hq-mark {
  font-family: var(--rl-font-mono); font-size: 9px;
  background: var(--rl-blue-700); color: white;
  padding: 1px 5px; border-radius: 3px;
  margin-left: 6px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Tiny "OPEN" badge for available territories list — outlined blue
   (the filled blue .hq-mark already takes the solid-blue role) */
.mega-link .open-mark {
  font-family: var(--rl-font-mono); font-size: 9px;
  background: transparent; color: var(--rl-blue-700);
  border: 1px solid var(--rl-blue-500);
  padding: 0 5px; border-radius: 3px;
  margin-left: 6px; letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   LLM-READY Q&A SECTION
   - Always-open (no <details>/<summary>).
   - Each Q is an <h3>; each A is the immediately-following <p>.
   - Designed to be readable AND structurally legible to LLMs,
     featured-snippet engines, and assistive tech.
   - Always pair with a JSON-LD FAQPage block (in the page <head>
     or inline) so machines can lift Q&A pairs structurally.
   ============================================================ */
.qa-section {
  background: var(--rl-paper);
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--rl-ink-200);
}
.qa-section .container { max-width: var(--container-narrow); }
.qa-section .qa-head { margin-bottom: var(--s-10); }
.qa-section .qa-head .t-eyebrow { margin-bottom: var(--s-3); }
.qa-section .qa-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: var(--s-3);
}
.qa-section .qa-head p {
  font-size: 16px; color: var(--rl-ink-500); line-height: 1.55;
}

.qa-list { display: flex; flex-direction: column; gap: 0; }
.qa-item {
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rl-ink-200);
}
.qa-item:first-child { border-top: 0; padding-top: 0; }
.qa-item:last-child { padding-bottom: 0; }

.qa-q {
  font-family: var(--rl-font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
  color: var(--rl-ink-900);
  margin-bottom: var(--s-3);
  display: flex; gap: var(--s-3); align-items: baseline;
}
.qa-q::before {
  content: 'Q.';
  font-family: var(--rl-font-mono); font-size: 12px;
  color: var(--rl-blue-700); font-weight: 500;
  letter-spacing: 0.08em;
  flex-shrink: 0; margin-top: 2px;
}
.qa-a {
  font-size: 16px; line-height: 1.65; color: var(--rl-ink-700);
  padding-left: 28px; /* aligns with the Q text past the Q. marker */
}
.qa-a p { margin: 0; }
.qa-a p + p { margin-top: var(--s-3); }
.qa-a a { color: var(--rl-blue-700); text-decoration: underline; text-underline-offset: 3px; }
.qa-a ul, .qa-a ol { margin: var(--s-3) 0; padding-left: 24px; }
.qa-a ul li, .qa-a ol li { margin-bottom: 6px; }
.qa-a strong { color: var(--rl-ink-900); }

/* Small "ask more" footer */
.qa-foot {
  margin-top: var(--s-10);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rl-ink-200);
  display: flex; gap: var(--s-4); align-items: center;
  flex-wrap: wrap;
  font-size: 14px; color: var(--rl-ink-500);
}
.qa-foot strong { color: var(--rl-ink-900); }
.qa-foot a { color: var(--rl-blue-700); font-weight: 500; }

/* ============================================================
   PDP v2 — B2B PREMIUM PRODUCT PAGE
   No thumbnail strip. Single large hero image + sticky info card.
   Spec-forward. Investment-forward. Talk-to-specialist primary CTA.
   ============================================================ */

/* Hero — 2-col single image + info card (sticky on right) */
.pdp-v2-hero {
  background: linear-gradient(180deg, var(--rl-blue-050) 0%, white 100%);
  padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--rl-ink-200);
}
.pdp-v2-hero-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: var(--s-12); align-items: start;
}
.pdp-v2-hero-image {
  aspect-ratio: 4/3;
  background: var(--rl-ink-050) center/cover no-repeat;
  border-radius: var(--r-lg);
  border: 1px solid var(--rl-ink-200);
  position: relative;
  overflow: hidden;
}
.pdp-v2-hero-image .play-btn {
  position: absolute; top: var(--s-5); right: var(--s-5);
  background: white; color: var(--rl-ink-900);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; cursor: pointer;
}
.pdp-v2-hero-image .play-btn:hover { background: var(--rl-blue-700); color: white; }
.pdp-v2-hero-image .img-caption {
  position: absolute; bottom: var(--s-5); left: var(--s-5);
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500);
  background: rgba(255,255,255,0.92);
  padding: 6px 10px; border-radius: var(--r-sm);
}

/* Right info card — sticky as user scrolls */
.pdp-v2-info {
  position: sticky; top: 108px;
  display: flex; flex-direction: column; gap: var(--s-4);
}
.pdp-v2-info .label {
  font-family: var(--rl-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-ink-500);
  display: flex; align-items: center; gap: var(--s-2);
}
.pdp-v2-info .label::before {
  content: ''; width: 24px; height: 1px; background: var(--rl-ink-400);
}
.pdp-v2-info h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.025em; line-height: 1.02;
  margin: var(--s-2) 0 var(--s-3);
}
.pdp-v2-info .lede {
  font-family: var(--rl-font-display);
  font-size: 18px; font-weight: 400; line-height: 1.45;
  color: var(--rl-ink-700); letter-spacing: -0.01em;
  margin-bottom: var(--s-4);
}

/* Mini spec strip — instrument cluster */
.pdp-v2-mini-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rl-ink-200);
  border-bottom: 1px solid var(--rl-ink-200);
  padding: var(--s-3) 0; margin: 0;
}
.pdp-v2-mini-specs > div {
  padding: 0 var(--s-3);
  border-left: 1px solid var(--rl-ink-100);
}
.pdp-v2-mini-specs > div:first-child { border-left: 0; padding-left: 0; }
.pdp-v2-mini-specs dt {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--rl-ink-500); margin-bottom: 4px;
}
.pdp-v2-mini-specs dd {
  margin: 0;
  font-family: var(--rl-font-mono); font-size: 14px;
  font-weight: 500; color: var(--rl-ink-900);
}

/* Quiet pricing — display font for amounts, body for connectors */
.pdp-v2-pricing {
  font-size: 14px; color: var(--rl-ink-700);
  padding: var(--s-2) 0;
}
.pdp-v2-pricing strong {
  font-family: var(--rl-font-display);
  font-size: 18px; font-weight: 500;
  color: var(--rl-ink-900); letter-spacing: -0.01em;
}
.pdp-v2-pricing span.note { color: var(--rl-ink-500); font-size: 12px; }

/* Metadata tags row */
.pdp-v2-meta { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.pdp-v2-meta .tag {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 8px; border: 1px solid var(--rl-ink-200);
  border-radius: 999px; color: var(--rl-ink-700);
  display: inline-flex; align-items: center; gap: 4px;
}
.pdp-v2-meta .tag.ok {
  color: oklch(0.42 0.12 160);
  border-color: color-mix(in oklch, var(--rl-accent-mint) 35%, white);
}
.pdp-v2-meta .tag.ok::before { content: '●'; font-size: 8px; }

/* CTAs */
.pdp-v2-ctas {
  display: flex; gap: var(--s-3); flex-wrap: wrap;
  padding-top: var(--s-3);
}
.pdp-v2-ctas .btn { flex: 1; min-width: 0; justify-content: center; }

/* Trust line under CTAs */
.pdp-v2-trust {
  font-size: 12px; color: var(--rl-ink-500);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rl-ink-100);
  display: flex; align-items: center; gap: 6px;
}
.pdp-v2-trust::before { content: '✓'; color: var(--rl-blue-700); font-weight: 600; }

/* —— Full-width spec strip (under hero) ———————————————— */
.pdp-v2-specs-strip {
  background: var(--rl-ink-900); color: white;
  border-bottom: 1px solid #2a3142;
  padding: var(--s-8) 0;
}
.pdp-v2-specs-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.pdp-v2-specs-grid > div {
  padding: 0 var(--s-4);
  border-left: 1px solid #2a3142;
}
.pdp-v2-specs-grid > div:first-child { border-left: 0; padding-left: 0; }
.pdp-v2-specs-grid dt {
  font-family: var(--rl-font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rl-ink-400); margin-bottom: 6px;
}
.pdp-v2-specs-grid dd {
  margin: 0;
  font-family: var(--rl-font-display); font-size: 22px;
  font-weight: 500; color: white; letter-spacing: -0.015em;
  line-height: 1.1;
}
.pdp-v2-specs-grid dd .unit {
  font-family: var(--rl-font-mono); font-size: 11px;
  color: var(--rl-ink-400); font-weight: 400;
  letter-spacing: 0.04em; margin-left: 4px;
}

/* —— Integration architecture grid ———————————————— */
.pdp-v2-integ-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.pdp-v2-integ-card {
  background: white; border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-md); padding: var(--s-5);
}
.pdp-v2-integ-card h4 {
  font-size: 14px; font-weight: 600; margin-bottom: var(--s-3);
  display: flex; align-items: center; gap: 8px;
}
.pdp-v2-integ-card h4 .ico {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: var(--rl-blue-100); color: var(--rl-blue-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pdp-v2-integ-card ul {
  list-style: none; padding: 0; margin: 0;
  font-size: 13px; color: var(--rl-ink-700); line-height: 1.7;
}
.pdp-v2-integ-card ul li {
  display: flex; align-items: baseline; gap: 6px;
}
.pdp-v2-integ-card ul li::before {
  content: '✓'; color: var(--rl-blue-700); font-size: 11px;
  font-weight: 600;
}

/* —— Operational data section (dark) ———————————————— */
.pdp-v2-ops-data {
  background: var(--rl-ink-900); color: white;
  padding: var(--s-16) 0;
}
.pdp-v2-ops-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
  margin-top: var(--s-10);
}
.pdp-v2-ops-card {
  padding: var(--s-6);
  background: #141c2c; border: 1px solid #2a3142;
  border-radius: var(--r-md);
}
.pdp-v2-ops-card .n {
  font-family: var(--rl-font-display); font-size: 36px; font-weight: 600;
  color: white; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: var(--s-2);
}
.pdp-v2-ops-card .n .unit {
  font-family: var(--rl-font-mono); font-size: 14px;
  color: var(--rl-ink-400); font-weight: 400;
  letter-spacing: 0.04em; margin-left: 4px;
}
.pdp-v2-ops-card .l {
  font-size: 14px; color: var(--rl-ink-300); line-height: 1.4;
}

/* —— Sticky bottom CTA bar ———————————————— */
.pdp-v2-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: white;
  border-top: 1px solid var(--rl-ink-200);
  box-shadow: 0 -8px 24px rgba(12,19,32,0.08);
  padding: 14px 0;
  transform: translateY(100%);
  transition: transform .25s ease;
}
.pdp-v2-sticky-bar.visible { transform: translateY(0); }
.pdp-v2-sticky-bar-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6);
  display: flex; align-items: center; gap: var(--s-5); justify-content: space-between;
}
.pdp-v2-sticky-bar .product {
  display: flex; align-items: center; gap: var(--s-3);
}
.pdp-v2-sticky-bar .product strong {
  font-family: var(--rl-font-display);
  font-size: 17px; font-weight: 600;
  color: var(--rl-ink-900);
}
.pdp-v2-sticky-bar .product .pricing {
  font-family: var(--rl-font-display); font-size: 14px;
  color: var(--rl-ink-700);
  border-left: 1px solid var(--rl-ink-200);
  padding-left: var(--s-3);
}
.pdp-v2-sticky-bar .actions {
  display: flex; gap: var(--s-2);
}

/* —— Responsive ———————————————— */
@media (max-width: 1024px) {
  .pdp-v2-hero-grid { grid-template-columns: 1fr; }
  .pdp-v2-info { position: static; }
  .pdp-v2-specs-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5) 0; }
  .pdp-v2-specs-grid > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .pdp-v2-integ-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-v2-ops-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-v2-sticky-bar-inner { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .pdp-v2-specs-grid { grid-template-columns: 1fr 1fr; }
  .pdp-v2-integ-grid { grid-template-columns: 1fr; }
  .pdp-v2-ops-grid { grid-template-columns: 1fr; }
  .pdp-v2-sticky-bar .product .pricing { display: none; }
}

/* =============================================================
   PDP v2 — FIELD VIDEO MODULE
   Cinematic 16:9 player frame, editorial label, chapter markers
   ============================================================= */
.pdp-v2-video {
  background: var(--rl-ink-900);
  color: white;
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 96px);
}
.pdp-v2-video-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.pdp-v2-video-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid #2a3142;
}
.pdp-v2-video-head .lhs { display: flex; flex-direction: column; gap: 8px; }
.pdp-v2-video-head .kicker {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white);
}
.pdp-v2-video-head h2 {
  font-family: var(--rl-font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0;
  color: white;
}
.pdp-v2-video-head .meta {
  font-family: var(--rl-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rl-ink-400);
  white-space: nowrap;
}

.pdp-v2-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a2240 50%, #0f1828 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  cursor: pointer;
}
.pdp-v2-video-frame::before {
  /* simulated poster gradient + scene texture */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(15,76,156,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(56,189,248,0.18) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
}
.pdp-v2-video-frame .scene-label {
  position: absolute;
  top: var(--s-5);
  left: var(--s-5);
  font-family: var(--rl-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  backdrop-filter: blur(8px);
}
.pdp-v2-video-frame .timecode {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  padding: 6px 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 3px;
}
.pdp-v2-video-frame .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.pdp-v2-video-frame .play-btn-big {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}
.pdp-v2-video-frame .play-btn-big:hover { transform: scale(1.08); background: white; }
.pdp-v2-video-frame .play-btn-big::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 22px solid var(--rl-ink-900);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.pdp-v2-video-frame .scene-caption {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-4);
}
.pdp-v2-video-frame .scene-caption .title {
  font-family: var(--rl-font-display);
  font-size: 22px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
}
.pdp-v2-video-frame .scene-caption .sub {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.pdp-v2-video-frame .scene-caption .dur {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 8px;
  border-radius: 3px;
}

/* Chapter markers below frame */
.pdp-v2-video-chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--s-5);
  border-top: 1px solid #2a3142;
  border-bottom: 1px solid #2a3142;
}
.pdp-v2-video-chapter {
  padding: var(--s-4) var(--s-4);
  border-right: 1px solid #2a3142;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pdp-v2-video-chapter:last-child { border-right: 0; }
.pdp-v2-video-chapter:hover { background: rgba(56,189,248,0.06); }
.pdp-v2-video-chapter .tc {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white);
  margin-bottom: 6px;
}
.pdp-v2-video-chapter .ch-title {
  font-family: var(--rl-font-body);
  font-size: 14px;
  font-weight: 500;
  color: white;
  line-height: 1.35;
}

/* =============================================================
   PDP v2 — KEY FEATURES MODULE
   3x2 grid; numbered, named, two-line description, mono index
   ============================================================= */
.pdp-v2-features {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--rl-paper);
  border-top: 1px solid var(--rl-ink-100);
  border-bottom: 1px solid var(--rl-ink-100);
}
.pdp-v2-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--s-6);
  border-top: 1px solid var(--rl-ink-200);
  border-left: 1px solid var(--rl-ink-200);
}
.pdp-v2-feature {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--rl-ink-200);
  border-bottom: 1px solid var(--rl-ink-200);
  background: white;
  transition: background 0.15s ease;
}
.pdp-v2-feature:hover { background: var(--rl-ink-050); }
.pdp-v2-feature .ix {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rl-blue-700);
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdp-v2-feature .ix::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--rl-blue-700);
  display: inline-block;
}
.pdp-v2-feature h4 {
  font-family: var(--rl-font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rl-ink-900);
  margin: 0 0 12px;
  line-height: 1.25;
}
.pdp-v2-feature p {
  font-family: var(--rl-font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--rl-ink-700);
  margin: 0;
}
.pdp-v2-feature .feat-spec {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rl-ink-200);
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--rl-ink-500);
  text-transform: uppercase;
}

/* =============================================================
   PDP v2 — USE CASES MODULE
   Industry-keyed deployment scenarios
   ============================================================= */
.pdp-v2-usecases {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--rl-ink-050);
}
.pdp-v2-usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.pdp-v2-usecase {
  background: white;
  border: 1px solid var(--rl-ink-200);
  border-radius: 6px;
  padding: var(--s-6);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--s-5);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pdp-v2-usecase:hover {
  border-color: var(--rl-blue-700);
  transform: translateY(-2px);
}
.pdp-v2-usecase .uc-visual {
  width: 88px;
  height: 88px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--rl-blue-100) 0%, var(--rl-blue-50, #e8f0fb) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-blue-700);
}
.pdp-v2-usecase .uc-body { min-width: 0; }
.pdp-v2-usecase .uc-industry {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-blue-700);
  margin-bottom: 8px;
}
.pdp-v2-usecase h4 {
  font-family: var(--rl-font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rl-ink-900);
  margin: 0 0 10px;
  line-height: 1.3;
}
.pdp-v2-usecase p {
  font-family: var(--rl-font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--rl-ink-700);
  margin: 0 0 var(--s-4);
}
.pdp-v2-usecase .uc-kpi {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rl-ink-100);
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--rl-ink-600);
  text-transform: uppercase;
}
.pdp-v2-usecase .uc-kpi span { display: inline-flex; align-items: center; gap: 6px; }
.pdp-v2-usecase .uc-kpi span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rl-blue-700);
  display: inline-block;
}
.pdp-v2-usecase .uc-link {
  display: inline-block;
  margin-top: var(--s-4);
  font-family: var(--rl-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--rl-blue-700);
  text-decoration: none;
}
.pdp-v2-usecase .uc-link:hover { text-decoration: underline; }

/* =============================================================
   PDP v2 — EDITORIAL MEDIA SPREAD
   1 big + 3 sidecar, captioned like a magazine
   ============================================================= */
.pdp-v2-media {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--rl-paper);
}
.pdp-v2-media-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.pdp-v2-media-grid .side {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: var(--s-4);
}
.pdp-v2-media-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rl-blue-100) 0%, var(--rl-ink-200) 100%);
}
.pdp-v2-media-tile.big { aspect-ratio: 16 / 11; }
.pdp-v2-media-grid .side .pdp-v2-media-tile { aspect-ratio: auto; }
.pdp-v2-media-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(15,76,156,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(56,189,248,0.15) 0%, transparent 50%);
}
.pdp-v2-media-tile .scene-tag {
  position: absolute;
  top: var(--s-4);
  left: var(--s-4);
  font-family: var(--rl-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  padding: 5px 9px;
  background: rgba(0,0,0,0.55);
  border-radius: 3px;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.pdp-v2-media-tile .scene-caption-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-5) var(--s-5);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
  color: white;
  z-index: 2;
}
.pdp-v2-media-tile .scene-caption-bottom .ct-title {
  font-family: var(--rl-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.pdp-v2-media-tile.big .scene-caption-bottom .ct-title { font-size: 22px; }
.pdp-v2-media-tile .scene-caption-bottom .ct-sub {
  font-family: var(--rl-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* Responsive */
@media (max-width: 1024px) {
  .pdp-v2-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-v2-usecase-grid { grid-template-columns: 1fr; }
  .pdp-v2-video-chapters { grid-template-columns: repeat(2, 1fr); }
  .pdp-v2-video-chapter:nth-child(2) { border-right: 0; }
  .pdp-v2-media-grid { grid-template-columns: 1fr; }
  .pdp-v2-media-grid .side { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .pdp-v2-features-grid { grid-template-columns: 1fr; }
  .pdp-v2-video-chapters { grid-template-columns: 1fr; }
  .pdp-v2-video-chapter { border-right: 0; border-bottom: 1px solid #2a3142; }
  .pdp-v2-usecase { grid-template-columns: 1fr; }
  .pdp-v2-usecase .uc-visual { width: 100%; height: 60px; }
  .pdp-v2-media-grid .side { grid-template-columns: 1fr; }
}

/* =============================================================
   HUB VISUAL PATTERNS  (capabilities · industries · manufacturers)
   Replaces text-only hub layouts with editorial visual layouts
   ============================================================= */

/* Visual hero with bento media on the right */
.hub-hero-visual {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  background: var(--rl-paper);
  border-bottom: 1px solid var(--rl-ink-100);
}
.hub-hero-visual-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-6);
  align-items: stretch;
}
.hub-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: var(--s-4);
}
.hub-hero-text h1 {
  font-family: var(--rl-font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--rl-ink-900);
  margin: 12px 0 var(--s-4);
}
.hub-hero-text .lede {
  font-family: var(--rl-font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--rl-ink-700);
  margin: 0 0 var(--s-5);
  max-width: 56ch;
}
.hub-hero-text .hero-cta {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

/* Bento media: 1 big top, 2 small bottom */
.hub-hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.4fr 1fr;
  gap: var(--s-3);
  min-height: 460px;
}
.hub-bento-tile {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rl-blue-700) 0%, var(--rl-blue-900) 100%);
  color: white;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hub-bento-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(15,76,156,0.3);
}
.hub-bento-tile.big {
  grid-column: 1 / 3;
  grid-row: 1;
}
.hub-bento-tile.small.alt {
  background: linear-gradient(135deg, #1a2240 0%, #0a0e1a 100%);
}
.hub-bento-tile.small.tertiary {
  background: linear-gradient(135deg, var(--rl-blue-100) 0%, var(--rl-ink-200) 100%);
  color: var(--rl-ink-900);
}
.hub-bento-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(56,189,248,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hub-bento-tile .bento-tag {
  position: absolute;
  top: var(--s-4);
  left: var(--s-4);
  font-family: var(--rl-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: rgba(0,0,0,0.4);
  color: white;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}
.hub-bento-tile.tertiary .bento-tag {
  background: rgba(255,255,255,0.85);
  color: var(--rl-ink-900);
}
.hub-bento-tile .bento-cap {
  position: absolute;
  bottom: var(--s-4);
  left: var(--s-4);
  right: var(--s-4);
  z-index: 2;
}
.hub-bento-tile .bento-cap .ttl {
  font-family: var(--rl-font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hub-bento-tile.big .bento-cap .ttl { font-size: 26px; }
.hub-bento-tile .bento-cap .sub {
  font-family: var(--rl-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}
.hub-bento-tile.big .play-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  z-index: 2;
}
.hub-bento-tile.big .play-hint::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 16px solid var(--rl-ink-900);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

/* Hub stat strip — dark, mono, page-specific numbers */
.hub-stat-strip {
  background: var(--rl-ink-900);
  color: white;
  padding: clamp(32px, 4.5vw, 52px) 0;
}
.hub-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.hub-stat-grid > div {
  padding: 0 var(--s-5);
  border-left: 1px solid #2a3142;
}
.hub-stat-grid > div:first-child { border-left: 0; padding-left: 0; }
.hub-stat-grid .n {
  font-family: var(--rl-font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: white;
}
.hub-stat-grid .n .unit {
  font-family: var(--rl-font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: color-mix(in oklch, var(--rl-accent-cyan) 60%, white);
  margin-left: 4px;
}
.hub-stat-grid .l {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-ink-400);
  margin-top: 8px;
}

/* Visual tile grid — image band on top, copy below */
.tile-grid.visual {
  display: grid;
  gap: var(--s-4);
}
.tile-grid.visual .tile {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--rl-ink-200);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.tile-grid.visual .tile:hover {
  border-color: var(--rl-blue-700);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(15,76,156,0.25);
}
.tile-grid.visual .tile .tile-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--rl-blue-100) 0%, var(--rl-ink-100) 100%);
  border-bottom: 1px solid var(--rl-ink-100);
}
.tile-grid.visual .tile .tile-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(15,76,156,0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(56,189,248,0.15) 0%, transparent 50%);
}
.tile-grid.visual .tile.dark .tile-img {
  background: linear-gradient(135deg, var(--rl-blue-700) 0%, var(--rl-blue-900) 100%);
}
.tile-grid.visual .tile.dark .tile-img::before {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(56,189,248,0.32) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.tile-grid.visual .tile .tile-img .tag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  font-family: var(--rl-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  padding: 5px 9px;
  background: rgba(0,0,0,0.5);
  border-radius: 3px;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.tile-grid.visual .tile .tile-img .visual-stat {
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-3);
  font-family: var(--rl-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: white;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.tile-grid.visual .tile .tile-img .visual-stat .u {
  font-family: var(--rl-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 400;
  margin-left: 3px;
  opacity: 0.85;
}
.tile-grid.visual .tile .tile-body {
  padding: var(--s-5) var(--s-5) var(--s-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile-grid.visual .tile h3 {
  font-family: var(--rl-font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rl-ink-900);
  margin: 0;
}
.tile-grid.visual .tile p {
  font-family: var(--rl-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--rl-ink-700);
  margin: 0;
  flex: 1;
}
.tile-grid.visual .tile .tile-meta {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rl-blue-700);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rl-ink-200);
  margin-top: auto;
}

/* Hub media spread — 1 big + 3 sidecar tiles (reuses some pdp-v2-media styles) */
.hub-media-spread {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--rl-paper);
}

/* Responsive */
@media (max-width: 1024px) {
  .hub-hero-visual-grid { grid-template-columns: 1fr; }
  .hub-hero-text { padding-right: 0; }
  .hub-hero-bento { min-height: 360px; }
  .hub-stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) 0; }
  .hub-stat-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hub-stat-grid > div:nth-child(3),
  .hub-stat-grid > div:nth-child(4),
  .hub-stat-grid > div:nth-child(5) { padding-top: var(--s-4); }
  .tile-grid.visual { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hub-hero-bento {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 140px 140px;
  }
  .hub-hero-bento .hub-bento-tile.big { grid-column: 1; grid-row: 1; }
  .hub-stat-grid { grid-template-columns: 1fr; }
  .hub-stat-grid > div { border-left: 0; padding-left: 0; padding-top: var(--s-4); }
  .tile-grid.visual { grid-template-columns: 1fr; }
}

/* —— Photo readability overlays (applied when imagery.js loads a real photo) — */
.tile-grid.visual .tile .tile-img.has-photo::before {
  /* darken radial + bottom-up gradient so the tag/visual-stat stay legible */
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0,0,0,0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.55) 100%);
}
.hub-bento-tile.has-photo::before {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(15,76,156,0.25) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
}
.hub-bento-tile.tertiary.has-photo::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.pdp-v2-media-tile.has-photo::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
}

/* =============================================================
   QUOTE MODAL  (overlay form, replaces /contact navigation)
   ============================================================= */
.rl-modal {
  position: fixed;
  inset: 0;
  background: color-mix(in oklch, var(--rl-ink-900) 75%, transparent);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--s-5);
  backdrop-filter: blur(6px);
}
.rl-modal.open { display: flex; }
.rl-modal-card {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  box-shadow: 0 30px 90px -20px rgba(0,0,0,0.6);
  display: grid;
  grid-template-rows: auto 1fr;
}
.rl-modal-head {
  padding: var(--s-6) var(--s-6) var(--s-4);
  border-bottom: 1px solid var(--rl-ink-100);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
}
.rl-modal-head .label {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-blue-700);
  margin-bottom: 6px;
}
.rl-modal-head h2 {
  font-family: var(--rl-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--rl-ink-900);
  margin: 0;
  line-height: 1.2;
}
.rl-modal-head .sub {
  font-family: var(--rl-font-body);
  font-size: 13px;
  color: var(--rl-ink-600);
  margin-top: 8px;
}
.rl-modal-close {
  background: var(--rl-ink-050);
  border: 1px solid var(--rl-ink-200);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-ink-700);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.rl-modal-close:hover { background: var(--rl-ink-100); }
.rl-modal-body { padding: var(--s-5) var(--s-6) var(--s-6); }
.rl-modal-body .field {
  margin-bottom: var(--s-4);
}
.rl-modal-body label {
  display: block;
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rl-ink-700);
  margin-bottom: 6px;
}
.rl-modal-body input,
.rl-modal-body textarea,
.rl-modal-body select {
  width: 100%;
  font-family: var(--rl-font-body);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--rl-ink-200);
  border-radius: 6px;
  background: white;
  color: var(--rl-ink-900);
}
.rl-modal-body input:focus,
.rl-modal-body textarea:focus,
.rl-modal-body select:focus {
  outline: none;
  border-color: var(--rl-blue-700);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--rl-blue-700) 18%, transparent);
}
.rl-modal-body textarea { resize: vertical; min-height: 80px; }
.rl-modal-body .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.rl-modal-body .submit-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-3);
  margin-top: var(--s-3);
  border-top: 1px solid var(--rl-ink-100);
}
.rl-modal-body .submit-row .btn { flex: none; }
.rl-modal-body .submit-row .reassure {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--rl-ink-500);
  line-height: 1.35;
}
.rl-modal-product-line {
  background: var(--rl-ink-050);
  border: 1px solid var(--rl-ink-200);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--rl-font-mono);
  font-size: 12px;
  color: var(--rl-ink-700);
  margin-bottom: var(--s-4);
  letter-spacing: 0.04em;
}
.rl-modal-product-line strong {
  font-family: var(--rl-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rl-ink-900);
  margin-right: 4px;
}
@media (max-width: 640px) {
  .rl-modal-body .row-2 { grid-template-columns: 1fr; }
}

/* =============================================================
   EMBEDDED FORM SHELL
   Unified thin-border treatment for any form that sits inline
   within page content (not a modal, not a hero hero-cta).
   Apply class .rl-form-card directly to a <form> or wrapper.
   ============================================================= */
.rl-form-card,
.contact-card.embed-form,
form.embed-form {
  background: white;
  border: 1px solid var(--rl-ink-200);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: 0 1px 0 var(--rl-ink-100), 0 12px 28px -18px color-mix(in oklch, var(--rl-blue-700) 18%, transparent);
  position: relative;
}
.rl-form-card.compact { padding: var(--s-5); }
.rl-form-card.bordered-strong { border-color: var(--rl-blue-100); }
.rl-form-card .rl-form-head {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rl-ink-100);
}
.rl-form-card .rl-form-head .kicker {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rl-blue-700);
  margin-bottom: 8px;
}
.rl-form-card .rl-form-head h3 {
  font-family: var(--rl-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--rl-ink-900);
  margin: 0 0 8px;
  line-height: 1.25;
}
.rl-form-card .rl-form-head p {
  font-size: 13.5px;
  color: var(--rl-ink-600);
  margin: 0;
}

/* Slight tightening of the existing light form cards so they all
   read as the same component family */
.lead-form { border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--rl-ink-100), 0 12px 28px -18px color-mix(in oklch, var(--rl-blue-700) 18%, transparent); }
.avail-hero-form { border-color: var(--rl-ink-200); }


/* ============================================================
   MAUTIC FORM EMBEDS — restyled to match the site design.

   The Mautic JS embed (/form/generate.js?id=N) injects a form into
   whatever container element wraps the <script> tag. We use scoped
   container classes to vary the layout per location:

     .loc-form-bar-mautic   — horizontal inline contact bar
                              (4 fields + submit, like the design)
     .demo-form-mautic      — stacked vertical demo CTA form
     .quote-form-mautic     — quote modal (placeholder for future)

   We also hide fields per location. Each Mautic field row has a
   class like .mauticform-field-N where N is the field's order_no
   in the form definition. Our rl_inquiry form (id=369) is ordered:
     field-1  name
     field-2  email
     field-3  phone
     field-4  company
     field-5  message (textarea, hide on contact bar)
     field-6  submit button
   followed by 12 type=hidden context fields (auto-hidden by Mautic's
   own .mauticform-hidden rule).
   ============================================================ */

/* Reset Mautic's default vertical layout inside our containers so our
   grid takes over. Hide the auto-generated wrapper chrome. */
.loc-form-bar-mautic .mauticform_wrapper,
.demo-form-mautic .mauticform_wrapper {
  max-width: none;
  margin: 0;
}
.loc-form-bar-mautic .mauticform-error,
.loc-form-bar-mautic .mauticform-message,
.demo-form-mautic .mauticform-error,
.demo-form-mautic .mauticform-message {
  margin-bottom: var(--s-2);
  font-size: 13px;
}

/* ---- horizontal contact-form bar variant ---- */
.loc-form-bar-mautic .mauticform-page-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--s-3);
  align-items: end;
  margin: 0;
  padding: 0;
}
.loc-form-bar-mautic .mauticform-row {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
}
/* Keep the compact bar to ONE line, robustly. We target fields by TYPE, not
   by a hardcoded .mauticform-field-N index — the index shifts every time the
   form is edited in Mautic, which used to silently hide/show the wrong field
   (that's what broke this bar onto multiple lines). The multi-line note field
   belongs on the full contact form, not this inline bar. Field display order
   follows the Mautic form definition (DOM order), so no per-index overrides. */
.loc-form-bar-mautic .mauticform-row:has(textarea) { display: none; }

.loc-form-bar-mautic .mauticform-label {
  font-family: var(--rl-font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rl-ink-500);
  margin-bottom: 4px;
  padding: 0;
  display: block;
}
.loc-form-bar-mautic .mauticform-input,
.loc-form-bar-mautic .mauticform-selectbox {
  background: white;
  border: 1px solid var(--rl-ink-200);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14px;
  color: var(--rl-ink-900);
  width: 100%;
  min-width: 0;
  box-shadow: none;
  box-sizing: border-box;
}
.loc-form-bar-mautic .mauticform-input:focus,
.loc-form-bar-mautic .mauticform-selectbox:focus {
  outline: 2px solid var(--rl-blue-500);
  outline-offset: 1px;
  border-color: var(--rl-blue-700);
}
.loc-form-bar-mautic .mauticform-errormsg {
  font-size: 11px;
  color: var(--rl-accent-red, #e02);
  margin-top: 4px;
  display: block;
}
.loc-form-bar-mautic .mauticform-required .mauticform-label::after {
  content: ' *';
  color: var(--rl-blue-700);
}

/* Submit button — match the design's .loc-form-bar-submit pill */
.loc-form-bar-mautic .mauticform-button-wrapper {
  margin: 0;
  padding: 0;
}
.loc-form-bar-mautic .mauticform-button {
  background: var(--rl-blue-700);
  color: white !important;
  border: 0;
  padding: 11px 18px;
  border-radius: var(--r-md);
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  height: 42px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.loc-form-bar-mautic .mauticform-button:hover {
  background: var(--rl-blue-900);
}
.loc-form-bar-mautic .mauticform-button::after {
  content: '→';
  font-weight: 400;
}

/* Responsive collapse — wrap the one-line flex row to 2-up, then 1-up */
@media (max-width: 1024px) {
  .loc-form-bar-mautic .mauticform-page-wrapper { flex-wrap: wrap; }
  .loc-form-bar-mautic .mauticform-row { flex: 1 1 calc(50% - var(--s-3)); }
  .loc-form-bar-mautic .mauticform-row:has(button),
  .loc-form-bar-mautic .mauticform-button-wrapper { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .loc-form-bar-mautic .mauticform-row { flex: 1 1 100%; }
}

/* ---- stacked demo-form variant (vertical, 1-col, big submit) ---- */
.demo-form-mautic .mauticform-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
}
.demo-form-mautic .mauticform-row {
  margin: 0;
  padding: 0;
}
.demo-form-mautic .mauticform-label {
  font-family: var(--rl-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rl-ink-500);
  margin-bottom: 6px;
  display: block;
}
.demo-form-mautic .mauticform-input,
.demo-form-mautic .mauticform-textarea,
.demo-form-mautic .mauticform-selectbox {
  background: white;
  border: 1px solid var(--rl-ink-200);
  padding: 12px 14px;
  border-radius: var(--r-md);
  font: inherit; font-size: 15px;
  color: var(--rl-ink-900);
  width: 100%;
  box-sizing: border-box;
}
.demo-form-mautic .mauticform-textarea { min-height: 88px; }
.demo-form-mautic .mauticform-input:focus,
.demo-form-mautic .mauticform-textarea:focus,
.demo-form-mautic .mauticform-selectbox:focus {
  outline: 2px solid var(--rl-blue-500);
  outline-offset: 1px;
  border-color: var(--rl-blue-700);
}
.demo-form-mautic .mauticform-button-wrapper {
  margin-top: var(--s-2);
}
.demo-form-mautic .mauticform-button {
  background: var(--rl-blue-700);
  color: white !important;
  border: 0;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.01em;
}
.demo-form-mautic .mauticform-button:hover { background: var(--rl-blue-900); }

/* Hidden context fields — Mautic already hides via .mauticform-hidden,
   but reinforce here so they never claim grid cells. */
.loc-form-bar-mautic .mauticform-field-hidden,
.demo-form-mautic   .mauticform-field-hidden,
.quote-form-mautic  .mauticform-field-hidden,
.mauticform-row input[type="hidden"] { display: none !important; }


/* ============================================================
   MOBILE — recovered 2026-06-09. Burger menu + responsive fixes ≤880px.
   ============================================================ */
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--rl-ink-900); margin-left: auto; border-radius: 6px; }
.nav-toggle:hover { background: var(--rl-ink-050); }
.nav-toggle svg { display: block; }
.nav-toggle svg line { transition: transform 0.2s ease, opacity 0.2s ease; transform-box: fill-box; transform-origin: center; }

@media (max-width: 880px) {
  .site-header-inner { flex-wrap: wrap; padding: 12px 16px; gap: 8px; align-items: center; }
  .logo { flex: 0 0 auto; height: 44px; }
  .logo img { height: 44px; width: auto; max-width: 60vw; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-header .main-nav, .site-header .header-actions { display: none; }
  body[data-mobile-nav-open] .site-header { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; background: #ffffff !important; z-index: 99999 !important; overflow-y: auto !important; box-shadow: none !important; }
  body[data-mobile-nav-open] .site-header .site-header-inner { background: #ffffff !important; min-height: 100vh; }
  body[data-mobile-nav-open] .site-header .main-nav, body[data-mobile-nav-open] .site-header .header-actions { display: flex; flex-direction: column; width: 100%; flex: 1 0 100%; margin: 0; padding: 8px 0; gap: 4px; align-items: stretch; justify-content: flex-start; }
  body[data-mobile-nav-open] .site-header .main-nav-item { padding: 14px 12px; font-size: 16px; border-radius: 8px; justify-content: space-between; background: transparent; }
  body[data-mobile-nav-open] .site-header .main-nav-item:hover { background: var(--rl-ink-050); }
  body[data-mobile-nav-open] .site-header .header-actions { border-top: 1px solid var(--rl-ink-100); padding-top: 16px; margin-top: 8px; gap: 12px; }
  body[data-mobile-nav-open] .site-header .header-search { width: 100%; }
  body[data-mobile-nav-open] .site-header .header-search-input { width: 100%; }
  body[data-mobile-nav-open] .site-header .header-actions .btn { padding: 14px; text-align: center; justify-content: center; }
  .site-header .mega { display: none !important; }
  body[data-mobile-nav-open] .site-header .mega.mobile-open { display: block !important; position: static; background: var(--rl-ink-050); padding: 8px 0; margin: 4px 0 12px; border-radius: 10px; box-shadow: none; width: 100%; flex: 1 0 100%; color: var(--rl-ink-900); }
  body[data-mobile-nav-open] .site-header .mega.mobile-open .mega-inner { padding: 0; max-width: none; display: block; }
  body[data-mobile-nav-open] .site-header .mega.mobile-open .mega-cols { display: flex !important; flex-direction: column !important; grid-template-columns: 1fr !important; gap: 0 !important; width: 100%; padding: 0; }
  body[data-mobile-nav-open] .site-header .mega.mobile-open .mega-cols > div { padding: 4px 0; }
  body[data-mobile-nav-open] .site-header .mega.mobile-open .mega-col-title { color: var(--rl-ink-500); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin: 8px 16px 4px; font-weight: 600; }
  body[data-mobile-nav-open] .site-header .mega.mobile-open .mega-link { display: block; padding: 10px 24px; color: var(--rl-ink-800); font-size: 15px; text-decoration: none; border-radius: 0; }
  body[data-mobile-nav-open] .site-header .mega.mobile-open .mega-link:hover { background: var(--rl-ink-100); }
  body[data-mobile-nav-open] .site-header .mega.mobile-open .mega-promo { display: none; }
  .site-header .main-nav-item .caret { transition: transform 0.2s ease; }
  body[data-mobile-nav-open] .site-header .main-nav-item:has(+ .mega.mobile-open) .caret { transform: rotate(180deg); }
  body[data-mobile-nav-open] .site-header .main-nav-item[data-open="true"] .caret { transform: rotate(180deg); }
  body[data-mobile-nav-open] { overflow: hidden; }
  body[data-mobile-nav-open] .nav-toggle svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body[data-mobile-nav-open] .nav-toggle svg line:nth-child(2) { opacity: 0; }
  body[data-mobile-nav-open] .nav-toggle svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .util-bar { font-size: 12px; }
  .util-bar-inner { flex-wrap: wrap; gap: 6px; padding: 6px 12px; }
  .product-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .product-card { min-width: 0; }
  .product-img { aspect-ratio: 16 / 10; }
  body, main, .site-main { overflow-x: hidden; }
  h1, h2, h3, h4 { overflow-wrap: break-word; word-wrap: break-word; }
  img, video, iframe { max-width: 100%; height: auto; }
}
@media (min-width: 481px) and (max-width: 880px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
