/* ============================================================
   TECHNOLOGIES PAGE — VisionForge Technologies
   Prefix: th-  (hero)  |  tcp-  (tech choice process)
   ============================================================ */

/* ─────────────────────────────────────────────
   SECTION 1 — TECHNOLOGIES HERO
   Prefix: th-
───────────────────────────────────────────── */

.th-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--header-top-offset) + var(--space-10));
  padding-bottom: var(--space-10);
  overflow: hidden;
}

/* Hairline top separator */
.th-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * clamp(1rem, 5vw, 5rem));
  max-width: var(--container-max);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 30%,
    rgba(255, 255, 255, 0.07) 70%,
    transparent 100%
  );
}

/* ── Background ── */
.th-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.th-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.th-glow--tl {
  width: 680px;
  height: 680px;
  top: -200px;
  left: -180px;
  background: radial-gradient(circle, rgba(27, 142, 248, 0.09) 0%, transparent 65%);
}

.th-glow--br {
  width: 520px;
  height: 520px;
  bottom: -160px;
  right: -140px;
  background: radial-gradient(circle, rgba(27, 142, 248, 0.06) 0%, transparent 65%);
}

/* Subtle dot-grid texture */
.th-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(0, 0, 0, 0.6) 0%, transparent 80%);
}

/* ── Container: 55/45 grid ── */
.th-hero__container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   LEFT COLUMN: CONTENT
───────────────────────────────────────────── */

.th-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Badge */
.th-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  background: var(--color-brand-faint);
  border: 1px solid var(--color-border-brand);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-brand-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.th-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  box-shadow: 0 0 0 2px rgba(27, 142, 248, 0.25);
  animation: th-dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes th-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(27, 142, 248, 0.25); }
  50%       { box-shadow: 0 0 0 4px rgba(27, 142, 248, 0.10); }
}

/* Heading */
.th-hero__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.th-hero__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.th-hero__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-3);
}

/* CTA actions */
.th-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   RIGHT COLUMN: CSS ILLUSTRATION
───────────────────────────────────────────── */

.th-hero__visual {
  position: relative;
  height: 500px;
}

/* Ambient glow behind the card */
.thv-bg-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(27, 142, 248, 0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Main Architecture Card ── */
.thv-arch-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  background: rgba(13, 24, 41, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.50),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  animation: thv-card-float 6s ease-in-out infinite;
}

@keyframes thv-card-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50%       { transform: translate(-50%, -50%) translateY(-8px); }
}

/* Gradient top accent bar */
.thv-arch-card__topbar {
  height: 3px;
  background: var(--gradient-brand);
}

/* Card header */
.thv-arch-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.thv-arch-card__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(27, 142, 248, 0.12);
  border: 1px solid rgba(27, 142, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-light);
  flex-shrink: 0;
}

.thv-arch-card__title {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  flex: 1;
}

.thv-arch-card__live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: var(--font-semibold);
  color: rgba(34, 197, 94, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thv-arch-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22C55E;
  animation: thv-live-ping 1.8s ease-in-out infinite;
}

@keyframes thv-live-ping {
  0%, 100% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.4); }
  50%       { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.0); }
}

/* Stack layers container */
.thv-arch-card__layers {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
}

/* Individual layer row */
.thv-layer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  transition: background 200ms ease;
}

.thv-layer:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Layer color dot */
.thv-layer__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lc, var(--color-brand-primary));
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--lc, var(--color-brand-primary));
}

/* Layer name */
.thv-layer__name {
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.42);
  width: 76px;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

/* Tech tags */
.thv-layer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.thv-tag {
  font-size: 10px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xs);
  padding: 2px 7px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Card footer stats */
.thv-arch-card__footer {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 11px 16px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.018);
}

.thv-arch-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.thv-arch-stat__val {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-extrabold);
  color: var(--color-text-primary);
  line-height: 1;
}

.thv-arch-stat__lbl {
  font-size: 10px;
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.02em;
}

.thv-arch-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ── Floating: Performance Card (top-right) ── */
.thv-perf-card {
  position: absolute;
  top: 28px;
  right: -8px;
  width: 172px;
  background: rgba(13, 24, 41, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  padding: 12px 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3;
  animation: thv-perf-float 5s ease-in-out infinite;
}

@keyframes thv-perf-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

.thv-perf-card__header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.thv-perf-card__icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-xs);
  background: rgba(27, 142, 248, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-light);
}

.thv-perf-card__title {
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

.thv-perf-card__metrics {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.thv-perf-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thv-perf-metric__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  font-weight: var(--font-medium);
}

.thv-perf-metric__val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-brand-light);
}

.thv-perf-metric__val--green {
  color: #22C55E;
}

/* ── Floating: Deploy Chip (bottom-left) ── */
.thv-deploy-chip {
  position: absolute;
  bottom: 36px;
  left: -8px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: rgba(13, 24, 41, 0.90);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3;
  animation: thv-deploy-float 7s ease-in-out infinite;
}

@keyframes thv-deploy-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}

.thv-deploy-chip__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22C55E;
  flex-shrink: 0;
}

.thv-deploy-chip__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.thv-deploy-chip__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

.thv-deploy-chip__sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.01em;
}

/* ── Floating tech badge chips ── */
.thv-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--font-semibold);
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  z-index: 4;
}

