/* ============ MangoStack — site styles v3 (studio model) ============ */
:root {
  --navy: #0D1117;
  --navy-2: #161B22;
  --navy-3: #1F262F;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --orange: #FF8A00;
  --yellow: #FFC107;
  --green: #22C55E;
  --cream: #FFFDF8;
  --cream-line: rgba(13,17,23,0.08);
  --cream-line-strong: rgba(13,17,23,0.16);
  --grey: #64748B;
  --grey-2: #94A3B8;
  --white: #FFFFFF;
  --grad: linear-gradient(90deg, #FF8A00 0%, #FFC107 100%);
  --grad-diag: linear-gradient(135deg, #FF8A00 0%, #FFC107 100%);
  --max: 1200px;
  --gut: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.ms-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
  position: relative;
}

/* ============ Type primitives ============ */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey-2);
  margin-bottom: 24px;
}
.eyebrow--dark { color: #475569; }
.eyebrow--on-grad { color: rgba(13,17,23,0.7); }
.eyebrow--cream { color: #64748B; }

.display {
  font-size: clamp(56px, 8.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 32px;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 24px;
  text-wrap: balance;
}
.h1--dark { color: var(--navy); }
.h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.h2--dark { color: var(--navy); }
.h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--grey-2);
  max-width: 720px;
  margin: 0 0 40px;
}
.lede--dark { color: #475569; }
.lede--narrow { max-width: 640px; }
.body-text {
  font-size: 17px;
  color: var(--grey-2);
  line-height: 1.65;
  margin: 0 0 16px;
}
.body-text--dark { color: #334155; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Focus styles (keyboard a11y) ============ */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-primary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255,138,0,0.45);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.btn-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}
.ms-nav__links a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 3px;
}
.ms-nav__menu a:focus-visible {
  outline-offset: -2px;
}

/* ============ Buttons ============ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, filter .18s ease;
  font-family: inherit;
  letter-spacing: -0.005em;
}
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 0 32px rgba(255,138,0,0.45), 0 0 60px rgba(255,193,7,0.18);
}
.btn-primary:active { transform: scale(0.97); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 8px; }
.btn-full { width: 100%; padding: 16px 24px; font-size: 16px; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-strong);
  font-weight: 500; font-size: 15px;
  padding: 13px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-secondary--dark { color: var(--navy); border-color: var(--cream-line-strong); }
.btn-secondary--dark:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--white); font-weight: 500; font-size: 15px;
  position: relative;
}
.btn-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1.5px; background: var(--grad); transition: right .25s ease;
}
.btn-link:hover::after { right: 0; }
.btn-link--dark { color: var(--navy); }

/* ============ Status pills ============ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 999px;
}
.pill--live {
  background: var(--green);
  color: var(--white);
}
.pill--live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: livePulse 2.2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .pill--live::before { animation: none; }
}
.pill--soon {
  background: var(--orange);
  color: var(--white);
}
.pill--neutral {
  background: rgba(13,17,23,0.06);
  color: #334155;
  border: 1px solid var(--cream-line);
}
.pill--neutral-dark {
  background: rgba(255,255,255,0.06);
  color: #CBD5E1;
  border: 1px solid var(--line-strong);
}

/* ============ NAV ============ */
.ms-nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,17,23,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.ms-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max); margin: 0 auto;
  position: relative;
}
.ms-nav__brand { display: flex; align-items: center; }
.ms-nav__links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; color: var(--grey-2);
}
.ms-nav__links a {
  transition: color .18s ease;
  position: relative;
  cursor: pointer;
}
.ms-nav__links a:hover, .ms-nav__links a.is-active { color: var(--white); }
.ms-nav__dropdown { position: relative; }
.ms-nav__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  background: rgba(22,27,34,0.97);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 8px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  z-index: 10;
}
.ms-nav__menu a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background .15s ease;
}
.ms-nav__menu a:hover { background: rgba(255,138,0,0.08); }
.ms-nav__menu strong {
  font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: -0.005em;
  display: flex; align-items: center; gap: 8px;
}
.ms-nav__menu span {
  font-size: 12.5px; color: var(--grey-2);
}
/* ============ Mobile nav (hamburger + drawer) ============ */
.ms-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
@media (max-width: 940px) {
  .ms-nav__links { display: none; }
  .ms-nav__cta { display: none; }
  .ms-nav__burger { display: inline-flex; }
}
.ms-nav__burger:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.28); }
.ms-nav__burger span {
  display: block;
  height: 1.6px; width: 18px;
  background: var(--white);
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.ms-nav__burger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.ms-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.ms-nav__burger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.ms-nav__burger:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.ms-mobile-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
  z-index: 60;
}
.ms-mobile-scrim.is-open { opacity: 1; pointer-events: auto; }

.ms-mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--navy);
  border-left: 1px solid var(--line-strong);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  z-index: 70;
  overflow-y: auto;
  box-shadow: -40px 0 80px -20px rgba(0,0,0,0.7);
}
.ms-mobile-nav.is-open { transform: translateX(0); }
.ms-mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.ms-mobile-nav__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  transition: background .15s ease;
}
.ms-mobile-nav__close:hover { background: rgba(255,255,255,0.06); }
.ms-mobile-nav__links {
  display: flex; flex-direction: column;
  padding: 16px 0 8px;
  flex: 1;
}
.ms-mobile-nav__group {
  display: flex; flex-direction: column;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}
