/* 10sigma — Warm editorial design system
   Palette preserved: warm alabaster paper (#f4f5f2), crisp white panels (#ffffff),
   soft sage-stone bands (#e9ebe6), deep charcoal ink (#14181d),
   deep pine (#17785c) for verified/cleared outcomes, warm ochre (#b8650f) for flags/attention.
   Typography: Newsreader (editorial serif) + Plus Jakarta Sans (warm humanist sans). */

:root {
  --paper: #f6f5f1;
  --panel: #ffffff;
  --sunk: #eeece6;
  --sunk-deep: #e3e0d8;
  --ink: #141619;
  --ink-2: #434b54;
  --ink-3: #646d75;
  --line: #dfddd6;
  --line-soft: #eceae3;

  --amber: #c2412d;
  --amber-soft: #fbf0ee;
  --pine: #1d4e89;
  --pine-soft: #edf2f8;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(20, 24, 29, 0.04), 0 18px 40px -28px rgba(20, 24, 29, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
  border-radius: 6px;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 5.2vw, 4.35rem); letter-spacing: -0.03em; line-height: 1.04; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--pine); }
.band.ink h1 em, .band.ink h2 em { color: #9dc0eb; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.85rem); line-height: 1.1; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.band {
  padding-block: clamp(56px, 7vw, 92px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 72px;
}
.band.compact { padding-block: clamp(44px, 5vw, 68px); }
.band.sunk { background: var(--sunk); }
.band.white { background: var(--panel); }
.band.ink {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}
.band.ink .lede,
.band.ink .muted { color: rgba(244, 245, 242, 0.74); }
.band.ink .eyebrow { color: rgba(244, 245, 242, 0.62); }

.eyebrow {
  font: 600 11.5px/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.65;
}

.lede {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.note { font-size: 0.85rem; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

.head {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-bottom: 36px;
}
.head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.head.center .eyebrow::before { display: none; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 245, 242, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.logo {
  font: 600 1.25rem/1 var(--serif);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.logo i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font: 500 14px/1 var(--serif);
  font-style: italic;
  letter-spacing: -0.02em;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 0.93rem;
  font-weight: 500;
}
.nav ul a {
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav ul a:hover,
.nav ul a[aria-current="page"] { color: var(--ink); }
.nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--pine);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 10px 4px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu li:last-child a { border-bottom: 0; }
.mobile-menu a[aria-current="page"] { color: var(--pine); font-weight: 600; }

@media (max-width: 880px) {
  .nav ul { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-grid; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font: 500 0.94rem/1 var(--sans);
  border: 1px solid var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: #262c34; border-color: #262c34; transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { background: var(--panel); border-color: var(--ink); }
.nav .btn { padding: 9px 18px; font-size: 0.89rem; }
.band.ink .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band.ink .btn:hover { background: #ffffff; border-color: #ffffff; }
.band.ink .btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 245, 242, 0.3);
}

/* ---- Hero ---- */
.hero {
  padding-block: clamp(32px, 4.5vw, 60px) clamp(44px, 5.5vw, 72px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-stage {
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--sunk);
  border: 1px solid var(--line);
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.hero-tabs button {
  font: 500 0.84rem/1 var(--sans);
  padding: 8px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-tabs button:hover { color: var(--ink); }
.hero-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
.hero .copy {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.hero .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-3);
}
.hero-meta span {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.hero-meta span::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--pine);
}
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---- Editorial Brief Card (replaces technical terminal console) ---- */
.brief {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-width: 0;
}
.brief-head {
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.brief-title {
  display: grid;
  gap: 3px;
}
.brief-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.brief-head strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.brief-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 5px 11px;
  border-radius: 999px;
}

.brief-steps {
  list-style: none;
  margin: 0;
  padding: 6px 24px;
}
.brief-steps li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 14px;
  padding: 15px 0;
  align-items: start;
}
.brief-steps li + li {
  border-top: 1px solid var(--line-soft);
}
.brief-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 7px;
  background: var(--line);
}
.brief-dot.amber { background: var(--amber); }
.brief-dot.pine { background: var(--pine); }
.brief-dot.ink { background: var(--ink); }
.brief-step-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.brief-step-label.amber { color: var(--amber); }
.brief-step-label.pine { color: var(--pine); }
.brief-steps p {
  font-size: 0.94rem;
  line-height: 1.48;
  color: var(--ink);
}
.brief-steps .sub {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 2px;
}
.brief-foot {
  padding: 14px 24px;
  background: var(--sunk);
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.brief-foot b { color: var(--ink); font-weight: 600; }

/* ---- Engagement Brief Table (Hero card for vertical pages) ---- */
.engagement {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-width: 0;
}
.engagement-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.engagement-head strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
}
.engagement-head span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-3);
}
.engagement dl {
  margin: 0;
  display: grid;
}
.engagement .erow {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 15px 24px;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}
.engagement .erow:first-child { border-top: 0; }
.engagement dt {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.engagement dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}
.engagement dd b { font-weight: 600; color: var(--pine); }
@media (max-width: 480px) {
  .engagement .erow { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- Trust Chain (Principal model) ---- */
.chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.chain .node {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.chain .node.principal {
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-card);
}
.chain .node.factory {
  background: var(--pine-soft);
  border-color: rgba(29, 78, 137, 0.28);
}
.chain .who {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.chain .node.factory .who { color: var(--pine); }
.chain h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.chain p {
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.chain .link {
  display: grid;
  place-items: center;
  padding: 0 14px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
  min-width: 88px;
}
.chain .link span::after {
  content: "→";
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-top: 2px;
}
@media (max-width: 880px) {
  .chain { grid-template-columns: 1fr; }
  .chain .link { padding: 10px 0; }
  .chain .link span::after { content: "↓"; }
}

/* ---- Grids & Cards ---- */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
}

/* Editorial Pillars (3-up) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}
.pillar .num-badge {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--pine);
}
.pillar.amber .num-badge { color: var(--amber); }
.pillar h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.18;
}
.pillar p {
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.pillar .example {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.87rem;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Plain editorial list grid */
.plain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 36px;
}
.plain-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  align-content: start;
}
.plain-item h3 { font-size: 1.08rem; }
.plain-item p { font-size: 0.94rem; color: var(--ink-2); line-height: 1.58; }
@media (max-width: 860px) { .plain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plain-grid { grid-template-columns: 1fr; } }

/* ---- Tabs & Worked Examples ---- */
.tabs {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: 999px;
  background: var(--sunk);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.tabs button {
  font: 500 0.9rem/1 var(--sans);
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 540px) {
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 14px; gap: 4px; }
  .tabs button { border-radius: 10px; padding: 10px 8px; font-size: 0.84rem; text-align: center; white-space: nowrap; }
}

.steps4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.steps4 > div {
  padding: 24px 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.steps4 > div + div { border-left: 1px solid var(--line-soft); }
.steps4 .w {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.steps4 .amber .w { color: var(--amber); }
.steps4 .pine .w { color: var(--pine); }
.steps4 .ink .w { color: var(--ink); }
.steps4 p { font-size: 0.95rem; color: var(--ink); line-height: 1.55; }
@media (max-width: 880px) {
  .steps4 { grid-template-columns: 1fr 1fr; }
  .steps4 > div:nth-child(3) { border-left: 0; }
  .steps4 > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 520px) {
  .steps4 { grid-template-columns: 1fr; }
  .steps4 > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
}

.loop-strip {
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--pine-soft);
  color: var(--pine);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.loop-strip strong { font-weight: 600; color: var(--ink); }

/* Verification checks list (human, non-technical) */
.checks-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.checks-list li {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px 22px;
  font-size: 0.94rem;
}
.checks-list li + li { border-top: 1px solid var(--line-soft); }
.check-kind {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.check-status {
  font-size: 0.84rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.check-status.ok { color: var(--pine); }
.check-status.caught {
  color: var(--amber);
  background: var(--amber-soft);
  padding: 4px 11px;
  border-radius: 999px;
}
@media (max-width: 700px) {
  .checks-list li { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .check-status { text-align: left; justify-self: start; white-space: normal; }
}

/* Three layers strip */
.layers-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.layer-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.layer-item b {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.layer-item p {
  font-size: 0.89rem;
  color: var(--ink-2);
  line-height: 1.5;
}
@media (max-width: 780px) { .layers-strip { grid-template-columns: 1fr; } }

/* ---- Omnichannel Journey Showcase (Marketing page — inspired by diagram, human design) ---- */
.journey-wrap {
  display: grid;
  gap: 20px;
}
.journey-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.j-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  position: relative;
}
@media (min-width: 1021px) {
  .j-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -13px;
    top: 22px;
    font-size: 0.85rem;
    color: var(--ink-3);
    z-index: 2;
    background: var(--panel);
    line-height: 1;
    padding: 2px 0;
  }
}
.j-card.highlight {
  border-color: var(--pine);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.j-card.human {
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
}
.j-step {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--pine);
}
.j-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.18;
}
.j-card p {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.j-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.j-chips span {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sunk);
  color: var(--ink);
}
.j-card.highlight .j-chips span {
  background: var(--pine-soft);
  color: var(--pine);
}
.j-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.j-outcomes span {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.j-outcomes span.goal {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.journey-loop-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--pine);
  border-radius: 12px;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.journey-loop-note strong { color: var(--ink); font-weight: 600; }
.journey-loop-badge {
  flex: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 1020px) {
  .journey-rail { grid-template-columns: repeat(2, 1fr); }
  .j-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .journey-rail { grid-template-columns: 1fr; }
  .j-card:last-child { grid-column: auto; }
}

/* ---- Verifier Before/After Cases (Vertical pages) ---- */
.cases {
  display: grid;
  gap: 12px;
}
.case-row {
  display: grid;
  grid-template-columns: 210px 1fr 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-row > div {
  padding: 16px 20px;
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
}
.case-meta {
  background: var(--sunk);
}
.case-meta .kind {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.case-meta strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}
.case-meta span {
  font-size: 0.86rem;
  color: var(--ink-2);
}
.case-caught {
  border-left: 1px solid var(--line-soft);
}
.case-fixed {
  border-left: 1px solid var(--line-soft);
}
.case-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.case-caught .case-lbl { color: var(--amber); }
.case-fixed .case-lbl { color: var(--pine); }
.case-caught p, .case-fixed p {
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .case-row { grid-template-columns: 1fr; }
  .case-caught, .case-fixed { border-left: 0; border-top: 1px solid var(--line-soft); }
}

/* ---- Message Preview (Human check-in) ---- */
.checkin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-top: 22px;
}
.message-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 16px 20px;
  max-width: 540px;
  box-shadow: 0 6px 20px -16px rgba(20, 24, 29, 0.28);
  display: grid;
  gap: 12px;
}
.message-card p {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}
.message-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.message-actions span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.message-actions span:first-child {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---- Two-Mode / Dual Cards (Brands vs Agencies, Independent vs Rollup) ---- */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.dual-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.dual-card.featured {
  border-color: var(--pine);
  box-shadow: var(--shadow-card);
}
.dual-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.16;
}
.dual-card p {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.6;
}
.dual-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink);
}
.dual-list li {
  padding-left: 20px;
  position: relative;
}
.dual-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pine);
  font-weight: 700;
}
@media (max-width: 760px) { .dual { grid-template-columns: 1fr; } }

/* ---- Compounding Timeline Tiles ---- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tile {
  padding-top: 20px;
  border-top: 2px solid var(--line);
  display: grid;
  gap: 8px;
  align-content: start;
}
.tile.accent { border-top-color: var(--pine); }
.tile .when {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-3);
}
.tile .stat {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.tile.accent .stat { color: var(--pine); }
.tile p {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.tile .learned {
  margin-top: 6px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 7px 11px;
  border-radius: 8px;
  font-weight: 500;
}
@media (max-width: 820px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* ---- Solutions Directory Cards ---- */
.sol {
  text-decoration: none;
  display: grid;
  gap: 12px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  align-content: start;
}
.sol:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.sol .who {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pine);
}
.sol h3 {
  font-family: var(--serif);
  font-size: 1.48rem;
  font-weight: 500;
}
.sol p {
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.55;
}
.sol .mode {
  font-size: 0.82rem;
  color: var(--ink-3);
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.sol .go {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-top: 2px;
}

/* ---- Credibility / Craft Strip ---- */
.craft-quote {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---- CTA Band with Inline Pilot Form ---- */
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.cta-copy {
  display: grid;
  gap: 18px;
}
.always-yours {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.inline-list span {
  font-size: 0.84rem;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(244, 245, 242, 0.24);
  color: rgba(244, 245, 242, 0.84);
}

.pilot-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 245, 242, 0.16);
  border-radius: 16px;
  padding: 26px;
  display: grid;
  gap: 14px;
}
.pilot-form label {
  display: grid;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(244, 245, 242, 0.78);
}
.pilot-form input,
.pilot-form select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(244, 245, 242, 0.22);
  background: rgba(20, 24, 29, 0.65);
  color: var(--paper);
  font: 400 0.95rem/1.4 var(--sans);
}
.pilot-form input::placeholder { color: rgba(244, 245, 242, 0.42); }
.pilot-form .form-note {
  font-size: 0.8rem;
  color: rgba(244, 245, 242, 0.56);
}
.pilot-thanks {
  background: rgba(29, 78, 137, 0.18);
  border: 1px solid rgba(157, 192, 235, 0.35);
  border-radius: 14px;
  padding: 22px;
  display: grid;
  gap: 8px;
}
.pilot-thanks strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffffff;
}
.pilot-thanks p {
  font-size: 0.92rem;
  color: rgba(244, 245, 242, 0.82);
}
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Footer ---- */
footer.site {
  padding-block: 40px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-3);
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer.site a {
  color: var(--ink-2);
  text-decoration: none;
}
footer.site a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---- Customer Experience Redesign: 5-10x Shift, iMessage Threads & Animated GIF Stages ---- */
.gif-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  line-height: 0;
}
.gif-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.gif-frame.hero-gif {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.gif-caption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink-3);
}
.gif-caption b { color: var(--ink); font-weight: 600; }