.thv-badge--react {
  top: 92px;
  left: 8px;
  background: rgba(97, 218, 251, 0.10);
  border: 1px solid rgba(97, 218, 251, 0.22);
  color: rgba(97, 218, 251, 0.80);
  animation: thv-badge1-float 5.5s ease-in-out infinite;
}

@keyframes thv-badge1-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.thv-badge--laravel {
  bottom: 108px;
  right: 4px;
  background: rgba(255, 92, 51, 0.10);
  border: 1px solid rgba(255, 92, 51, 0.22);
  color: rgba(255, 120, 80, 0.82);
  animation: thv-badge2-float 6.5s ease-in-out infinite;
}

@keyframes thv-badge2-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.thv-badge--aws {
  bottom: 158px;
  left: 12px;
  background: rgba(255, 153, 0, 0.10);
  border: 1px solid rgba(255, 153, 0, 0.22);
  color: rgba(255, 170, 50, 0.82);
  animation: thv-badge3-float 4.8s ease-in-out infinite;
}

@keyframes thv-badge3-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}


/* ─────────────────────────────────────────────
   SECTION 2 — HOW WE CHOOSE THE RIGHT TECHNOLOGY
   Prefix: tcp-
───────────────────────────────────────────── */

.tcp-section {
  position: relative;
  padding-block: var(--space-12) var(--space-16);
  overflow: hidden;
}

/* Hairline separator */
.tcp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * clamp(1rem, 5vw, 5rem));
  max-width: var(--container-max);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 30%,
    rgba(255, 255, 255, 0.07) 70%,
    transparent 100%
  );
}

/* Background */
.tcp-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tcp-section__glow {
  position: absolute;
  width: 600px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(27, 142, 248, 0.07) 0%, transparent 70%);
}

/* ── Section header ── */
.tcp-section__header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto var(--space-12);
  position: relative;
  z-index: 1;
}

.tcp-section__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-brand-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.tcp-section__label-line {
  width: 24px;
  height: 1.5px;
  background: var(--color-brand-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.tcp-section__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.tcp-section__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tcp-section__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* ── Process track ── */
.tcp-process {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: flex-start;
}

/* ── Connector line ── */
.tcp-connector {
  position: absolute;
  /* top = step-num height (18px) + gap (6px) + half icon (22px) = 46px */
  top: 46px;
  /* left/right = half a step width = 1/(2*4) of container = 12.5% */
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 1.5px;
  background: rgba(255, 255, 255, 0.07);
  z-index: 0;
}

.tcp-connector__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--color-brand-primary) 0%,
    var(--color-brand-light) 50%,
    var(--color-brand-dark) 100%
  );
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.tcp-connector__fill.is-drawn {
  transform: scaleX(1);
}

/* ── Individual step ── */
.tcp-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-1);
  position: relative;
  z-index: 1;
}

.tcp-step__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-2);
}

/* Step number */
.tcp-step__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--color-brand-primary);
  opacity: 0.65;
  letter-spacing: 0.06em;
  height: 18px;
  line-height: 18px;
}

/* Step icon circle */
.tcp-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.50);
  position: relative;
  z-index: 1;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

/* Highlighted icon (step 4 — Technology Selection)
   Background must be opaque so the connector line behind it is fully hidden.
   Layer the tint over the solid surface colour instead of using a bare alpha. */
.tcp-step__icon--highlight {
  background:
    linear-gradient(rgba(27, 142, 248, 0.12), rgba(27, 142, 248, 0.12)),
    var(--color-bg-surface);
  border-color: rgba(27, 142, 248, 0.40);
  color: var(--color-brand-primary);
}

.tcp-step:hover .tcp-step__icon {
  background:
    linear-gradient(rgba(27, 142, 248, 0.12), rgba(27, 142, 248, 0.12)),
    var(--color-bg-surface);
  border-color: rgba(27, 142, 248, 0.40);
  color: var(--color-brand-light);
  box-shadow: 0 0 18px rgba(27, 142, 248, 0.22);
  transform: translateY(-2px);
}

/* Step title */
.tcp-step__title {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 6px;
}

/* Step description */
.tcp-step__desc {
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  /* rgba(255,255,255,0.62), not --color-text-tertiary (0.45) — 0.45 fails WCAG AA
     4.5:1 at this font size; bumped locally rather than raising the shared
     variable, to avoid changing contrast elsewhere. */
  color: rgba(255, 255, 255, 0.62);
  max-width: 120px;
}

/* Override reveal transform — steps must stay at their layout position
   so the connector line always passes through the icon centers */
.tcp-step.reveal {
  transform: none;
}

.tcp-step.reveal.is-visible {
  transform: none;
}

/* Bottom note */
.tcp-section__note {
  text-align: center;
  font-size: var(--text-sm);
  font-style: italic;
  /* rgba(255,255,255,0.58), not --color-text-tertiary (0.45) — 0.45 fails WCAG AA 4.5:1 */
  color: rgba(255, 255, 255, 0.58);
  margin-top: var(--space-10);
  position: relative;
  z-index: 1;
}

.tcp-section__note::before {
  content: '"';
  color: var(--color-brand-primary);
  font-style: normal;
  margin-right: 2px;
}

.tcp-section__note::after {
  content: '"';
  color: var(--color-brand-primary);
  font-style: normal;
  margin-left: 2px;
}

.tcp-section__note-link {
  color: var(--color-brand-light);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(27, 142, 248, 0.35);
}


/* ─────────────────────────────────────────────
   HERO RESPONSIVE
───────────────────────────────────────────── */