.ms-mobile-nav__group-head {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-2);
  padding: 8px 0;
  margin-bottom: 4px;
}
.ms-mobile-nav__group a:not(.ms-mobile-nav__group-head) {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0;
  font-size: 16px; color: var(--white);
  font-weight: 400;
  border-top: 1px dashed var(--line);
}
.ms-mobile-nav__group a:first-of-type { border-top: none; }
.ms-mobile-nav__top {
  display: block;
  padding: 16px 22px;
  font-size: 17px; font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid var(--line);
}
.ms-mobile-nav__top:hover, .ms-mobile-nav__group a:hover { color: var(--orange); }
.ms-mobile-nav__foot {
  padding: 20px 22px 28px;
  display: flex; flex-direction: column; gap: 14px;
  border-top: 1px solid var(--line);
  background: var(--navy-2);
}
.ms-mobile-nav__email {
  text-align: center;
  font-size: 13.5px;
  color: var(--grey-2);
}
.ms-mobile-nav__email:hover { color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .ms-mobile-nav, .ms-mobile-scrim { transition: none; }
  .ms-nav__burger span { transition: none; }
}

/* ============ HERO ============ */
.ms-hero {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  isolation: isolate;
}
.ms-hero__inner { position: relative; z-index: 2; }
.ms-hero__wash {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 90vw; height: 90vw; max-width: 1100px; max-height: 1100px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,138,0,0.5), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(255,193,7,0.3), transparent 60%);
  filter: blur(80px);
  z-index: 0;
  animation: hero-breathe 11s ease-in-out infinite alternate;
}
@keyframes hero-breathe {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate(-60px, 40px) scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-hero__wash { animation: none; }
}

