/* Sales & industry page extensions — match homepage content scale */
.layout.marketing-page,
.marketing-page {
  max-width: min(1600px, 100%);
  padding-top: 3.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1.125rem; /* ~18px — homepage body */
  line-height: 1.7;
}

.marketing-page--wide,
.marketing-page--split-hero {
  max-width: min(1600px, 100%);
}

@media (min-width: 1024px) {
  .marketing-page {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.25rem; /* ~20px */
  }
}

.marketing-page h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.marketing-page--split-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  max-width: none;
}

.marketing-page .lead {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  max-width: 40rem;
  margin-bottom: 0;
  font-weight: 600;
  opacity: 0.8;
}

.marketing-page h2 {
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 900 !important;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em !important;
  color: #fff !important;
  margin-top: 4rem;
  margin-bottom: 1.25rem;
  opacity: 1 !important;
}

.marketing-page .founder-card {
  max-width: 48rem;
}

.marketing-page .about-intro {
  margin-top: 3rem;
}

.marketing-page > p,
.marketing-page--split-hero > p {
  font-size: inherit;
  max-width: 48rem;
  opacity: 0.85;
}

.marketing-page > ul,
.marketing-page > ol,
.marketing-page--split-hero > ul,
.marketing-page--split-hero > ol {
  max-width: 48rem;
  font-size: inherit;
}

.marketing-page--split-hero > .process-steps,
.marketing-page--split-hero > .cta-block {
  max-width: 48rem;
}

.marketing-page .process-step h3 {
  font-size: 1.15rem !important;
}

.marketing-page .process-step p {
  font-size: 1.05rem;
}

.marketing-page .founder-card h3 {
  font-size: 1.5rem !important;
}

.marketing-page .founder-card p {
  font-size: 1.125rem;
}

.marketing-page .cta-block h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
}

.marketing-page .btn-primary {
  font-size: 0.85rem;
  padding: 1rem 1.75rem;
}

.marketing-page .pillar-label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
}

/* ── Split hero (About) ── */
.marketing-hero {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 0.5rem;
}

@media (min-width: 960px) {
  .marketing-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
  }
}

.marketing-hero__copy .pillar-label {
  margin-bottom: 0.85rem;
}

.marketing-hero__aside {
  min-height: 480px;
}

@media (min-width: 960px) {
  .marketing-hero__aside {
    min-height: 560px;
  }
}

/* ── Signal Desk visual ── */
.signal-desk {
  position: relative;
  height: 100%;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #070b16;
  padding: 1.25rem 1.25rem 1.1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.signal-desk__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 28% 18%, rgba(0, 102, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 82% 82%, rgba(255, 59, 48, 0.12), transparent 50%);
}

.signal-desk__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.signal-desk__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.signal-desk__sub {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.signal-desk__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.signal-desk__live i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: signal-ping 1.6s ease-out infinite;
}

@keyframes signal-ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.signal-desk__stage {
  position: relative;
  flex: 1;
  min-height: 260px;
}

.signal-desk__orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.signal-desk__sweep {
  transform-origin: 50px 50px;
  animation: signal-sweep 10s linear infinite;
}

@keyframes signal-sweep {
  to { transform: rotate(360deg); }
}

.signal-desk__mote-wrap {
  transform-origin: 50px 50px;
  animation: signal-mote-spin 8s linear infinite;
}

.signal-desk__mote {
  filter: drop-shadow(0 0 4px #00d1ff);
  animation: signal-mote-pulse 2s ease-in-out infinite;
}

@keyframes signal-mote-spin {
  to { transform: rotate(360deg); }
}

@keyframes signal-mote-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.signal-desk__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(58%, 220px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 36, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 1.05rem;
  box-shadow: 0 24px 50px -24px rgba(0, 209, 255, 0.35);
  transition: box-shadow 0.45s ease;
}

.signal-desk__card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.signal-desk__badge {
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #00d1ff;
  transition: color 0.35s ease;
}

.signal-desk__meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.35);
}

.signal-desk__detail {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  min-height: 2.4em;
}

.signal-desk__bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.signal-desk__bar i {
  display: block;
  height: 100%;
  width: 25%;
  background: #00d1ff;
  transition: width 0.55s ease, background 0.35s ease;
}

