/* Scale DNA Growth Engine — page-specific additions on top of scaledna-homepage.css */

/* ========== PROBLEM section ========== */
.problem-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.problem-copy .body {
  font-size: 17.5px;
  color: var(--ink-700);
  line-height: 1.65;
  margin-bottom: 20px;
}
.problem-copy .body strong { color: var(--ink-800); font-weight: 600; }
.problem-closer {
  margin-top: 28px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-800);
  line-height: 1.25;
}
.problem-closer em {
  font-family: var(--font-em);
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
}
.problem-side {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--glass-shadow);
  position: sticky;
  top: 100px;
}
.problem-side-lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
}
.problem-list {
  list-style: none; padding: 0; margin: 0;
}
.problem-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.5;
  border-bottom: 1px solid var(--ink-100);
}
.problem-list li:last-child { border-bottom: 0; }
.problem-list li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 14px; height: 14px;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52.89 52.88'><polygon points='52.27 0 25.83 0 0 26.44 26.44 26.44 52.27 0'/><polygon points='52.89 26.44 26.45 26.44 .62 52.88 27.06 52.88 52.89 26.44'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52.89 52.88'><polygon points='52.27 0 25.83 0 0 26.44 26.44 26.44 52.27 0'/><polygon points='52.89 26.44 26.45 26.44 .62 52.88 27.06 52.88 52.89 26.44'/></svg>") no-repeat center / contain;
}

/* ========== Six pillars grid ========== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 6px 18px -10px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
  position: relative;
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 18px 38px -14px rgba(15, 23, 42, 0.18);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--ink-200));
}
.pillar-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 600;
}
.pillar-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.pillar-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink-800);
}
.pillar-card p {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.55;
}
.engine-closer {
  margin-top: 44px;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-700);
  line-height: 1.5;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.engine-closer em {
  font-family: var(--font-em);
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
}

/* ========== HOW IT WORKS — 3 steps ========== */
.hiw-list {
  list-style: none; padding: 0; margin: 0;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  position: relative;
}
.hiw-step-rail {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 28px;
}
.hiw-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary-700);
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.06em;
  background: var(--primary-50);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  border-radius: 999px;
  padding: 6px 12px;
  z-index: 2;
  position: relative;
}
.hiw-step-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--primary) 25%, transparent), var(--ink-200));
  margin-top: 8px;
  min-height: 24px;
}
.hiw-step:last-child .hiw-step-line { display: none; }
.hiw-step-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 8px 22px -14px rgba(15, 23, 42, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hiw-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 18px 38px -14px rgba(15, 23, 42, 0.18);
}
.hiw-step.featured .hiw-step-card {
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 20px 46px -20px color-mix(in srgb, var(--primary) 28%, transparent),
    0 0 0 1px color-mix(in srgb, var(--primary) 20%, transparent);
}
.hiw-step.featured .hiw-step-num {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.hiw-step-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
}
.hiw-step-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 700;
  margin-bottom: 6px;
}
.hiw-step-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.hiw-step-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-700);
  opacity: 0.85;
  letter-spacing: 0.02em;
  background: var(--primary-50);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  text-align: right;
}
.hiw-step-tagline {
  font-family: var(--font-em);
  font-style: italic;
  font-size: 19px;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 14px;
}
.hiw-step-body {
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.6;
  margin-bottom: 18px;
}
.hiw-step-list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.hiw-step-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink-700); line-height: 1.5;
}
.hiw-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.hiw-step-foot {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
  padding: 14px 16px;
  background: var(--surface-cream);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
}
.hiw-step-foot strong { color: var(--ink-800); font-weight: 600; }
.hiw-step-foot em { font-family: var(--font-em); font-style: italic; color: var(--primary); font-weight: 400; }
.hiw-step-cta-wrap {
  margin-top: 20px;
  display: flex;
}
.hiw-step-cta-wrap .btn-primary,
.hiw-step-cta-wrap .btn-secondary {
  font-size: 14.5px;
  padding: 12px 22px;
}