.ms-hero__ctas {
  display: flex; gap: 28px; align-items: center;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.ms-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stat__line {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  color: #CBD5E1;
  letter-spacing: -0.005em;
}
@media (max-width: 800px) {
  .ms-hero__stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ Generic section ============ */
.ms-section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 800px) {
  .ms-section { padding: 64px 0; }
  :root { --gut: 20px; }
}

/* ============ TWO-TRACK / THREE-TRACK (Operate | Build | Ship) — homepage Section 2 ============ */
.two-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.track {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.track.is-in { opacity: 1; transform: translateY(0); }
.track:nth-child(2) { transition-delay: 0.15s; }
.track--ship {
  background: linear-gradient(135deg, rgba(255,138,0,0.08), rgba(255,193,7,0.02) 50%, var(--navy-2) 100%);
  border-color: rgba(255,138,0,0.2);
}
.track__eyebrow { color: var(--grey-2); }
.track--ship .track__eyebrow { color: var(--orange); }
.track__title {
  font-size: 32px; font-weight: 600; line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.track__body {
  font-size: 16px; color: var(--grey-2); line-height: 1.6;
  margin: 0 0 32px;
}
@media (prefers-reduced-motion: reduce) {
  .track { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 800px) {
  .two-track { grid-template-columns: 1fr; }
  .track { padding: 28px; }
}

/* ============ Stack discipline cards ============ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 1280px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .stack-grid { grid-template-columns: 1fr; } }
.disc-card {
  display: block;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .35s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}
.disc-card.is-in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .55s ease calc(var(--i) * 0.09s),
    transform .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 0.09s),
    border-color .25s ease,
    box-shadow .35s ease;
}
.disc-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.disc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(255,138,0,0.12), 0 18px 48px -18px rgba(255,138,0,0.45);
}
.disc-card:hover::before { opacity: 1; }
.disc-card__num {
  font-size: 12px; font-weight: 500; color: var(--grey);
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}
.disc-card__title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.disc-card__desc {
  font-size: 15px; color: var(--grey-2); line-height: 1.55;
  margin: 0 0 24px;
}
.disc-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px; margin-top: 24px;
  gap: 12px;
}
.pill-mini {
  font-size: 11.5px; color: var(--grey-2);
  background: rgba(255,255,255,0.04);
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line);
}
.arrow {
  font-size: 13.5px; font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ PRODUCTS section — cream backdrop ============ */
.ms-products {
  background: var(--cream);
  color: var(--navy);
}
.ms-products .eyebrow { color: #64748B; }
.ms-products .lede { color: #475569; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr; } }
.prod-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .35s ease;
  overflow: hidden;
}
.prod-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px -18px rgba(255,138,0,0.30);
}
.prod-card:hover::before { opacity: 1; }

.prod-card__pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.prod-card__eyebrow {
  font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #64748B;
  margin-bottom: 10px;
}
.prod-card__title {
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--navy);
}
.prod-card__divider {
  height: 3px;
  width: 56px;
  background: var(--grad);
  border-radius: 2px;
  margin: 12px 0 18px;
}
.prod-card__tagline {
  font-size: 17px; font-weight: 500; line-height: 1.4;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.prod-card__body {
  font-size: 14.5px; color: #475569; line-height: 1.55;
  margin: 0 0 28px;
}
.prod-card__cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--cream-line);
  display: flex; justify-content: space-between; align-items: center;
}
.prod-card__cta-link {
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.prod-card__cta-link .arrow-icon { transition: transform .2s ease; }
.prod-card:hover .arrow-icon { transform: translateX(4px); }
.prod-card__cta-meta {
  font-size: 11px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.products-closer {
  margin-top: 56px;
  padding: 24px 32px;
  background: rgba(13,17,23,0.04);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.55;
  color: #334155;
  font-style: italic;
  max-width: 920px;
}

/* ============ AI BAND ============ */
.ms-ai {
  background: linear-gradient(135deg, #FF8A00 0%, #FFB300 50%, #FFC107 100%);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.ms-ai__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(13,17,23,0.18), transparent 50%);
  pointer-events: none;
}
.ms-ai__inner { position: relative; z-index: 2; }
.ms-ai .h1 { color: var(--navy); }
.ms-ai .lede { color: rgba(13,17,23,0.78); max-width: 800px; }
.ms-ai .grad-text {
  background: linear-gradient(90deg, #0D1117 0%, #1F262F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pillars {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin: 48px 0 40px;
}
.pillar {
  background: rgba(13,17,23,0.06);
  border: 1px solid rgba(13,17,23,0.14);
  padding: 28px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
}
.pillar__num {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(13,17,23,0.55);
  margin-bottom: 24px;
}
.pillar h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.pillar p { margin: 0; font-size: 15px; color: rgba(13,17,23,0.75); line-height: 1.5; }
.ms-ai .btn-primary { background: var(--navy); color: var(--white); }
.ms-ai .btn-primary:hover { box-shadow: 0 0 28px rgba(13,17,23,0.4); }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

/* ============ HOW (light) ============ */
.ms-light {
  background: #fff;
  color: var(--navy);
}
.phase-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 48px; margin-bottom: 36px;
}
.phase { position: relative; }
.phase__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.phase__num {
  font-size: 64px; font-weight: 700; line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.phase__when {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: #64748B;
}
.phase__title {
  font-size: 22px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em;
  color: var(--navy);
}
.phase__body {
  font-size: 15px; color: #475569; margin: 0; line-height: 1.55;
}
.phase__connector {
  position: absolute;
  top: 28px;
  right: -22px;
  width: 12px; height: 1px;
  background: linear-gradient(90deg, #FF8A00, transparent);
}
@media (max-width: 800px) { .phase-row { grid-template-columns: 1fr 1fr; } .phase__connector { display: none; } }
@media (max-width: 480px) { .phase-row { grid-template-columns: 1fr; gap: 24px; } }

/* ============ SCENARIOS ============ */
.scen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
}
.scen-card {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.scen-card:hover { border-color: rgba(255,138,0,0.35); transform: translateY(-2px); }
.scen-card__tag {
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.scen-card__title {
  font-size: 22px; font-weight: 600; margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.scen-card__row { margin-bottom: 18px; }
.scen-card__row p {
  font-size: 14.5px; color: var(--grey-2); line-height: 1.55; margin: 0;
}
.scen-card__lbl {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.scen-card__row--out { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.scen-card__lbl--green { color: var(--green); }
@media (max-width: 980px) { .scen-grid { grid-template-columns: 1fr; } }

/* ============ INDUSTRIES ============ */
.ind-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 48px;
}
.ind-pill {
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.02);
  transition: border-color .2s ease, background .2s ease;
}
.ind-pill:hover { border-color: var(--orange); background: rgba(255,138,0,0.06); }
.ind-thread {
  margin-top: 32px;
  font-size: 16px;
  color: var(--grey-2);
  max-width: 720px;
  line-height: 1.6;
}
.ind-thread__lbl { color: var(--orange); font-weight: 500; }

/* ============ INSIGHTS ============ */
.ins-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.ins-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.ins-card { display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease; }
.ins-card:hover { transform: translateY(-3px); }
.ins-card__media {
  height: 200px; border-radius: 14px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
}
.ins-card__media-num {
  font-size: 64px; font-weight: 700;
  color: rgba(255,255,255,0.32);
  letter-spacing: -0.04em; line-height: 1;
}
.ins-card__date {
  font-size: 12px; color: var(--grey); letter-spacing: 0.05em;
  text-transform: uppercase; margin-top: 8px;
}
.ins-card__title {
  font-size: 19px; font-weight: 600; line-height: 1.25;
  margin: 0; letter-spacing: -0.01em;
}
.ins-card__excerpt { font-size: 14.5px; color: var(--grey-2); margin: 0; }
.ins-card__more { font-size: 13.5px; color: var(--orange); margin-top: 4px; }
@media (max-width: 900px) { .ins-grid { grid-template-columns: 1fr; } }

/* ============ FINAL CTA ============ */
.ms-finalcta {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,138,0,0.22), transparent 60%),
    var(--navy);
  padding: 140px 0;
}
.ms-finalcta__inner {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.ms-finalcta .lede { margin-bottom: 32px; }

/* ============ CONTACT ============ */
.ms-contact { background: #0a0e13; }
.ms-contact__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: start;
}
.contact-list { margin: 32px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 16px; font-size: 15px; color: var(--grey-2); }
.contact-list__lbl {
  width: 80px; flex-shrink: 0;
  font-size: 11.5px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--grey);
  align-self: center;
}
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--orange); }
.footnote { font-size: 13px; color: var(--grey); margin: 24px 0 0; }
.contact-form {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey-2);
}
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit; font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange); background: rgba(255,138,0,0.04);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select option { background: var(--navy-2); color: var(--white); }
.form-thanks {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px; padding: 24px 8px;
}
.form-thanks__check {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.form-thanks h3 { font-size: 28px; margin: 4px 0 0; }
.form-thanks p { color: var(--grey-2); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .ms-contact__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============ FOOTER ============ */
.ms-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: var(--navy);
}
.ms-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.ms-footer__tag { font-size: 13px; color: var(--grey-2); margin: 16px 0 12px; max-width: 260px; }
.ms-footer__addr { font-size: 12px; color: var(--grey-2); line-height: 1.5; margin: 0; }
.ms-footer__h {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 16px;
}
.ms-footer ul { display: flex; flex-direction: column; gap: 10px; }
.ms-footer li a { font-size: 14px; color: var(--grey-2); display: inline-flex; align-items: center; gap: 8px; }
.ms-footer li a:hover { color: var(--white); }
.ms-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--grey);
}
.ms-footer__bottom a:hover { color: var(--white); }
@media (max-width: 900px) {
  .ms-footer__grid { grid-template-columns: 1fr 1fr; }
  .ms-footer__bottom { flex-direction: column; gap: 8px; }
}

/* ============ PRODUCT DETAIL PAGES ============ */
.prod-hero {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.prod-hero__pills { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.prod-hero__divider {
  height: 4px; width: 72px;
  background: var(--grad);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.prod-hero__ctas {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}

.prose-section {
  padding: 64px 0;
}
.prose-section h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.prose-section p {
  font-size: 17px; line-height: 1.65; color: var(--grey-2);
  margin: 0 0 16px; max-width: 760px;
}
.prose-section ul.bulleted {
  margin: 16px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  max-width: 760px;
}
.prose-section ul.bulleted li {
  font-size: 17px; line-height: 1.55; color: #CBD5E1;
  padding-left: 24px;
  position: relative;
}
.prose-section ul.bulleted li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 2px;
  background: var(--grad);
  border-radius: 1px;
}
.prose-section .callout {
  border-left: 3px solid var(--orange);
  background: rgba(255,138,0,0.05);
  padding: 20px 24px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.6;
  color: #CBD5E1;
  font-style: italic;
  max-width: 820px;
  margin: 16px 0 0;
}
.prose-section .callout strong { color: var(--white); font-style: normal; }
.prose-section .meta {
  font-size: 13px; color: var(--grey); margin-top: 12px;
  letter-spacing: 0.05em;
}
.prose-section--alt { background: var(--navy-2); }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }

.kv-list { display: flex; flex-direction: column; gap: 16px; }
.kv-list .kv {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.kv-list .kv:last-child { border-bottom: 0; }
.kv__lbl {
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange);
}
.kv__val { font-size: 16px; color: var(--white); line-height: 1.45; }
.kv__val span { color: var(--grey-2); }

/* ============ STEPS (HowCraft Ask → Decide → Learn) ============ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.step {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  position: relative;
}
.step__num {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.step__title {
  font-size: 28px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.step__body { font-size: 15px; color: var(--grey-2); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* "Other layers" — sibling cards on detail pages */
.other-layers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
  margin-top: 32px;
}
@media (max-width: 720px) { .other-layers { grid-template-columns: 1fr; } }

/* ============ PAGE BREADCRUMB ============ */
.breadcrumb {
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--grey-2); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { margin: 0 8px; color: var(--grey); }

/* ============ Studio identity card (About hero) ============ */
.studio-card {
  margin: 48px 0 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  max-width: 720px;
  display: flex;
  flex-direction: column;
}
.studio-card__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.studio-card__row:first-child { border-top: 0; padding-top: 4px; }
.studio-card__row:last-child { padding-bottom: 4px; }
.studio-card dt {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin: 0;
}
.studio-card dd {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--white);
  font-weight: 400;
}
@media (max-width: 640px) {
  .studio-card__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============ Operating-principle pull-quote ============ */
.op-quote {
  margin: 40px 0;
  padding: 32px 0 32px 28px;
  border-left: 3px solid var(--orange);
  max-width: 760px;
}
.op-quote blockquote {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--white);
  text-wrap: balance;
}
.form-consent {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--grey-2);
  margin: 4px 0 12px;
}
.form-consent a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.op-quote figcaption {
  margin-top: 14px;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-2);
}

