/* ============================================================
   Synexian — Solutions template (cream theme, home-derived)
   Shared skeleton for every /pages/solutions/<slug>/ page.
   Solutions deliberately echo the HOMEPAGE design language —
   cream surfaces, grid-paper backdrops, traffic-dot accents,
   carousels/marquees with round steppers, gif badges, and one
   dark ink CTA card — NOT the immersive dark service pages.
   Motion stays light: CSS entrances + IntersectionObserver
   reveals + rAF marquees. No GSAP / Lenis / ScrollTrigger.
   Per-page secondary accent via <body data-accent="coral|olive|amber">.
   ============================================================ */

body[data-accent='coral'] { --sol-2: var(--coral); }
body[data-accent='olive'] { --sol-2: var(--olive); }
body[data-accent='amber'],
body:not([data-accent]) { --sol-2: var(--amber-deep); }

section { padding: 6rem 0; }

/* shared header row with round stepper buttons (home pattern) */
.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.6rem;
}
.carousel-nav { display: flex; gap: 0.6rem; }
.car-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.car-btn:hover { border-color: var(--amber); color: var(--amber-deep); }
.car-btn svg { width: 20px; height: 20px; }

/* grid-paper backdrop helper (home hero / CTA card motif) */
.grid-paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}

/* ---------- 1. hero — copy + browser-window card ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}
.hero .dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.85;
  animation: dot-drift 9s ease-in-out infinite alternate;
}
.dot-amber { width: 18px; height: 18px; background: var(--amber); top: 20%; left: 6%; }
.dot-coral { width: 13px; height: 13px; background: var(--coral); top: 74%; left: 46%; animation-delay: -3s; }
.dot-olive { width: 15px; height: 15px; background: var(--olive); top: 12%; left: 55%; animation-delay: -6s; }
@keyframes dot-drift {
  to { transform: translate(14px, -20px); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy .tagline {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.3rem;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--amber-deep);
}
.hero-sub {
  margin: 1.4rem 0 2.2rem;
  max-width: 54ch;
  font-size: 1.08rem;
  color: var(--text-dim);
}
.cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 2rem; }

/* gentle entrance — the only scripted-feeling hero motion (pure CSS) */
.hero-copy > *, .sol-window {
  animation: hero-rise 0.9s var(--ease-out) both;
}
.hero-copy h1 { animation-delay: 0.07s; }
.hero-sub { animation-delay: 0.14s; }
.hero-copy .cta-group { animation-delay: 0.21s; }
.hero-pills { animation-delay: 0.28s; }
.sol-window { animation-delay: 0.18s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
}

/* the browser-window card — the S.Labs logo mark, made functional:
   ink chrome, traffic dots, and the solution's living motif inside */
.sol-window {
  background: var(--ink-800);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 36, 48, 0.2);
  box-shadow: 0 34px 70px -30px rgba(20, 36, 48, 0.45);
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1.1rem;
  background: var(--ink-900);
  border-bottom: 1px solid rgba(240, 235, 218, 0.12);
}
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; }
.win-dots i:nth-child(1) { background: var(--amber); }
.win-dots i:nth-child(2) { background: var(--coral); }
.win-dots i:nth-child(3) { background: var(--olive); }
.win-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(240, 235, 218, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--olive);
}
.win-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  50% { opacity: 0.35; }
}
.win-body {
  position: relative;
  height: clamp(300px, 30vw, 400px);
  background: radial-gradient(ellipse 120% 100% at 50% 0%, var(--ink-700) 0%, var(--ink-800) 60%, var(--ink-900) 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- 2. stat band ---------- */
.stat-band { padding: 0 0 4.5rem; }
.stat-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat {
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--amber-deep);
  line-height: 1.05;
}
.stat-label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.stat-note { font-size: 0.82rem; color: var(--text-faint); }

/* ---------- 3. overview ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.overview-copy .eyebrow { margin-bottom: 1.2rem; }
.overview-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.1rem; }
.overview-copy p { color: var(--text-dim); margin-bottom: 1rem; max-width: 58ch; }

/* included-checklist card beside the overview copy */
.include-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 2rem;
  box-shadow: 0 18px 40px -28px rgba(20, 36, 48, 0.35);
}
.include-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.include-card h3 .win-dots i { width: 9px; height: 9px; }
.include-card ul { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.include-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.include-card li svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--olive); }