/* 5-10x Capacity Comparison Table / Cards */
.shift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shift-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: grid;
  gap: 14px;
  align-content: start;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.shift-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.shift-role {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pine);
}
.shift-nums {
  display: grid;
  gap: 8px;
}
.shift-before {
  font-size: 0.86rem;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.shift-before s {
  text-decoration-color: var(--line);
  color: var(--ink-3);
}
.shift-after {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.shift-after span {
  display: block;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--pine);
  margin-top: 4px;
  letter-spacing: 0;
}
.shift-note {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 860px) { .shift-grid { grid-template-columns: 1fr; } }

/* Before / After Side-by-Side (Vertical pages) */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ba-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.ba-card.today {
  background: var(--paper);
}
.ba-card.after {
  border-color: var(--pine);
  box-shadow: var(--shadow-card);
}
.ba-big {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.ba-card.today .ba-big { color: var(--ink-3); }
.ba-card.after .ba-big { color: var(--pine); }
.ba-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 9px;
  font-size: 0.94rem;
  color: var(--ink-2);
}
.ba-list li { padding-left: 20px; position: relative; }
.ba-card.today .ba-list li::before { content: "–"; position: absolute; left: 2px; color: var(--ink-3); }
.ba-card.after .ba-list li { color: var(--ink); }
.ba-card.after .ba-list li::before { content: "✓"; position: absolute; left: 0; color: var(--pine); font-weight: 700; }
@media (max-width: 720px) { .ba-grid { grid-template-columns: 1fr; } }

/* Tactile iMessage Thread Component (Vertical heroes & stories) */
.imsg {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-width: 0;
}
.imsg-head {
  padding: 14px 20px;
  background: rgba(244, 245, 242, 0.85);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.imsg-who {
  display: flex;
  align-items: center;
  gap: 11px;
}
.imsg-av {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font: 500 15px/1 var(--serif);
  font-style: italic;
  flex: none;
}
.imsg-who strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.imsg-who span { display: block; font-size: 0.78rem; color: var(--ink-3); }
.imsg-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.imsg-body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 12px;
}
.imsg-time {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.imsg-time.proactive {
  color: var(--pine);
  background: var(--pine-soft);
  justify-self: center;
  padding: 3px 11px;
  border-radius: 999px;
  margin-top: 4px;
}
.bubble {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 0.91rem;
  line-height: 1.48;
  display: grid;
  gap: 8px;
}
.bubble.out {
  justify-self: end;
  background: #0c7afa;
  color: #ffffff;
  border-bottom-right-radius: 5px;
}
.bubble.in {
  justify-self: start;
  background: var(--sunk);
  color: var(--ink);
  border-bottom-left-radius: 5px;
}
.bubble-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bubble-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--pine);
}
.bubble-tags span.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.imsg-foot {
  padding: 11px 20px;
  border-top: 1px solid var(--line-soft);
  background: rgba(244, 245, 242, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--ink-3);
}
.imsg-foot b { color: var(--ink); font-weight: 600; }