/* ============ Legal pages (Privacy, Terms, Cookies) ============ */
.ms-hero--short { padding-top: 100px; padding-bottom: 24px; }
.ms-hero--short .display { margin-bottom: 16px; }
.legal-meta {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin: 0;
}
.legal-prose { max-width: 760px; }
.legal-prose .legal-intro {
  font-size: 18.5px;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-prose h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--white);
  margin: 40px 0 14px;
}
.legal-prose p, .legal-prose ul.bulleted li {
  color: #CBD5E1;
  font-size: 16px;
  line-height: 1.7;
}
.legal-prose a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-prose a:hover { color: var(--yellow); }
.legal-prose strong { color: var(--white); font-weight: 500; }

/* ============ 404 ============ */
.four04-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  max-width: 980px;
}
.four04-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--navy-2);
  transition: border-color 180ms, transform 180ms, background 180ms;
}
.four04-card:hover {
  border-color: rgba(255,138,0,0.4);
  background: var(--navy-3);
  transform: translateY(-2px);
}
.four04-card__num {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 16px;
}
.four04-card__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 8px;
}
.four04-card__desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--grey-2);
}
@media (max-width: 760px) {
  .four04-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   v4 — Forward Engineering rewrite
   ============================================================ */

/* ----- Hero (split layout with motion viz) ----- */
.ms-hero--fwd { padding: 56px 0 64px; }
.ms-hero__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.ms-hero__text { min-width: 0; }
.ms-hero__viz { min-width: 0; }
.ms-hero--fwd .display {
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.02;
  margin-bottom: 24px;
}
@media (max-width: 980px) {
  .ms-hero__inner--split { grid-template-columns: 1fr; gap: 32px; }
  .ms-hero__viz { order: -1; max-width: 560px; }
}
.ms-hero--short-mid { padding: 56px 0 56px; }

/* ----- Forward Engineering visual (recurring motif) ----- */
.fwd-engine {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.fwd-engine svg { width: 100%; height: auto; display: block; }

/* Pulses travelling along the two motion lines */
@keyframes fwd-pulse-top {
  0%   { transform: translateX(40px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(500px); opacity: 0; }
}
@keyframes fwd-pulse-bottom {
  0%   { transform: translateX(500px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(40px); opacity: 0; }
}
.fwd-engine__pulse--top {
  cy: 98;
  animation: fwd-pulse-top 4.2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px #FFC107);
}
.fwd-engine__pulse--bottom {
  cy: 295;
  animation: fwd-pulse-bottom 4.2s ease-in-out infinite 2.1s;
  filter: drop-shadow(0 0 6px #FF8A00);
}
@keyframes fwd-fade-cycle {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.fwd-engine__op circle { animation: fwd-fade-cycle 6s ease-in-out infinite; }
.fwd-engine__op circle:nth-child(1) { animation-delay: 0s; }
.fwd-engine__op circle:nth-child(2) { animation-delay: 0.3s; }
.fwd-engine__op circle:nth-child(3) { animation-delay: 0.6s; }
.fwd-engine__op circle:nth-child(4) { animation-delay: 0.9s; }
.fwd-engine__op circle:nth-child(5) { animation-delay: 1.2s; }
.fwd-engine__op circle:nth-child(6) { animation-delay: 1.5s; }
.fwd-engine__op circle:nth-child(7) { animation-delay: 1.8s; }
.fwd-engine__op circle:nth-child(8) { animation-delay: 2.1s; }
.fwd-engine__op circle:nth-child(9) { animation-delay: 2.4s; }

@keyframes fwd-stack-build {
  0%   { opacity: 0.2; transform: translateX(-6px); }
  100% { opacity: 1; transform: translateX(0); }
}
.fwd-engine__sw rect:nth-child(1) { animation: fwd-stack-build 3.6s ease-out infinite alternate; }
.fwd-engine__sw rect:nth-child(2) { animation: fwd-stack-build 3.6s ease-out 0.4s infinite alternate; }
.fwd-engine__sw rect:nth-child(3) { animation: fwd-stack-build 3.6s ease-out 0.8s infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .fwd-engine__pulse--top,
  .fwd-engine__pulse--bottom,
  .fwd-engine__op circle,
  .fwd-engine__sw rect { animation: none; }
}

/* ----- The two motions section ----- */
.ms-motions { background: var(--navy); }
.motions-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.motion-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 36px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), border-color .25s ease, transform .25s ease;
  overflow: hidden;
}
.motion-card.is-in { opacity: 1; transform: translateY(0); }
.motion-card--build { transition-delay: 0.18s; }
.motion-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,138,0,0.08), transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.motion-card:hover { transform: translateY(-3px); border-color: rgba(255,138,0,0.3); }
.motion-card:hover::before { opacity: 1; }
.motion-card__tag {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 32px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.motion-card__tag--right { justify-content: flex-end; }
.motion-card__chev {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  font-size: 12px; line-height: 1;
}
.motion-card__title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--white);
}
.motion-card__body {
  font-size: 16px; color: var(--grey-2); line-height: 1.6;
  margin: 0 0 32px;
  flex: 1;
}
.motion-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--white);
}
.motion-card__cta .arrow-icon { transition: transform .2s ease; }
.motion-card:hover .arrow-icon { transform: translateX(4px); }

