/* ============================================================
   product.css - page styles for Product.html
   Theming via --p-color / --p-color-deep / --p-grad set by product.js
   Fallback: orange (Retail+)
   ============================================================ */

:root {
  --p-color: #F27A2E;
  --p-color-deep: #E8601A;
  --p-color-tint: #FEF4ED;
  --p-color-bubble: #FEF6F0;
  --p-grad: linear-gradient(135deg, #F27A2E, #E8601A);
}

/* Subtle product-color ambient across the page body */
body[data-product] {
  background:
    radial-gradient(circle at 85% -8%, color-mix(in oklab, var(--p-color) 8%, transparent) 0%, transparent 50%),
    radial-gradient(circle at -10% 6%, color-mix(in oklab, var(--p-color) 6%, transparent) 0%, transparent 45%),
    var(--tap-bg);
  background-attachment: fixed;
}

/* Eyebrow tick-mark in product color (echoes home) */
body[data-product] .eyebrow:not(.on-dark):not(.on-orange) {
  position: relative;
  padding-left: 14px;
}
body[data-product] .eyebrow:not(.on-dark):not(.on-orange)::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 14px; background: var(--p-color); border-radius: 2px;
}

/* Accent link color uses product color */
body[data-product] .thesis-link,
body[data-product] .news-link {
  border-bottom-color: var(--p-color);
}

/* Theme the primary button to match the product on this page */
.btn-primary {
  background: var(--p-grad) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 2px 6px color-mix(in oklab, var(--p-color) 35%, transparent) !important;
}

/* ---------- PRODUCT SWITCHER ---------- */
.prod-switcher {
  position: sticky;
  top: 56px;
  z-index: 20;
  background: rgba(250,250,248,0.85);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid var(--tap-line);
}
.prod-switcher-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}
.prod-switcher-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tap-ink-3);
  margin-right: 10px;
  white-space: nowrap;
}
.prod-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  color: var(--tap-ink-2);
  border: 1px solid transparent;
  transition: background 120ms, color 120ms, border-color 120ms;
  white-space: nowrap;
}
.prod-tab:hover { color: var(--tap-ink); background: var(--tap-bg-warm); }
.prod-tab.active {
  background: #fff;
  color: var(--tap-ink);
  border-color: var(--tap-line-strong);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.prod-tab-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--tap-grad-hank);
  color: #fff;
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 800; letter-spacing: -0.02em;
}

/* ---------- HERO (dark, continuous with impact band) ---------- */
.prod-hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% 12%, color-mix(in oklab, var(--p-color) 28%, transparent) 0%, transparent 60%),
    radial-gradient(900px 500px at 8% 100%, color-mix(in oklab, var(--p-color) 12%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #1A1410 0%, #14100C 100%);
  color: #fff;
  padding: 72px 28px 96px;
  overflow: hidden;
}
.prod-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);
}
.prod-hero-inner {
  position: relative;
  max-width: calc(var(--maxw) - 2 * var(--pad-x)); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.prod-hero-left { min-width: 0; }

.prod-lockup {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.prod-hero-logo {
  display: inline-block;
  margin-bottom: 32px;
  line-height: 0;
}
.prod-hero-logo img {
  height: 88px;
  width: auto;
  display: block;
}
.prod-lockup-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--p-grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800;
  font-size: 17px; letter-spacing: -0.02em;
  box-shadow: 0 2px 8px color-mix(in oklab, var(--p-color) 35%, transparent);
}
.prod-lockup-word {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.95);
}

.prod-h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 24px;
  color: #fff;
  text-wrap: balance;
  max-width: 640px;
}
.prod-deck {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 0 16px;
  font-weight: 350;
}
.prod-deck-tagline {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
}
.prod-hero .btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.prod-hero .btn-secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}
.prod-hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.impact-band .btn-secondary {
  background: #fff;
  color: var(--tap-ink);
  border: 1px solid #fff;
}
.impact-band .btn-secondary:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.88);
  transform: translateY(-1px);
}

.prod-logos { margin-top: 8px; }
.prod-logos-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.prod-logos-row {
  display: flex; flex-wrap: wrap; gap: 28px 36px;
  align-items: baseline;
}
.logo-word {
  font-size: 17px; font-weight: 700; letter-spacing: -0.005em;
  color: rgba(255,255,255,0.62);
}
.logo-word.italic { font-style: italic; }