/* xs: ≤ 479px */
@media (max-width: 479px) {

  .th-hero {
    padding-top: calc(var(--header-height) + var(--header-top-offset) + var(--space-4));
    padding-bottom: var(--space-10);
  }

  .th-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    min-height: auto;
  }

  .th-hero__heading {
    font-size: var(--text-3xl);
  }

  .th-hero__desc {
    font-size: var(--text-base);
    max-width: 100%;
  }

  .th-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1-5);
  }

  .th-hero__visual {
    display: none;
  }
}

/* sm: 480px – 767px */
@media (min-width: 480px) and (max-width: 767px) {

  .th-hero {
    padding-top: calc(var(--header-height) + var(--header-top-offset) + var(--space-6));
    padding-bottom: var(--space-10);
  }

  .th-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    min-height: auto;
  }

  .th-hero__heading {
    font-size: var(--text-4xl);
  }

  .th-hero__desc {
    max-width: 100%;
  }

  .th-hero__visual {
    display: none;
  }
}

/* md: 768px – 1023px */
@media (min-width: 768px) and (max-width: 1023px) {

  .th-hero {
    padding-top: calc(var(--header-height) + var(--header-top-offset) + var(--space-8));
    padding-bottom: var(--space-12);
  }

  .th-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    min-height: auto;
  }

  .th-hero__content {
    align-items: center;
    text-align: center;
  }

  .th-hero__desc {
    max-width: 540px;
  }

  .th-hero__actions {
    justify-content: center;
  }

  /* Show a simplified version of the visual on tablet */
  .th-hero__visual {
    height: 340px;
    max-width: 500px;
    margin: 0 auto;
  }

  .thv-badge--react {
    left: 20px;
  }

  .thv-badge--laravel {
    right: 20px;
  }
}

/* lg: 1024px – 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {

  .th-hero__container {
    gap: var(--space-8);
  }

  .th-hero__heading {
    font-size: var(--text-4xl);
  }

  .thv-arch-card {
    width: 340px;
  }
}


/* ─────────────────────────────────────────────
   PROCESS RESPONSIVE
───────────────────────────────────────────── */

/* xs: ≤ 479px */
@media (max-width: 479px) {

  .tcp-section {
    padding-block: var(--space-8) var(--space-10);
  }

  .tcp-section__header {
    margin-bottom: var(--space-8);
  }

  .tcp-section__heading {
    font-size: var(--text-3xl);
  }

  /* Vertical stack on mobile */
  .tcp-process {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .tcp-connector {
    display: none;
  }

  .tcp-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    width: 100%;
    position: relative;
  }

  /* Vertical connector between mobile steps */
  .tcp-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 68px; /* below icon */
    left: 22px; /* center of icon */
    width: 1.5px;
    height: calc(100% - 68px + 16px);
    background: linear-gradient(to bottom, rgba(27, 142, 248, 0.35), rgba(27, 142, 248, 0.06));
  }

  .tcp-step__node {
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: var(--space-3);
    padding-bottom: var(--space-5);
  }

  .tcp-step__title,
  .tcp-step__desc {
    padding-bottom: var(--space-5);
    max-width: 100%;
  }

  .tcp-step__desc {
    max-width: 100%;
  }
}

/* sm: 480px – 767px */
@media (min-width: 480px) and (max-width: 767px) {

  .tcp-section {
    padding-block: var(--space-8) var(--space-10);
  }

  .tcp-section__header {
    margin-bottom: var(--space-8);
  }

  .tcp-section__heading {
    font-size: var(--text-3xl);
  }

  /* Vertical layout — same as xs */
  .tcp-process {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .tcp-connector {
    display: none;
  }

  .tcp-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    width: 100%;
    position: relative;
  }

  .tcp-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 68px;
    left: 22px;
    width: 1.5px;
    height: calc(100% - 68px + 16px);
    background: linear-gradient(to bottom, rgba(27, 142, 248, 0.35), rgba(27, 142, 248, 0.06));
  }

  .tcp-step__node {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: var(--space-3);
    padding-bottom: var(--space-5);
  }

  .tcp-step__title,
  .tcp-step__desc {
    padding-bottom: var(--space-5);
    max-width: 100%;
  }

  .tcp-step__desc { max-width: 100%; }
}

/* md: 768px – 1023px */
@media (min-width: 768px) and (max-width: 1023px) {

  .tcp-section {
    padding-block: var(--space-10) var(--space-12);
  }

  .tcp-section__header {
    margin-bottom: var(--space-10);
  }

  /* Wrap to 2 rows of steps on tablet */
  .tcp-process {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-5) 0;
  }

  .tcp-step {
    flex: 0 0 25%; /* 4 per row */
  }

  .tcp-connector {
    display: none;
  }
}

/* lg: 1024px – 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {

  .tcp-section {
    padding-block: var(--space-10) var(--space-12);
  }

  .tcp-step__desc {
    font-size: 10px;
    max-width: 108px;
  }

  .tcp-step__title {
    font-size: var(--text-xs);
  }
}


/* ─────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .thv-arch-card,
  .thv-perf-card,
  .thv-deploy-chip,
  .thv-badge--react,
  .thv-badge--laravel,
  .thv-badge--aws,
  .th-hero__badge-dot,
  .thv-arch-live-dot {
    animation: none;
  }

  .tcp-connector__fill {
    transition: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   SECTION 3 — ENGINEERING STACK
   Prefix: es-
═══════════════════════════════════════════════════════════ */