.motions-joiner {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 0 4px;
}
.motions-joiner__line {
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,138,0,0.4), transparent);
  min-height: 40px;
}
.motions-joiner__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(255,138,0,0.6);
}
@media (max-width: 800px) {
  .motions-grid { grid-template-columns: 1fr; }
  .motions-joiner { flex-direction: row; height: auto; padding: 4px 0; }
  .motions-joiner__line { width: auto; height: 1px; min-height: 1px; min-width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255,138,0,0.4), transparent); }
}

/* ----- FLAGSHIP BAND ----- */
.ms-flagship {
  position: relative;
  background: var(--navy);
  padding: 120px 0;
  overflow: hidden;
}
.ms-flagship__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255,138,0,0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(255,193,7,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
}
.ms-flagship::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.5;
}
.ms-flagship::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.5;
}
.ms-flagship__inner { position: relative; z-index: 2; }
.ms-flagship__head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 40px;
}
.eyebrow--on-flagship { color: var(--orange); margin: 0; }
.ms-flagship__pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ms-flagship__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.ms-flagship__text .h1 { font-size: clamp(36px, 4.6vw, 56px); }
.ms-flagship__line {
  font-size: 19px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--white);
  margin: 8px 0 32px;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}
.ms-flagship__ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.ms-flagship__sibling {
  font-size: 14px; color: var(--grey-2);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.ms-flagship__sibling a { color: var(--orange); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.ms-flagship__sibling a:hover { border-bottom-color: var(--orange); }
@media (max-width: 980px) {
  .ms-flagship__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ----- PELVAR FLOW DIAGRAM ----- */
.pflow {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 60%, rgba(255,138,0,0.06), transparent 60%),
    rgba(13, 17, 23, 0.7);
  border: 1px solid rgba(255,138,0,0.18);
  border-radius: 20px;
  backdrop-filter: blur(2px);
}
.pflow__entities {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.pflow__ent {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  position: relative;
  opacity: 0;
  animation: pflow-fade-in 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.12s);
}
@keyframes pflow-fade-in { to { opacity: 1; } }
.pflow__ent-tag {
  font-size: 8.5px; letter-spacing: 0.16em; color: var(--grey-2);
  font-family: ui-monospace, Menlo, monospace;
  margin-bottom: 6px;
}
.pflow__ent-amt {
  font-size: 22px; font-weight: 500; color: var(--white);
  letter-spacing: -0.01em;
}
.pflow__ent-amt span {
  display: block;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,193,7,0.85);
  margin-top: 2px;
  font-family: ui-monospace, Menlo, monospace;
}
.pflow__beams {
  position: relative;
  width: 100%; height: 100%;
  min-height: 70px;
}
.pflow__beams svg { width: 100%; height: 100%; }
.pflow__beams path { stroke-dasharray: 4 6; animation: pflow-beam-flow 3s linear infinite; }
@keyframes pflow-beam-flow { to { stroke-dashoffset: -20; } }
.pflow__agent {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 0;
}
.pflow__agent-ring {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.pflow__agent-ring::before, .pflow__agent-ring::after {
  content: ""; position: absolute;
  border: 1px solid var(--orange);
  border-radius: 999px;
  opacity: 0;
  animation: pflow-pulse 2.4s ease-out infinite;
}
.pflow__agent-ring::before { width: 90%; height: 100%; }
.pflow__agent-ring::after  { width: 90%; height: 100%; animation-delay: 1.2s; }
@keyframes pflow-pulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 0; }
}
.pflow__agent-core {
  position: relative; z-index: 2;
  background: var(--grad);
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 12px 30px -10px rgba(255,138,0,0.6);
}
.pflow__agent-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  font-family: ui-monospace, Menlo, monospace;
}
.pflow__agent-task {
  font-size: 10.5px; font-weight: 500; color: rgba(13,17,23,0.7);
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.pflow__out { display: flex; justify-content: center; }
.pflow__out-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  color: #4ADE80;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em;
  font-family: ui-monospace, Menlo, monospace;
}
.pflow__out-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pflow-out-pulse 2s infinite;
}
@keyframes pflow-out-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.pflow--compact { aspect-ratio: auto; max-width: 460px; }
.pflow--large { max-width: 540px; margin-top: 48px; }
@media (max-width: 480px) {
  .pflow { padding: 16px; }
  .pflow__ent-amt { font-size: 18px; }
}