/* ---------- HERO PREVIEW CARD ---------- */
.prod-hero-right { min-width: 0; }
.prod-preview {
  position: relative;
  background: var(--tap-card);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 12px 32px rgba(0,0,0,0.30),
    0 0 0 1px rgba(0,0,0,0.20);
  overflow: hidden;
}
/* Image variant - replaces the composed inline preview with a real
   product screenshot. The container keeps the rounded chrome but
   defers to the <img> for its content. */
.prod-preview-img { background: #0F0C09; line-height: 0; }
.prod-preview-img::before { display: none; }
.prod-preview-img img {
  display: block;
  width: 100%;
  height: auto;
}
.prod-preview::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--p-color) 70%, transparent) 0%, transparent 60%);
  z-index: -1;
  filter: blur(40px);
  opacity: 0.55;
}
.prod-preview-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--tap-line);
  background: linear-gradient(180deg, var(--p-color-tint) 0%, #fff 100%);
}
.prod-preview-tabs { display: flex; gap: 14px; }
.prod-preview-tab {
  font-size: 12px; font-weight: 600;
  color: var(--tap-ink-3);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.prod-preview-tab.active {
  color: var(--p-color-deep);
  border-bottom-color: var(--p-color);
}
.prod-preview-actions { display: flex; gap: 5px; }
.prod-preview-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tap-line-strong);
}

.prod-preview-body { padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 14px; }

.prod-preview-greet { padding: 0 2px; }
.prod-preview-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--p-color-deep);
}
.prod-preview-greet-h {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--tap-ink);
  margin-top: 4px;
  text-wrap: balance;
}

.prod-preview-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.prev-kpi {
  border: 1px solid var(--tap-line);
  border-radius: 10px;
  padding: 10px 10px 10px;
}
.prev-kpi-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tap-ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prev-kpi-num {
  font-size: 20px; font-weight: 700; letter-spacing: -0.015em;
  margin: 4px 0 4px;
  font-variant-numeric: tabular-nums;
  color: var(--tap-ink);
}
.prev-kpi-delta {
  font-size: 11px; font-weight: 600;
}
.prev-kpi-delta.up { color: #059669; }
.prev-kpi-delta.down { color: #DC2626; }
.prev-kpi-delta.warn { color: #D97706; }

/* Hank inline card in preview */
.prod-preview-hank {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  background: var(--p-color-bubble);
  border: 1px solid color-mix(in oklab, var(--p-color) 18%, transparent);
  border-radius: 12px;
  padding: 12px;
}
.prev-hank-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--tap-grad-hank);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 12px; letter-spacing: -0.02em;
  flex: none;
  box-shadow: 0 1px 3px rgba(242,122,46,0.30);
}
.prev-hank-body { min-width: 0; }
.prev-hank-title {
  font-size: 13.5px; font-weight: 700; line-height: 1.35;
  color: var(--tap-ink-on-orange, var(--tap-ink));
  text-wrap: pretty;
}
.prev-hank-sub {
  font-size: 12.5px; line-height: 1.45; color: var(--tap-ink-2);
  margin-top: 4px;
}
.prev-hank-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.prev-hank-cta {
  font-size: 11.5px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--tap-line-strong);
  background: #fff; color: var(--tap-ink);
  cursor: pointer;
}
.prev-hank-cta.primary {
  background: var(--p-grad);
  color: #fff;
  border-color: transparent;
}
.prev-hank-conf {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tap-ink-3);
  white-space: nowrap;
  align-self: start;
}