/* ── Section shell ── */
.es-section {
  position: relative;
  padding: var(--space-16) 0;
  overflow: hidden;
}

/* Hairline top separator */
.es-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * clamp(1rem, 5vw, 5rem));
  max-width: var(--container-max);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 30%,
    rgba(255, 255, 255, 0.07) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.es-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.es-section__glow {
  position: absolute;
  top: -160px;
  left: 50%;
  translate: -50% 0;
  width: 640px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(27, 142, 248, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.es-section .container {
  position: relative;
  z-index: 1;
}

/* ── Section header ── */
.es-section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-14);
}

.es-section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: var(--space-4);
}

.es-section__label-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-brand-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.es-section__heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.es-section__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-section__desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ── Panel color tokens ── */
.es-panel--frontend  { --es-color:#1B8EF8; --es-icon-bg:rgba(27,142,248,0.10); --es-icon-border:rgba(27,142,248,0.22); --es-hover-border:rgba(27,142,248,0.28); --es-hover-shadow:rgba(27,142,248,0.08); --es-pill-border:rgba(27,142,248,0.35); --es-pill-color:#4DAAFF; --es-pill-shadow:rgba(27,142,248,0.22); }
.es-panel--backend   { --es-color:#22C55E; --es-icon-bg:rgba(34,197,94,0.10);   --es-icon-border:rgba(34,197,94,0.22);  --es-hover-border:rgba(34,197,94,0.28);  --es-hover-shadow:rgba(34,197,94,0.08);  --es-pill-border:rgba(34,197,94,0.35);  --es-pill-color:#4ADE80; --es-pill-shadow:rgba(34,197,94,0.22); }
.es-panel--mobile    { --es-color:#8B5CF6; --es-icon-bg:rgba(139,92,246,0.10);  --es-icon-border:rgba(139,92,246,0.22); --es-hover-border:rgba(139,92,246,0.28); --es-hover-shadow:rgba(139,92,246,0.08); --es-pill-border:rgba(139,92,246,0.35); --es-pill-color:#A78BFA; --es-pill-shadow:rgba(139,92,246,0.22); }
.es-panel--database  { --es-color:#F59E0B; --es-icon-bg:rgba(245,158,11,0.10);  --es-icon-border:rgba(245,158,11,0.22); --es-hover-border:rgba(245,158,11,0.28); --es-hover-shadow:rgba(245,158,11,0.08); --es-pill-border:rgba(245,158,11,0.35); --es-pill-color:#FCD34D; --es-pill-shadow:rgba(245,158,11,0.22); }
.es-panel--cloud     { --es-color:#06B6D4; --es-icon-bg:rgba(6,182,212,0.10);   --es-icon-border:rgba(6,182,212,0.22);  --es-hover-border:rgba(6,182,212,0.28);  --es-hover-shadow:rgba(6,182,212,0.08);  --es-pill-border:rgba(6,182,212,0.35);  --es-pill-color:#22D3EE; --es-pill-shadow:rgba(6,182,212,0.22); }
.es-panel--design    { --es-color:#EC4899; --es-icon-bg:rgba(236,72,153,0.10);  --es-icon-border:rgba(236,72,153,0.22); --es-hover-border:rgba(236,72,153,0.28); --es-hover-shadow:rgba(236,72,153,0.08); --es-pill-border:rgba(236,72,153,0.35); --es-pill-color:#F472B6; --es-pill-shadow:rgba(236,72,153,0.22); }

/* ── Panels grid ── */
.es-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  /* room for hover lift at top of grid without section clipping */
  padding-top: 8px;
  margin-top: -8px;
}

.es-section__note {
  text-align: center;
  font-size: var(--text-sm);
  /* rgba(255,255,255,0.58), not --color-text-tertiary (0.45) — 0.45 fails WCAG AA 4.5:1 */
  color: rgba(255, 255, 255, 0.58);
  margin-top: var(--space-8);
}

.es-section__note-link {
  color: var(--color-brand-light);
  text-decoration: underline;
  text-decoration-color: rgba(27, 142, 248, 0.35);
}

/* ── Panel card ── */
.es-panel {
  position: relative;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.es-panel:hover {
  border-color: var(--es-hover-border);
  box-shadow: 0 8px 40px var(--es-hover-shadow), 0 0 0 1px var(--es-hover-border);
  transform: translateY(-4px);
}

/* Top accent gradient bar */
.es-panel__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--es-color), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.es-panel:hover .es-panel__accent {
  opacity: 1;
}

.es-panel__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* ── Panel head (icon + meta) ── */
.es-panel__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.es-panel__icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--es-icon-bg);
  border: 1px solid var(--es-icon-border);
  color: var(--es-color);
  animation: es-float calc(3.6s + var(--es-float-delay, 0s)) ease-in-out infinite;
}

.es-panel--frontend  .es-panel__icon-wrap { --es-float-delay: 0s; }
.es-panel--backend   .es-panel__icon-wrap { --es-float-delay: 0.6s; }
.es-panel--mobile    .es-panel__icon-wrap { --es-float-delay: 1.2s; }
.es-panel--database  .es-panel__icon-wrap { --es-float-delay: 1.8s; }
.es-panel--cloud     .es-panel__icon-wrap { --es-float-delay: 2.4s; }
.es-panel--design    .es-panel__icon-wrap { --es-float-delay: 3.0s; }

@keyframes es-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.es-panel__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.es-panel__category {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.3;
}

.es-panel__subdesc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  /* rgba(255,255,255,0.62), not --color-text-muted (0.28) — 0.28 fails WCAG AA 4.5:1 */
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

/* ── Tech pills ── */
.es-panel__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.es-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--es-pill-color);
  background: var(--es-icon-bg);
  border: 1px solid var(--es-pill-border);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: default;
  white-space: nowrap;
}

.es-pill:hover {
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 10px var(--es-pill-shadow);
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════════════════════
   SECTION 4 — WHY WE USE THESE TECHNOLOGIES
   Prefix: wut-
═══════════════════════════════════════════════════════════ */

/* ── Section shell ── */
.wut-section {
  position: relative;
  padding: var(--space-16) 0;
  overflow: hidden;
}

/* Hairline top separator */
.wut-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * clamp(1rem, 5vw, 5rem));
  max-width: var(--container-max);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 30%,
    rgba(255, 255, 255, 0.07) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ── Section header ── */
.wut-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-14);
}