/* Subtle bridge banner to How It Works */
.tech-bridge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.tech-bridge h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.tech-bridge p {
  font-size: 0.94rem;
  color: var(--ink-2);
}


/* ---- Direct Phone CTA (+1 408 385 6286) ---- */
.phone-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 2px;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(244, 245, 242, 0.28);
  color: #ffffff;
  text-decoration: none;
  font: 600 0.96rem/1 var(--sans);
  letter-spacing: -0.005em;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.phone-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(244, 245, 242, 0.5);
  transform: translateY(-1px);
}
.phone-pill svg { flex: none; color: #9dc0eb; }
.phone-sms {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(244, 245, 242, 0.78);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.phone-sms:hover { color: #ffffff; }
.form-note a { color: rgba(244, 245, 242, 0.86); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: #ffffff; }

/* ---- Interactive Apple Timeline Spotlight Player ---- */
.story-player {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.sp-bar {
  background: #f7f8f6;
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sp-rail {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  min-width: 0;
}
.sp-track {
  position: absolute;
  top: 10px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  pointer-events: none;
}
.sp-track-fill {
  height: 100%;
  width: 0%;
  background: var(--pine);
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-step {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  padding: 0 4px;
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink-3);
  font-family: var(--sans);
  transition: color 0.18s ease;
}
.sp-step:hover { color: var(--ink); }
.sp-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sp-step.is-done .sp-dot {
  background: var(--pine);
  border-color: var(--pine);
}
.sp-step.is-active .sp-dot {
  background: var(--pine);
  border-color: var(--pine);
  box-shadow: 0 0 0 6px rgba(29, 78, 137, 0.16);
}
.sp-step-lbl {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}
.sp-step-lbl b { display: block; font-weight: 600; }
.sp-step-lbl span { display: block; font-size: 0.72rem; opacity: 0.85; }
.sp-step.is-done { color: var(--pine); }
.sp-step.is-active { color: var(--ink); }

.sp-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.sp-ctrl {
  height: 32px;
  min-width: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-2);
  font: 600 0.78rem/1 var(--sans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.sp-ctrl:hover { border-color: var(--ink); color: var(--ink); }
.sp-ctrl.play-btn { padding: 0 12px; }

.sp-stage {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(24px, 3.5vw, 44px);
  padding: clamp(24px, 3.2vw, 40px);
  align-items: center;
  min-height: 406px;
}
.sp-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  min-width: 0;
}
.sp-badge {
  justify-self: start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.sp-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.sp-sub {
  font-size: 1rem;
  line-height: 1.56;
  color: var(--ink-2);
  margin: 0;
}
.sp-cue {
  justify-self: start;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 6px 13px;
  border-radius: 999px;
}
.sp-timer {
  height: 3px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  max-width: 180px;
}
.sp-timer-bar {
  height: 100%;
  width: 0%;
  background: var(--pine);
  border-radius: 2px;
}

.sp-visual {
  min-width: 0;
  animation: spFadeIn 0.28s ease;
}
@keyframes spFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Visual Artifact Mockup Primitives inside .sp-visual */
.sp-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  gap: 14px;
}
.sp-card.lifted {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: 0 14px 36px -24px rgba(20, 24, 29, 0.25);
}
.sp-card.done {
  background: #f8fafc;
  border-color: #c8d7ea;
  box-shadow: 0 14px 36px -24px rgba(20, 22, 25, 0.14);
}
.sp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.sp-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
}
.sp-kicker.muted { color: var(--ink-3); }
.sp-chip {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--ink-2);
  white-space: nowrap;
}
.sp-chip.pine { background: var(--pine-soft); border-color: transparent; color: var(--pine); }
.sp-chip.pine-solid { background: var(--pine); border-color: var(--pine); color: #ffffff; }
.sp-chip.amber { background: var(--amber-soft); border-color: transparent; color: var(--amber); }

/* Goal iMessage Artifact */
.sp-client-strip {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  display: grid;
  gap: 3px;
}
.sp-client-strip small {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sp-client-strip p { font-size: 0.88rem; font-weight: 500; color: var(--ink); margin: 0; }
.sp-blue-msg {
  justify-self: end;
  max-width: 88%;
  background: #007aff;
  color: #ffffff;
  border-radius: 18px 18px 5px 18px;
  padding: 11px 15px;
  display: grid;
  gap: 3px;
}
.sp-blue-msg small {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.8;
}
.sp-blue-msg p { font-size: 0.9rem; font-weight: 500; line-height: 1.4; margin: 0; }
.sp-guardrails {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* 3-Video Meta Ad Grid */
.sp-ads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sp-ad {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 8px;
}
.sp-ad.win { background: #f8fafc; border: 1.6px solid var(--pine); }
.sp-thumb {
  height: 68px;
  border-radius: 9px;
  background: #eff1ee;
  display: grid;
  place-items: center;
}
.sp-ad.win .sp-thumb { background: var(--pine-soft); }
.sp-play-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink-3);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}
.sp-ad.win .sp-play-ic { background: var(--pine); color: #ffffff; }
.sp-ad strong { font-size: 0.84rem; color: var(--ink); }

/* Rows / Lists inside Artifacts */
.sp-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sp-row.pine { background: #f8fafc; border-color: #c8d7ea; }
.sp-row.amber { background: #fdf6f5; border-color: rgba(194, 65, 45, 0.28); }
.sp-row-text { display: grid; gap: 2px; min-width: 0; }
.sp-row-text strong { font-size: 0.9rem; color: var(--ink); font-weight: 600; }
.sp-row-text span { font-size: 0.8rem; color: var(--ink-2); }

/* 2-col split inside Artifact */
.sp-split2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sp-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.sp-sms-bub {
  background: #f1f2ef;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--ink);
}
.sp-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--pine);
}
.sp-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 76px;
  padding-top: 6px;
}
.sp-bars i {
  flex: 1;
  border-radius: 5px;
  background: var(--pine-soft);
  display: block;
}
.sp-bars i.hi { background: var(--pine); }

/* Interactive Approve / Edit Action Row */
.sp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sp-btn {
  padding: 8px 15px;
  border-radius: 999px;
  font: 600 0.83rem/1 var(--sans);
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.sp-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.sp-btn.primary { background: var(--pine); border-color: var(--pine); color: #ffffff; }
.sp-btn.primary:hover { background: #163d6b; border-color: #163d6b; }
.sp-btn.approved { background: var(--pine-soft); border-color: #c8d7ea; color: var(--pine); }
.sp-btn.muted { background: var(--paper); border-color: var(--line-soft); color: var(--ink-3); }
.sp-action-msg {
  font-size: 0.81rem;
  font-weight: 500;
  color: var(--pine);
  margin: 0;
}

.sp-big-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.sp-big-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pine);
  margin: -6px 0 0;
}
.sp-ch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sp-ch-pill {
  background: var(--panel);
  border: 1px solid rgba(29, 78, 137, 0.18);
  border-radius: 10px;
  padding: 7px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.sp-progress-bar {
  height: 8px;
  background: var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}
.sp-progress-bar i {
  display: block;
  height: 100%;
  background: var(--pine);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .sp-bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 16px 14px; }
  .sp-controls { justify-content: flex-end; }
  .sp-stage { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px 24px; min-height: 0; }
}
@media (max-width: 560px) {
  .sp-step-lbl span { display: none; }
  .sp-step-lbl b { font-size: 0.72rem; }
  .sp-ads { grid-template-columns: 1fr; }
  .sp-split2 { grid-template-columns: 1fr; }
  .sp-ch-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}