/* Mini table */
.prod-preview-table {
  border: 1px solid var(--tap-line);
  border-radius: 10px;
  overflow: hidden;
}
.prev-tbl-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  background: rgba(0,0,0,0.015);
  border-bottom: 1px solid var(--tap-line);
  font-size: 12px; font-weight: 700; color: var(--tap-ink);
}
.prev-tbl-meta {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tap-ink-3);
}
.prev-tbl-row {
  display: grid;
  grid-template-columns: 24px 1fr 60px 60px;
  gap: 8px; align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--tap-line);
  font-size: 12px;
}
.prev-tbl-row:last-child { border-bottom: none; }
.prev-tbl-rank {
  font-size: 10px; font-weight: 700;
  color: var(--tap-ink-3);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.prev-tbl-sku {
  font-size: 11.5px; font-weight: 600;
  color: var(--tap-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.prev-tbl-num {
  text-align: right; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.prev-tbl-delta {
  text-align: right; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.prev-tbl-delta.up { color: #059669; }
.prev-tbl-delta.down { color: #DC2626; }

/* ---------- IMPACT BAND (dark continuation of hero) ---------- */
.impact-band {
  position: relative;
  background:
    radial-gradient(900px 400px at 50% 0%, color-mix(in oklab, var(--p-color) 14%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #14100C 0%, #1A1410 60%, var(--tap-bg) 100%);
  color: #fff;
  padding: 72px 28px 120px;
}
.impact-inner {
  max-width: calc(var(--maxw) - 2 * var(--pad-x)); margin: 0 auto;
  position: relative;
}
.impact-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
  max-width: none;
}
.impact-head .eyebrow { color: rgba(255,255,255,0.5); }
.impact-head-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.impact-head h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
  color: #fff;
  margin: 10px 0 0;
  text-wrap: balance;
}
.impact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.impact-stat {
  padding: 32px 28px 36px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.impact-stat + .impact-stat { padding-left: 28px; }
.impact-tiny {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--p-color);
  margin-bottom: 4px;
}
.impact-num {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 2px;
  margin: 0 0 2px;
}
.impact-num .unit {
  font-size: 0.42em;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-left: 4px;
  letter-spacing: -0.01em;
}
.impact-num-prefix {
  font-size: 0.5em;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-right: 4px;
  position: relative;
  top: -0.18em;
}
.impact-label {
  font-size: 17px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.impact-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}
.impact-foot {
  margin-top: 36px;
  padding-top: 0;
  border-top: none;
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  align-items: center; justify-content: space-between;
}
.impact-foot-stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.impact-deck {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
  font-weight: 350;
}
.impact-num-range {
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.impact-range-dash {
  font-size: 0.75em;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin: 0 4px;
  letter-spacing: 0;
}
.impact-credibility {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0;
  letter-spacing: 0.01em;
}
.impact-credibility strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}
.impact-foot-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center;
}
.impact-disclaim { font-size: 12px; color: rgba(255,255,255,0.45); max-width: 480px; }
.impact-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease;
}
.impact-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.32);
}
.impact-link svg {
  width: 12px; height: 12px;
  color: var(--p-color);
}

/* ---------- WORKFLOWS ---------- */
.workflows-section { max-width: 1200px; margin: 0 auto; padding: 72px 28px 24px; }
.workflows-inner { display: flex; flex-direction: column; gap: 36px; }
.workflows-head { max-width: 720px; }
.workflows-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin-top: 12px;
  text-wrap: balance;
}
.workflows-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.workflow-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--tap-card);
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  padding: 22px 22px 24px;
  transition: border-color 120ms, box-shadow 120ms, transform 120ms;
}
.workflow-card:hover {
  border-color: var(--tap-line-strong);
  box-shadow: var(--tap-shadow-md);
  transform: translateY(-2px);
}
.workflow-card-tags { display: flex; gap: 6px; }
.pro-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  background: #1A1A1A; color: #fff;
}
.kind-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  background: var(--tap-bg-warm); color: var(--tap-ink-2);
}
.workflow-card h3 {
  font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2;
  margin: 4px 0 4px;
}
.workflow-card p {
  font-size: 13.5px; line-height: 1.5; color: var(--tap-ink-2);
  flex: 1;
}
.workflow-arrow {
  font-size: 12.5px; font-weight: 700;
  color: var(--p-color-deep);
  margin-top: 4px;
}

/* ---------- QUOTE ---------- */
.prod-quote { padding: 72px 28px 32px; }
.prod-quote-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.prod-quote-text {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 350;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 18px 0 32px;
  color: var(--tap-ink);
  text-wrap: balance;
  font-style: italic;
}
.prod-quote-attrib {
  display: inline-flex; align-items: center; gap: 14px;
}
.prod-quote-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--p-grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.prod-quote-name { font-size: 15px; font-weight: 700; color: var(--tap-ink); text-align: left; }
.prod-quote-role { font-size: 12px; color: var(--tap-ink-2); text-align: left; }

/* ---------- ROLES ----------
   Stacked editorial-row layout. Each role is a full-width row with
   icon | title + description | CTA on the right. Stacks vertically
   so cards are never cramped, and the CTA stays visible without
   relying on hover affordance. */