/* ----- PROOF STRIP ----- */
.ms-proof { padding: 96px 0; }
.ms-proof .h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 40px; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.proof-item {
  display: block;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.proof-item:hover {
  border-color: rgba(255,138,0,0.4);
  transform: translateY(-2px);
  background: var(--navy-3);
}
.proof-item__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.proof-item__name {
  font-size: 17px; font-weight: 600; color: var(--white); letter-spacing: -0.01em;
}
.proof-item__body {
  font-size: 14.5px; line-height: 1.55; color: var(--grey-2);
  margin: 0 0 18px;
}
.proof-item__cta {
  font-size: 13px; font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-foot {
  margin-top: 32px;
  font-size: 14px;
  color: var(--grey-2);
}
.proof-foot a { color: var(--orange); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.proof-foot a:hover { border-bottom-color: var(--orange); }
@media (max-width: 800px) { .proof-row { grid-template-columns: 1fr; } }

/* ----- THE ENGINE ----- */
.ms-engine { background: var(--navy); }
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 40px;
}
.engine-item {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.engine-item__bar {
  position: absolute; top: -1px; left: 0;
  width: 64px; height: 2px;
  background: var(--grad);
}
.engine-item__title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 12px; color: var(--white);
}
.engine-item__body {
  font-size: 15.5px; line-height: 1.6; color: var(--grey-2);
  margin: 0;
}
@media (max-width: 800px) { .engine-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ----- FLYWHEEL SECTION ----- */
.ms-flywheel { background: var(--navy-2); }
.flywheel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 32px;
}
.flywheel-text p {
  font-size: 18px; line-height: 1.65; color: #CBD5E1;
  margin: 0 0 18px;
  max-width: 560px;
}
.flywheel-svg { max-width: 460px; margin: 0 auto; }
.flywheel-svg svg { width: 100%; height: auto; }
@keyframes flywheel-rotate {
  to { transform: rotate(360deg); }
}
.flywheel-svg__rotate {
  transform-origin: center;
  animation: flywheel-rotate 26s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .flywheel-svg__rotate { animation: none; }
}
@media (max-width: 900px) { .flywheel-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   OPERATING page
   ============================================================ */
.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.op-item {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), border-color .25s ease;
}
.op-item.is-in {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(var(--i) * 0.12s);
}
.op-item:hover { border-color: rgba(255,138,0,0.3); }
.op-item__tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 24px;
  font-family: ui-monospace, Menlo, monospace;
}
.op-item__title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 14px; line-height: 1.25;
  color: var(--white);
}
.op-item__body {
  font-size: 15px; line-height: 1.6; color: var(--grey-2);
  margin: 0 0 24px;
  flex: 1;
}
.op-item__shape {
  font-size: 12px; color: var(--grey-2);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) { .op-grid { grid-template-columns: 1fr; } }