.signal-desk__rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.signal-desk__rail-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.45rem 0.4rem;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.signal-desk__rail-item span {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.signal-desk__rail-item.is-active,
.signal-desk__rail-item.is-done {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.signal-desk__rail-item.is-active span { background: #00d1ff; }
.signal-desk__rail-item.is-done span { background: #0066ff; }
.signal-desk__rail-item[data-i="3"].is-active span { background: #ff3b30; }

@media (max-width: 480px) {
  .signal-desk__rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .marketing-hero__aside {
    min-height: 380px;
  }
}

.proof-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.proof-item {
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.proof-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--red);
  font-style: italic;
  margin-bottom: 0.35rem;
}

.price-hero {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--red);
  font-style: italic;
  margin: 1rem 0;
}

.deliverable-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.deliverable {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.deliverable-num {
  color: var(--red);
  font-weight: 900;
  font-size: 0.85rem;
  min-width: 2rem;
}

.process-steps {
  counter-reset: step;
  margin: 1.5rem 0;
}

.process-step {
  counter-increment: step;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  position: relative;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  font-weight: 900;
  color: var(--red);
  font-size: 0.85rem;
}

.process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.sample-audit-form {
  position: relative;
  border: 2px solid var(--blue);
  background: rgba(0, 102, 255, 0.06);
  padding: 1.5rem;
  margin: 2rem 0;
}

.sample-audit-form label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  opacity: 0.7;
}

.sample-audit-form input[type="email"],
.sample-audit-form input[type="text"] {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 1rem;
}

.sample-audit-form button {
  width: 100%;
  padding: 1rem;
  background: var(--red);
  border: none;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  font-size: 0.8rem;
}

.sample-audit-form button:disabled { opacity: 0.5; cursor: not-allowed; }

.sample-status { font-size: 0.75rem; margin-top: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.sample-status.err { color: var(--red); }

.turnstile-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

/* Honeypot: clipped + off-screen (not display:none — bots still fill it) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
}

.cookie-banner-inner {
  max-width: 42rem;
  margin: 0 auto;
  background: #0a1428;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.75;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner-actions button {
  flex: 1;
  min-width: 8rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.cookie-banner-actions button[data-cookie="accepted"] {
  background: var(--red);
  border-color: var(--red);
}

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .metric-row { grid-template-columns: 1fr; }
}

.case-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.industry-tags span {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.founder-block {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.founder-video-wrap {
  width: 100%;
  border: 1px solid var(--border);
  background: #0a1020;
  overflow: hidden;
  line-height: 0;
}

.founder-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0a1020;
}

.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  border: 1px solid var(--border);
  padding: 1.25rem 1.35rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.02);
}

.founder-card h3 {
  font-size: 1.05rem;
}

.founder-card p:last-child {
  margin-bottom: 0;
}

.founder-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  background: rgba(255, 59, 48, 0.08);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .founder-card {
    grid-template-columns: 1fr;
  }
}

.proof-gallery { margin: 2.5rem 0; }
.proof-gallery h2 { margin-top: 0; }
.proof-note { font-size: 0.85rem; opacity: 0.55; margin-bottom: 1rem; }
.proof-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

.proof-grid figure {
  margin: 0;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.proof-grid img { width: 100%; height: auto; display: block; }
.proof-grid figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.site-footer-brand {
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.brand-block strong {
  font-size: 1rem;
  font-style: italic;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-block a { color: var(--muted); text-decoration: none; }
.brand-block a:hover { color: var(--red); }

.brand-copy { font-size: 0.65rem; opacity: 0.35; margin: 0; }

/* Wide marketing layout (case-study dashboards) */
.marketing-page--wide {
  max-width: min(1200px, 100%);
  overflow-x: clip;
}
.marketing-page--wide .lead { margin-bottom: 1.25rem; }
.marketing-page--wide .cs-related { margin-top: 1.5rem; font-size: 0.9rem; opacity: 0.7; }

/* Proof summary — execution evidence above dashboard */
.cs-proof-summary {
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: rgba(0, 102, 255, 0.04);
}

.cs-proof-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

@media (min-width: 640px) {
  .cs-proof-list { grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1.5rem; }
}

.cs-proof-list div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  margin: 0;
}

.cs-proof-list dt {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin: 0;
}

.cs-proof-list dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.cs-cta-strip {
  margin: 0 0 1.25rem;
}

.cs-cta-strip--bottom {
  margin: 1.5rem 0 0;
}

.cs-disclaimer {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.55;
  border: 1px dashed var(--border);
  border-radius: 6px;
  text-align: center;
}

/* SharpSeed case-study dashboard */
.cs-dashboard {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 100%;
  overflow-x: clip;
}

.cs-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin: 0 0 0.5rem;
}

.cs-hero {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #030712;
  min-height: 240px;
}

.cs-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.cs-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5, 10, 26, 0.92) 0%, rgba(5, 10, 26, 0.75) 45%, rgba(5, 10, 26, 0.55) 100%);
}

.cs-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .cs-hero-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.cs-hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: #fff;
}

.cs-hero-lead {
  margin: 0 0 1rem;
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cs-hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cs-stat-icon { margin-right: 0.35rem; opacity: 0.8; }

.cs-market-cards {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .cs-market-cards { grid-template-columns: 1fr 1fr; }
}

.cs-market {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.cs-market--uk { border-color: rgba(0, 102, 255, 0.35); }
.cs-market--us { border-color: rgba(255, 59, 48, 0.35); }

.cs-market header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.cs-market ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.6;
}

.cs-illustrative-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue, #3b82f6);
  margin: 0 0 1rem;
  opacity: 0.9;
}