.roles-section { max-width: 1200px; margin: 0 auto; padding: 64px 28px 72px; }
.roles-inner { display: flex; flex-direction: column; gap: 36px; }
.roles-head { max-width: 720px; }
.roles-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.roles-head p { font-size: 17px; color: var(--tap-ink-2); line-height: 1.55; }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
/* Faint connecting line behind the cards — reinforces "CEO → checkout" cascade */
.roles-grid::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 38px;
  height: 1px;
  background-image: linear-gradient(90deg, color-mix(in oklab, var(--p-color, #F27A2E) 35%, transparent) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.role-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 18px;
  background: var(--tap-card);
  border: 1px solid var(--tap-line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--tap-ink);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--p-color, #F27A2E) 5%, transparent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.role-card:hover {
  border-color: color-mix(in oklab, var(--p-color, #F27A2E) 40%, var(--tap-line-strong));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.role-card:hover::before { opacity: 1; }

.role-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.role-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--p-color, #F27A2E) 14%, transparent);
  color: var(--p-color-deep, var(--tap-orange-deep));
  display: grid; place-items: center;
  flex: none;
}
.role-card-icon svg { width: 20px; height: 20px; }
.role-card-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--p-color-deep, var(--tap-orange-deep));
  font-variant-numeric: tabular-nums;
  background: color-mix(in oklab, var(--p-color, #F27A2E) 10%, transparent);
  padding: 4px 8px;
  border-radius: 999px;
}
.role-card-body {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.role-card h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2;
  margin: 0;
}
.role-card p {
  font-size: 13px; color: var(--tap-ink-2); line-height: 1.45;
  margin: 0;
  text-wrap: pretty;
}
.role-card-gets {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--tap-line);
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.role-card-gets li {
  font-size: 12.5px;
  color: var(--tap-ink-2);
  line-height: 1.35;
  padding-left: 14px;
  position: relative;
}
.role-card-gets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--p-color, #F27A2E) 70%, transparent);
}
.role-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  color: var(--p-color-deep, var(--tap-orange-deep));
  white-space: nowrap;
  justify-self: start;
  margin-top: auto;
}
.role-card-cta svg {
  width: 11px; height: 11px;
  transition: transform 150ms var(--ease);
}
.role-card:hover .role-card-cta svg { transform: translateX(3px); }

/* ---------- FEATURES ---------- */
.features-section { max-width: 1200px; margin: 0 auto; padding: 32px 28px 96px; }
.features-inner { display: flex; flex-direction: column; gap: 48px; }
.features-head { max-width: 720px; }
.features-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.features-head p { font-size: 17px; color: var(--tap-ink-2); line-height: 1.55; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.feature-card {
  background: var(--tap-card);
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 120ms, transform 120ms, box-shadow 120ms;
}
.feature-card:hover {
  border-color: var(--tap-line-strong);
  box-shadow: var(--tap-shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--p-color-tint);
  color: var(--p-color-deep);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2;
}
.feature-card p { font-size: 13.5px; color: var(--tap-ink-2); line-height: 1.55; flex: 1; }

/* 5-card variant — used on Retail+ where features are compressed to 5 core */
.features-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.features-basics {
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--tap-ink-3);
  text-align: center;
  font-style: italic;
}

/* Workflows ghost CTA — quiet conversion moment beneath the playbook grid */
.workflows-ghost-cta {
  margin: -16px 0 0;
  text-align: center;
  font-size: 14px;
}
.workflows-ghost-cta a {
  color: var(--p-color-deep, var(--tap-orange-deep));
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--p-color, #F27A2E) 35%, transparent);
  padding-bottom: 1px;
  transition: border-color 120ms ease;
}
.workflows-ghost-cta a:hover {
  border-bottom-color: var(--p-color-deep, var(--tap-orange-deep));
}

/* Hank tagline — completing line under "AI gets the headlines / IA gets the
   work done". Quiet but bold; explicitly closes the AI-threat anxiety loop. */
.ia-tagline {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.92);
  margin: 18px 0 22px;
  line-height: 1.4;
}

/* ---------- IA / HANK BAND ---------- */
.ia-band {
  background: linear-gradient(135deg, #2C2417 0%, #1A1410 100%);
  color: #fff;
  padding: var(--pad-y) 28px;
  overflow: hidden;
}
.ia-inner {
  max-width: calc(var(--maxw) - 2 * var(--pad-x)); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px;
  align-items: center;
}
.ia-h2 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 0.98;
  margin: 14px 0 24px;
  color: #fff;
}
.ia-h2 .ia-em {
  color: var(--tap-orange);
  font-style: italic;
}
.ia-deck { font-size: 19px; color: rgba(255,255,255,0.78); line-height: 1.55; max-width: 540px; margin-bottom: 28px; }
.ia-feats { display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.ia-feat {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  transition: background 120ms, border-color 120ms;
}
.ia-feat:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
.ia-feat-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  background: #1A1A1A; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}
.ia-feat-tag.soon { background: rgba(217,119,6,0.12); color: #F0B459; box-shadow: none; }
.ia-feat-title { flex: 1; font-size: 14.5px; font-weight: 600; }
.ia-feat-arrow { color: rgba(255,255,255,0.5); font-size: 16px; }

.ia-right { position: relative; display: grid; place-items: center; min-height: 320px; }
.ia-avatar-stack { position: relative; width: 280px; height: 280px; }
.ia-avatar {
  position: absolute; border-radius: 50%;
}
.ia-avatar-back {
  inset: 0; background: var(--tap-grad-hank); opacity: 0.18; filter: blur(20px);
}
.ia-avatar-mid {
  inset: 30px; background: var(--tap-grad-hank); opacity: 0.32;
}
.ia-avatar-front {
  inset: 60px;
  background: var(--tap-grad-hank);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 64px; letter-spacing: -0.04em;
  box-shadow: 0 20px 60px rgba(242,122,46,0.35);
}
.ia-sparkle {
  position: absolute; top: 18%; right: 8%;
  width: 56px; height: 56px;
  color: var(--tap-orange);
  filter: drop-shadow(0 4px 16px rgba(242,122,46,0.5));
}
.ia-sparkle svg { width: 100%; height: 100%; }

/* ---------- ROLLOUT ---------- */
.rollout-section { max-width: 1200px; margin: 0 auto; padding: var(--pad-y) 28px; }
.rollout-inner { display: flex; flex-direction: column; gap: 48px; align-items: flex-start; }
.rollout-head { max-width: 720px; }
.rollout-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.rollout-head p { font-size: 17px; color: var(--tap-ink-2); line-height: 1.55; }
.rollout-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  width: 100%;
  counter-reset: rollout;
}
.rollout-step {
  background: var(--tap-card);
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  padding: 28px 26px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.rollout-step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--tap-ink-3);
}
.rollout-step-glyph {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--p-grad);
  color: #fff;
  margin: 4px 0 8px;
  box-shadow: 0 4px 14px color-mix(in oklab, var(--p-color) 28%, transparent);
}
.rollout-step-glyph svg { width: 26px; height: 26px; }
.rollout-step h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15;
}
.rollout-step p { font-size: 14.5px; color: var(--tap-ink-2); line-height: 1.55; }
.rollout-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700;
  color: var(--p-color-deep);
}
.rollout-link svg { width: 12px; height: 12px; }