/* ========== PRODUCTS GRID (5 + featured) ========== */
.products-grid-two {
  grid-template-columns: 1fr 1fr !important;
  max-width: 940px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px 26px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 6px 18px -12px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 18px 38px -14px rgba(15, 23, 42, 0.18);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--ink-200));
}
.product-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.product-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--primary-700);
  opacity: 0.7;
}
.product-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-700);
  opacity: 0.85;
  letter-spacing: 0.02em;
  background: var(--primary-50);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.product-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-800);
  line-height: 1.15;
  margin-bottom: 10px;
}
.product-outcome {
  font-family: var(--font-em);
  font-style: italic;
  font-size: 17px;
  color: var(--primary);
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}
.product-body {
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.55;
  margin-bottom: 22px;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-700);
  letter-spacing: -0.005em;
}
.product-installed {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-100);
}
.product-installed-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-700);
  opacity: 0.75;
  margin-bottom: 12px;
}
.product-installed ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.product-installed li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-700);
}
.product-installed li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 13px;
  height: 13px;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52.89 52.88'><polygon points='52.27 0 25.83 0 0 26.44 26.44 26.44 52.27 0'/><polygon points='52.89 26.44 26.45 26.44 .62 52.88 27.06 52.88 52.89 26.44'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52.89 52.88'><polygon points='52.27 0 25.83 0 0 26.44 26.44 26.44 52.27 0'/><polygon points='52.89 26.44 26.45 26.44 .62 52.88 27.06 52.88 52.89 26.44'/></svg>") no-repeat center / contain;
}
.product-cta .arr {
  transition: transform 0.2s ease;
}
.product-card:hover .product-cta .arr {
  transform: translateX(3px);
}

/* Featured Programme card — full-width dark, same flex column layout */
.product-card-featured {
  grid-column: span 3;
  background:
    radial-gradient(ellipse 800px 400px at 88% 10%, color-mix(in srgb, var(--primary) 28%, transparent), transparent 60%),
    #14161B;
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  color: rgba(245, 244, 241, 0.86);
  padding: 36px 36px 30px;
}
.product-card-featured:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 50px -22px rgba(0,0,0,0.5);
}
.product-card-featured .product-card-head {
  border-bottom-color: rgba(245, 244, 241, 0.12);
}
.product-card-featured .product-num {
  color: var(--primary);
  opacity: 1;
  font-weight: 600;
}
.product-card-featured .product-meta {
  background: rgba(245, 244, 241, 0.08);
  color: rgba(245, 244, 241, 0.86);
  border: 1px solid rgba(245, 244, 241, 0.12);
  opacity: 1;
}
.product-card-featured .product-title {
  color: #FAF7F2;
  font-size: 28px;
}
.product-card-featured .product-outcome {
  color: var(--primary);
  font-size: 19px;
}
.product-card-featured .product-body {
  color: rgba(245, 244, 241, 0.72);
  font-size: 15.5px;
  max-width: none;
}
.product-card-featured .product-cta {
  color: var(--primary);
  border-top-color: rgba(245, 244, 241, 0.12);
}
.product-card-featured .product-cta .arr { color: var(--primary); }

/* Value-anchor line on the featured Operating System card */
.product-anchor {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(245, 244, 241, 0.82);
  font-style: normal;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 244, 241, 0.12);
  max-width: 64ch;
}
.product-anchor strong {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-card-featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card-featured { grid-column: span 1; }
  .products-grid-two { grid-template-columns: 1fr !important; }
}

/* ========== WHAT CHANGES FOR YOU (outcome tiles) ========== */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.outcome-tile {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 6px 18px -12px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.outcome-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 18px 38px -14px rgba(15, 23, 42, 0.18);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--ink-200));
}
.outcome-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--primary-700);
  opacity: 0.7;
}
.outcome-tile h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-800);
  line-height: 1.1;
}
.outcome-tile p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-600);
}
.outcomes-closer {
  margin-top: 48px;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-700);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.outcomes-closer em {
  font-family: var(--font-em);
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}

@media (max-width: 760px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}