.wut-section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: var(--space-4);
}

.wut-section__label-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-brand-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.wut-section__heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.wut-section__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wut-section__desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ── Block wrapper ── */
.wut-block {
  margin-bottom: var(--space-16);
}

.wut-block:last-child {
  margin-bottom: 0;
}

/* ── Block grid ── */
.wut-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

/* Alt blocks flip the visual to first position visually */
.wut-block--alt .wut-block__content {
  order: 2;
}

.wut-block--alt .wut-block__visual {
  order: 1;
}

/* ── Content side ── */
.wut-block__content {
  position: relative;
}

.wut-block__num {
  position: absolute;
  top: -20px;
  left: -8px;
  font-family: var(--font-heading);
  font-size: clamp(72px, 10vw, 112px);
  font-weight: 800;
  line-height: 1;
  color: rgba(27, 142, 248, 0.05);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.wut-block__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: var(--space-3);
}

.wut-block__label-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-brand-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.wut-block__heading {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  margin: 0 0 var(--space-3);
}

.wut-block__desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.wut-block__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wut-block__point {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.wut-block__point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-brand-primary);
  border-radius: 50%;
}

.wut-block__link {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand-light);
  text-decoration: none;
}

.wut-block__link:hover {
  text-decoration: underline;
}

/* ── Visual side (shared shell) ── */
.wut-block__visual {
  display: flex;
  justify-content: center;
}


/* ──────────────────────────────────────────────
   Illustration 1 — Architecture Layers (wai-)
──────────────────────────────────────────────── */
.wai-illus {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.wai-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 50% 50%, rgba(27,142,248,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.wai-stack {
  position: relative;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wai-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-4);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wai-layer:hover {
  background: rgba(27,142,248,0.04);
  border-color: rgba(27,142,248,0.18);
}

.wai-layer__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wai-layer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lc, #1B8EF8);
  box-shadow: 0 0 8px var(--lc, #1B8EF8);
  flex-shrink: 0;
}

.wai-layer__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wai-layer__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1;
}

.wai-chips {
  display: flex;
  gap: 4px;
}

.wai-chip {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 1px 7px;
}

.wai-layer__metric {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-brand-light);
}

.wai-vline {
  width: 1px;
  height: 12px;
  background: linear-gradient(to bottom, var(--color-border-subtle), transparent);
  margin: 0 auto;
}

/* Floating chips */
.wai-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: rgba(13,24,41,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  white-space: nowrap;
}

.wai-float--1 {
  bottom: -14px;
  left: -12px;
  color: #4DAAFF;
  animation: wai-float-a 4.2s ease-in-out infinite;
}

.wai-float--2 {
  top: -14px;
  right: -12px;
  color: #4ADE80;
  animation: wai-float-b 3.8s ease-in-out infinite;
}

@keyframes wai-float-a {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes wai-float-b {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(6px); }
}