.cs-ops-queue {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
}

.cs-ops-queue li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.cs-ops-queue strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--red, #ff3b30);
  min-width: 2rem;
}

.cs-ops-note {
  font-size: 0.8rem;
  opacity: 0.55;
  line-height: 1.5;
  margin: 0;
}

.cs-live {
  margin-left: auto;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.cs-live--pulse::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  margin-right: 0.35rem;
  animation: cs-pulse 2s ease-in-out infinite;
}

@keyframes cs-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cs-stack-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.cs-stack-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.5;
  white-space: nowrap;
}

.cs-stack-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.cs-stack-logos span {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.cs-grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .cs-grid-3 { grid-template-columns: 1fr 1.4fr 1fr; }
}

.cs-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.cs-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cs-card p { margin: 0; font-size: 0.88rem; opacity: 0.8; line-height: 1.6; }

.cs-card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }

.cs-card--challenge { border-left: 3px solid var(--red); }
.cs-card--results { border-left: 3px solid #22c55e; }

.cs-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cs-card-head h3 { margin: 0; }

.cs-flow { font-size: 0.75rem; }

.cs-flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.cs-flow-row--mid { margin: 0.25rem 0; }

.cs-node {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.03);
  min-width: 4.5rem;
}

.cs-node small {
  display: block;
  font-weight: 600;
  opacity: 0.55;
  font-size: 0.6rem;
  text-transform: none;
  margin-top: 0.15rem;
}

.cs-node--stripe { border-color: rgba(99, 91, 255, 0.5); background: rgba(99, 91, 255, 0.08); }
.cs-node--supa { border-color: rgba(62, 207, 142, 0.45); background: rgba(62, 207, 142, 0.08); }
.cs-node--resend { border-color: rgba(0, 0, 0, 0.3); background: rgba(255, 255, 255, 0.06); }
.cs-node--auto { border-color: rgba(0, 102, 255, 0.45); background: rgba(0, 102, 255, 0.08); }

.cs-arrow { opacity: 0.4; font-size: 0.85rem; }
.cs-arrow--down { font-size: 1rem; }

.cs-flow-automation {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: center;
}

.cs-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-results-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-results-list li:last-child { border-bottom: none; }

.cs-check {
  color: #4ade80;
  font-weight: 900;
  flex-shrink: 0;
}

.cs-grid-metrics {
  display: grid;
  gap: 1rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

@media (min-width: 900px) {
  .cs-grid-metrics { grid-template-columns: repeat(3, 1fr); }
}

.cs-metric-panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
}

.cs-metric-panel header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cs-metric-panel h3 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cs-panel-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.45;
}

.cs-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.cs-kpi {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.cs-kpi strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}

.cs-kpi span {
  display: block;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-top: 0.15rem;
}

.cs-kpi em, .cs-up {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 800;
  color: #4ade80;
}

.cs-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 80px;
  margin-top: auto;
  padding-top: 0.5rem;
}

.cs-chart--line .cs-bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(0, 102, 255, 0.35);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
}

.cs-chart--line .cs-bar--accent { background: var(--blue); }

.cs-chart--bars {
  height: 60px;
  gap: 4px;
}

.cs-bar-v {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(99, 91, 255, 0.4);
  border-radius: 2px 2px 0 0;
  align-self: flex-end;
  min-height: 4px;
}

.cs-bar-v--accent { background: rgba(99, 91, 255, 0.85); }

.cs-stripe-split {
  display: grid;
  gap: 1rem;
  flex: 1;
}

@media (min-width: 480px) {
  .cs-stripe-split { grid-template-columns: 1fr 1fr; }
}

.cs-mini-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin: 0 0 0.35rem;
}

.cs-big-num {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 0.75rem;
}

.cs-activity ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-activity li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem 0.5rem;
  align-items: center;
  font-size: 0.7rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-activity li:last-child { border-bottom: none; }

.cs-activity strong { color: #fff; }
.cs-activity time { opacity: 0.4; font-size: 0.6rem; white-space: nowrap; }

.cs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.cs-dot--ok { background: #4ade80; }
.cs-dot--warn { background: var(--red); }

.cs-seo-grid {
  display: grid;
  gap: 0.75rem;
  flex: 1;
}

.cs-seo-stat {
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.15);
}

.cs-seo-stat span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.cs-seo-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0.25rem 0;
}