/* ========== DIFFERENTIATORS (built by an operator) ========== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}
.diff-tile {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 6px 18px -12px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.diff-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 18px 38px -14px rgba(15, 23, 42, 0.18);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--ink-200));
}
.diff-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--primary-700);
  opacity: 0.7;
}
.diff-tile h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-800);
  line-height: 1.2;
}
.diff-tile p {
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.55;
}

/* Soft divider between differentiators and proof block */
.proof-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.proof-divider .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  white-space: nowrap;
}
.proof-divider .rule {
  flex: 1;
  height: 1px;
  background: var(--ink-200);
}
.proof-sub {
  font-size: 16px;
  color: var(--ink-600);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 36px;
}

@media (max-width: 960px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* ========== SOCIAL PROOF (logo wall + testimonials) ========== */
.logo-wall {
  position: relative;
  background: var(--surface-cream);
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  padding: 36px 28px 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.logo-tile {
  background: var(--glass-bg-strong);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  aspect-ratio: 100 / 36;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  padding: 8px 12px;
}
.logo-tile svg { width: 80%; height: 60%; }
.logo-wall-note {
  position: absolute;
  bottom: 12px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  background: var(--surface-cream);
  padding: 2px 8px;
}
@media (max-width: 860px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial {
  position: relative;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 36px 28px 26px;
  margin: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 6px 18px -12px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}
.testimonial .quote-mark {
  position: absolute;
  top: 8px;
  left: 22px;
  font-family: var(--font-em);
  font-size: 64px;
  line-height: 1;
  color: color-mix(in srgb, var(--primary) 30%, transparent);
  font-style: italic;
  font-weight: 400;
}
.testimonial blockquote {
  margin: 0;
  flex: 1;
}
.testimonial blockquote p {
  font-family: var(--font-em);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-800);
  letter-spacing: -0.005em;
  margin: 0;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-100);
}
.testimonial .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.005em;
}
.testimonial .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ========== TEAM ROW (Kate + Amy sub-bios under Layth) ========== */
.team-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.team-member {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 6px 18px -12px rgba(15, 23, 42, 0.08);
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 78%, black) 100%);
  box-shadow: 0 8px 22px -10px rgba(15, 23, 42, 0.22);
}
.team-photo::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 44px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.02em;
}
.team-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.team-name {
  font-family: var(--font-em);
  font-style: italic;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 8px;
}
.team-bio p {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.6;
  margin-bottom: 12px;
}
.team-bio p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .team-row { grid-template-columns: 1fr; }
  .team-member { grid-template-columns: 88px 1fr; gap: 20px; padding: 22px; }
  .team-photo { width: 88px; height: 88px; }
  .team-photo::before { font-size: 34px; }
}

/* ========== STATS STRIP — refined editorial style ========== */
.stats-strip,
.value-strip {
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  background: var(--surface-cream);
  padding: 36px 0;
}