/* ---------- PRICING ---------- */
.pricing-section {
  background: var(--tap-bg-warm);
  border-top: 1px solid var(--tap-line);
  padding: var(--pad-y) 28px;
}
.pricing-inner { max-width: calc(var(--maxw) - 2 * var(--pad-x)); margin: 0 auto; }
.pricing-head { max-width: 720px; margin-bottom: 48px; }
.pricing-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 12px;
}
.pricing-head p { font-size: 17px; color: var(--tap-ink-2); line-height: 1.55; }

/* PRICING ANCHOR - transparent reference card above the tier grid */
.pricing-anchor {
  margin: 0 0 56px;
  padding: 32px 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--tap-card) 0%, color-mix(in oklab, var(--p-color, #F27A2E) 4%, var(--tap-card)) 100%);
  border: 1px solid var(--tap-line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}
.pricing-anchor-headline {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--tap-ink);
  margin-bottom: 12px;
}
.pricing-anchor-headline .em {
  color: var(--p-color-deep, var(--tap-orange-deep));
}
.pricing-anchor-text p {
  font-size: 14.5px;
  color: var(--tap-ink-2);
  line-height: 1.55;
  margin: 0;
}
.pricing-anchor-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-anchor-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tap-line);
  font-size: 13px;
}
.pricing-anchor-row:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-anchor-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tap-ink-3);
}
.pricing-anchor-v {
  font-weight: 600;
  color: var(--tap-ink);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 980px) {
  .pricing-anchor { grid-template-columns: 1fr; gap: 28px; padding: 24px 24px; }
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.tier {
  position: relative;
  background: var(--tap-card);
  border: 1px solid var(--tap-line-strong);
  border-radius: 16px;
  padding: 28px 28px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.tier-featured {
  border-color: var(--p-color);
  box-shadow: 0 8px 32px color-mix(in oklab, var(--p-color) 25%, transparent),
              0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-8px);
}
.tier-flag {
  position: absolute; top: -12px; left: 28px;
  background: var(--p-grad); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.tier-head { display: flex; flex-direction: column; gap: 6px; }
.tier-head h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.tier-meta { font-size: 13px; color: var(--tap-ink-2); }
.tier-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.tier-features li {
  font-size: 13.5px; color: var(--tap-ink); line-height: 1.5;
  position: relative; padding-left: 22px;
}
.tier-features li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--p-color);
}
.tier-price { display: flex; align-items: baseline; gap: 6px; padding-top: 8px; border-top: 1px solid var(--tap-line); }
.tier-price-num {
  font-size: 32px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--tap-ink);
}
.tier-price-unit { font-size: 13px; color: var(--tap-ink-2); }
.tier-upgrade-lead { font-size: 14px; color: var(--tap-ink); line-height: 1.5; margin: -4px 0 4px; }
.tier-upgrade-lead strong { font-weight: 700; }
.tier-price-note { font-size: 12px; color: var(--tap-ink-3); margin-top: 4px; min-height: 16px; }
.tier-foot { display: flex; }
.tier-foot .btn { width: 100%; justify-content: center; display: flex; }
.pricing-disclaim {
  margin-top: 24px; font-size: 12px; color: var(--tap-ink-3);
  text-align: center;
}

