/**
 * services.css - shared design system for the Services overview and the three
 * offering pages (AI Primer, AI Assembly, AI Day Two).
 *
 * Brand-locked: navy ground for hero/CTA, System Green (#05A34A) as the "live /
 * working / compounding" accent, Signal Purple (#6571FF) secondary, Inter type.
 * Light content sections to match the rest of the site. No em dashes in copy.
 * GPU-friendly animation (transform/opacity); honours prefers-reduced-motion.
 */

:root {
  --svc-navy: #0f172a;
  --svc-navy-2: #1e293b;
  --svc-green: #05A34A;
  --svc-green-rgb: 5, 163, 74;
  --svc-purple: #6571ff;
  --svc-purple-rgb: 101, 113, 255;
  --svc-violet: #7c3aed;
  --svc-violet-rgb: 124, 58, 237;
  --svc-teal: #14b8a6;
  --svc-amber: #f59e0b;
  --svc-red: #ef4444;
  --svc-ink: #111827;
  --svc-body: #475569;
  --svc-muted: #94a3b8;
  --svc-line: #e5e7eb;
  --svc-bg: #f8fafc;
  --svc-card: #ffffff;
  --svc-radius: 14px;
  --svc-radius-lg: 18px;
  --svc-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --svc-shadow-md: 0 8px 30px rgba(15,23,42,0.08);
  --svc-shadow-lg: 0 20px 50px rgba(15,23,42,0.12);
  --svc-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --svc-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ===================== SCROLL REVEAL ===================== */
.svc-reveal {
  opacity: 0; -webkit-transform: translateY(28px); transform: translateY(28px);
  -webkit-transition: opacity 0.7s var(--svc-ease), -webkit-transform 0.7s var(--svc-ease);
  transition: opacity 0.7s var(--svc-ease), transform 0.7s var(--svc-ease);
  will-change: opacity, transform;
}
.svc-reveal.revealed { opacity: 1; -webkit-transform: none; transform: none; }

/* ===================== HERO ===================== */
.svc-hero {
  position: relative; overflow: hidden;
  background: #212A3A;
  background: -webkit-linear-gradient(135deg, #212A3A 0%, #1a2230 100%);
  background: linear-gradient(135deg, #212A3A 0%, #1a2230 100%);
  padding: 140px 0 100px; color: #fff;
}
/* Match the site-wide .hero-gradient overlay: a soft green + purple radial,
   no grid texture, so the header reads the same as every other page. */
.svc-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 50%, rgba(5,163,74,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(101,113,255,0.06) 0%, transparent 50%);
}
.svc-hero .container { position: relative; z-index: 2; }
.svc-hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.svc-hero-particles span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(var(--svc-purple-rgb), 0.5);
  -webkit-animation: svcFloat 9s ease-in-out infinite; animation: svcFloat 9s ease-in-out infinite;
}
@-webkit-keyframes svcFloat { 0%,100% { -webkit-transform: translateY(0); opacity: .35; } 50% { -webkit-transform: translateY(-26px); opacity: .6; } }
@keyframes svcFloat { 0%,100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-26px); opacity: .6; } }