.ms-section--alt { background: var(--navy-2); }

.atlas-bridge {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}
.atlas-bridge__text { max-width: 560px; }
.atlas-bridge__viz {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--navy);
  text-align: center;
}
.atlas-bridge__lattice {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-width: 220px;
  margin: 0 auto;
}
.atlas-bridge__cell {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--grad);
  transition: opacity .3s ease;
}
.atlas-bridge__label {
  margin-top: 24px;
  font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--grey-2);
  font-family: ui-monospace, Menlo, monospace;
}
@media (max-width: 900px) { .atlas-bridge { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   SOFTWARE INDEX page
   ============================================================ */
.ms-finline { background: var(--navy); }
.ms-finline__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: 56px;
}
.ms-finline__head .eyebrow { margin-bottom: 0; }
.ms-finline__framing {
  font-size: 16px; color: var(--grey-2); max-width: 460px; margin: 0;
  line-height: 1.55;
  font-style: italic;
}

.finline-card {
  display: block;
  position: relative;
  border-radius: 20px;
  padding: 48px;
  overflow: hidden;
  margin-bottom: 24px;
  text-decoration: none;
  color: inherit;
}
.finline-card--lead {
  background:
    radial-gradient(ellipse 70% 100% at 0% 0%, rgba(255,138,0,0.16), transparent 60%),
    radial-gradient(ellipse 80% 100% at 100% 100%, rgba(255,193,7,0.10), transparent 60%),
    var(--navy-2);
  border: 1px solid rgba(255,138,0,0.32);
  transition: transform .25s ease, border-color .25s ease, box-shadow .35s ease;
}
.finline-card--lead:hover {
  transform: translateY(-3px);
  border-color: rgba(255,138,0,0.55);
  box-shadow: 0 30px 80px -28px rgba(255,138,0,0.45);
}
.finline-card--sibling {
  background: var(--navy-2);
  border: 1px solid var(--line);
}
.finline-card__pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.finline-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.finline-card__grid--sibling {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 40px;
}
.eyebrow--accent { color: var(--orange); margin-bottom: 16px; }
.finline-card__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--white);
}
.finline-card__body {
  font-size: 17px; color: #CBD5E1; line-height: 1.6;
  margin: 0 0 24px;
  max-width: 540px;
}
.finline-card__feats {
  display: flex; flex-direction: column; gap: 10px;
  margin: 0 0 28px;
  padding: 0;
}
.finline-card__feats li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--white);
}
.finline-card__feats .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255,138,0,0.5);
  flex-shrink: 0;
}
.finline-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  color: var(--white);
}
.finline-card__cta--muted { color: var(--grey-2); }
.finline-card__cta .arrow-icon { transition: transform .2s ease; }
.finline-card:hover .arrow-icon { transform: translateX(4px); }
.finline-card__viz { display: flex; align-items: center; justify-content: center; }
.finline-card__viz--small { max-width: 320px; margin: 0 auto; }
@media (max-width: 980px) {
  .finline-card { padding: 32px; }
  .finline-card__grid, .finline-card__grid--sibling { grid-template-columns: 1fr; gap: 32px; }
}

.pipworth-glyph { width: 100%; }
.pipworth-glyph svg { width: 100%; height: auto; }
.pipworth-glyph path { stroke-dasharray: 4 4; animation: pflow-beam-flow 3s linear infinite; }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.support-card {
  display: block;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  transition: border-color .25s ease, transform .25s ease;
}
.support-card:hover { border-color: rgba(255,138,0,0.32); transform: translateY(-2px); }
.support-card__pills { display: flex; gap: 8px; margin-bottom: 24px; }
.support-card__title {
  font-size: 28px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 12px; color: var(--white);
}
.support-card__body {
  font-size: 15px; color: var(--grey-2); line-height: 1.6;
  margin: 0 0 24px;
}
.support-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--white);
}
.support-card__cta .arrow-icon { transition: transform .2s ease; }
.support-card:hover .arrow-icon { transform: translateX(4px); }
@media (max-width: 800px) { .support-grid { grid-template-columns: 1fr; } }

.ms-closer { padding: 96px 0; text-align: center; background: var(--navy); }
.ms-closer__line {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto;
  color: var(--grey-2);
  text-wrap: balance;
}

/* ============================================================
   PELVAR DETAIL
   ============================================================ */