.cs-spark {
  height: 24px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255, 59, 48, 0.3) 20%, rgba(255, 59, 48, 0.5) 40%,
    rgba(255, 59, 48, 0.3) 60%, rgba(255, 59, 48, 0.6) 80%, rgba(255, 59, 48, 0.4) 100%);
  border-radius: 2px;
  clip-path: polygon(0 80%, 15% 60%, 30% 70%, 45% 40%, 60% 55%, 75% 25%, 90% 35%, 100% 10%, 100% 100%, 0 100%);
}

.cs-spark--blue {
  background: linear-gradient(90deg,
    transparent 0%, rgba(0, 102, 255, 0.3) 25%, rgba(0, 102, 255, 0.55) 50%,
    rgba(0, 102, 255, 0.35) 75%, rgba(0, 102, 255, 0.5) 100%);
}

.cs-spark--green {
  background: linear-gradient(90deg,
    transparent 0%, rgba(34, 197, 94, 0.3) 30%, rgba(34, 197, 94, 0.5) 55%,
    rgba(34, 197, 94, 0.35) 80%, rgba(34, 197, 94, 0.45) 100%);
}

.cs-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.06) 0%, rgba(0, 102, 255, 0.06) 100%);
}

.cs-cta-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 200px;
}

.cs-cta-copy p { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.cs-cta-icon { font-size: 1.25rem; flex-shrink: 0; }

.cs-cta-btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: var(--red);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  border-radius: 6px;
  white-space: nowrap;
}

.cs-cta-btn:hover { filter: brightness(1.1); text-decoration: none !important; }

.cs-wireframe-preview {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.cs-mock {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-mock-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-light);
}

.cs-mock-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cs-mock-uk,
.cs-mock-us {
  padding: 0.85rem;
  text-align: center;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  border-radius: 4px;
}

.cs-mock-uk {
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.45);
  color: var(--blue-light);
}

.cs-mock-us {
  background: rgba(255, 59, 48, 0.2);
  border: 1px solid rgba(255, 59, 48, 0.45);
  color: #ff8a80;
}

.cs-mock-status {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.55;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.cs-mock-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.cs-mock-services div {
  height: 48px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.cs-mock-services .cs-mock-active {
  background: rgba(0, 102, 255, 0.2);
  border-color: rgba(0, 102, 255, 0.45);
}

.cs-mock-btn {
  display: block;
  text-align: center;
  padding: 0.85rem;
  background: rgba(255, 59, 48, 0.25);
  border: 1px solid rgba(255, 59, 48, 0.5);
  color: var(--red) !important;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  border-radius: 4px;
}

.cs-mock-btn:hover { background: rgba(255, 59, 48, 0.35); text-decoration: none !important; }

@media (max-width: 640px) {
  .cs-dashboard { margin: 0 0 1.5rem; gap: 1rem; }
  .cs-proof-list div { grid-template-columns: 1fr; gap: 0.2rem; }
  .cs-proof-list dt { font-size: 0.6rem; }
  .cs-proof-list dd { font-size: 1rem; }
  .cs-kpi-row { grid-template-columns: 1fr; }
  .cs-cta-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cs-cta-copy { flex-direction: column; align-items: center; }
  .cs-cta-btn { text-align: center; width: 100%; box-sizing: border-box; }
  .cs-cta-strip .cs-cta-btn { display: block; }
  .cs-hero { min-height: 200px; }
  .cs-hero-title { font-size: 1.35rem; line-height: 1.2; }
  .cs-hero-lead { font-size: 1rem; }
  .cs-hero-stats { flex-direction: column; gap: 0.5rem; font-size: 0.8rem; }
  .cs-card p,
  .cs-results-list li,
  .cs-activity li { font-size: 0.9375rem; }
  .cs-flow-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .cs-flow-row--mid { display: none; }
  .cs-arrow { display: none; }
  .cs-node {
    min-width: 0;
    width: 100%;
    font-size: 0.75rem;
    padding: 0.65rem;
  }
  .cs-stack-bar { flex-direction: column; align-items: flex-start; }
  .cs-stack-logos { gap: 0.4rem 0.65rem; }
  .cs-activity li {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .cs-activity time {
    grid-column: 2;
    white-space: normal;
    font-size: 0.65rem;
  }
  .cs-metric-panel header { flex-direction: column; align-items: flex-start; }
  .cs-kpi strong { font-size: 1.1rem; }
}

/* Hub index pages — case studies + blog */
.hub-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .hub-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.15s;
}

.hub-card:hover {
  border-color: var(--red);
  text-decoration: none;
}

.hub-card-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.hub-card-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  font-style: italic;
}

.hub-card-desc {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.55;
  flex: 1;
}

.hub-card-cta {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-top: 0.5rem;
}

.hub-section {
  margin: 2.5rem 0;
}

.hub-section h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hub-section h2 a {
  color: #fff;
  text-decoration: none;
}

.hub-section h2 a:hover { color: var(--red); }