/* ──────────────────────────────────────────────
   Illustration 2 — Security Panel (wsi-)
──────────────────────────────────────────────── */
.wsi-illus {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.wsi-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 50% 50%, rgba(34,197,94,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.wsi-panel {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.wsi-panel__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(34,197,94,0.04);
  border-bottom: 1px solid var(--color-border-subtle);
}

.wsi-shield {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.24);
  border-radius: var(--radius-lg);
  color: #22C55E;
  flex-shrink: 0;
}

.wsi-panel__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wsi-panel__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.wsi-score {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #22C55E;
  line-height: 1;
}

.wsi-score__max {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.wsi-ring {
  flex-shrink: 0;
}

.wsi-metrics {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wsi-metric {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wsi-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: rgba(34,197,94,0.10);
  border-radius: 50%;
}

.wsi-metric__label {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.wsi-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 2px 8px;
}

.wsi-badge--green {
  background: rgba(34,197,94,0.12);
  color: #4ADE80;
  border: 1px solid rgba(34,197,94,0.25);
}

.wsi-badge--blue {
  background: rgba(27,142,248,0.12);
  color: #4DAAFF;
  border: 1px solid rgba(27,142,248,0.25);
}

/* Floating chips */
.wsi-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  background: rgba(13,24,41,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  white-space: nowrap;
}

.wsi-float--1 {
  bottom: -14px;
  right: -12px;
  color: #4DAAFF;
  animation: wsi-float-a 4.0s ease-in-out infinite;
}

.wsi-float--2 {
  top: -14px;
  left: -12px;
  color: #4ADE80;
  animation: wsi-float-b 3.6s ease-in-out infinite;
}

@keyframes wsi-float-a {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes wsi-float-b {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(6px); }
}


/* ──────────────────────────────────────────────
   Illustration 3 — Code Editor (wci-)
──────────────────────────────────────────────── */
.wci-illus {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.wci-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 50% 50%, rgba(139,92,246,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.wci-window {
  background: #0E1525;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-family: 'Courier New', 'Menlo', monospace;
}

.wci-topbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--color-border-subtle);
}

.wci-dots {
  display: flex;
  gap: 5px;
}

.wci-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.wci-dot--r { background: #FF5F57; }
.wci-dot--y { background: #FEBC2E; }
.wci-dot--g { background: #28C840; }

.wci-filename {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}

.wci-ts-badge {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #4DAAFF;
  background: rgba(27,142,248,0.14);
  border: 1px solid rgba(27,142,248,0.28);
  border-radius: 3px;
  padding: 1px 5px;
}

.wci-code {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wci-line {
  font-size: 12px;
  line-height: 1.65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wci-line--empty { height: 5px; }
.wci-line--i1 { padding-left: 18px; }
.wci-line--i2 { padding-left: 36px; }

/* Syntax colours */
.wci-kw     { color: #C792EA; }
.wci-fn     { color: #82AAFF; }
.wci-cls    { color: #FFCB6B; }
.wci-method { color: #82AAFF; }
.wci-str    { color: #C3E88D; }
.wci-type   { color: #89DDFF; }
.wci-dec    { color: #F07178; }
.wci-pun    { color: #89DDFF; }

.wci-statusbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(27,142,248,0.08);
  border-top: 1px solid var(--color-border-subtle);
}

.wci-sb-item {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--color-text-muted);
}

.wci-sb-item--green {
  color: #4ADE80;
}

.wci-sb-sep {
  color: var(--color-border-default);
}

/* Floating chips */
.wci-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  background: rgba(13,24,41,0.90);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  white-space: nowrap;
}

.wci-float--1 {
  bottom: -14px;
  left: -12px;
  color: #A78BFA;
  animation: wci-float-a 4.4s ease-in-out infinite;
}

.wci-float--2 {
  top: -14px;
  right: -12px;
  color: #FFCB6B;
  animation: wci-float-b 3.7s ease-in-out infinite;
}

@keyframes wci-float-a {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes wci-float-b {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(6px); }
}


/* ──────────────────────────────────────────────
   Illustration 4 — Ops Monitor (woi-)
──────────────────────────────────────────────── */
.woi-illus {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.woi-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 50% 50%, rgba(6,182,212,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.woi-panel {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.woi-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-4) var(--space-5);
  background: rgba(6,182,212,0.04);
  border-bottom: 1px solid var(--color-border-subtle);
}

.woi-header-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.24);
  border-radius: var(--radius-lg);
  color: #06B6D4;
  flex-shrink: 0;
}

.woi-header-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.woi-panel__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1;
}

.woi-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  color: #4ADE80;
}

.woi-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px #22C55E;
  animation: woi-pulse 1.8s ease-in-out infinite;
}

@keyframes woi-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.woi-uptime-row {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}

.woi-uptime-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.woi-uptime-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #22C55E;
}

.woi-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.woi-bar {
  flex: 1;
  height: 22px;
  border-radius: 2px;
  background: var(--color-border-subtle);
}

.woi-bar--ok   { background: rgba(34,197,94,0.55); }
.woi-bar--warn { background: rgba(245,158,11,0.75); }

.woi-events {
  padding: var(--space-3) var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woi-event {
  display: flex;
  align-items: center;
  gap: 8px;
}

.woi-event__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.woi-event--ok .woi-event__dot {
  background: #22C55E;
  box-shadow: 0 0 5px rgba(34,197,94,0.5);
}

.woi-event__dot--cyan {
  background: #06B6D4;
  box-shadow: 0 0 5px rgba(6,182,212,0.5);
}

.woi-event__msg {
  flex: 1;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-secondary);
}

.woi-event__time {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Floating chips */
.woi-sla-chip,
.woi-monitor-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  background: rgba(13,24,41,0.90);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  white-space: nowrap;
}

.woi-sla-chip {
  top: -14px;
  right: -12px;
  color: #4ADE80;
  animation: woi-float-a 4.0s ease-in-out infinite;
}

.woi-monitor-chip {
  bottom: -14px;
  left: -12px;
  color: #22D3EE;
  animation: woi-float-b 3.5s ease-in-out infinite;
}

@keyframes woi-float-a {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes woi-float-b {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(6px); }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ENGINEERING STACK + WHY TECHNOLOGIES
═══════════════════════════════════════════════════════════ */

/* lg — 1024px */
@media (max-width: 1024px) {
  .es-panels {
    grid-template-columns: repeat(2, 1fr);
  }

  .wut-block__grid {
    gap: var(--space-10);
  }
}

/* md — 768px */
@media (max-width: 768px) {
  .es-section {
    padding: var(--space-14) 0;
  }

  .es-section__header {
    margin-bottom: var(--space-10);
  }

  .wut-section {
    padding: var(--space-14) 0;
  }

  .wut-section__header {
    margin-bottom: var(--space-10);
  }

  .wut-block__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Both alt and normal blocks: content always first on mobile */
  .wut-block--alt .wut-block__content,
  .wut-block--alt .wut-block__visual {
    order: unset;
  }

  .wut-block__num {
    font-size: 72px;
    top: -16px;
    left: -4px;
  }

  .wut-block {
    margin-bottom: var(--space-12);
  }

  .wai-illus,
  .wsi-illus,
  .wci-illus,
  .woi-illus {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* sm — 600px */
@media (max-width: 600px) {
  .es-panels {
    grid-template-columns: 1fr;
  }

  .es-section__heading {
    font-size: var(--text-3xl);
  }

  .wut-section__heading {
    font-size: var(--text-3xl);
  }

  .wut-block__heading {
    font-size: var(--text-2xl);
  }
}

/* xs — 400px */
@media (max-width: 400px) {
  .es-panel__body {
    padding: var(--space-4);
  }

  .wci-line {
    font-size: 10.5px;
  }
}

/* ── Reduced motion additions ── */
@media (prefers-reduced-motion: reduce) {
  .es-panel__icon-wrap {
    animation: none;
  }

  .wai-float--1,
  .wai-float--2,
  .wsi-float--1,
  .wsi-float--2,
  .wci-float--1,
  .wci-float--2,
  .woi-sla-chip,
  .woi-monitor-chip {
    animation: none;
  }

  .woi-live-dot {
    animation: none;
  }

  .es-panel {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .es-panel:hover {
    transform: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   SECTION 5 — ENGINEERING WORKFLOW
   Prefix: ewf-
═══════════════════════════════════════════════════════════ */

/* ── Section shell ── */
.ewf-section {
  position: relative;
  padding: var(--space-16) 0;
  overflow: hidden;
}

/* Hairline top separator — matches site pattern */
.ewf-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * clamp(1rem, 5vw, 5rem));
  max-width: var(--container-max);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.07) 30%,
    rgba(255,255,255,0.07) 70%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ── Background ── */
.ewf-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Blueprint dot-grid */
.ewf-bg__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, rgba(0,0,0,0.55) 0%, transparent 85%);
}

/* Soft radial glow */
.ewf-bg__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  translate: -50% 0;
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(27,142,248,0.07) 0%, transparent 65%);
  border-radius: 50%;
}

.ewf-section .container {
  position: relative;
  z-index: 1;
}

/* ── Section header ── */
.ewf-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-14);
}

.ewf-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: var(--space-4);
}

.ewf-label__line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-brand-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.ewf-heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.ewf-heading__accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ewf-desc {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Workflow track ── */
.ewf-track {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: var(--space-4);
}

.ewf-note {
  text-align: center;
  margin-top: var(--space-8);
}

.ewf-note-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand-light);
  text-decoration: none;
}

.ewf-note-link:hover {
  text-decoration: underline;
}

/* ── Central spine ── */
.ewf-spine {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.ewf-spine__rail {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(27,142,248,0.14) 6%,
    rgba(27,142,248,0.14) 94%,
    transparent
  );
}

.ewf-spine__fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(
    to bottom,
    rgba(27,142,248,0.55),
    rgba(27,142,248,0.25)
  );
  transition: height 0.08s linear;
  will-change: height;
}

/* ── Individual step ── */
.ewf-step {
  position: relative;
  margin-bottom: var(--space-7);
}

.ewf-step:last-child {
  margin-bottom: 0;
}

/* Left steps: card occupies left half */
.ewf-step--left {
  padding-right: calc(50% + 52px);
}

/* Right steps: card occupies right half */
.ewf-step--right {
  padding-left: calc(50% + 52px);
}

/* ── Step card ── */
.ewf-card {
  position: relative;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  transition: border-color 0.28s var(--ease-out),
              box-shadow 0.28s var(--ease-out),
              transform 0.28s var(--ease-out);
}

.ewf-card:hover {
  border-color: rgba(27,142,248,0.25);
  box-shadow: 0 8px 36px rgba(27,142,248,0.08), var(--shadow-md);
  transform: translateY(-4px);
}

/* ── Card head: icon + step number ── */
.ewf-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.ewf-card__icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(27,142,248,0.08);
  border: 1px solid rgba(27,142,248,0.16);
  border-radius: var(--radius-lg);
  color: var(--color-brand-light);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ewf-card:hover .ewf-card__icon-wrap {
  background: rgba(27,142,248,0.13);
  border-color: rgba(27,142,248,0.30);
  box-shadow: 0 0 16px rgba(27,142,248,0.18);
}

.ewf-card__num {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.ewf-card__title {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin: 0 0 6px;
  line-height: 1.3;
}

.ewf-card__desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ── Connector line (card edge → spine) ── */
.ewf-step__connector {
  position: absolute;
  top: 34px;
  height: 1px;
  width: 52px;
  z-index: 1;
}

/* Left step: connector goes from card right edge rightward to spine */
.ewf-step--left .ewf-step__connector {
  right: 50%;
  background: linear-gradient(to right, transparent, rgba(27,142,248,0.35));
}

/* Right step: connector goes leftward from spine to card left edge */
.ewf-step--right .ewf-step__connector {
  left: 50%;
  background: linear-gradient(to left, transparent, rgba(27,142,248,0.35));
}

/* ── Dot at spine intersection ── */
.ewf-step__dot {
  position: absolute;
  top: 28px;
  /* center on spine: right: calc(50% - 6px) places 12px dot center at 50% */
  right: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-brand-primary);
  box-shadow: 0 0 0 4px rgba(27,142,248,0.10), 0 0 14px rgba(27,142,248,0.35);
  z-index: 2;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 6 — FREQUENTLY ASKED QUESTIONS
   Prefix: tfaq-
═══════════════════════════════════════════════════════════ */

/* ── Section shell ── */
.tfaq-section {
  position: relative;
  padding: var(--space-16) 0;
}

/* Hairline top separator */
.tfaq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * clamp(1rem, 5vw, 5rem));
  max-width: var(--container-max);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.07) 30%,
    rgba(255,255,255,0.07) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Section header ── */
.tfaq-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-12);
}