/* Billing toggle (monthly / annual) - drives the .tier-price-num figures */
.pr-billing {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px; border-radius: 999px;
  background: var(--tap-bg); border: 1px solid var(--tap-line-strong);
  margin: 0 0 28px;
}
.pr-billing button {
  appearance: none; border: none; background: none; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--tap-ink-2);
  padding: 8px 18px; border-radius: 999px;
  transition: background 150ms var(--ease), color 150ms var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.pr-billing button[aria-pressed="true"] { background: var(--tap-ink); color: #fff; }
.pr-billing .pr-billing-save {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(5,150,105,0.14); color: #047857;
}
.pr-billing button[aria-pressed="true"] .pr-billing-save { background: rgba(255,255,255,0.22); color: #fff; }

/* ---------- POS ---------- */
.pos-section {
  background: linear-gradient(135deg, #1A1410 0%, #2C2417 100%);
  color: #fff;
  padding: var(--pad-y) 28px;
}
.pos-inner {
  max-width: calc(var(--maxw) - 2 * var(--pad-x)); margin: 0 auto;
  padding-left: 0; padding-right: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.pos-left h2 {
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 14px;
  color: #fff;
  text-wrap: balance;
}
.pos-left p { font-size: 17px; color: rgba(255,255,255,0.74); line-height: 1.55; max-width: 480px; }
.pos-left p strong { color: #fff; }
.pos-ctas { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.pos-ctas .btn-secondary { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.16); }
.pos-ctas .btn-secondary:hover { background: rgba(255,255,255,0.10); }
.pos-ctas .btn-ghost { color: rgba(255,255,255,0.74); }
.pos-ctas .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.04); }

.pos-right {
  display: flex; flex-direction: column; gap: 8px;
}
.pos-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.pos-logo {
  display: grid; place-items: center;
  height: 64px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 14px; font-weight: 700; letter-spacing: -0.005em;
}
.pos-logo.more { color: rgba(255,255,255,0.45); font-weight: 500; }

/* ---------- COLLABORATION ---------- */
.collab-section { max-width: 1200px; margin: 0 auto; padding: var(--pad-y) 28px; }
.collab-inner { display: flex; flex-direction: column; gap: 48px; }
.collab-head { max-width: 720px; }
.collab-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.collab-head p { font-size: 17px; color: var(--tap-ink-2); line-height: 1.55; max-width: 600px; }
.collab-head p strong { color: var(--tap-ink); }
.collab-feats { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.collab-feat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--tap-card);
  border: 1px solid var(--tap-line);
  border-radius: 10px;
  transition: border-color 120ms, transform 120ms;
}
.collab-feat:hover { border-color: var(--tap-line-strong); transform: translateY(-1px); }
.collab-feat-title { font-size: 13.5px; font-weight: 600; color: var(--tap-ink); }
.collab-feat-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px;
  background: var(--p-color-tint); color: var(--p-color-deep);
}
.collab-feat-tag.soon { background: rgba(217,119,6,0.12); color: #B45309; }

/* ---------- COLLABORATION - full-bleed scrolling ribbon ---------- */
.collab-section {
  max-width: 1200px; margin: 0 auto; padding: var(--pad-y) 28px;
  position: relative;
  overflow: hidden;
}
.collab-network {
  position: relative;
  /* break out of the container - full bleed */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 28px;
}

/* live counter floating above the ribbon */
.collab-live {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px;
  background: #14130F;
  color: #fff;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22), 0 4px 10px rgba(0,0,0,0.10);
  z-index: 2;
  white-space: nowrap;
}
.collab-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #29B36A;
  box-shadow: 0 0 0 4px rgba(41,179,106,0.20);
  animation: pulse 2s var(--ease) infinite;
}
.collab-live-num {
  font-weight: 800; font-variant-numeric: tabular-nums;
  color: #fff; letter-spacing: -0.005em;
  min-width: 56px; text-align: right;
}
.collab-live-lbl { color: rgba(255,255,255,0.65); font-weight: 500; }

/* the marquee */
.collab-marquee {
  display: flex; flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.collab-row {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  align-items: center;
  /* offset every other row so the columns of items don't line up vertically */
}
.collab-row[data-dir="right"] { padding-left: 80px; }
.collab-track {
  display: inline-flex; flex-shrink: 0; align-items: center;
  gap: 64px;
  padding-right: 64px;
  font-size: 22px; font-weight: 700;
  color: var(--tap-ink-2);
  letter-spacing: -0.005em;
  transform: translate3d(0, 0, 0);
}
.collab-row[data-dir="left"] .collab-track {
  animation: collab-scroll-left 90s linear infinite;
}
.collab-row[data-dir="right"] .collab-track {
  animation: collab-scroll-right 110s linear infinite;
}
.collab-row[data-dir="left2"] .collab-track {
  animation: collab-scroll-left 75s linear infinite;
}
.collab-marquee:hover .collab-track { animation-play-state: paused; }
@keyframes collab-scroll-left {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes collab-scroll-right {
  0%   { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Typographic variety per "thread" - woven feel */
.collab-track span { transition: color 200ms ease; }
.collab-track span:hover { color: var(--p-color); }
.collab-track .serif { font-family: Georgia, "Times New Roman", serif; }
.collab-track .italic { font-style: italic; }
.collab-track .upper { text-transform: uppercase; letter-spacing: 0.06em; font-size: 17px; font-weight: 700; }
.collab-track .tight { letter-spacing: -0.04em; }
.collab-track .thin { font-weight: 500; letter-spacing: 0.02em; }
.collab-track .lg { font-size: 28px; letter-spacing: -0.012em; }
.collab-track .sm { font-size: 18px; }
.collab-track .accent { color: var(--p-color); font-weight: 800; }

/* Subtle separator dots between threads */
.collab-track span::after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--tap-line-strong);
  vertical-align: middle;
  margin-left: 64px;
}
.collab-track span:last-child::after { display: none; }

@media (max-width: 900px) {
  .collab-track { font-size: 18px; gap: 40px; padding-right: 40px; }
  .collab-track .lg { font-size: 22px; }
  .collab-track span::after { margin-left: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .collab-row[data-dir] .collab-track { animation: none; }
}

/* ---------- INDUSTRIES ---------- */
.industries-section {
  max-width: 1200px; margin: 0 auto;
  padding: 0 28px 96px;
}
.industries-inner { display: flex; flex-direction: column; gap: 36px; }
.industries-head { max-width: 720px; }
.industries-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 12px;
}
.industries-head p { font-size: 17px; color: var(--tap-ink-2); line-height: 1.55; }
.industries-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.industry-card {
  background: var(--tap-card);
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  transition: border-color 120ms, transform 120ms;
}
.industry-card:hover { border-color: var(--p-color); transform: translateY(-2px); }
.industry-glyph {
  grid-row: 1 / span 2; grid-column: 1;
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--p-color-tint);
  color: var(--p-color-deep);
}
.industry-glyph svg { width: 22px; height: 22px; }
.industry-card h3 {
  grid-row: 1; grid-column: 2;
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
}
.industry-card p {
  grid-row: 2; grid-column: 2;
  font-size: 13px; color: var(--tap-ink-2); line-height: 1.45;
}
.industry-arrow {
  grid-row: 1 / span 2; grid-column: 3;
  color: var(--tap-ink-3); font-size: 18px;
  transition: transform 150ms var(--ease), color 150ms;
}
.industry-card:hover .industry-arrow { transform: translateX(4px); color: var(--p-color); }

/* ---------- KNOWLEDGE ---------- */
.knowledge-section {
  background: var(--tap-bg-warm);
  border-top: 1px solid var(--tap-line);
  border-bottom: 1px solid var(--tap-line);
  padding: var(--pad-y) 28px;
}
.knowledge-inner {
  max-width: calc(var(--maxw) - 2 * var(--pad-x)); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  align-items: start;
}
.knowledge-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.knowledge-head p { font-size: 17px; color: var(--tap-ink-2); line-height: 1.55; }
.knowledge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.knowledge-card {
  background: var(--tap-card);
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 120ms, transform 120ms;
}
.knowledge-card:hover { border-color: var(--tap-line-strong); transform: translateY(-2px); }
.knowledge-kind {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--p-color-deep);
}
.knowledge-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.knowledge-card p { font-size: 13.5px; color: var(--tap-ink-2); line-height: 1.5; flex: 1; }
.knowledge-arrow { font-size: 12.5px; font-weight: 700; color: var(--tap-ink); margin-top: 6px; }

/* ---------- CLOSER (reuse About style if present, else inline) ---------- */
.closer {
  text-align: center;
  padding: var(--pad-y) 28px;
}
.closer-inner { max-width: 720px; margin: 0 auto; }
.closer h2 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  margin: 0 0 18px;
}
.closer p { font-size: 19px; color: var(--tap-ink-2); line-height: 1.55; margin: 0 auto 32px; max-width: 560px; }
.closer-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CLOSER + POS strip combined - POS row above the headline, no
   unsubstantiated store-count claim. */