/* ---------- 4. swap rows (pain → outcome) ---------- */
.swap { background: var(--surface); border-block: 1px solid var(--line); }
.swap .section-head { margin-bottom: 2.8rem; }
.swap-list { display: grid; gap: 0.7rem; }
.swap-row {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  align-items: center;
  gap: 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.swap-row:hover { border-color: var(--amber); transform: translateX(4px); }
.swap-was {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-faint);
  font-size: 0.95rem;
}
.swap-was svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--coral); opacity: 0.8; }
.swap-arrow { color: var(--amber-deep); display: grid; place-items: center; }
.swap-arrow svg { width: 20px; height: 20px; }
.swap-now {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.97rem;
}
.swap-now svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--olive); }

/* ---------- 5. capabilities — scroll-snap carousel (home pattern) ---------- */
.cap-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 31%, 350px);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.cap-carousel::-webkit-scrollbar { height: 6px; }
.cap-carousel::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.cap-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 250px;
  background: var(--surface-2);
}
.cap-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(20, 36, 48, 0.35);
}
.cap-card h3 { font-size: 1.14rem; }
.cap-card p { color: var(--text-dim); font-size: 0.94rem; flex: 1; }

/* ---------- 6. blueprint — clickable stepper ---------- */
.blueprint { background: var(--surface); border-block: 1px solid var(--line); }
.blueprint .section-head { margin-bottom: 2.8rem; }
.bp-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.bp-steps { display: grid; gap: 0.45rem; }
.bp-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dim);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.bp-step .n {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.75rem;
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  color: var(--text-faint);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.bp-step:hover { color: var(--text); background: var(--surface-2); }
.bp-step[aria-current='true'] {
  background: var(--surface-2);
  border-color: var(--amber);
  color: var(--text);
}
.bp-step[aria-current='true'] .n {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink-900);
}
.bp-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  min-height: 260px;
  box-shadow: 0 18px 40px -28px rgba(20, 36, 48, 0.3);
}
.bp-panel .bp-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--amber-deep);
}
.bp-panel h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0.7rem 0 0.8rem; }
.bp-panel p { color: var(--text-dim); max-width: 60ch; }
.bp-panel-body { animation: panel-in 0.35s var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
}
.bp-track {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.8rem;
}
.bp-track i {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--line);
  transition: background-color 0.3s;
}
.bp-track i.done { background: color-mix(in srgb, var(--amber) 45%, var(--line)); }
.bp-track i.on { background: var(--amber); }

/* ---------- 7. use cases — marquee (home pattern) ---------- */
.uc-marquee { margin-top: 0.5rem; }
.uc-card {
  width: clamp(300px, 34vw, 400px);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--surface-2);
}
.uc-card:hover { border-color: var(--sol-2); transform: translateY(-4px); }
.uc-card .tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sol-2) 55%, transparent);
  color: var(--sol-2);
}
.uc-card h3 { font-size: 1.16rem; }
.uc-card p { color: var(--text-dim); font-size: 0.94rem; flex: 1; }

/* ---------- 8. engagement phases ---------- */
.phases .section-head { margin-bottom: 2.8rem; }
.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: phase;
}
.phase-card {
  position: relative;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 2rem;
}
.phase-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.phase-card .ph-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: color-mix(in srgb, var(--amber-deep) 38%, transparent);
  line-height: 1;
}
.phase-card h3 { font-size: 1.1rem; }
.phase-card p { color: var(--text-dim); font-size: 0.92rem; }
.phase-card .ph-arrow {
  position: absolute;
  top: 50%;
  right: -1.05rem;
  translate: 0 -50%;
  z-index: 1;
  color: var(--amber-deep);
  background: var(--bg);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
}
.phase-card .ph-arrow svg { width: 15px; height: 15px; }
.phase-card:last-child .ph-arrow { display: none; }