.tfaq-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: var(--space-4);
}

.tfaq-label__line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-brand-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.tfaq-heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.tfaq-heading__accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tfaq-desc {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Accordion list ── */
.tfaq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ── Accordion item ── */
.tfaq-item {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}

.tfaq-item:hover {
  border-color: var(--color-border-default);
}

.tfaq-item.is-open {
  border-color: rgba(27,142,248,0.28);
  box-shadow: 0 0 28px rgba(27,142,248,0.06), var(--shadow-sm);
}

/* ── Trigger button ── */
.tfaq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.tfaq-item__trigger:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: -2px;
  border-radius: var(--radius-xl);
}

.tfaq-item__question {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
}

/* ── Plus/Minus icon ── */
.tfaq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(27,142,248,0.07);
  border: 1px solid rgba(27,142,248,0.16);
  color: var(--color-brand-light);
  transition: transform 0.25s var(--ease-out),
              background 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
}

.tfaq-item.is-open .tfaq-item__icon {
  transform: rotate(45deg);
  background: rgba(27,142,248,0.14);
  border-color: rgba(27,142,248,0.30);
}

/* ── Smooth expand body (CSS grid trick) ── */
.tfaq-item__body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease-out);
}

.tfaq-item.is-open .tfaq-item__body-wrap {
  grid-template-rows: 1fr;
}