.closer-with-pos { padding-top: 72px; padding-bottom: 96px; }
.closer-pos-strip {
  margin: 0 auto 56px;
  max-width: 960px;
  padding: 24px 28px;
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  background: var(--tap-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.closer-pos-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tap-ink-3);
}
.closer-pos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
}
.closer-pos-row .pos-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tap-ink-2);
}
.closer-pos-row .pos-logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 150ms ease;
}
.closer-pos-row .pos-logo:hover img {
  opacity: 1;
}
/* White-on-transparent PNGs were designed for dark surfaces.
   Flatten to ink so they read on the cream closer band. */
.closer-pos-row .pos-logo img.pos-logo--ink {
  filter: brightness(0);
}
.closer-pos-row .pos-logo--lg img {
  height: 34px;
  max-width: 170px;
}
.closer-pos-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: var(--tap-ink-3);
  letter-spacing: 0;
  font-weight: 400;
  font-style: italic;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .roles-grid { grid-template-columns: repeat(6, 1fr); }
  .roles-grid::before { display: none; }
  /* 3 cards (span 2) on row 1; 2 cards (span 3) on row 2 — no orphans */
  .role-card:nth-child(1),
  .role-card:nth-child(2),
  .role-card:nth-child(3) { grid-column: span 2; }
  .role-card:nth-child(4),
  .role-card:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 1100px) {
  .workflows-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { gap: 10px; }
  .tier { padding: 22px 18px; }
  .tier-featured { transform: none; }
}
@media (max-width: 580px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .prod-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .ia-inner { grid-template-columns: 1fr; gap: 56px; }
  .pos-inner { grid-template-columns: 1fr; gap: 40px; }
  .impact-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 28px 0; }
  .impact-stat + .impact-stat { padding-left: 0; }
  .impact-stat:last-child { border-bottom: none; }
  .knowledge-inner { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  /* 5 cards on 4-col grid: 4 cards span 2 (2x2 grid), last card spans full width */
  .roles-grid { grid-template-columns: repeat(4, 1fr); }
  .role-card:nth-child(1),
  .role-card:nth-child(2),
  .role-card:nth-child(3),
  .role-card:nth-child(4) { grid-column: span 2; }
  .role-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .workflows-grid, .features-grid { grid-template-columns: 1fr; }
  .features-grid-5 { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .role-card:nth-child(1),
  .role-card:nth-child(2),
  .role-card:nth-child(3),
  .role-card:nth-child(4),
  .role-card:nth-child(5) { grid-column: 1 / -1; }
  .pos-row { grid-template-columns: repeat(2, 1fr); }
  .prod-hero, .impact-band, .workflows-section, .roles-section,
  .features-section, .ia-band, .rollout-section, .pricing-section,
  .pos-section, .collab-section, .industries-section, .knowledge-section,
  .closer { padding-left: 20px; padding-right: 20px; }
}