/* Value strip — 3-column hero supporting band */
.value-strip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.value-item {
  position: relative;
  padding: 6px 32px;
  border-right: 1px solid var(--ink-200);
  text-align: left;
  transition: background 0.25s ease;
}
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border-right: 0; padding-right: 0; }
.value-item:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent);
}
.value-idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--primary-700);
  opacity: 0.65;
  margin-bottom: 12px;
}
.value-title {
  font-family: var(--font-h);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.value-desc {
  font-family: var(--font-em);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
@media (max-width: 860px) {
  .value-strip { padding: 32px 0; }
  .value-strip-row { grid-template-columns: 1fr; }
  .value-item { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--ink-200); }
  .value-item:last-child { border-bottom: 0; }
}
.stats-strip .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-strip .stat-tile {
  position: relative;
  padding: 14px 32px;
  border-right: 1px solid var(--ink-200);
  text-align: left;
  transition: background 0.25s ease;
}
.stats-strip .stat-tile:first-child { padding-left: 0; }
.stats-strip .stat-tile:last-child { border-right: 0; padding-right: 0; }
.stats-strip .stat-tile:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent);
}
.stats-strip .stat-idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--primary-700);
  opacity: 0.65;
  margin-bottom: 14px;
}
.stats-strip .stat-tile .num {
  font-family: var(--font-h);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: baseline;
  position: relative;
}
.stats-strip .stat-tile .num::after {
  content: "";
  position: absolute;
  left: 0; bottom: -7px;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.stats-strip .stat-tile .lbl {
  font-size: 13.5px;
  color: var(--ink-700);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  max-width: 22ch;
}

@media (max-width: 860px) {
  .stats-strip { padding: 32px 0; }
  .stats-strip .stats-row { grid-template-columns: 1fr 1fr; gap: 0; }
  .stats-strip .stat-tile {
    padding: 18px 22px;
    border-bottom: 1px solid var(--ink-200);
  }
  .stats-strip .stat-tile:first-child,
  .stats-strip .stat-tile:nth-child(3) { padding-left: 0; }
  .stats-strip .stat-tile:nth-child(2),
  .stats-strip .stat-tile:nth-child(4) { border-right: 0; padding-right: 0; }
  .stats-strip .stat-tile:nth-child(3),
  .stats-strip .stat-tile:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 500px) {
  .stats-strip .stats-row { grid-template-columns: 1fr; }
  .stats-strip .stat-tile { padding: 18px 0; border-right: 0; }
  .stats-strip .stat-tile:last-child { border-bottom: 0; }
}

/* ========== Hero scorecard — tilted dashboard treatment ========== */
.hero-mock-wrap {
  position: relative;
  perspective: 1400px;
}
.hero-mock-tilt {
  transform: rotateY(-7deg) rotateX(5deg);
  transform-origin: 50% 35%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 68%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 68%, transparent 100%);
}
.hero-mock-wrap:hover .hero-mock-tilt {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-6px);
}
.hero-mock-wrap:active .hero-mock-tilt {
  transform: rotateY(0deg) rotateX(0deg) translateY(2px) scale(0.985);
  transition: transform 0.15s ease-out;
}
@media (max-width: 960px) {
  .hero-mock-tilt {
    transform: none;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero-mock-wrap:hover .hero-mock-tilt,
  .hero-mock-wrap:active .hero-mock-tilt { transform: none; }
}

/* ========== FOOTER (dark with brand gold hints) ========== */
.sdn-footer {
  background:
    radial-gradient(ellipse 900px 480px at 12% 0%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 65%),
    radial-gradient(ellipse 700px 400px at 100% 100%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 65%),
    #14161B;
  border-top: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  color: rgba(245, 244, 241, 0.72);
}
.sdn-footer .sdn-logo-name { color: #FAF7F2; }
.sdn-footer h6 { color: var(--primary); }
.sdn-footer ul a { color: rgba(245, 244, 241, 0.72); transition: color .15s ease; }
.sdn-footer ul a:hover { color: #FAF7F2; }
.sdn-footer-tagline { color: rgba(245, 244, 241, 0.82); }
.sdn-footer-bottom {
  border-top: 1px solid rgba(245, 244, 241, 0.10);
  color: rgba(245, 244, 241, 0.46);
}

/* ========== SIX PILLARS — vertical text list variant ========== */
.pillars-list {
  border-top: 1px solid var(--ink-200);
}
.pillars-list-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.5fr;
  align-items: baseline;
  padding: 32px 4px;
  border-bottom: 1px solid var(--ink-200);
  gap: 40px;
  transition: padding-left .25s ease, background .25s ease;
}
.pillars-list-row:hover {
  padding-left: 20px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 60%);
}
.plr-idx {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-700);
  letter-spacing: 0.08em;
  align-self: start;
  padding-top: 8px;
  opacity: 0.7;
}
.plr-name {
  font-family: var(--font-h);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.plr-desc {
  font-size: 16.5px;
  color: var(--ink-600);
  line-height: 1.55;
  align-self: center;
  margin: 0;
}
@media (max-width: 860px) {
  .pillars-list-row { grid-template-columns: 50px 1fr; gap: 14px 20px; padding: 24px 4px; }
  .pillars-list-row:hover { padding-left: 14px; }
  .plr-desc { grid-column: 2; }
  .plr-idx { padding-top: 4px; }
}

/* ========== PLATFORM SECTION (dark feature) ========== */
.section.dark {
  background:
    radial-gradient(ellipse 900px 600px at 88% 8%, color-mix(in srgb, var(--primary) 24%, transparent), transparent 65%),
    radial-gradient(ellipse 700px 500px at 0% 90%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 65%),
    #14161B;
  color: rgba(245, 244, 241, 0.86);
}
.section.dark h2,
.section.dark h3,
.section.dark h4 { color: #FAF7F2; }
.section.dark .eyebrow { color: var(--primary); }

.platform-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.platform-copy h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 14px 0 22px;
  color: #FAF7F2;
}
.platform-copy h2 em {
  font-family: var(--font-em);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}
.platform-body {
  font-size: 16.5px;
  color: rgba(245, 244, 241, 0.72);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 540px;
}
.platform-body strong { color: #FAF7F2; font-weight: 600; }
.platform-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.platform-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: rgba(245, 244, 241, 0.84);
  line-height: 1.4;
}
.platform-list .pip {
  color: var(--primary);
  font-size: 8px;
  flex-shrink: 0;
  line-height: 20px;
}

/* Platform mock — stylized dashboard preview */
.platform-mock-wrap {
  position: relative;
  perspective: 1400px;
}
.platform-mock-tilt {
  transform: rotateY(-7deg) rotateX(5deg);
  transform-origin: 50% 35%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}
.platform-mock-wrap:hover .platform-mock-tilt {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-6px);
}
.platform-mock-wrap:active .platform-mock-tilt {
  transform: rotateY(0deg) rotateX(0deg) translateY(2px) scale(0.985);
  transition: transform 0.15s ease-out;
}
@media (max-width: 960px) {
  .platform-mock-tilt {
    transform: none;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .platform-mock-wrap:hover .platform-mock-tilt,
  .platform-mock-wrap:active .platform-mock-tilt { transform: none; }
}
.platform-mock {
  background: #1B1F26;
  border: 1px solid rgba(245, 244, 241, 0.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -24px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(245, 244, 241, 0.04);
}
.pm-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #14171C;
  border-bottom: 1px solid rgba(245, 244, 241, 0.08);
}
.pm-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(245, 244, 241, 0.16);
}
.pm-url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(245, 244, 241, 0.46);
  letter-spacing: 0.01em;
}
.pm-body {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 460px;
}
.pm-side {
  background: #181C23;
  border-right: 1px solid rgba(245, 244, 241, 0.06);
  padding: 14px 10px;
}
.pm-side-h {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.38);
  padding: 8px 10px 6px;
  font-weight: 600;
}
.pm-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  font-size: 11.5px;
  color: rgba(245, 244, 241, 0.66);
  border-radius: 6px;
  margin-bottom: 2px;
  line-height: 1.3;
}
.pm-side-item.small { font-size: 10.5px; color: rgba(245, 244, 241, 0.5); }
.pm-side-item .d {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(245, 244, 241, 0.32);
  flex-shrink: 0;
}
.pm-side-item .lbl {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-side-item.active {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
}
.pm-side-item.active .d { background: var(--primary); }

.pm-main {
  padding: 22px 22px 18px;
  background: #1B1F26;
  display: flex; flex-direction: column;
  gap: 16px;
}
.pm-main-h {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
}
.pm-main-title {
  font-size: 15px; font-weight: 600;
  color: #FAF7F2;
  letter-spacing: -0.01em;
}
.pm-main-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(245, 244, 241, 0.42);
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.pm-score-pill {
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(245, 244, 241, 0.12);
  border-radius: 10px;
  background: rgba(245, 244, 241, 0.04);
}
.pm-score-pill .lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.46);
}
.pm-score-pill .num {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: #FAF7F2;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pm-score-pill .delta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #4ADE80;
}
.pm-pillar-rows {
  display: flex; flex-direction: column; gap: 7px;
}
.pm-pillar-row {
  display: grid;
  grid-template-columns: 1fr 100px 30px 32px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(245, 244, 241, 0.025);
  border: 1px solid rgba(245, 244, 241, 0.05);
  border-radius: 8px;
}
.pm-pn {
  font-size: 11.5px;
  color: rgba(245, 244, 241, 0.82);
  font-weight: 500;
}
.pm-pbar {
  height: 5px;
  background: rgba(245, 244, 241, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.pm-pbar i {
  display: block; height: 100%;
  background: var(--primary);
}
.pm-pscore {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FAF7F2;
  font-weight: 600;
  text-align: right;
}
.pm-pdelta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #4ADE80;
  text-align: right;
}
.pm-footrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.pm-kpi {
  padding: 11px 14px;
  background: rgba(245, 244, 241, 0.04);
  border: 1px solid rgba(245, 244, 241, 0.06);
  border-radius: 9px;
}
.pm-kpi .lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.42);
  margin-bottom: 6px;
}
.pm-kpi .num {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: #FAF7F2;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pm-kpi .num .unit { font-size: 13px; color: rgba(245, 244, 241, 0.52); font-weight: 500; margin-left: 1px; }
.pm-kpi .delta {
  font-family: var(--font-mono);
  font-size: 10px;
  margin-top: 6px;
  color: rgba(245, 244, 241, 0.52);
}
.pm-kpi .delta.up { color: #4ADE80; }
.pm-kpi .delta.down { color: #4ADE80; }

.platform-preview-pill {
  position: absolute;
  bottom: -16px; right: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: #FAF7F2;
  color: #14161B;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.5);
}
.platform-preview-pill .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  animation: platformBlink 2s ease-in-out infinite;
}
@keyframes platformBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

@media (max-width: 960px) {
  .platform-grid { grid-template-columns: 1fr; gap: 40px; }
  .platform-list { grid-template-columns: 1fr; }
  .pm-body { grid-template-columns: 1fr; }
  .pm-side { display: none; }
  .pm-pillar-row { grid-template-columns: 1fr 60px 30px; }
  .pm-pillar-row .pm-pdelta { display: none; }
  .pm-footrow { grid-template-columns: 1fr; }
}

/* ========== Pricing — 4-card override ========== */
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  gap: 18px;
}
.pricing-grid-4 .pricing-tier {
  padding: 32px 24px 26px;
}
.pricing-grid-4 .pricing-tier-price {
  font-size: 36px;
}
.pricing-grid-4 .pricing-tier-tag {
  font-size: 13.5px;
  min-height: 38px;
}
.pricing-grid-4 .pricing-list li {
  font-size: 13.5px;
  padding: 8px 0;
}
.pricing-billing {
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
  margin: 0 0 12px;
  font-weight: 500;
}
.pricing-discount {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-500);
  font-style: italic;
  font-family: var(--font-em);
}

@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: 1fr 1fr; max-width: 720px; }
  .pricing-grid-4 .pricing-tier.featured { transform: none; }
}
@media (max-width: 640px) {
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 460px; gap: 28px; }
}

/* ========== Responsive overrides ========== */
@media (max-width: 960px) {
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .problem-side { position: static; }
  .pillars-grid { grid-template-columns: 1fr; }
  .hiw-step { grid-template-columns: 1fr; gap: 0; }
  .hiw-step-rail { flex-direction: row; padding-top: 0; margin-bottom: 12px; }
  .hiw-step-line { display: none !important; }
  .hiw-step-head { flex-direction: column; align-items: stretch; }
  .hiw-step-meta { text-align: left; align-self: flex-start; }
}

/* Hero CTA stack + microcopy */
.hero-cta-stack { display: flex; flex-direction: column; gap: 4px; }
.hero-secondary-link {
  font-size: 15px;
  color: var(--ink-700);
  font-weight: 500;
  text-decoration: none;
  padding: 8px 4px;
  transition: color 0.18s ease;
}
.hero-secondary-link:hover { color: var(--primary); }
.hero-microcopy-inline {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.5;
  margin-top: 8px;
  max-width: 520px;
}