.tfaq-item__body {
  min-height: 0;
  overflow: hidden;
}

.tfaq-item__answer {
  padding: 0 var(--space-6) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Subtle divider between trigger and answer */
.tfaq-item.is-open .tfaq-item__trigger {
  border-bottom: 1px solid var(--color-border-faint);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — WORKFLOW + FAQ
═══════════════════════════════════════════════════════════ */

/* lg — 1024px */
@media (max-width: 1024px) {
  .ewf-track {
    max-width: 820px;
  }

  .ewf-step--left {
    padding-right: calc(50% + 40px);
  }

  .ewf-step--right {
    padding-left: calc(50% + 40px);
  }

  .ewf-step--left .ewf-step__connector {
    width: 40px;
  }

  .ewf-step--right .ewf-step__connector {
    width: 40px;
  }
}

/* md — 768px: collapse to single-column left timeline */
@media (max-width: 768px) {
  .ewf-section {
    padding: var(--space-14) 0;
  }

  .ewf-header {
    margin-bottom: var(--space-10);
  }

  .ewf-track {
    max-width: 100%;
  }

  /* Move spine to left — 22px from track left = center of the 44px step padding */
  .ewf-spine {
    left: 22px;
    top: 24px;
    bottom: 24px;
  }

  /* All steps: single column, 44px left padding for spine space */
  .ewf-step--left,
  .ewf-step--right {
    padding-left: 44px;
    padding-right: 0;
    margin-bottom: var(--space-6);
  }

  /* Connector: 22px from spine (left: 22px) to card (left: 44px) = 22px wide */
  .ewf-step--left .ewf-step__connector,
  .ewf-step--right .ewf-step__connector {
    left: 22px;
    right: auto;
    width: 22px;
    background: linear-gradient(to right, transparent, rgba(27,142,248,0.35));
    top: 34px;
  }

  /* Dot center at left: 22px (spine). Dot is 12px wide → left: 22-6=16px */
  .ewf-step__dot {
    right: auto;
    left: 16px;
  }

  .tfaq-section {
    padding: var(--space-14) 0;
  }

  .tfaq-header {
    margin-bottom: var(--space-10);
  }

  .tfaq-item__trigger {
    padding: var(--space-4) var(--space-5);
  }

  .tfaq-item__answer {
    padding: 0 var(--space-5) var(--space-4);
  }
}

/* sm — 600px */
@media (max-width: 600px) {
  .ewf-heading,
  .tfaq-heading {
    font-size: var(--text-3xl);
  }

  .tfaq-item__question {
    font-size: var(--text-sm);
  }

  .ewf-step--left,
  .ewf-step--right {
    padding-left: 36px;
    margin-bottom: var(--space-5);
  }

  /* Shrink spine space: spine at 14px, step padding 36px, connector 22px wide */
  .ewf-spine {
    left: 14px;
  }

  .ewf-step--left .ewf-step__connector,
  .ewf-step--right .ewf-step__connector {
    left: 14px;
    width: 22px;
  }

  .ewf-step__dot {
    left: 8px; /* 14px - 6px */
  }
}

/* xs — 400px */
@media (max-width: 400px) {
  .ewf-card {
    padding: var(--space-4);
  }

  .tfaq-item__trigger {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-2);
  }

  .tfaq-item__answer {
    padding: 0 var(--space-4) var(--space-3);
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ewf-spine__fill {
    transition: none;
  }

  .ewf-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .ewf-card:hover {
    transform: none;
  }

  .tfaq-item__body-wrap {
    transition: none;
  }

  .tfaq-item__icon {
    transition: background 0.15s ease, border-color 0.15s ease;
  }
}