/* ---------- 9. mid CTA — light banner ---------- */
.mid-cta { padding: 4.5rem 0; }
.mid-cta-card {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--amber) 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 3.2rem);
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 2.2rem;
  align-items: center;
}
.mid-cta-card h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.mid-cta-card p { color: var(--text-dim); margin-top: 0.8rem; max-width: 58ch; }
.trust-list {
  list-style: none;
  padding: 0;
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
}
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-list svg { width: 17px; height: 17px; color: var(--olive); }
.mid-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.8rem; }

/* ---------- 10. tech stack — grouped chip cloud ---------- */
.tech { background: var(--surface); border-block: 1px solid var(--line); }
.tech .section-head { margin-bottom: 2.6rem; }
.tech-groups { display: grid; gap: 2.2rem; }
.tech-group-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
}
.tech-cloud { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.tech-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  cursor: default;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.tech-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tech-item .logo {
  width: 20px;
  height: 20px;
  background-color: rgba(20, 36, 48, 0.55);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  transition: background-color 0.25s;
}
.tech-item:hover .logo { background-color: var(--brand, var(--text)); }
.tech-item span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color 0.25s;
}
.tech-item:hover span { color: var(--text); }

/* ---------- 11. why synexian — gif-badge cards (home pillar pattern) ---------- */
.why-syn .section-head { margin-bottom: 2.8rem; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.diff-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--surface-2);
  padding: 2rem;
  border-radius: var(--radius-lg);
}
.diff-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.diff-card .gif-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.diff-card .gif-badge img { width: 52px; height: 52px; object-fit: contain; }
.diff-card h3 { font-size: 1.25rem; }
.diff-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- 12. related services ---------- */
.related { background: var(--surface); border-block: 1px solid var(--line); }
.related .section-head { margin-bottom: 2.6rem; }
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.rel-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--surface-2);
}
.rel-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(20, 36, 48, 0.35);
}
.rel-card h3 { font-size: 1.1rem; }
.rel-card p { color: var(--text-dim); font-size: 0.92rem; flex: 1; }
.rel-card .go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--amber-deep);
}
.rel-card .go svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.rel-card:hover .go svg { transform: translateX(4px); }

/* ---------- 13. FAQ ---------- */
.faq .section-head { margin-bottom: 2.6rem; max-width: 720px; }
.faq-list { max-width: 820px; display: grid; gap: 0.9rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--amber); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}
.faq-q .chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--amber-deep);
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-dim);
  font-size: 0.96rem;
  max-width: 68ch;
}

/* ---------- 14. final CTA — dark ink card (home pattern) ---------- */
.cta-final { padding-bottom: 7rem; }
.cta-card {
  position: relative;
  background: var(--ink-800);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 235, 218, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 218, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-card > * { position: relative; }
.cta-dots { display: inline-flex; gap: 8px; margin-bottom: 1.4rem; }
.cta-dots i { width: 12px; height: 12px; border-radius: 50%; }
.cta-dots i:nth-child(1) { background: var(--amber); }
.cta-dots i:nth-child(2) { background: var(--coral); }
.cta-dots i:nth-child(3) { background: var(--olive); }
.cta-card h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.cta-card p {
  max-width: 62ch;
  margin: 1.1rem auto 2rem;
  color: rgba(240, 235, 218, 0.7);
}
.cta-card .cta-group { justify-content: center; }
.cta-card .btn-ghost { color: var(--cream); border-color: rgba(240, 235, 218, 0.3); }
.cta-card .btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .sol-window { max-width: 640px; }
  .overview-grid { grid-template-columns: 1fr; }
  .bp-grid { grid-template-columns: 1fr; }
  .bp-steps {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .bp-step { white-space: nowrap; }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-card .ph-arrow { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .mid-cta-card { grid-template-columns: 1fr; }
  .mid-cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 680px) {
  section { padding: 4rem 0; }
  .section-row { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero { padding: 3.5rem 0 4rem; }
  .swap-row { grid-template-columns: 1fr; gap: 0.55rem; padding: 1.1rem 1.3rem; }
  .swap-arrow { display: none; }
  .stat-band-inner { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .phase-grid { grid-template-columns: 1fr; }
}