.svc-kicker {
  display: inline-block; font-family: var(--svc-mono);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--svc-green); margin-bottom: 1.1rem;
}
.svc-kicker.on-dark { color: #34d399; }
.svc-hero h1 {
  font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 1.3rem;
}
.svc-hero .gradient-text {
  background: -webkit-linear-gradient(135deg, #fff 0%, #c4c9ff 45%, #fff 70%, #c4c9ff 100%);
  background: linear-gradient(135deg, #fff 0%, #c4c9ff 45%, #fff 70%, #c4c9ff 100%);
  -webkit-background-size: 200% auto; background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  -webkit-animation: svcShimmer 5s ease-in-out infinite; animation: svcShimmer 5s ease-in-out infinite;
}
@-webkit-keyframes svcShimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes svcShimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.svc-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; color: #c7d2e0;
  max-width: 760px; margin: 0 0 2rem;
}
.svc-hero-actions { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 14px; }
.svc-btn {
  display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: center; align-items: center; gap: 8px;
  padding: 0.95rem 1.9rem; font-weight: 600; font-size: 1rem; text-decoration: none;
  border-radius: 12px; -webkit-transition: all 0.25s var(--svc-ease); transition: all 0.25s var(--svc-ease);
}
.svc-btn-primary {
  color: #fff;
  background: -webkit-linear-gradient(135deg, var(--svc-green), #06b357);
  background: linear-gradient(135deg, var(--svc-green), #06b357);
  box-shadow: 0 10px 26px -8px rgba(var(--svc-green-rgb), 0.55);
}
.svc-btn-primary:hover { color: #fff; -webkit-transform: translateY(-2px); transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(var(--svc-green-rgb), 0.6); }
.svc-btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,0.25); background: transparent; }
.svc-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.55); -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.svc-btn svg { width: 18px; height: 18px; }

/* hero meta chips (duration / format / outcome) */
.svc-meta {
  display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 12px; margin-top: 2.4rem;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.6rem;
}
.svc-meta-item { -webkit-flex: 1; flex: 1; min-width: 150px; }
.svc-meta-item .m-label { font-family: var(--svc-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #64748b; display: block; margin-bottom: 0.35rem; }
.svc-meta-item .m-value { font-size: 1.05rem; font-weight: 700; color: #fff; }

/* breadcrumb (sub-pages) */
.svc-breadcrumb { font-family: var(--svc-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: #64748b; margin-bottom: 1.4rem; }
.svc-breadcrumb a { color: #94a3b8; text-decoration: none; -webkit-transition: color .2s; transition: color .2s; }
.svc-breadcrumb a:hover { color: #fff; }
.svc-breadcrumb .sep { margin: 0 8px; color: #475569; }
.svc-breadcrumb .cur { color: #34d399; }

/* ===================== SECTIONS ===================== */
/* Explicit white so the alternation against .alt (#f8fafc) is visible. The
   site body is #f9fafb, which is nearly identical to .alt - leaving plain
   sections transparent made the whole page read as one solid colour. */
.svc-section { padding: 5.5rem 0; background: #ffffff; }
.svc-section.alt { background: var(--svc-bg); }
.svc-section.tight { padding: 3.5rem 0; }
.svc-narrow { max-width: 920px; margin: 0 auto; }
.svc-section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.svc-section-head.left { text-align: left; margin-left: 0; }
.svc-label { display: block; font-family: var(--svc-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--svc-green); margin-bottom: 0.9rem; }
.svc-h2 { font-weight: 800; letter-spacing: -0.015em; line-height: 1.18; color: var(--svc-ink); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 1.1rem; }
.svc-lead { font-size: 1.12rem; line-height: 1.75; color: var(--svc-body); margin: 0; }
.svc-h3 { font-weight: 700; color: var(--svc-ink); font-size: 1.3rem; margin: 0 0 0.6rem; }
.svc-p { font-size: 1.05rem; line-height: 1.8; color: var(--svc-body); }

/* ===================== STAT CARDS ===================== */
.svc-stats { display: -ms-grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-stats.two { grid-template-columns: repeat(2, 1fr); }
.svc-stats.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .svc-stats, .svc-stats.two, .svc-stats.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc-stats, .svc-stats.two, .svc-stats.four { grid-template-columns: 1fr; } }
.svc-stat {
  background: var(--svc-card); border: 1px solid var(--svc-line); border-radius: var(--svc-radius-lg);
  padding: 1.7rem 1.5rem; box-shadow: var(--svc-shadow-sm);
  -webkit-transition: all .3s var(--svc-ease); transition: all .3s var(--svc-ease);
}
.svc-stat:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); box-shadow: var(--svc-shadow-md); }
.svc-stat .s-num { font-family: var(--svc-mono); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1; color: var(--svc-purple); margin-bottom: 0.5rem; }
.svc-stat.green .s-num { color: var(--svc-green); }
.svc-stat .s-label { font-size: 0.92rem; color: var(--svc-body); line-height: 1.5; }
/* stats on dark */
.svc-stats.on-dark .svc-stat { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.svc-stats.on-dark .s-num { background: -webkit-linear-gradient(135deg,#fff,#c4c9ff); background: linear-gradient(135deg,#fff,#c4c9ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.svc-stats.on-dark .s-label { color: #94a3b8; }

/* ===================== CARD GRID ===================== */
.svc-grid { display: -ms-grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-grid.two { grid-template-columns: repeat(2, 1fr); }
.svc-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .svc-grid, .svc-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid, .svc-grid.two, .svc-grid.four { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--svc-card); border: 1px solid var(--svc-line); border-top: 3px solid var(--svc-purple);
  border-radius: var(--svc-radius); padding: 1.6rem 1.6rem;
  -webkit-transition: all .3s var(--svc-ease); transition: all .3s var(--svc-ease);
}
.svc-card:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); box-shadow: var(--svc-shadow-md); }
.svc-card.green { border-top-color: var(--svc-green); }
.svc-card.teal { border-top-color: var(--svc-teal); }
.svc-card.amber { border-top-color: var(--svc-amber); }
.svc-card.violet { border-top-color: var(--svc-violet); }
.svc-card.plain { border-top: 1px solid var(--svc-line); }
.svc-card-ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  background: rgba(var(--svc-purple-rgb),0.1); color: var(--svc-purple);
}
.svc-card.green .svc-card-ic { background: rgba(var(--svc-green-rgb),0.12); color: var(--svc-green); }
.svc-card.teal .svc-card-ic { background: rgba(20,184,166,0.12); color: #0d9488; }
.svc-card.amber .svc-card-ic { background: rgba(245,158,11,0.13); color: #b45309; }
.svc-card.violet .svc-card-ic { background: rgba(var(--svc-violet-rgb),0.12); color: var(--svc-violet); }
.svc-card-ic svg { width: 23px; height: 23px; }
.svc-card-num { font-family: var(--svc-mono); font-size: 0.78rem; font-weight: 700; color: var(--svc-purple); margin-bottom: 0.5rem; }
.svc-card h4 { font-size: 1.08rem; font-weight: 700; color: var(--svc-ink); margin: 0 0 0.5rem; line-height: 1.3; }
.svc-card p { font-size: 0.93rem; line-height: 1.6; color: var(--svc-body); margin: 0; }
.svc-card ul { list-style: none; margin: 0.7rem 0 0; padding: 0; }
.svc-card ul li { position: relative; padding-left: 1.4rem; font-size: 0.9rem; line-height: 1.5; color: var(--svc-body); margin-bottom: 0.5rem; }
.svc-card ul li:last-child { margin-bottom: 0; }
.svc-card ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--svc-green); }

/* chip row */
.svc-chips { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 10px; }
.svc-chip { font-size: 0.85rem; font-weight: 500; color: var(--svc-body); background: var(--svc-card); border: 1px solid var(--svc-line); border-radius: 999px; padding: 0.5rem 1rem; }

/* two-up info (who it is for / when to run it) */
.svc-info { display: -ms-grid; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .svc-info { grid-template-columns: 1fr; } }
.svc-info-card { background: var(--svc-bg); border: 1px solid var(--svc-line); border-radius: var(--svc-radius); padding: 1.5rem 1.6rem; }
.svc-info-card .ic-label { font-family: var(--svc-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svc-muted); margin-bottom: 0.6rem; }
.svc-info-card p { font-size: 0.98rem; line-height: 1.65; color: var(--svc-body); margin: 0; }

/* ===================== NUMBERED STEPS / PHASES ===================== */
.svc-phases { display: -ms-grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
@media (max-width: 800px) { .svc-phases { grid-template-columns: 1fr; } }
.svc-phase {
  background: var(--svc-card); border: 1px solid var(--svc-line); border-radius: var(--svc-radius-lg);
  padding: 1.7rem 1.6rem; position: relative; overflow: hidden;
}
.svc-phase.feature {
  border: 1px solid rgba(var(--svc-purple-rgb),0.28); border-top: 3px solid var(--svc-purple);
  background: -webkit-linear-gradient(135deg, rgba(var(--svc-purple-rgb),0.06), rgba(var(--svc-violet-rgb),0.05));
  background: linear-gradient(135deg, rgba(var(--svc-purple-rgb),0.06), rgba(var(--svc-violet-rgb),0.05));
}
.svc-phase .p-tag { font-family: var(--svc-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svc-purple); margin-bottom: 0.5rem; }
.svc-phase .p-title { font-size: 1.15rem; font-weight: 700; color: var(--svc-ink); margin: 0 0 1rem; }
.svc-phase ul { list-style: none; margin: 0; padding: 0; }
.svc-phase ul li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; line-height: 1.5; color: var(--svc-body); margin-bottom: 0.6rem; }
.svc-phase ul li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--svc-green); }
.svc-phase.feature ul li::before { background: #34d399; }

/* progress rail above phases */
.svc-rail { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 8px; margin-bottom: 1.4rem; font-family: var(--svc-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svc-muted); }
.svc-rail .rail-line { -webkit-flex: 1; flex: 1; height: 2px; border-radius: 2px; background: -webkit-linear-gradient(left, var(--svc-purple), var(--svc-violet)); background: linear-gradient(90deg, var(--svc-purple), var(--svc-violet)); }

/* ===================== PREPARE / BUILD / RUN PIPELINE ===================== */
.svc-pipe { display: -webkit-flex; display: flex; -webkit-align-items: stretch; align-items: stretch; -webkit-justify-content: center; justify-content: center; gap: 0; }
.svc-pipe-node {
  -webkit-flex: 1; flex: 1; text-align: center; padding: 2rem 1.3rem; position: relative; overflow: hidden;
  background: var(--svc-card); border: 1px solid var(--svc-line);
  border-radius: var(--svc-radius-lg); text-decoration: none; display: block;
  box-shadow: var(--svc-shadow-sm);
  -webkit-transition: all .3s var(--svc-ease); transition: all .3s var(--svc-ease);
}
.svc-pipe-node:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: var(--svc-shadow-md); }
.svc-pipe-node::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c, var(--svc-purple)); }
.svc-pipe-ic { width: 52px; height: 52px; margin: 0 auto 0.9rem; border-radius: 14px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: var(--c, var(--svc-purple)); color: #fff; }
.svc-pipe-ic svg { width: 26px; height: 26px; }
.svc-pipe-phase { font-family: var(--svc-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c, var(--svc-purple)); margin-bottom: 0.4rem; }
.svc-pipe-node h4 { color: var(--svc-ink); font-size: 1.2rem; font-weight: 700; margin: 0 0 0.5rem; }
.svc-pipe-node p { color: var(--svc-body); font-size: 0.88rem; line-height: 1.55; margin: 0; }
.svc-pipe-node .pipe-more { display: inline-block; margin-top: 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--c, var(--svc-purple)); }
.svc-pipe-arrow {
  -webkit-flex: 0 0 56px; flex: 0 0 56px; position: relative; color: var(--svc-purple);
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
}
.svc-pipe-arrow svg { width: 24px; height: 24px; }
.svc-pipe-arrow .pipe-dot { position: absolute; top: 50%; left: 8px; margin-top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--svc-green); box-shadow: 0 0 8px rgba(var(--svc-green-rgb),0.9); -webkit-animation: svcPipeFlow 2s linear infinite; animation: svcPipeFlow 2s linear infinite; }
.svc-pipe-arrow:nth-of-type(4) .pipe-dot { -webkit-animation-delay: 1s; animation-delay: 1s; }
@-webkit-keyframes svcPipeFlow { 0% { left: 8px; opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes svcPipeFlow { 0% { left: 8px; opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
@media (max-width: 760px) {
  .svc-pipe { -webkit-flex-direction: column; flex-direction: column; }
  .svc-pipe-arrow { -webkit-flex-basis: 44px; flex-basis: 44px; -webkit-transform: rotate(90deg); transform: rotate(90deg); }
  .svc-pipe-arrow .pipe-dot { display: none; }
}

/* ===================== DARK CALLOUT (one principle) ===================== */
.svc-callout {
  display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; gap: 16px;
  background: -webkit-linear-gradient(135deg, rgba(var(--svc-green-rgb),0.07), rgba(var(--svc-purple-rgb),0.05));
  background: linear-gradient(135deg, rgba(var(--svc-green-rgb),0.07), rgba(var(--svc-purple-rgb),0.05));
  border: 1px solid rgba(var(--svc-green-rgb),0.18); border-left: 4px solid var(--svc-green);
  border-radius: var(--svc-radius-lg); padding: 1.7rem 1.9rem;
}
.svc-callout .co-ic { -webkit-flex: 0 0 auto; flex: 0 0 auto; color: var(--svc-green); }
.svc-callout .co-ic svg { width: 22px; height: 22px; }
.svc-callout p { color: var(--svc-ink); font-size: 1.05rem; line-height: 1.65; margin: 0; font-weight: 500; }
.svc-callout strong { color: var(--svc-ink); }

/* highlight band (green) */
.svc-highlight {
  background: -webkit-linear-gradient(135deg, rgba(var(--svc-green-rgb),0.07), rgba(var(--svc-purple-rgb),0.06));
  background: linear-gradient(135deg, rgba(var(--svc-green-rgb),0.07), rgba(var(--svc-purple-rgb),0.06));
  border: 1px solid rgba(var(--svc-green-rgb),0.18); border-radius: var(--svc-radius-lg); padding: 1.6rem 1.8rem;
}
.svc-highlight .h-label { font-family: var(--svc-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--svc-green); margin-bottom: 0.5rem; }
.svc-highlight p { color: var(--svc-ink); font-size: 1.05rem; line-height: 1.65; margin: 0; font-weight: 500; }

/* ===================== CHECKLIST (deliverables) ===================== */
.svc-checklist { list-style: none; margin: 0; padding: 0; }
.svc-checklist li { display: -webkit-flex; display: flex; gap: 14px; -webkit-align-items: flex-start; align-items: flex-start; background: var(--svc-card); border: 1px solid var(--svc-line); border-radius: var(--svc-radius); padding: 1.1rem 1.3rem; margin-bottom: 12px; }
.svc-checklist li .ck { -webkit-flex: 0 0 auto; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--svc-green-rgb),0.12); color: var(--svc-green); display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; }
.svc-checklist li .ck svg { width: 15px; height: 15px; }
.svc-checklist li h4 { font-size: 1rem; font-weight: 700; color: var(--svc-ink); margin: 0 0 0.2rem; }
.svc-checklist li p { font-size: 0.9rem; color: var(--svc-body); line-height: 1.5; margin: 0; }

/* ===================== HORIZONTAL LOOP (day two / flywheel steps) ===================== */
.svc-loop { display: -webkit-flex; display: flex; -webkit-align-items: stretch; align-items: stretch; -webkit-flex-wrap: nowrap; flex-wrap: nowrap; gap: 0; overflow-x: auto; padding-bottom: 4px; }
.svc-loop-step { -webkit-flex: 1; flex: 1; min-width: 120px; text-align: center; padding: 0 0.5rem; }
.svc-loop-step .ls-dot { width: 44px; height: 44px; margin: 0 auto 0.7rem; border-radius: 50%; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; font-family: var(--svc-mono); font-weight: 700; color: #fff; background: -webkit-linear-gradient(135deg, var(--svc-purple), var(--svc-violet)); background: linear-gradient(135deg, var(--svc-purple), var(--svc-violet)); }
.svc-loop-step.act .ls-dot { background: -webkit-linear-gradient(135deg, var(--svc-green), #06b357); background: linear-gradient(135deg, var(--svc-green), #06b357); }
.svc-loop-step h5 { font-size: 0.96rem; font-weight: 700; color: var(--svc-ink); margin: 0 0 0.25rem; }
.svc-loop-step p { font-size: 0.8rem; color: var(--svc-body); line-height: 1.45; margin: 0; }
.svc-loop-arrow { -webkit-flex: 0 0 22px; flex: 0 0 22px; -webkit-align-self: flex-start; align-self: flex-start; margin-top: 11px; color: var(--svc-muted); }
.svc-loop-arrow svg { width: 18px; height: 18px; }
.svc-loop-note { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 10px; margin-top: 1.5rem; font-size: 0.92rem; color: var(--svc-body); }
.svc-loop-note .ln-ic { color: var(--svc-purple); -webkit-flex: 0 0 auto; flex: 0 0 auto; }
@media (max-width: 640px) {
  .svc-loop { -webkit-flex-direction: column; flex-direction: column; overflow-x: visible; }
  .svc-loop-step { width: 100%; -webkit-flex: none; flex: none; padding: 0.2rem 0; min-width: 0; }
  .svc-loop-step p { max-width: 300px; margin: 0 auto; }
  .svc-loop-arrow { -webkit-transform: rotate(90deg); transform: rotate(90deg); -webkit-align-self: center; align-self: center; margin: 6px 0; }
}

/* ===================== CIRCULAR FLYWHEEL ===================== */
.svc-fly { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 28px 52px; }
.svc-fly-ring { -webkit-flex: 0 0 300px; flex: 0 0 300px; width: 300px; height: 300px; position: relative; }
.svc-fly-ring .fly-track { position: absolute; inset: 28px; border-radius: 50%; border: 2px dashed rgba(var(--svc-purple-rgb), 0.3); }
.svc-fly-ring .fly-spin {
  position: absolute; inset: 28px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(var(--svc-green-rgb),0) 0deg, rgba(var(--svc-green-rgb),0) 250deg, rgba(var(--svc-green-rgb),0.65) 320deg, rgba(var(--svc-green-rgb),0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  -webkit-animation: svcSpin 7s linear infinite; animation: svcSpin 7s linear infinite;
}
@-webkit-keyframes svcSpin { to { -webkit-transform: rotate(360deg); } }
@keyframes svcSpin { to { transform: rotate(360deg); } }
.svc-fly-hub {
  position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
  width: 108px; height: 108px; border-radius: 50%; text-align: center;
  display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  background: -webkit-linear-gradient(135deg,#0f172a,#1e293b); background: linear-gradient(135deg,#0f172a,#1e293b);
  box-shadow: 0 8px 24px rgba(15,23,42,0.18);
}
.svc-fly-hub .hub-ic { color: #34d399; margin-bottom: 4px; }
.svc-fly-hub .hub-ic svg { width: 20px; height: 20px; -webkit-animation: svcSpin 7s linear infinite; animation: svcSpin 7s linear infinite; }
.svc-fly-hub span { color: #fff; font-family: var(--svc-mono); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.25; }
.svc-fly-node {
  position: absolute; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; z-index: 2;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  font-family: var(--svc-mono); font-weight: 700; color: #fff;
  background: -webkit-linear-gradient(135deg, var(--svc-purple), var(--svc-violet)); background: linear-gradient(135deg, var(--svc-purple), var(--svc-violet));
  box-shadow: 0 4px 12px rgba(var(--svc-purple-rgb),0.4);
}
/* node centres sit on the dashed ring (the ring is inset 28px from the box) */
.svc-fly-node.n1 { top: 28px; left: 50%; }
.svc-fly-node.n2 { top: 50%; left: calc(100% - 28px); background: -webkit-linear-gradient(135deg, var(--svc-green), #06b357); background: linear-gradient(135deg, var(--svc-green), #06b357); box-shadow: 0 4px 12px rgba(var(--svc-green-rgb),0.4); }
.svc-fly-node.n3 { top: calc(100% - 28px); left: 50%; }
.svc-fly-node.n4 { top: 50%; left: 28px; }
.svc-fly-steps { -webkit-flex: 0 1 460px; flex: 0 1 460px; min-width: 280px; }
.svc-fly-step { display: -webkit-flex; display: flex; gap: 14px; -webkit-align-items: flex-start; align-items: flex-start; margin-bottom: 1.1rem; }
.svc-fly-step:last-child { margin-bottom: 0; }
.svc-fly-step .fs-n { -webkit-flex: 0 0 28px; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; font-family: var(--svc-mono); font-size: 0.8rem; font-weight: 700; color: #fff; background: -webkit-linear-gradient(135deg, var(--svc-purple), var(--svc-violet)); background: linear-gradient(135deg, var(--svc-purple), var(--svc-violet)); }
.svc-fly-step.act .fs-n { background: -webkit-linear-gradient(135deg, var(--svc-green), #06b357); background: linear-gradient(135deg, var(--svc-green), #06b357); }
.svc-fly-step h5 { font-size: 1rem; font-weight: 700; color: var(--svc-ink); margin: 0.15rem 0 0.2rem; }
.svc-fly-step p { font-size: 0.9rem; line-height: 1.55; color: var(--svc-body); margin: 0; }
@media (max-width: 560px) { .svc-fly-ring { -webkit-flex-basis: 240px; flex-basis: 240px; width: 240px; height: 240px; } }

/* ===================== COMPOUNDING BARS (flywheel cost) ===================== */
.svc-bars { background: var(--svc-card); border: 1px solid var(--svc-line); border-radius: var(--svc-radius-lg); padding: 1.7rem 1.8rem 1.4rem; box-shadow: var(--svc-shadow-sm); }
.svc-bars-title { font-family: var(--svc-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svc-muted); margin-bottom: 1.3rem; }
.svc-bar-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 14px; margin-bottom: 0.9rem; }
.svc-bar-row:last-of-type { margin-bottom: 0; }
.svc-bar-label { -webkit-flex: 0 0 104px; flex: 0 0 104px; font-family: var(--svc-mono); font-size: 0.72rem; font-weight: 700; color: var(--svc-ink); }
.svc-bar-track { -webkit-flex: 1; flex: 1; height: 26px; background: var(--svc-bg); border-radius: 7px; overflow: hidden; }
.svc-bar-fill { display: block; height: 100%; width: 0; border-radius: 7px; background: -webkit-linear-gradient(left, var(--svc-purple), var(--svc-violet)); background: linear-gradient(90deg, var(--svc-purple), var(--svc-violet)); -webkit-transition: width 1.1s var(--svc-ease); transition: width 1.1s var(--svc-ease); }
.svc-bars.revealed .svc-bar-fill { width: var(--w); }
.svc-bar-note { -webkit-flex: 0 0 118px; flex: 0 0 118px; text-align: right; font-family: var(--svc-mono); font-size: 0.68rem; font-weight: 700; color: var(--svc-body); }
.svc-bars-foot { font-size: 0.82rem; color: var(--svc-muted); margin: 1.2rem 0 0; line-height: 1.5; font-style: italic; }
@media (max-width: 600px) { .svc-bar-label { -webkit-flex-basis: 72px; flex-basis: 72px; font-size: 0.62rem; } .svc-bar-note { -webkit-flex-basis: 92px; flex-basis: 92px; font-size: 0.6rem; } }

/* ===================== VALUE x DIFFICULTY MATRIX ===================== */
.svc-matrix { display: -webkit-flex; display: flex; -webkit-align-items: stretch; align-items: stretch; gap: 12px; }
.svc-matrix-y { -webkit-flex: 0 0 26px; flex: 0 0 26px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; font-family: var(--svc-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--svc-muted); -webkit-writing-mode: vertical-rl; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; -webkit-transform: rotate(180deg); transform: rotate(180deg); }
.svc-matrix-main { -webkit-flex: 1; flex: 1; }
.svc-matrix-grid { display: -ms-grid; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-mq { border-radius: var(--svc-radius); padding: 1.3rem 1.3rem; min-height: 130px; border: 1px solid var(--svc-line); position: relative; overflow: hidden; -webkit-transition: all .3s var(--svc-ease); transition: all .3s var(--svc-ease); }
.svc-mq:hover { -webkit-transform: translateY(-2px); transform: translateY(-2px); box-shadow: var(--svc-shadow-md); }
.svc-mq::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.svc-mq.win { background: rgba(var(--svc-green-rgb),0.06); border-color: rgba(var(--svc-green-rgb),0.28); }
.svc-mq.win::before { background: var(--svc-green); }
.svc-mq.bet { background: rgba(var(--svc-purple-rgb),0.05); border-color: rgba(var(--svc-purple-rgb),0.25); }
.svc-mq.bet::before { background: var(--svc-purple); }
.svc-mq.fill { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.25); }
.svc-mq.fill::before { background: var(--svc-amber); }
.svc-mq.drop { background: rgba(239,68,68,0.04); border-color: rgba(239,68,68,0.22); }
.svc-mq.drop::before { background: var(--svc-red); }
.svc-mq .mq-tag { font-family: var(--svc-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: center; align-items: center; gap: 6px; }
.svc-mq.win .mq-tag { color: var(--svc-green); }
.svc-mq.bet .mq-tag { color: var(--svc-purple); }
.svc-mq.fill .mq-tag { color: #b45309; }
.svc-mq.drop .mq-tag { color: #b91c1c; }
.svc-mq h4 { font-size: 1rem; font-weight: 700; color: var(--svc-ink); margin: 0 0 0.35rem; }
.svc-mq p { font-size: 0.84rem; color: var(--svc-body); line-height: 1.5; margin: 0; }
.svc-matrix-x { text-align: center; font-family: var(--svc-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--svc-muted); margin-top: 10px; }
@media (max-width: 560px) { .svc-matrix-grid { grid-template-columns: 1fr; } .svc-mq { min-height: 0; } .svc-matrix { -webkit-flex-direction: column; flex-direction: column; } .svc-matrix-y { -webkit-writing-mode: horizontal-tb; writing-mode: horizontal-tb; -webkit-transform: none; transform: none; -webkit-flex-basis: auto; flex-basis: auto; margin-bottom: 6px; } }

/* ===================== PEOPLE / PROCESS / PLATFORM ===================== */
.svc-ppp { display: -ms-grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .svc-ppp { grid-template-columns: 1fr; } }
.svc-ppp-card { background: var(--svc-card); border: 1px solid var(--svc-line); border-radius: var(--svc-radius-lg); padding: 1.7rem 1.6rem; }
.svc-ppp-card .ppp-ic { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; }
.svc-ppp-card.people .ppp-ic { background: rgba(var(--svc-green-rgb),0.12); color: var(--svc-green); }
.svc-ppp-card.process .ppp-ic { background: rgba(var(--svc-purple-rgb),0.1); color: var(--svc-purple); }
.svc-ppp-card.platform .ppp-ic { background: rgba(20,184,166,0.12); color: #0d9488; }
.svc-ppp-card .ppp-ic svg { width: 23px; height: 23px; }
.svc-ppp-card h4 { font-size: 1.2rem; font-weight: 700; color: var(--svc-ink); margin: 0 0 0.5rem; }
.svc-ppp-card > p { font-size: 0.93rem; color: var(--svc-body); line-height: 1.6; margin: 0 0 0.9rem; }
.svc-ppp-card ul { list-style: none; margin: 0; padding: 0; }
.svc-ppp-card ul li { position: relative; padding-left: 1.4rem; font-size: 0.9rem; line-height: 1.5; color: var(--svc-body); margin-bottom: 0.55rem; }
.svc-ppp-card ul li:last-child { margin-bottom: 0; }
.svc-ppp-card.people ul li::before { background: var(--svc-green); }
.svc-ppp-card.process ul li::before { background: var(--svc-purple); }
.svc-ppp-card.platform ul li::before { background: #0d9488; }
.svc-ppp-card ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; }

/* roadmap-to-running rail */
.svc-r2r { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 8px 10px; background: var(--svc-bg); border: 1px solid var(--svc-line); border-radius: var(--svc-radius); padding: 1.1rem 1.4rem; font-size: 0.92rem; }
.svc-r2r .r2r-label { font-family: var(--svc-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svc-muted); margin-right: 6px; }
.svc-r2r .r2r-step { color: var(--svc-body); font-weight: 600; }
.svc-r2r .r2r-step.cur { color: var(--svc-green); }
.svc-r2r .r2r-sep { color: var(--svc-muted); }

/* ===================== CTA ===================== */
.svc-cta { position: relative; overflow: hidden; background: -webkit-linear-gradient(135deg,#1e293b,#0f172a); background: linear-gradient(135deg,#1e293b,#0f172a); border-radius: 24px; padding: 3.5rem 2.5rem; text-align: center; }
.svc-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 28% 20%, rgba(var(--svc-green-rgb),0.14), transparent 50%), radial-gradient(circle at 75% 80%, rgba(var(--svc-purple-rgb),0.16), transparent 52%); pointer-events: none; }
.svc-cta > * { position: relative; z-index: 1; }
.svc-cta h3 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 1rem; }
.svc-cta p { color: #94a3b8; font-size: 1.08rem; line-height: 1.65; max-width: 560px; margin: 0 auto 2rem; }
.svc-cta .svc-hero-actions { -webkit-justify-content: center; justify-content: center; }
.svc-cta .cta-mail { display: block; margin-top: 1.4rem; font-family: var(--svc-mono); font-size: 0.85rem; color: #64748b; }
.svc-cta .cta-mail a { color: #34d399; text-decoration: none; }

/* ===================== UTIL ===================== */
.svc-divider { height: 1px; margin: 0; border: none; background: -webkit-linear-gradient(left, transparent, var(--svc-line), transparent); background: linear-gradient(90deg, transparent, var(--svc-line), transparent); }
.mt-svc { margin-top: 2.5rem; }
.mt-svc-sm { margin-top: 1.4rem; }

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  .svc-reveal { opacity: 1 !important; -webkit-transform: none !important; transform: none !important; }
  .svc-bars .svc-bar-fill { width: var(--w) !important; }
  .svc-hero .gradient-text, .svc-hero-particles span, .svc-pipe-arrow .pipe-dot { -webkit-animation: none !important; animation: none !important; }
}