.prod-hero--pelvar { padding: 56px 0 56px; }
.prod-hero__title {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.prod-hero__diagram { margin-top: 56px; display: flex; justify-content: center; }

.pelvar-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pelvar-three__item {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.pelvar-three__num {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-family: ui-monospace, Menlo, monospace;
  margin-bottom: 20px;
}
.pelvar-three__title {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--white);
  line-height: 1.3;
}
.pelvar-three__body {
  font-size: 14.5px; line-height: 1.6; color: var(--grey-2);
  margin: 0;
}
@media (max-width: 900px) { .pelvar-three { grid-template-columns: 1fr; } }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.who-grid__h {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 20px;
  font-family: ui-monospace, Menlo, monospace;
}
@media (max-width: 800px) { .who-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   APPROACH page
   ============================================================ */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.approach-grid__text { min-width: 0; }
.approach-prose p {
  font-size: 17.5px; line-height: 1.7; color: #CBD5E1;
  margin: 0 0 20px;
  max-width: 560px;
}
.flywheel-svg--lg { max-width: 540px; }
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr; gap: 40px; } }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-item {
  padding: 32px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease;
}
.why-item:hover { border-color: rgba(255,138,0,0.3); }
.why-item__num {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-family: ui-monospace, Menlo, monospace;
  margin-bottom: 20px;
}
.why-item__title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 12px; color: var(--white);
}
.why-item__body {
  font-size: 15.5px; line-height: 1.65; color: var(--grey-2);
  margin: 0;
}
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }


/* ============================================================
   Product detail — v4.1: real product UI as hero visual
   ============================================================ */
.prod-hero__product {
  margin-top: 56px;
  position: relative;
}
.prod-hero__product .product-mock {
  /* lift the mock visually off the dark page */
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.45));
  border-radius: 16px;
  overflow: visible;
}
.prod-hero__product-cap {
  margin: 22px 0 0;
  text-align: center;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-2);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.prod-hero__trust {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--grey-2);
  letter-spacing: 0.04em;
}
.prod-hero__trust::before {
  content: "···";
  margin-right: 12px;
  color: var(--orange);
  letter-spacing: 0.3em;
}

.prod-hero--pipworth { padding-bottom: 56px; }

/* ============================================================
   PIPWORTH detail page sections
   ============================================================ */

.pw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pw-step {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.pw-step::before {
  content: "";
  position: absolute; top: -1px; left: 24px;
  width: 40px; height: 2px;
  background: var(--grad);
}
.pw-step__num {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-family: ui-monospace, Menlo, monospace;
  margin-bottom: 18px;
  padding-top: 8px;
}
.pw-step__t {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 12px; line-height: 1.3;
  color: var(--white);
}
.pw-step__b {
  font-size: 14.5px; line-height: 1.6; color: var(--grey-2);
  margin: 0;
}
@media (max-width: 900px) { .pw-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pw-steps { grid-template-columns: 1fr; } }

/* Modes */
.pw-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pw-mode {
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  position: relative;
}
.pw-mode--default {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,138,0,0.10), transparent 70%),
    var(--navy-2);
  border-color: rgba(255,138,0,0.4);
  box-shadow: 0 0 0 1px rgba(255,138,0,0.18), 0 20px 50px -20px rgba(255,138,0,0.3);
}
.pw-mode__flag {
  position: absolute;
  top: -10px; left: 24px;
  background: var(--grad);
  color: var(--navy);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace;
}
.pw-mode__h {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pw-mode__name {
  font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--white);
}
.pw-mode__sub {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
  font-family: ui-monospace, Menlo, monospace;
}
.pw-mode__b {
  font-size: 14.5px; line-height: 1.6; color: var(--grey-2);
  margin: 0;
}
@media (max-width: 900px) { .pw-modes { grid-template-columns: 1fr; } }

/* Outcomes */
.pw-outcomes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.pw-outcome {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.pw-outcome__bar {
  position: absolute; top: -1px; left: 0;
  width: 56px; height: 2px;
  background: var(--grad);
}
.pw-outcome__t {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 10px; color: var(--white);
}
.pw-outcome__b {
  font-size: 15px; line-height: 1.6; color: var(--grey-2);
  margin: 0;
}
@media (max-width: 700px) { .pw-outcomes { grid-template-columns: 1fr; } }

/* Integrations */
.pw-int {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  max-width: 980px;
}
.pw-int__col {
  padding: 24px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pw-int__lbl {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-family: ui-monospace, Menlo, monospace;
  margin-bottom: 12px;
}
.pw-int__col p {
  font-size: 14.5px; line-height: 1.55; color: #CBD5E1;
  margin: 0;
}
@media (max-width: 800px) { .pw-int { grid-template-columns: 1fr; } }

/* FAQ */
.pw-faq {
  margin-top: 32px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.pw-faq__item {
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.pw-faq__item[open] { border-color: rgba(255,138,0,0.3); }
.pw-faq__item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.pw-faq__item summary::-webkit-details-marker { display: none; }
.pw-faq__q {
  font-size: 16px; font-weight: 600; color: var(--white);
  letter-spacing: -0.005em;
}
.pw-faq__chev {
  display: inline-flex;
  color: var(--orange);
  transition: transform .25s ease;
}
.pw-faq__item[open] .pw-faq__chev { transform: rotate(180deg); }
.pw-faq__a {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15px; line-height: 1.65;
  color: var(--grey-2);
  max-width: 760px;
}
