/* NEXT INNOVATIONS — Homepage tokens & base */
:root {
  /* Surfaces */
  --paper:        #F6F2EB;    /* warm washi paper — primary canvas */
  --paper-2:      #EFEAE0;    /* raised paper card */
  --paper-3:      #E6E0D2;    /* pressed / divider */
  --paper-inset:  #FAF7F1;    /* recessed wells */
  --ink:          #0E1217;    /* near-black ink for dark sections */
  --ink-2:        #161B22;    /* raised on dark */
  --ink-3:        #1F2630;    /* hover on dark */
  --ink-inset:    #090C10;

  /* Foreground */
  --fg:           #14181E;
  --fg-muted:     #4A5360;
  --fg-subtle:    #7A8392;
  --fg-faint:     #B3BAC4;

  --on-ink:       #F2EEE5;
  --on-ink-muted: #A8B0BC;
  --on-ink-subtle:#6F7886;

  /* Lines */
  --line:         rgba(20, 24, 30, 0.12);
  --line-soft:    rgba(20, 24, 30, 0.07);
  --line-strong:  rgba(20, 24, 30, 0.28);
  --line-on-ink:  rgba(242, 238, 229, 0.10);
  --line-on-ink-soft: rgba(242, 238, 229, 0.06);

  /* Accents */
  --indigo:       oklch(45% 0.14 270);
  --indigo-deep:  oklch(36% 0.13 270);
  --indigo-soft:  oklch(92% 0.04 270);
  --vermilion:    oklch(64% 0.16 35);
  --vermilion-deep: oklch(54% 0.16 35);
  --moss:         oklch(58% 0.10 158);
  --gold:         oklch(78% 0.12 85);

  /* Type */
  --font-sans:    "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif:   "Instrument Serif", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;

  /* Radii */
  --r-1: 6px; --r-2: 10px; --r-3: 14px; --r-4: 20px; --r-5: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 0 rgba(255,255,255,.5) inset, 0 1px 2px rgba(14,18,23,.06), 0 2px 8px -2px rgba(14,18,23,.08);
  --shadow-2: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px -10px rgba(14,18,23,.14), 0 2px 6px -2px rgba(14,18,23,.08);
  --shadow-3: 0 1px 0 rgba(255,255,255,.7) inset, 0 24px 60px -24px rgba(14,18,23,.25), 0 8px 20px -8px rgba(14,18,23,.12);
  --shadow-ink: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -24px rgba(0,0,0,.5), 0 8px 20px -8px rgba(0,0,0,.3);

  /* Motion */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-rain: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-quick: 120ms;
  --dur-snap:  180ms;
  --dur-base:  240ms;
  --dur-slow:  480ms;

  /* Layout */
  --container: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: light; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  font-feature-settings: "ss01", "cv11";
}

/* Home opening — short brand impression on first arrival */
.home-opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98), rgba(248, 245, 238, 0.94) 46%, rgba(244, 240, 232, 0.99) 100%),
    var(--paper);
  opacity: 1;
  animation: home-opening-exit 640ms cubic-bezier(.4,0,.2,1) 1850ms both;
}
.home-opening-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 55, 95, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 55, 95, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 47%, #000 0%, transparent 68%);
  opacity: 0;
  transform: scale(1.02);
  animation: home-opening-grid-in 780ms cubic-bezier(.16,1,.3,1) 40ms both;
}
.home-opening-beam {
  position: absolute;
  width: min(860px, 84vw);
  height: min(360px, 42vh);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(124,135,232,0.18), transparent 64%),
    radial-gradient(ellipse at 32% 54%, rgba(92,153,116,0.12), transparent 58%);
  filter: blur(18px);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  animation: home-opening-beam-in 880ms cubic-bezier(.16,1,.3,1) 70ms both;
  pointer-events: none;
}
.home-opening-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 48px));
  text-align: center;
}
.home-opening-kicker {
  color: var(--fg-subtle);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  opacity: 0;
  transform: translateY(8px);
  animation: home-opening-rise 520ms cubic-bezier(.16,1,.3,1) 120ms both;
}
.home-opening-title {
  margin: 20px auto 0;
  color: var(--fg);
  font-size: clamp(54px, 8.2vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.064em;
}
.home-opening-title span {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
}
.home-opening-title span:nth-child(1) {
  animation: home-opening-word 760ms cubic-bezier(.16,1,.3,1) 220ms both;
}
.home-opening-title span:nth-child(2) {
  color: var(--indigo);
  animation: home-opening-word 760ms cubic-bezier(.16,1,.3,1) 340ms both;
}
.home-opening-line {
  width: min(420px, 68vw);
  height: 1px;
  margin: 26px auto 0;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(55, 77, 181, 0.58), rgba(92, 153, 116, 0.36), transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: home-opening-line 620ms cubic-bezier(.16,1,.3,1) 740ms both;
}
.home-opening-tags {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: var(--fg-subtle);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.home-opening-tags span {
  opacity: 0;
  transform: translateY(6px);
  animation: home-opening-rise 440ms cubic-bezier(.16,1,.3,1) calc(860ms + var(--i, 0ms)) both;
}
.home-opening-tags span:nth-child(1) { --i: 0ms; }
.home-opening-tags span:nth-child(2) { --i: 80ms; }
.home-opening-tags span:nth-child(3) { --i: 160ms; }
.home-opening-tags span:nth-child(4) { --i: 240ms; }

@keyframes home-opening-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-opening-word {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes home-opening-line {
  to { transform: scaleX(1); }
}
@keyframes home-opening-grid-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes home-opening-beam-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes home-opening-exit {
  to {
    opacity: 0;
    transform: scale(1.012);
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 600px) {
  .home-opening-inner {
    width: calc(100vw - 34px);
  }
  .home-opening-kicker {
    font-size: 10px;
    line-height: 1.4;
  }
  .home-opening-title {
    margin-top: 18px;
    font-size: clamp(48px, 15vw, 74px);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }
  .home-opening-tags {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-opening,
  .home-opening-grid,
  .home-opening-beam,
  .home-opening-kicker,
  .home-opening-title span,
  .home-opening-line,
  .home-opening-tags span {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
  }
  .mobile-app-nav-shell,
  .mobile-app-nav-item.is-featured,
  .mobile-app-nav-item.is-featured::before,
  .mobile-app-nav-item.is-featured::after,
  .mobile-app-nav-item.is-featured svg,
  .mobile-ai-hint {
    animation: none !important;
  }
}

h1, h2, h3, h4, h5 {
  margin: 0;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1, h2 { font-family: var(--font-serif); font-style: normal; font-weight: 400; }
h1 { font-size: clamp(52px, 6vw, 82px); line-height: .94; letter-spacing: -0.055em; }
h2 { font-size: clamp(38px, 4.2vw, 58px); line-height: .98; letter-spacing: -0.045em; }
h3, h4, h5 { font-family: var(--font-sans); font-weight: 600; }
h3 { font-size: 28px; line-height: 1.18; }
h4 { font-size: 20px; line-height: 1.25; }
p  { margin: 0; text-wrap: pretty; }

.serif { font-family: var(--font-serif); font-weight: 400; font-style: normal; letter-spacing: -0.025em; }
/* Italic is a controlled one-phrase display emphasis, not a general heading style. */
.serif-hero { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.mono  { font-family: var(--font-mono); font-feature-settings: "ss02"; letter-spacing: 0.04em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* Buttons — "Crystal" modern 3D system
   Refined glass-pebble feel: subtle vertical gradient face, top sheen,
   chromatic ambient drop shadow, and a specular highlight that sweeps
   across on hover. Lifts 2px on hover, sits flush on press.
   Alternate styles available via <body data-btn-style="hanko|flat">. */
:root {
  --btn-depth: 5px;            /* hanko stack depth */
  --btn-press: 2px;             /* hanko hover descent */
  --btn-active: 5px;            /* hanko :active descent */
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.006em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  user-select: none;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 320ms var(--ease-soft),
    background  240ms var(--ease-soft),
    color       240ms var(--ease-soft),
    border-color 240ms var(--ease-soft);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

/* Direct children sit above the sweep highlight */
.btn > * { position: relative; z-index: 2; }

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.34) 44%, rgba(255,255,255,.72) 50%, rgba(124,135,232,.16) 56%, transparent 100%);
  opacity: 0;
  transform: translateX(-90%);
  transition: opacity 180ms var(--ease-soft), transform 620ms var(--ease-rain);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}
.btn:hover::before {
  opacity: .75;
  transform: translateX(90%);
}

/* Focus ring sits OUTSIDE the button so it's always visible */
.btn:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

/* ── PRIMARY ── ink face, deep gradient, vermilion ambient halo */
.btn-primary {
  background:
    radial-gradient(circle at 22% 0%, rgba(124,135,232,.34), transparent 38%),
    radial-gradient(circle at 86% 12%, rgba(92,153,116,.22), transparent 34%),
    linear-gradient(180deg, #252C36 0%, #111821 64%, #080B10 100%);
  color: var(--on-ink);
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -1px 0 rgba(0,0,0,0.52),
    0 1px 1px rgba(14,18,23,0.25),
    0 12px 28px -14px rgba(14,18,23,0.58),
    0 20px 54px -28px rgba(124,135,232,0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 2px 3px rgba(14,18,23,0.22),
    0 18px 36px -16px rgba(14,18,23,0.55),
    0 28px 68px -30px rgba(124,135,232,0.68);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.4),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 1px 2px rgba(14,18,23,0.3),
    0 4px 12px -4px rgba(14,18,23,0.3);
  transition-duration: 120ms;
}

/* ── SECONDARY ── warm paper face, hairline border, soft ambient lift */
.btn-secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(246,242,235,.56) 100%);
  color: var(--fg);
  border-color: rgba(255,255,255,0.66);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.86),
    0 1px 0 rgba(255,255,255,.55),
    0 10px 26px -18px rgba(14,18,23,0.28);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 0 rgba(255,255,255,.72),
    0 16px 38px -20px rgba(14,18,23,0.34);
}
.btn-secondary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 3px rgba(20,24,30,0.10),
    inset 0 -1px 0 rgba(255,255,255,0.5),
    0 1px 3px rgba(14,18,23,0.06);
  transition-duration: 120ms;
}

/* ── ON-INK ── cream face on dark, deep ambient with vermilion halo */
.btn-on-ink {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(242,238,229,.82) 100%);
  color: var(--ink);
  border-color: rgba(255,255,255,0.68);
  -webkit-backdrop-filter: blur(12px) saturate(132%);
  backdrop-filter: blur(12px) saturate(132%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(20,24,30,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.4),
    0 1px 1px rgba(0,0,0,0.24),
    0 10px 26px -14px rgba(0,0,0,0.42),
    0 20px 52px -28px rgba(255,255,255,0.42);
}
.btn-on-ink:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(20,24,30,0.10),
    0 2px 3px rgba(0,0,0,0.24),
    0 16px 36px -16px rgba(0,0,0,0.48),
    0 28px 68px -30px rgba(255,255,255,0.58);
}
.btn-on-ink:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 3px rgba(20,24,30,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.5),
    0 1px 4px rgba(0,0,0,0.3);
  transition-duration: 120ms;
}

/* ── GHOST-INK ── frosted translucent face on dark */
.btn-ghost-ink {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  color: var(--on-ink);
  border-color: rgba(242,238,229,0.22);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(242,238,229,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(242,238,229,0.04),
    0 1px 2px rgba(0,0,0,0.2),
    0 10px 24px -14px rgba(0,0,0,0.45);
}
.btn-ghost-ink:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,0.17) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(242,238,229,0.36);
  box-shadow:
    inset 0 1px 0 rgba(242,238,229,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 2px 4px rgba(0,0,0,0.25),
    0 16px 34px -16px rgba(0,0,0,0.5);
}
.btn-ghost-ink:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.3),
    inset 0 -1px 0 rgba(242,238,229,0.05),
    0 1px 4px rgba(0,0,0,0.3);
  transition-duration: 120ms;
}

/* ── VERMILION ── seal-red, deep saturated glow */
.btn-vermilion {
  background:
    linear-gradient(180deg, oklch(74% 0.17 35) 0%, oklch(62% 0.18 33) 55%, oklch(52% 0.17 32) 100%);
  color: #FFFFFF;
  border-color: oklch(42% 0.14 30);
  text-shadow: 0 1px 0 rgba(0,0,0,0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 1px 2px rgba(14,18,23,0.30),
    0 4px 10px -2px oklch(50% 0.17 32 / 0.45),
    0 14px 32px -10px oklch(60% 0.18 34 / 0.55),
    0 22px 56px -18px oklch(64% 0.16 35 / 0.55);
}
.btn-vermilion:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.40),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 2px 3px rgba(14,18,23,0.30),
    0 8px 16px -3px oklch(50% 0.17 32 / 0.5),
    0 22px 44px -12px oklch(60% 0.18 34 / 0.65),
    0 32px 72px -20px oklch(64% 0.16 35 / 0.7);
}
.btn-vermilion:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.30),
    inset 0 -1px 0 rgba(255,255,255,0.10),
    0 1px 4px rgba(14,18,23,0.3);
  transition-duration: 120ms;
}

/* Arrow */
.btn-arrow::after {
  content: "→";
  font-size: 16px;
  display: inline-block;
  position: relative;
  z-index: 2;
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn.btn-arrow:hover::after,
.btn-arrow:hover::after { transform: translateX(4px); }
.btn.btn-arrow:active::after,
.btn-arrow:active::after { transform: translateX(2px); }

.btn span {
  min-width: 0;
  line-height: 1.15;
  font-feature-settings: "ss01", "cv11";
}

@media (max-width: 560px) {
  .btn {
    min-height: 48px;
    padding: 13px 16px;
    font-size: 13.5px;
    line-height: 1.22;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .btn.btn-arrow::after {
    flex: 0 0 auto;
  }
  .hero-actions .btn,
  .service-detail-hero .btn,
  .contact-form-foot .btn,
  .mvp-hero-ctas .btn,
  .product-dual-ctas .btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ALT STYLE — "Hanko" stack press (chunky stamp). Toggle via Tweaks.
   ═══════════════════════════════════════════════════════════════════ */
body[data-btn-style="hanko"] .btn { overflow: visible; transition:
    transform 180ms cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 220ms var(--ease-soft); }
body[data-btn-style="hanko"] .btn::before { display: none; }

body[data-btn-style="hanko"] .btn-primary {
  background: linear-gradient(180deg, #232A35 0%, #131820 55%, #0A0D12 100%);
  border-color: #000;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 1px 0 oklch(56% 0.16 35),
    0 2px 0 oklch(50% 0.16 33),
    0 3px 0 oklch(44% 0.15 32),
    0 4px 0 oklch(38% 0.13 30),
    0 5px 0 oklch(32% 0.10 28),
    0 7px 12px -3px rgba(14,18,23,0.40),
    0 14px 30px -10px oklch(64% 0.16 35 / 0.40);
}
body[data-btn-style="hanko"] .btn-primary:hover {
  transform: translateY(var(--btn-press));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 1px 0 oklch(56% 0.16 35),
    0 2px 0 oklch(50% 0.16 33),
    0 3px 0 oklch(44% 0.15 32),
    0 5px 14px -3px rgba(14,18,23,0.45);
}
body[data-btn-style="hanko"] .btn-primary:active {
  transform: translateY(var(--btn-active));
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.45), 0 0 0 oklch(56% 0.16 35), 0 2px 8px -3px rgba(14,18,23,0.4);
}

body[data-btn-style="hanko"] .btn-secondary {
  background: linear-gradient(180deg, #FBF8F2 0%, #EFEAE0 100%);
  border-color: rgba(20,24,30,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 1px 0 #DCD4C2, 0 2px 0 #D0C7B2, 0 3px 0 #C4BBA3, 0 4px 0 #B8AE94, 0 5px 0 #AAA086,
    0 7px 14px -4px rgba(14,18,23,0.18);
}
body[data-btn-style="hanko"] .btn-secondary:hover {
  transform: translateY(var(--btn-press));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 1px 0 #DCD4C2, 0 2px 0 #D0C7B2, 0 3px 0 #C4BBA3,
    0 5px 12px -3px rgba(14,18,23,0.22);
}
body[data-btn-style="hanko"] .btn-secondary:active {
  transform: translateY(var(--btn-active));
  box-shadow: inset 0 2px 4px rgba(20,24,30,0.14), 0 0 0 #AAA086, 0 2px 6px -2px rgba(14,18,23,0.2);
}

body[data-btn-style="hanko"] .btn-on-ink {
  background: linear-gradient(180deg, #FFFFFF 0%, #F2EEE5 100%);
  border-color: rgba(0,0,0,0.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 0 rgba(0,0,0,0.55), 0 2px 0 rgba(0,0,0,0.60), 0 3px 0 rgba(0,0,0,0.65),
    0 4px 0 rgba(0,0,0,0.70), 0 5px 0 rgba(0,0,0,0.75),
    0 8px 18px -4px rgba(0,0,0,0.45),
    0 16px 36px -12px oklch(64% 0.16 35 / 0.42);
}
body[data-btn-style="hanko"] .btn-on-ink:hover {
  transform: translateY(var(--btn-press));
  box-shadow:
    0 1px 0 rgba(0,0,0,0.55), 0 2px 0 rgba(0,0,0,0.60), 0 3px 0 rgba(0,0,0,0.65),
    0 6px 16px -4px rgba(0,0,0,0.5);
}
body[data-btn-style="hanko"] .btn-on-ink:active {
  transform: translateY(var(--btn-active));
  box-shadow: inset 0 2px 4px rgba(20,24,30,0.2), 0 0 0 rgba(0,0,0,0.7), 0 2px 6px -2px rgba(0,0,0,0.4);
}

body[data-btn-style="hanko"] .btn-ghost-ink {
  background: linear-gradient(180deg, rgba(242,238,229,0.05), rgba(242,238,229,0));
  border-color: rgba(242,238,229,0.34);
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(242,238,229,0.14),
    0 1px 0 rgba(242,238,229,0.22), 0 2px 0 rgba(242,238,229,0.16), 0 3px 0 rgba(242,238,229,0.11),
    0 4px 0 rgba(242,238,229,0.07), 0 5px 0 rgba(242,238,229,0.04),
    0 7px 14px -4px rgba(0,0,0,0.45);
}
body[data-btn-style="hanko"] .btn-ghost-ink:hover {
  transform: translateY(var(--btn-press));
  background: linear-gradient(180deg, rgba(242,238,229,0.09), rgba(242,238,229,0.02));
  box-shadow:
    0 1px 0 rgba(242,238,229,0.22), 0 2px 0 rgba(242,238,229,0.16), 0 3px 0 rgba(242,238,229,0.11),
    0 5px 12px -3px rgba(0,0,0,0.45);
}
body[data-btn-style="hanko"] .btn-ghost-ink:active {
  transform: translateY(var(--btn-active));
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.35), 0 0 0 rgba(242,238,229,0.22), 0 2px 6px -2px rgba(0,0,0,0.4);
}

body[data-btn-style="hanko"] .btn-vermilion {
  background: linear-gradient(180deg, oklch(72% 0.16 35) 0%, oklch(60% 0.17 33) 55%, oklch(52% 0.17 32) 100%);
  border-color: oklch(38% 0.13 32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -1px 0 rgba(0,0,0,0.22),
    0 1px 0 oklch(36% 0.06 30), 0 2px 0 oklch(28% 0.05 28), 0 3px 0 oklch(22% 0.04 26),
    0 4px 0 oklch(16% 0.03 24), 0 5px 0 oklch(11% 0.02 22),
    0 7px 14px -3px rgba(14,18,23,0.50),
    0 14px 32px -8px oklch(64% 0.16 35 / 0.55);
}
body[data-btn-style="hanko"] .btn-vermilion:hover {
  transform: translateY(var(--btn-press));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    0 1px 0 oklch(36% 0.06 30), 0 2px 0 oklch(28% 0.05 28), 0 3px 0 oklch(22% 0.04 26),
    0 5px 14px -3px rgba(14,18,23,0.5);
}
body[data-btn-style="hanko"] .btn-vermilion:active {
  transform: translateY(var(--btn-active));
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.30), 0 0 0 oklch(36% 0.06 30), 0 2px 6px -2px rgba(14,18,23,0.4);
}

/* ═══════════════════════════════════════════════════════════════════
   ALT STYLE — Classic flat (legacy). <body data-btn-style="flat">
   ═══════════════════════════════════════════════════════════════════ */
body[data-btn-style="flat"] .btn { box-shadow: none !important; transform: none !important; overflow: visible; }
body[data-btn-style="flat"] .btn::before { display: none; }
body[data-btn-style="flat"] .btn-primary    { background: var(--ink); box-shadow: var(--shadow-1) !important; }
body[data-btn-style="flat"] .btn-primary:hover { background: #20262F; transform: translateY(-1px) !important; box-shadow: var(--shadow-2) !important; }
body[data-btn-style="flat"] .btn-secondary  { background: transparent; border-color: var(--line-strong); }
body[data-btn-style="flat"] .btn-secondary:hover { background: rgba(20,24,30,0.04); }
body[data-btn-style="flat"] .btn-on-ink     { background: var(--on-ink); color: var(--ink); border-color: transparent; }
body[data-btn-style="flat"] .btn-ghost-ink  { background: transparent; border-color: var(--line-on-ink); backdrop-filter: none; }
body[data-btn-style="flat"] .btn-vermilion  { background: var(--vermilion); }
body[data-btn-style="flat"] .btn-vermilion:hover { background: var(--vermilion-deep); }

/* Sections */
section { position: relative; }
.section-pad { padding: 136px 0; }
@media (max-width: 720px) { .section-pad { padding: 92px 0; } }
@media (max-width: 720px) {
  .service-detail-hero {
    padding-top: 104px !important;
    padding-bottom: 58px !important;
  }
}

/* Anchor jumps must clear the sticky top nav */
section[id] { scroll-margin-top: 96px; }

.section-dark { background: var(--ink); color: var(--on-ink); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-ink); }
.section-dark .eyebrow { color: var(--on-ink-subtle); }
.section-dark p { color: var(--on-ink-muted); }

.section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 72px;
  max-width: 920px;
}
.section-header .lead {
  font-size: clamp(17px, 1.45vw, 20px);
  color: var(--fg-muted);
  line-height: 1.48;
  max-width: 680px;
}
.section-dark .section-header .lead { color: var(--on-ink-muted); }

/* Cards */
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  transition: transform var(--dur-base) var(--ease-rain),
              box-shadow var(--dur-base) var(--ease-soft),
              border-color var(--dur-base) var(--ease-soft);
}
.card.is-floating {
  background: #FFFCF6;
  box-shadow: 0 18px 54px -44px rgba(14,18,23,.34);
}
.card.is-floating:hover {
  transform: translateY(-2px);
}

/* Tag chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(20,24,30,0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

/* Mobile app-style bottom navigation — quiet dock */
.mobile-app-nav {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }
  .mobile-app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    display: flex;
    justify-content: center;
    padding: 0 14px calc(8px + env(safe-area-inset-bottom));
    pointer-events: none;
    transition:
      transform 420ms cubic-bezier(.16,1,.3,1),
      opacity 260ms var(--ease-soft),
      filter 260ms var(--ease-soft);
  }
  .mobile-app-nav-shell {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    width: min(100%, 500px);
    min-height: 62px;
    padding: 6px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: var(--paper-inset);
    box-shadow: 0 14px 28px -24px rgba(14,18,23,.36);
    pointer-events: auto;
    animation: none;
  }
  .mobile-app-nav-shell::before,
  .mobile-app-nav-shell::after { display: none; }
  .mobile-app-nav-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 50px;
    border-radius: 14px;
    color: var(--fg-subtle);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition:
      color 180ms var(--ease-soft),
      background 180ms var(--ease-soft),
      transform 180ms var(--ease-soft);
  }
  .mobile-app-nav-item svg {
    width: 20px;
    height: 20px;
    transform: translateY(-5px);
    transition: transform 220ms var(--ease-rain);
  }
  .mobile-app-nav-item span {
    position: absolute;
    left: 50%;
    bottom: 4px;
    max-width: 58px;
    overflow: hidden;
    color: currentColor;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1;
    opacity: 0.78;
    transform: translate(-50%, 0);
    transition: opacity 180ms var(--ease-soft), transform 180ms var(--ease-soft);
    white-space: nowrap;
  }
  .mobile-app-nav-item.is-featured {
    min-width: 0;
    height: 50px;
    margin: 0;
    color: #fff;
    background: var(--ink);
    box-shadow: none;
  }
  .mobile-app-nav-item.is-featured::before,
  .mobile-app-nav-item.is-featured::after { display: none; }
  .mobile-ai-hint { display: none !important; }
  .mobile-app-nav-item.is-featured svg,
  .mobile-app-nav-item.is-featured span {
    z-index: 2;
  }
  .mobile-app-nav-item.is-featured svg {
    position: relative;
    width: 20px;
    height: 20px;
    transform: translateY(-5px);
    filter: none;
  }
  .mobile-app-nav-item.is-featured span {
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 58px;
    max-width: 58px;
    text-align: center;
    color: rgba(255,255,255,0.95);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.015em;
    opacity: 1;
    transform: translate(-50%, 0);
    text-shadow: none;
  }
  .mobile-app-nav-item.is-featured span:not(.mobile-ai-hint) {
    bottom: 4px;
  }
  .mobile-app-nav-item.is-active {
    color: var(--indigo);
    background: rgba(61,77,181,.08);
    box-shadow: none;
  }
  .mobile-app-nav-item.is-featured.is-active {
    color: #fff;
    background: var(--indigo);
    box-shadow: none;
  }
  .mobile-app-nav-item.is-active svg {
    transform: translateY(-5px);
  }
  .mobile-app-nav-item.is-featured.is-active svg {
    transform: translateY(-5px);
  }
  .mobile-app-nav-item.is-active span {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .mobile-app-nav-item:active {
    transform: scale(.98);
  }
  .mobile-app-nav-item.is-featured:active {
    transform: scale(.98);
  }
  .mobile-app-nav-item:focus-visible {
    outline: 2px solid var(--vermilion);
    outline-offset: 3px;
  }
  body.nx-consult-open .mobile-app-nav {
    opacity: 0;
    filter: blur(10px);
    pointer-events: none;
    transform: translateY(calc(96px + env(safe-area-inset-bottom))) scale(0.96);
  }
  body.nx-consult-open .mobile-ai-hint {
    opacity: 0 !important;
    transform: translate(-50%, 8px) scale(0.96) !important;
  }

  @keyframes mobile-nav-liquid {
    0% { --liquid-x: 28%; transform: translateY(0); }
    100% { --liquid-x: 78%; transform: translateY(-1px); }
  }
  @keyframes mobile-nav-caustic {
    0%, 100% { opacity: 0.42; transform: translateX(-24%) skewX(-8deg); }
    48% { opacity: 0.78; transform: translateX(16%) skewX(-8deg); }
  }
  @keyframes next-ai-breathe {
    0%, 100% {
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.55),
        inset 0 -12px 22px rgba(0,18,55,0.18),
        0 14px 30px -18px rgba(31,125,255,0.82),
        0 0 28px -18px rgba(64,224,255,0.78);
      transform: translateY(0) scale(1);
    }
    50% {
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.7),
        inset 0 -10px 24px rgba(0,18,55,0.14),
        0 18px 42px -18px rgba(31,125,255,1),
        0 0 48px -12px rgba(64,224,255,0.98);
      transform: translateY(-2px) scale(1.035);
    }
  }
  @keyframes next-ai-aura {
    0%, 100% { opacity: 0.46; transform: scale(0.96); }
    50% { opacity: 0.9; transform: scale(1.12); }
  }
  @keyframes next-ai-sheen {
    0%, 100% { opacity: 0.42; transform: translateX(-10%) rotate(0.001deg); }
    50% { opacity: 0.85; transform: translateX(10%) rotate(0.001deg); }
  }
  @keyframes next-ai-icon-live {
    0%, 100% { transform: translateY(-7px) rotate(0deg) scale(1); }
    45% { transform: translateY(-9px) rotate(-3deg) scale(1.06); }
    70% { transform: translateY(-7px) rotate(2deg) scale(1.02); }
  }
  @keyframes next-ai-hint-float {
    0%, 100% { opacity: 0.88; transform: translate(-50%, 2px) scale(0.98); }
    18%, 68% { opacity: 1; transform: translate(-50%, -3px) scale(1); }
    82% { opacity: 0.94; transform: translate(-50%, 0) scale(0.99); }
  }

  /* The mobile bottom bar owns the AI entry point, so hide the separate
     floating launcher on phones to prevent overlap and visual noise. */
  .nx-ai-launcher {
    display: none !important;
  }
}
.tag-ink { background: rgba(242,238,229,.06); color: var(--on-ink-muted); border-color: var(--line-on-ink); }
.tag-indigo { background: var(--indigo-soft); color: var(--indigo-deep); border-color: transparent; }
.tag-moss { color: oklch(40% 0.11 158); border-color: color-mix(in oklch, var(--moss) 32%, transparent); background: color-mix(in oklch, var(--moss) 9%, transparent); }

/* Hairlines */
.hairline { height: 1px; background: var(--line); width: 100%; }
.hairline-on-ink { height: 1px; background: var(--line-on-ink); width: 100%; }

/* Mockup canvases */
.mockup {
  position: relative;
  border-radius: var(--r-3);
  background: linear-gradient(180deg, #FFFCF6 0%, #F2ECDF 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mockup-ink {
  background: linear-gradient(180deg, #1A2029 0%, #0E1217 100%);
  border-color: var(--line-on-ink);
}

/* Stripe placeholder */
.stripe-placeholder {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(20,24,30,0.04) 0,
    rgba(20,24,30,0.04) 1px,
    transparent 1px,
    transparent 8px
  );
}
.stripe-placeholder-ink {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(242,238,229,0.04) 0,
    rgba(242,238,229,0.04) 1px,
    transparent 1px,
    transparent 8px
  );
}

/* Mobile navigation — app dock with a real-looking Next AI input. */
@media (max-width: 720px) {
  body { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .mobile-app-nav { padding: 0 12px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-app-nav-shell {
    grid-template-columns: 42px 42px minmax(0, 1fr);
    gap: 6px;
    width: min(100%, 520px);
    min-height: 66px;
    padding: 7px;
    border: 1px solid #d5cec2;
    border-radius: 999px;
    background: #e9e4da;
    box-shadow: 0 14px 30px -25px rgba(47,40,32,.36);
  }
  .mobile-app-nav-item,
  .mobile-app-nav-item.is-featured {
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: #59564f;
    text-decoration: none;
  }
  .mobile-app-nav-item svg,
  .mobile-app-nav-item.is-featured svg,
  .mobile-app-nav-item.is-active svg,
  .mobile-app-nav-item.is-featured.is-active svg {
    width: 23px;
    height: 23px;
    transform: none;
  }
  .mobile-app-nav-item > span { display: none; }
  .mobile-app-nav-item.is-active,
  .mobile-app-nav-item.is-featured.is-active {
    color: #34332f;
    background: transparent;
    box-shadow: none;
  }
  .mobile-app-nav-item:active,
  .mobile-app-nav-item.is-featured:active { transform: scale(.96); color: #34332f; }
  .mobile-ai-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    gap: 7px;
    min-width: 0;
    height: 50px;
    padding: 0 5px 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,252,246,.52);
    color: #68645c;
    font: 600 12px var(--font-sans);
    letter-spacing: -.015em;
    text-align: left;
    cursor: pointer;
  }
  .mobile-ai-composer span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-ai-composer-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #625e57;
    font-weight: 650;
    white-space: nowrap;
  }
  .mobile-ai-composer-label > i {
    display: inline-block;
    width: 1px;
    height: 14px;
    margin-left: 2px;
    vertical-align: -2px;
    background: #777168;
    animation: mobile-ai-caret 850ms steps(1, end) infinite;
  }
  .mobile-ai-composer > i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #5d6573;
    color: #fff;
    font: 500 19px/1 var(--font-sans);
    font-style: normal;
    animation: mobile-ai-ready 2.8s var(--ease-soft) 2 both;
  }
  .mobile-ai-composer.is-active { background: rgba(255,252,246,.72); box-shadow: none; color: #3f3d38; }
  .mobile-ai-composer:active { transform: scale(.985); }

  @keyframes mobile-ai-caret { 50% { opacity: 0; } }
  @keyframes mobile-ai-ready { 0%, 100% { transform: scale(1); background: #5d6573; } 50% { transform: scale(1.07); background: #4f5a6c; } }
}

@media (max-width: 420px) {
  .mobile-app-nav { padding-inline: 10px; }
  .mobile-app-nav-shell { grid-template-columns: 38px 38px minmax(0, 1fr); gap: 4px; min-height: 62px; padding: 6px; }
  .mobile-app-nav-item,
  .mobile-app-nav-item.is-featured { width: 38px; height: 48px; }
  .mobile-app-nav-item svg,
  .mobile-app-nav-item.is-featured svg { width: 21px; height: 21px; transform: none; }
  .mobile-ai-composer { height: 48px; grid-template-columns: minmax(0,1fr) 28px; gap: 5px; padding-left: 12px; font-size: 11px; }
  .mobile-ai-composer > i { width: 28px; height: 28px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-ai-composer-label,
  .mobile-ai-composer-label > i,
  .mobile-ai-composer > i { animation: none !important; }
  .mobile-ai-composer-label > i { display: none; }
}

/* Animated subtle entry */
@keyframes lift-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lift-in {
  opacity: 1;
  transform: translateY(0);
  animation: lift-in 720ms var(--ease-rain) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .lift-in { animation: none; opacity: 1; transform: none; }
  * { transition-duration: 0.001ms !important; }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection */
::selection { background: var(--ink); color: var(--on-ink); }

/* Grain overlay helper */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.06;
  mix-blend-mode: multiply;
}
.section-dark .grain::after { mix-blend-mode: screen; opacity: 0.04; }

/* Footer: restrained liquid glass panel on the dark brand field. */
.liquid-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(124,135,232,.18), transparent 32%),
    radial-gradient(circle at 84% 0%, rgba(92,153,116,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 32%);
}
.liquid-footer::after {
  content: "";
  position: absolute;
  inset: -18% -10% 0;
  pointer-events: none;
  opacity: 0.44;
  background:
    radial-gradient(circle at 16% 26%, rgba(118, 164, 255, 0.58) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 12%, rgba(255, 255, 255, 0.42) 0 1.5px, transparent 3px),
    radial-gradient(circle at 58% 34%, rgba(80, 205, 169, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 18%, rgba(147, 158, 255, 0.48) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 72%, rgba(255, 255, 255, 0.22) 0 1px, transparent 3px),
    linear-gradient(115deg, transparent 0 18%, rgba(130, 145, 255, 0.16) 18.2% 18.45%, transparent 18.65% 100%),
    linear-gradient(28deg, transparent 0 34%, rgba(80, 205, 169, 0.10) 34.2% 34.45%, transparent 34.65% 100%),
    linear-gradient(152deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48.2% 48.42%, transparent 48.65% 100%),
    radial-gradient(ellipse at 72% 18%, rgba(61, 145, 255, 0.20), transparent 42%),
    radial-gradient(ellipse at 24% 74%, rgba(80, 205, 169, 0.12), transparent 38%);
  background-size:
    420px 300px,
    460px 320px,
    520px 360px,
    480px 340px,
    560px 380px,
    620px 420px,
    680px 440px,
    760px 520px,
    100% 100%,
    100% 100%;
  filter: blur(0.2px);
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
  animation: footer-network-drift 18s var(--ease-rain) infinite alternate;
}
.liquid-footer > .container {
  position: relative;
  z-index: 1;
}
.footer-glass-panel {
  position: relative;
  padding: 32px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)),
    radial-gradient(circle at 10% 0%, rgba(124,135,232,.16), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(80, 205, 169, 0.10), transparent 34%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 30px 90px -55px rgba(0,0,0,.65);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}
.footer-glass-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 36%, rgba(255,255,255,.08) 36.2% 36.45%, transparent 36.7% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(255,255,255,.045) 48.2% 48.45%, transparent 48.7% 100%);
  background-size: 180px 180px;
  opacity: 0.42;
  mask-image: radial-gradient(circle at 80% 20%, black, transparent 58%);
  -webkit-mask-image: radial-gradient(circle at 80% 20%, black, transparent 58%);
}

/* Footer: a quiet endpoint for the page, without a second visual system. */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, var(--ink), var(--ink-2)) !important;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,135,232,.72), transparent);
}
.footer-start-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding-bottom: 5px;
  border-bottom: 1px solid color-mix(in oklch, var(--indigo) 65%, white);
  color: var(--on-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.footer-start-link span { color: color-mix(in oklch, var(--indigo) 65%, white); transition: transform var(--dur-snap) var(--ease-soft); }
.footer-start-link:hover span { transform: translateX(3px); }
.footer-link { transition: color var(--dur-snap) var(--ease-soft), opacity var(--dur-snap) var(--ease-soft); }
.footer-link:hover { color: var(--on-ink) !important; opacity: 1 !important; }
@keyframes footer-network-drift {
  0% {
    transform: translate3d(-12px, 0, 0) scale(1);
    opacity: 0.34;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(18px, -18px, 0) scale(1.035);
    opacity: 0.42;
  }
}
@media (prefers-reduced-motion: reduce) {
  .liquid-footer::after { animation: none; }
}

/* Utility */
.flex { display: flex; }
.col { flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.items-center { align-items: center; }
.between { justify-content: space-between; }

/* Hero responsive */
@keyframes ht-pulse {
  0%, 100% { box-shadow: 0 0 0 3px oklch(45% 0.14 270 / 0.18); }
  50%      { box-shadow: 0 0 0 5px oklch(45% 0.14 270 / 0.08); }
}
@media (max-width: 960px) {
  :root {
    --nav-top-gap: 8px;
  }
  .nav {
    width: calc(100% - 18px);
    border-radius: 18px;
  }
  .nav-inner {
    padding-inline: 12px;
  }
  .official-logo-img { width: 158px; }
  .official-logo-footer .official-logo-img { width: 204px; }
  .hero-split {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .hero-three-card {
    height: 360px !important;
  }
}
@media (max-width: 600px) {
  .hero-section {
    padding-top: 132px !important;
  }
  .hero-meta-row {
    gap: 16px !important;
    margin-bottom: 32px !important;
  }
  .hero-section h1 {
    font-size: clamp(43px, 12vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.034em;
  }
  .hero-section .text3d-host {
    perspective: 420px !important;
  }
  .hero-lead {
    margin-top: 24px !important;
    max-width: 34rem !important;
    font-size: 16.5px !important;
    line-height: 1.58 !important;
    letter-spacing: -0.01em;
  }
  .hero-actions {
    margin-top: 28px !important;
    gap: 12px !important;
  }
}
@media (max-width: 390px) {
  .hero-section h1 {
    font-size: clamp(39px, 11.2vw, 48px);
  }
  .hero-lead {
    font-size: 16px !important;
  }
}

/* Responsive collapses for Strength / Products / Solutions / TikTok / AI-detail / Contact / MVP */
@media (max-width: 960px) {
  .grid-strength { grid-template-columns: 1fr !important; }
  .grid-strength > * { grid-column: 1 / -1 !important; }
  .grid-solutions { grid-template-columns: 1fr !important; }
  .grid-featured-sol { grid-template-columns: 1fr !important; }
  .featured-sol-copy { order: 2; }
  .featured-sol-visual {
    order: 1;
    border-left: none !important;
    border-bottom: 1px solid var(--line-on-ink) !important;
    min-height: 240px !important;
  }
  .grid-products { grid-template-columns: 1fr !important; }
  .grid-ai-detail { grid-template-columns: 1fr !important; }
  .grid-tiktok { grid-template-columns: 1fr !important; }
  .grid-contact { grid-template-columns: 1fr !important; }
  .grid-contact > div { padding: 24px !important; }
  .grid-contact > div:first-child { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .contact-form-foot { flex-wrap: wrap; gap: 14px; }
  .contact-form-foot .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-wrap: wrap; gap: 16px; }
  .grid-mvp { grid-template-columns: repeat(2, 1fr) !important; row-gap: 32px !important; }
  .grid-pact { grid-template-columns: 1fr !important; }
  .grid-footer { grid-template-columns: 1fr 1fr !important; }
  .grid-hero-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-members { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-hiring { grid-template-columns: 1fr !important; }
  .grid-faq { grid-template-columns: 1fr !important; }
  .grid-news-year { grid-template-columns: 1fr !important; }
  .grid-press { grid-template-columns: 1fr !important; }
  .news-featured { grid-template-columns: 1fr !important; gap: 24px !important; padding: 28px !important; }
  .news-featured > *:last-child { width: auto !important; text-align: left !important; }
  .news-row { grid-template-columns: 1fr !important; gap: 10px !important; padding: 22px 18px !important; }
  .news-row > *:last-child { text-align: left !important; }
  .grid-insights { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-insights-featured { grid-template-columns: 1fr !important; }
  .grid-subscribe { grid-template-columns: 1fr !important; gap: 24px !important; }
  .subscribe-form { flex-wrap: wrap !important; }
  .subscribe-form > input { flex: 1 1 100% !important; min-width: 0 !important; }
  .subscribe-form > button { flex: 1 1 100% !important; justify-content: center !important; }
}
@media (max-width: 600px) {
  .hiring-role { grid-template-columns: auto 1fr auto !important; gap: 12px !important; }
  .hiring-role-tag { display: none !important; }
}
@media (max-width: 560px) {
  .official-logo-img { width: 148px; }
  .official-logo-footer .official-logo-img { width: 190px; }
  .footer-glass-panel {
    padding: 24px;
    border-radius: 24px;
  }
  .grid-mvp { grid-template-columns: 1fr !important; }
  .grid-footer { grid-template-columns: 1fr !important; }
  .grid-tiktok-items { grid-template-columns: 1fr !important; }
  .grid-members { grid-template-columns: 1fr !important; }
  .grid-insights { grid-template-columns: 1fr !important; }
}

/* ── Phone: keep key proof sections visible, but compact ── */
@media (max-width: 600px) {
  /* MVP — the "OUR PACT" cadence band is supporting detail; the 6 steps
     above already carry the process. */
  #mvp-detail .grid-pact { display: none !important; }

  /* TikTok — keep every partnership card visible on mobile. */
  .grid-tiktok-items > div { display: flex !important; }
  .grid-tiktok-items > div:last-child {
    grid-column: 1 / -1 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .grid-tiktok-items > div:last-child .btn {
    width: 100%;
    justify-content: center;
  }

  /* Previews — keep Members visible, but make it a compact proof strip
     instead of a heavy desktop-width marquee. */
  .members-strip {
    display: flex !important;
    margin-top: 22px !important;
  }
  .members-strip > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 22px 20px 14px !important;
  }
  .members-viewport {
    margin: 0 12px !important;
    padding: 14px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .members-track {
    animation: none !important;
    gap: 10px !important;
    padding-right: 12px;
  }
  .member-chip {
    width: min(76vw, 300px) !important;
    padding: 16px !important;
    gap: 12px !important;
  }
  .member-chip > div:first-child {
    grid-template-columns: auto 1fr !important;
    gap: 12px !important;
  }
  .member-chip > div:first-child > div:first-child {
    width: 58px !important;
    height: 58px !important;
    font-size: 20px !important;
  }
  .trust-members-grid {
    display: flex !important;
    gap: 10px !important;
    width: max-content;
    overflow: visible;
    margin: 0 -12px 10px !important;
    padding: 0 12px 12px !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: none;
    scrollbar-width: none;
    animation: trust-members-slide 24s linear infinite;
    will-change: transform;
  }
  .trust-members-grid::-webkit-scrollbar {
    display: none;
  }
  .trust-members-grid .trust-member-card:nth-child(n + 5) {
    display: flex;
  }
  .trust-member-card {
    flex: 0 0 min(82vw, 320px) !important;
    min-height: 344px !important;
    padding: 16px !important;
    scroll-snap-align: start;
  }
  .trust-member-photo {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 18px !important;
    font-size: 52px !important;
  }
  .trust-member-card h4 {
    font-size: 23px !important;
  }
  .trust-members-grid:hover,
  .trust-members-grid:active {
    animation-play-state: paused;
  }
  .members-strip .preview-cta {
    padding: 13px 14px !important;
  }
  .preview-viewport { height: 200px !important; }
  #previews > div[aria-hidden="true"] { display: none !important; }
}

/* mc1 — generic "collapse inline grid to one column on phones".
   For inline style={{gridTemplateColumns}} grids a media query can only win
   via !important, so this utility force-stacks them ≤600px. */
@media (max-width: 600px) {
  .mc1 { grid-template-columns: 1fr !important; }
}

/* Phone text wrapping — force copy to wrap inside the narrow viewport.
   white-space: pre-wrap honours soft-wrap points (and any authored newlines)
   instead of letting a headline ride off-screen; overflow-wrap/word-break let
   long unbreakable tokens (URLs, MMK codes, ticket IDs) break mid-word rather
   than overflow. text-wrap: pretty keeps the rag tidy. */
@media (max-width: 600px) {
  h1, h2, h3, .lead, .eyebrow,
  .section-header p, .container p {
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: pretty;
  }
}

/* Previews section (Insights / News / FAQ) + Members strip */
.previews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .previews-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .previews-grid { grid-template-columns: 1fr; }
}

/* Final HOME polish: keep the page premium, but reduce mobile crowding and
   prevent fixed AI/navigation UI from covering important section actions. */
@media (max-width: 720px) {
  #mvp-detail,
  #web-detail,
  #our-products,
  #works,
  #tiktok,
  #previews {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  .strength-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 16px !important;
    min-height: auto !important;
    padding: 28px !important;
  }
  .strength-card > div:nth-child(1) {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
  }
  .strength-card > div:nth-child(2) {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 44px !important;
    height: 44px !important;
    align-self: start !important;
    justify-self: end !important;
    margin: 0 !important;
    opacity: 0.62 !important;
  }
  .strength-card > div:nth-child(3) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    padding-top: 0 !important;
  }
  .strength-card-title {
    max-width: none !important;
    font-size: clamp(25px, 7.2vw, 30px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
  .strength-card-body {
    font-size: 14.5px !important;
    line-height: 1.58 !important;
    max-width: 34ch !important;
  }
}

@media (max-width: 420px) {
  .mobile-app-nav {
    padding-left: 12px;
    padding-right: 12px;
  }
  .mobile-app-nav-shell {
    min-height: 62px;
    padding: 6px;
  }
  .mobile-app-nav-item {
    height: 50px;
  }
  .mobile-app-nav-item svg {
    width: 20px;
    height: 20px;
  }
  .mobile-app-nav-item span {
    font-size: 8px;
  }
  .mobile-app-nav-item.is-featured {
    min-width: 0;
    height: 50px;
  }
  .mobile-app-nav-item.is-featured svg {
    width: 20px;
    height: 20px;
    transform: translateY(-5px);
  }
  .mobile-app-nav-item.is-featured span {
    width: 58px;
    max-width: 58px;
    font-size: 8px;
    bottom: 4px;
  }
  .mobile-ai-hint {
    bottom: calc(100% + 8px) !important;
    padding: 7px 10px !important;
    font-size: 10px !important;
  }
}

@keyframes preview-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes members-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes trust-members-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-members-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 18px;
}
.trust-members-grid .trust-member-card:nth-child(n + 5) {
  display: none;
}
.trust-member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 0%, oklch(70% 0.12 var(--member-hue) / 0.2), transparent 38%),
    linear-gradient(180deg, #FFFCF6, var(--paper-2));
  box-shadow: 0 18px 42px -34px rgba(14, 18, 23, 0.36);
  color: var(--fg);
  text-decoration: none;
  transition:
    transform 280ms var(--ease-rain),
    border-color 220ms var(--ease-soft),
    box-shadow 280ms var(--ease-soft);
}
.trust-member-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), transparent 38%);
  opacity: 0.56;
  pointer-events: none;
}
.trust-member-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklch, oklch(55% 0.12 var(--member-hue)) 42%, var(--line));
  box-shadow: 0 22px 52px -34px rgba(14, 18, 23, 0.44);
}
.trust-member-card.is-agent {
  border-color: var(--line-on-ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(124, 135, 232, 0.3), transparent 40%),
    linear-gradient(160deg, var(--ink), #111821);
  color: var(--on-ink);
}
.trust-member-photo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, oklch(58% 0.12 var(--member-hue)) 24%, var(--line-soft));
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.68), transparent 28%),
    linear-gradient(135deg, oklch(92% 0.045 var(--member-hue)), oklch(74% 0.12 var(--member-hue)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 14px 30px -22px rgba(14, 18, 23, 0.38);
  color: oklch(30% 0.12 var(--member-hue));
  font-size: clamp(44px, 5.2vw, 74px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.trust-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}
.trust-member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(14, 18, 23, 0.16)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}
.trust-member-card.is-agent .trust-member-photo {
  border: 1px solid var(--line-on-ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(124, 135, 232, 0.34), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: var(--on-ink);
}
.trust-member-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.trust-member-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.trust-member-topline .mono {
  overflow: hidden;
  color: var(--fg-subtle);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trust-member-card.is-agent .trust-member-topline .mono {
  color: var(--on-ink-subtle);
}
.trust-member-signal {
  flex: none;
  padding: 3px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--fg-muted);
  font-size: 10px;
  line-height: 1.2;
}
.trust-member-card.is-agent .trust-member-signal {
  border-color: var(--line-on-ink);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-ink-muted);
}
.trust-member-card h4 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.trust-member-role {
  color: var(--fg-muted);
  font-size: 13px;
}
.trust-member-card.is-agent .trust-member-role {
  color: var(--on-ink-muted);
}
.trust-member-card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.trust-member-card.is-agent p {
  color: var(--on-ink-muted);
}

/* Members directory — large portrait cards aligned with the HOME trust cards */
.directory-member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 0%, oklch(70% 0.12 var(--member-hue) / 0.18), transparent 38%),
    linear-gradient(180deg, #FFFCF6, var(--paper-2));
  box-shadow: 0 18px 42px -34px rgba(14, 18, 23, 0.32);
  transition:
    transform 280ms var(--ease-rain),
    border-color 220ms var(--ease-soft),
    box-shadow 280ms var(--ease-soft);
}
.directory-member-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), transparent 36%);
  opacity: 0.52;
  pointer-events: none;
}
.directory-member-photo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3.25;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, oklch(58% 0.12 var(--member-hue)) 24%, var(--line-soft));
  border-radius: 19px;
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, oklch(92% 0.045 var(--member-hue)), oklch(74% 0.12 var(--member-hue)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 16px 34px -24px rgba(14, 18, 23, 0.38);
  color: oklch(30% 0.12 var(--member-hue));
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.directory-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.directory-member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(14, 18, 23, 0.16)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}
.directory-agent-card {
  background:
    radial-gradient(circle at 82% 0%, rgba(124, 135, 232, 0.28), transparent 40%),
    linear-gradient(160deg, var(--ink), #111821);
  color: var(--on-ink);
}
.directory-agent-card .directory-member-photo {
  border-color: var(--line-on-ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(124, 135, 232, 0.34), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: var(--on-ink);
}
.directory-member-body,
.directory-member-footer {
  position: relative;
  z-index: 1;
}
.directory-member-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}
.directory-member-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--fg-subtle);
  font-size: 11px;
}
.directory-member-meta .mono {
  overflow: hidden;
  font-size: 10px;
  letter-spacing: 0.075em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.directory-agent-card .directory-member-meta {
  color: var(--on-ink-subtle);
}
.directory-member-card h3 {
  margin: 2px 0 0;
  font-size: 25px;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.directory-member-card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.56;
}
.directory-agent-card p,
.directory-agent-card .directory-agent-role {
  color: var(--on-ink-muted);
}
.directory-agent-role {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.directory-member-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}
.directory-agent-card .directory-member-footer {
  border-top-color: var(--line-on-ink-soft);
}
.directory-member-footer .mono {
  color: var(--fg-muted);
  font-size: 10.5px;
  letter-spacing: 0.075em;
}
.directory-agent-card .directory-member-footer .mono {
  color: var(--on-ink-muted);
}
.directory-member-langs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.directory-member-langs span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--fg-subtle);
  font-size: 10px;
}
.preview-card:hover .preview-track { animation-play-state: paused; }
.members-strip:hover .members-track { animation-play-state: paused; }
.member-chip:hover {
  background: #FFFCF6 !important;
  border-color: var(--line) !important;
  transform: translateY(-1px);
}
.preview-cta:hover {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.preview-cta:hover .preview-cta-arrow { transform: translateX(3px); }
@media (max-width: 700px) {
  .members-strip-meta { text-align: left !important; }
}
@media (max-width: 1100px) {
  .trust-members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .preview-track,
  .members-track,
  .trust-members-grid { animation: none !important; }
}

/* ── H8 integrated review: compact TikTok partnership ── */
.tiktok-review-compact {
  position: relative;
  background: var(--paper);
}
.tiktok-review-compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  background: linear-gradient(135deg, var(--paper-2), var(--paper));
  overflow: hidden;
}
.tiktok-review-copy { max-width: 590px; }
.tiktok-review-copy h2 {
  margin: 12px 0 16px;
  max-width: 570px;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.tiktok-review-copy > p {
  max-width: 510px;
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.tiktok-review-copy .tiktok-review-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--fg-subtle);
}
.tiktok-review-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tiktok-review-phone-wrap {
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tiktok-review-phone {
  width: 274px;
  padding: 9px;
  border-radius: 42px;
  background: #0b0e12;
  box-shadow: 0 34px 80px -38px rgba(14,18,23,.55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.tiktok-review-screen {
  position: relative;
  height: 424px;
  overflow: hidden;
  border-radius: 34px;
  background: #000;
}
.tiktok-review-screen iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: 325px;
  height: 580px;
  transform: translateX(-50%) scale(.732);
  transform-origin: top center;
  border: 0;
  background: #000;
  pointer-events: none;
}
.tiktok-review-notch {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 84px;
  height: 19px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.tiktok-review-sound {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  color: #fff;
  font: 500 10px/1 var(--font-sans);
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tiktok-review-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 13px 12px 15px;
  color: rgba(255,255,255,.55);
  font: 10px/1 var(--font-mono);
  letter-spacing: .15em;
}
.tiktok-review-dots { display: flex; gap: 5px; }
.tiktok-review-dots span { width: 5px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.3); transition: width .28s ease, background .28s ease; }
.tiktok-review-dots span[data-active="true"] { width: 18px; background: rgba(255,255,255,.95); }

/* ── H8 integrated review: continuous Members rail ── */
.members-strip--scroll .trust-members-grid {
  display: block;
  margin: 0;
  padding: 0 0 18px;
  overflow: hidden;
}
.members-strip--scroll .members-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 0 16px;
  animation: members-scroll 32s linear infinite;
  will-change: transform;
}
.members-strip--scroll .trust-member-card {
  display: flex !important;
  flex: 0 0 282px;
  min-height: 348px;
}
.members-strip--scroll:hover .members-track,
.members-strip--scroll:focus-within .members-track { animation-play-state: paused; }

/* ── H8 integrated review: final conversion CTA ── */
.home-final-cta { background: var(--paper); }
.home-final-cta-surface {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  min-height: 490px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  background: #fbf8f1;
}
.home-final-cta-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px);
}
.home-final-cta-copy h2 {
  max-width: 620px;
  margin: 14px 0 17px;
  color: var(--fg);
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: .96;
  letter-spacing: -.055em;
}
.home-final-cta-copy p {
  max-width: 510px;
  margin: 0;
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.65;
}
.home-final-cta-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.home-final-cta-button { min-height:48px; }
.home-final-cta-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
}
.home-final-cta-visual::after {
  content: "";
  position: absolute;
  inset: 13% 8%;
  border: 1px solid rgba(44,95,255,.13);
  border-radius: 999px;
  pointer-events: none;
}
.home-final-cta-visual img {
  position: relative;
  z-index: 1;
  width: 132%;
  max-width: none;
  mix-blend-mode: multiply;
  animation: home-final-ribbon-drift 8s var(--ease-rain) infinite alternate;
  will-change: transform;
}
.home-final-cta-mark {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  background: rgba(21,33,61,.17);
}
.home-final-cta-mark--tl { top: 22px; left: 22px; }
.home-final-cta-mark--tr { top: 22px; right: 22px; }
.home-final-cta-mark--bl { bottom: 22px; left: 22px; }
.home-final-cta-mark--br { right: 22px; bottom: 22px; }
@keyframes home-final-ribbon-drift {
  from { transform: translate3d(-1.5%, 1%, 0) rotate(-1.2deg) scale(1.01); }
  to { transform: translate3d(1.5%, -1%, 0) rotate(1.2deg) scale(1.04); }
}

@media (max-width: 760px) {
  .tiktok-review-compact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px 24px;
  }
  .tiktok-review-copy h2 { font-size: clamp(33px, 10vw, 45px); }
  .tiktok-review-copy > p { font-size: 15px; }
  .tiktok-review-actions { width: 100%; }
  .tiktok-review-actions .btn { flex: 1 1 100%; justify-content: center; }
  .tiktok-review-phone-wrap { order: -1; min-height: auto; }
  .tiktok-review-phone { width: 246px; }
  .tiktok-review-screen { height: 380px; }
  .tiktok-review-screen iframe { transform: translateX(-50%) scale(.657); }

  .members-strip--scroll .trust-members-grid { padding-bottom: 14px; }
  .members-strip--scroll .members-track { gap: 10px; padding: 0 12px; animation-duration: 36s; }
  .members-strip--scroll .trust-member-card { flex-basis: min(78vw, 306px); min-height: 334px !important; }

  .home-final-cta-surface { grid-template-columns: 1fr; min-height: 0; }
  .home-final-cta-copy { padding: 42px 24px 26px; }
  .home-final-cta-copy h2 { font-size: clamp(40px, 12vw, 55px); }
  .home-final-cta-copy p { font-size: 15px; }
  .home-final-cta-actions { width:100%; flex-direction:column; gap:10px; }
  .home-final-cta-button { width:100%; justify-content:center; }
  .home-final-cta-visual { min-height: 260px; }
  .home-final-cta-visual img { width: 132%; }
  .home-final-cta-visual::after { inset: 8% 13%; }
}

@media (prefers-reduced-motion: reduce) {
  .members-strip--scroll .members-track,
  .home-final-cta-visual img { animation: none !important; }
  .members-strip--scroll .trust-members-grid { overflow-x: auto; }
}

/* About page responsive */
@media (max-width: 960px) {
  .grid-about-facts { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-about-origin { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid-about-principles { grid-template-columns: 1fr !important; }
  .grid-about-studios { grid-template-columns: 1fr !important; }
  .grid-about-scope { grid-template-columns: 1fr !important; }
  .about-timeline-row { grid-template-columns: 80px 1fr !important; gap: 16px !important; }
  .about-company-panel { grid-template-columns: 1fr !important; }
  .about-company-panel > :first-child { border-right: none !important; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .about-studio-contact { grid-template-columns: 1fr !important; row-gap: 6px !important; }
}

/* Works page + preview strip */
.works-cats {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.works-cat-chip {
  appearance: none;
  background: transparent;
  border: none;
  border-left: 1px solid var(--line-soft);
  padding: 22px 16px 20px;
  text-align: left;
  font-family: inherit;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background var(--dur-snap) var(--ease-soft);
}
.works-cat-chip:first-child { border-left: none; }
.works-cat-chip:hover { background: rgba(20,24,30,0.025); }
.works-cat-chip[data-active="true"] { background: var(--chip-soft); }
.works-cat-chip[data-active="true"]::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--chip-accent);
}
.works-cat-no {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
}
.works-cat-chip[data-active="true"] .works-cat-no { color: var(--chip-deep); }
.works-cat-label {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--fg);
}
.works-cat-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
}
.works-cat-chip[data-active="true"] .works-cat-count { color: var(--chip-deep); }

@media (max-width: 980px) {
  .works-cats { grid-template-columns: repeat(4, 1fr); }
  .works-cat-chip:nth-child(5) { border-left: none; }
}
@media (max-width: 600px) {
  .works-cats { grid-template-columns: repeat(2, 1fr); }
  .works-cat-chip:nth-child(odd) { border-left: none; }
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.works-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .works-grid, .works-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .works-grid, .works-grid-3 { grid-template-columns: 1fr; }
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}

@media (max-width: 760px) {
  .grid-works-models { grid-template-columns: 1fr !important; }
}

/* Works preview (landing strip) */
.works-preview-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.works-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.works-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.5);
  color: var(--fg-subtle);
  font-size: 10px;
  letter-spacing: 0.09em;
}
@media (max-width: 900px) {
  .works-preview-grid { grid-template-columns: 1fr; gap: 28px; }
}

.works-preview-lanes {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.works-lane-row {
  appearance: none;
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 4px;
  text-align: left;
  font-family: inherit;
  color: var(--fg);
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr auto 18px;
  gap: 14px;
  align-items: center;
  transition: background var(--dur-snap), padding var(--dur-snap);
}
.works-lane-row:last-of-type { border-bottom: none; }
.works-lane-row:hover {
  background: rgba(20,24,30,0.025);
  padding-left: 10px;
  padding-right: 10px;
}
.works-lane-row[data-active="true"] {
  background: var(--lane-soft);
  padding-left: 14px;
  padding-right: 14px;
}
.works-lane-no {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
}
.works-lane-row[data-active="true"] .works-lane-no { color: var(--lane-deep); }
.works-lane-label {
  font-size: 22px;
  letter-spacing: -0.018em;
  font-weight: 500;
  line-height: 1.1;
}
.works-lane-row[data-active="true"] .works-lane-label { color: var(--lane-deep); }
.works-lane-count {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
}
.works-lane-row[data-active="true"] .works-lane-count { color: var(--lane-deep); }
.works-lane-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur-snap), transform var(--dur-snap);
  color: var(--lane-deep);
  font-size: 16px;
}
.works-lane-row:hover .works-lane-arrow,
.works-lane-row[data-active="true"] .works-lane-arrow {
  opacity: 1;
  transform: translateX(0);
}
.works-mobile-all-cta {
  display: none;
}

/* Shared mobile snap carousel language
   Used by Works, AI Business Solutions, and Web System preview. */
@media (max-width: 600px) {
  .mobile-snap-rail {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 20px 10px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .mobile-snap-rail::-webkit-scrollbar {
    display: none;
  }
  .mobile-snap-card {
    flex: 0 0 min(60vw, 232px) !important;
    width: min(60vw, 232px) !important;
    min-height: 92px !important;
    scroll-snap-align: center !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: 0 12px 32px -26px rgba(14,18,23,.34) !important;
    transform: translateZ(0) scale(.985);
    transition:
      transform 360ms cubic-bezier(.16,1,.3,1),
      border-color 260ms var(--ease-soft),
      background 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft) !important;
  }
  .works-lane-row {
    flex: 0 0 min(66vw, 252px) !important;
    width: min(66vw, 252px) !important;
    min-height: 104px !important;
    scroll-snap-align: center !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: 0 12px 32px -26px rgba(14,18,23,.34) !important;
    transform: translateZ(0) scale(.985);
    transition:
      transform 360ms cubic-bezier(.16,1,.3,1),
      border-color 260ms var(--ease-soft),
      background 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft) !important;
  }
  .mobile-snap-card[data-active="true"],
  .works-lane-row[data-active="true"] {
    background: rgba(255,255,255,.82) !important;
    transform: translateY(-2px) scale(1);
    box-shadow: 0 18px 44px -30px rgba(14,18,23,.44) !important;
  }
  .ai-mobile-option[data-active="true"] {
    border-color: var(--indigo) !important;
    box-shadow: 0 18px 44px -30px color-mix(in oklch, var(--indigo) 50%, transparent) !important;
  }
  .wd-mobile-option[data-active="true"] {
    border-color: var(--moss) !important;
    box-shadow: 0 18px 44px -30px color-mix(in oklch, var(--moss) 52%, transparent) !important;
  }
  .ai-mobile-rail,
  .wd-mobile-rail {
    margin-top: -2px !important;
    margin-bottom: 2px !important;
  }
  .ai-mobile-option,
  .wd-mobile-option {
    padding: 12px 13px !important;
    gap: 14px !important;
    justify-content: flex-start !important;
  }
  .ai-mobile-option > div:first-child {
    margin-bottom: 0 !important;
  }
  .ai-mobile-option > div:first-child > span:first-child {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
  }
  .ai-mobile-option > div:first-child > span:first-child canvas {
    width: 26px !important;
    height: 26px !important;
  }
  .ai-mobile-option > span:last-child,
  .wd-mobile-option > span:last-child {
    font-size: 14.5px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.012em !important;
  }
  .wd-mobile-option > div:first-child {
    margin-bottom: 0 !important;
  }
  .ai-preview-panel,
  .wd-mobile-explorer > div[style*="var(--ink)"] {
    border-radius: 24px !important;
    box-shadow: 0 18px 48px -34px rgba(14,18,23,.55);
  }
}

@media (max-width: 600px) {
  #works.section-pad {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  #works .section-header {
    margin-bottom: 28px !important;
  }
  #works .section-header h2 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
  }
  #works .section-header .lead {
    font-size: 16px;
    line-height: 1.55;
  }
  .works-proof-row {
    gap: 7px;
  }
  .works-proof-row span {
    min-height: 26px;
    padding: 6px 9px;
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }
  .works-preview-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .works-preview-lanes {
    border: 0;
  }
  .works-preview-lanes::-webkit-scrollbar {
    display: none;
  }
  .works-lane-row {
    border: 1px solid var(--line-soft);
    padding: 14px 15px 13px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "no count"
      "label label";
    gap: 12px;
  }
  .works-lane-row:hover,
  .works-lane-row[data-active="true"] {
    padding: 16px 16px 14px;
  }
  .works-lane-row[data-active="true"] {
    border-color: color-mix(in oklch, var(--lane-deep) 24%, var(--line));
    box-shadow: 0 14px 34px -24px color-mix(in oklch, var(--lane-deep) 42%, transparent);
  }
  .works-lane-no {
    grid-area: no;
    align-self: start;
    font-size: 10px;
  }
  .works-lane-label {
    grid-area: label;
    font-size: 22px;
    line-height: 1.08;
  }
  .works-lane-count {
    grid-area: count;
    align-self: start;
    font-size: 10px;
    white-space: nowrap;
  }
  .works-lane-arrow,
  .works-lanes-all-cta {
    display: none !important;
  }
  .works-preview-card {
    border-radius: 26px !important;
  }
  .works-preview-card > div:first-child {
    height: 220px !important;
  }
  .works-preview-card > div:first-child .tag {
    top: 16px !important;
    left: 16px !important;
    max-width: calc(100% - 118px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .works-preview-card > div:first-child > .mono {
    top: 16px !important;
    right: 16px !important;
  }
  .works-preview-card > div:first-child > div:last-child {
    left: 20px !important;
    right: 20px !important;
    bottom: 22px !important;
    font-size: clamp(36px, 13vw, 52px) !important;
  }
  .works-preview-card > div:nth-child(2) {
    padding: 22px !important;
  }
  .works-preview-card > div:nth-child(2) > .flex {
    align-items: flex-start !important;
    gap: 10px;
  }
  .works-preview-card > div:nth-child(2) > .flex > .mono {
    display: none;
  }
  .works-preview-card > div:nth-child(2) > div:last-child {
    flex-direction: column;
  }
  .works-preview-card > div:nth-child(2) > div:last-child .btn {
    width: 100%;
    justify-content: center;
  }
  .works-mobile-all-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 2px;
  }
}

/* Web system tabs + service page responsive */
@media (max-width: 900px) {
  .grid-web-tabs { grid-template-columns: repeat(2, 1fr) !important; }
  .wd-b2c-grid { grid-template-columns: 1fr !important; }
  .wd-ai-grid { grid-template-columns: 1fr !important; }
  .grid-service-hero { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid-service-pillars { grid-template-columns: 1fr !important; }
  .grid-service-stack { grid-template-columns: 1fr !important; gap: 28px !important; }
  .grid-service-cta { grid-template-columns: 1fr !important; gap: 24px !important; padding: 36px !important; }
}
@media (max-width: 720px) {
  .grid-service-process { grid-template-columns: repeat(2, 1fr) !important; row-gap: 40px !important; }
}

/* Product ecosystem + pilot product pages */
.product-ecosystem-hero,
.pilot-product-hero {
  padding-top: 180px;
  padding-bottom: 88px;
  background:
    radial-gradient(circle at 80% 12%, rgba(65, 73, 218, .09), transparent 34%),
    var(--paper);
}
.product-ecosystem-hero-grid,
.pilot-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: end;
  margin-top: 28px;
}
.product-ecosystem-hero h1,
.pilot-product-hero h1 {
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 980px;
}
.product-ecosystem-hero-copy,
.pilot-product-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.product-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-ecosystem-vision-grid,
.product-relationship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.product-vision-card,
.product-relationship-card {
  padding: clamp(28px, 4vw, 48px);
  min-height: 260px;
}
.product-vision-card > .mono,
.product-relationship-card > .mono {
  color: var(--fg-subtle);
  font-size: 10px;
  letter-spacing: .1em;
}
.product-vision-card h3,
.product-relationship-card h3 {
  margin-top: 40px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}
.product-vision-card p,
.product-relationship-card p {
  margin-top: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.product-ecosystem-areas {
  display: grid;
  gap: 24px;
}
.product-ecosystem-area {
  border-top: 1px solid var(--line);
  padding: 32px 0 12px;
}
.product-ecosystem-area-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.product-ecosystem-area-head > .mono {
  color: var(--fg-subtle);
  font-size: 11px;
}
.product-ecosystem-area-head h3 {
  font-size: clamp(28px, 4vw, 46px);
}
.product-ecosystem-area-head p {
  margin-top: 8px;
  color: var(--fg-muted);
}
.ecosystem-flow,
.pilot-product-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.ecosystem-flow-step,
.pilot-product-flow-step {
  flex: 1 0 150px;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--paper);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ecosystem-flow-step .mono,
.pilot-product-flow-step .mono {
  color: var(--fg-subtle);
  font-size: 10px;
}
.ecosystem-flow-step strong,
.pilot-product-flow-step strong {
  font-size: 14px;
  line-height: 1.35;
}
.ecosystem-flow-arrow,
.pilot-product-flow-arrow {
  align-self: center;
  color: var(--fg-subtle);
  flex: 0 0 auto;
}
.product-ecosystem-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-ecosystem-card {
  min-height: 340px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--r-4);
  border: 1px solid var(--line-on-ink);
  background: var(--ink-2);
  color: var(--on-ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  transition: transform .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.product-ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.4);
}
.product-ecosystem-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--on-ink-subtle);
  font-size: 10px;
  letter-spacing: .08em;
}
.product-ecosystem-card .tag,
.pilot-vision-item .tag {
  color: var(--on-ink-muted);
  border-color: var(--line-on-ink);
  background: rgba(255,255,255,.04);
}
.product-role-label {
  color: var(--on-ink-subtle);
  font-size: 10px;
  letter-spacing: .1em;
}
.product-ecosystem-card h3 {
  color: var(--on-ink);
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 10px;
}
.product-ecosystem-card p {
  color: var(--on-ink-muted);
  line-height: 1.6;
  margin-top: 12px;
}
.product-enterprise-pilot {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-5);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.product-enterprise-pilot h2 {
  color: var(--on-ink);
  font-size: clamp(34px, 5vw, 58px);
}
.product-enterprise-pilot .lead {
  color: var(--on-ink-muted);
  margin-top: 18px;
}
.product-pilot-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-pilot-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-on-ink);
}
.product-pilot-list .mono {
  color: var(--on-ink-subtle);
  font-size: 10px;
}
.product-pilot-list p {
  color: var(--on-ink-muted);
  line-height: 1.5;
}
.product-back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--fg-subtle);
  font-size: 11px;
  letter-spacing: .1em;
  text-decoration: none;
}
.pilot-product-hero-panel {
  margin-top: 72px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
}
.pilot-product-hero-panel > .mono {
  color: var(--fg-subtle);
  font-size: 10px;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.pilot-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pilot-capability-card {
  padding: 28px;
  min-height: 220px;
}
.pilot-capability-card .mono {
  color: var(--fg-subtle);
  font-size: 10px;
}
.pilot-capability-card h3 {
  margin-top: 34px;
  font-size: 22px;
}
.pilot-capability-card p {
  margin-top: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.pilot-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pilot-vision-item {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r-3);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.pilot-vision-item .mono {
  color: var(--on-ink-subtle);
  font-size: 10px;
}
.pilot-vision-item strong {
  color: var(--on-ink);
  font-size: 18px;
}
.pilot-roadmap-flow {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line-on-ink);
}
.pilot-roadmap-flow .pilot-product-flow {
  margin-top: 20px;
}
.pilot-roadmap-flow .pilot-product-flow-step {
  color: var(--on-ink);
  background: var(--ink-2);
  border-color: var(--line-on-ink);
}
.pilot-roadmap-flow .pilot-product-flow-step .mono,
.pilot-roadmap-flow .pilot-product-flow-arrow {
  color: var(--on-ink-subtle);
}
.product-groups {
  display: grid;
  gap: 14px;
}
.solution-groups {
  display: grid;
  gap: 12px;
}
.solution-parent-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 15px;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid color-mix(in oklch, var(--indigo) 24%, var(--line));
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--paper-inset), color-mix(in oklch, var(--indigo) 6%, var(--paper-2)));
  transition: transform .18s var(--ease-soft), border-color .18s var(--ease-soft), box-shadow .18s var(--ease-soft);
}
.solution-parent-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--indigo) 46%, var(--line));
  box-shadow: var(--shadow-1);
}
.solution-parent-link .lcard-t { font-size: 16px; }
.solution-parent-link .go { color: var(--indigo); }
.solution-parent-kicker {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  color: var(--indigo);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.solution-parent-copy {
  display: block;
  margin-top: 4px;
  color: var(--fg-muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.product-group-label,
.dsub-group-label {
  font-family: var(--font-mono);
  color: var(--fg-subtle);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-group-label {
  margin: 0 0 7px 4px;
}
.dsub-group-label {
  display: block;
  padding: 13px 0 3px;
}

/* Product detail page responsive */
@media (max-width: 900px) {
  .product-ecosystem-hero-grid,
  .pilot-product-hero-grid,
  .product-enterprise-pilot {
    grid-template-columns: 1fr;
  }
  .product-ecosystem-vision-grid,
  .product-relationship-grid,
  .product-ecosystem-product-grid {
    grid-template-columns: 1fr;
  }
  .pilot-capability-grid,
  .pilot-vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-product-pillars { grid-template-columns: 1fr !important; }
  .grid-product-usecases { grid-template-columns: 1fr !important; }
  .grid-product-cta { grid-template-columns: 1fr !important; gap: 24px !important; padding: 36px !important; }
}
@media (max-width: 720px) {
  .product-ecosystem-hero,
  .pilot-product-hero {
    padding-top: 132px;
  }
  .product-ecosystem-hero h1,
  .pilot-product-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }
  .product-ecosystem-area-head {
    grid-template-columns: 1fr;
  }
  .ecosystem-flow,
  .pilot-product-flow {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .ecosystem-flow-step,
  .pilot-product-flow-step {
    min-height: auto;
    flex-basis: auto;
  }
  .ecosystem-flow-arrow,
  .pilot-product-flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .pilot-capability-grid,
  .pilot-vision-grid {
    grid-template-columns: 1fr;
  }
  .grid-product-facts { grid-template-columns: repeat(2, 1fr) !important; row-gap: 8px !important; }
  .grid-product-workflow { grid-template-columns: repeat(2, 1fr) !important; row-gap: 40px !important; }
}
@media (max-width: 460px) {
  .grid-product-facts { grid-template-columns: 1fr !important; }
}
/* Hero mockup: stop cramming the 2-col schematic into a fixed phone-width box */
@media (max-width: 720px) {
  .sp-hero-card { height: auto !important; }
  .sp-hero-grid {
    position: static !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }
}
@media (max-width: 560px) {
  .grid-about-facts { grid-template-columns: 1fr !important; }
  .grid-about-facts > * { border-left: none !important; border-top: 1px solid var(--line-soft); }
  .grid-about-facts > *:first-child { border-top: none !important; }
}

/* Consult floating launcher + panel */
@keyframes consult-lift-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.consult-host {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
}
.consult-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: auto;
  z-index: 4;
}
.consult-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(400px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 100px));
  background: #FFFCF6;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(14,18,23,.32), 0 6px 16px -4px rgba(14,18,23,.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
  z-index: 61;
  animation: consult-lift-in 280ms var(--ease-rain);
}
.consult-tip {
  background: #FFFCF6;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-2);
  max-width: 280px;
  font-size: 13px;
  color: var(--fg);
  line-height: 1.5;
  position: relative;
  animation: consult-lift-in 480ms var(--ease-rain);
}
.consult-tip::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #FFFCF6;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.consult-pill {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  font-size: 14px;
  font-weight: 500;
  transition: transform var(--dur-snap), background var(--dur-snap);
}
.consult-pill:hover { transform: translateY(-1px); background: #20262F; }

/* ─── Mobile navigation menu ─── */
.nav-menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background var(--dur-snap) var(--ease-soft),
              border-color var(--dur-snap) var(--ease-soft);
}
.nav-menu-toggle:hover { background: rgba(20,24,30,0.04); }
.nav-menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform var(--dur-base) var(--ease-soft),
              opacity var(--dur-snap) var(--ease-soft);
  transform-origin: center;
}
.nav-menu-toggle span[data-open="true"]:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-menu-toggle span[data-open="true"]:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(246, 242, 235, 0.98);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  padding: 0 0 32px;
  display: none;
  flex-direction: column;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  animation: nav-drawer-in 240ms var(--ease-rain);
}
@keyframes nav-drawer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-drawer[data-open="true"] { display: flex; }
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 8px 32px 16px;
}
.nav-drawer-link {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--fg);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color var(--dur-snap) var(--ease-soft);
}
.nav-drawer-link:last-child { border-bottom: none; }
.nav-drawer-link[data-active="true"] { color: var(--indigo); }
.nav-drawer-link:hover { color: var(--indigo); }
.nav-drawer-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 32px 0;
}
@media (max-width: 720px) {
  .nav-drawer-links { padding-left: 20px; padding-right: 20px; }
  .nav-drawer-ctas  { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 960px) {
  .nav-menu-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .nav-cta-primary { display: none !important; }
}

/* ─── Hero mobile spacing & meta wrap ─── */
.hero-section {
  padding-top: 180px;
  padding-bottom: 88px;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-headline-clean {
  max-width: 820px;
  font-size: clamp(58px, 6.8vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}
.hero-headline-clean span {
  color: var(--indigo);
}
.hero-lead {
  max-width: 560px !important;
  font-size: clamp(17px, 1.25vw, 20px) !important;
  line-height: 1.48 !important;
}
.hero-stats-divider {
  margin-top: 78px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.hero-ai-stack {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.64);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.56), rgba(246,242,235,0.24));
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 18px 42px -30px rgba(20,24,30,0.28);
}
.hero-ai-stack-label {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
}
.hero-ai-stack-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-ai-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(20,24,30,0.08);
  background:
    radial-gradient(circle at 25% 10%, rgba(124,135,232,0.16), transparent 44%),
    rgba(255,255,255,0.48);
  color: color-mix(in oklch, var(--fg) 82%, var(--indigo));
  font-size: 12px;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}

/* HOME: compact technology signal immediately after the hero. */
.home-tech-signal {
  background: var(--paper);
  padding: 0 0 24px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}
.home-tech-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: stretch;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.68);
  background:
    radial-gradient(circle at 12% 12%, rgba(124,135,232,0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.66), rgba(246,242,235,0.34));
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.88),
    0 24px 68px -46px rgba(14,18,23,0.38);
}
.home-tech-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,24,30,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,30,0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 78% 50%, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 78% 50%, black 0%, transparent 72%);
  pointer-events: none;
}
.home-tech-panel::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,135,232,0.72), rgba(255,255,255,0.72), transparent);
  animation: home-tech-scan 4.2s cubic-bezier(.16,1,.3,1) infinite;
  pointer-events: none;
}
.home-tech-copy,
.home-tech-grid {
  position: relative;
  z-index: 1;
}
.home-tech-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 126px;
}
.home-tech-kicker {
  color: var(--fg-subtle);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.home-tech-copy h2 {
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  max-width: 520px;
}
.home-tech-copy h2 .serif {
  color: var(--indigo);
}
.home-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.home-tech-card {
  min-height: 126px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(20,24,30,0.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(124,135,232,0.12), transparent 38%),
    rgba(255,255,255,0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
  animation: home-tech-card-in 620ms cubic-bezier(.16,1,.3,1) both;
  animation-delay: var(--delay);
}
.home-tech-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.home-tech-key {
  color: var(--fg-subtle);
  font-size: 10px;
  letter-spacing: 0.13em;
}
.home-tech-pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--indigo);
  box-shadow: 0 0 0 5px rgba(124,135,232,0.10), 0 0 16px rgba(124,135,232,0.58);
  animation: home-tech-pulse 2.2s ease-in-out infinite;
}
.home-tech-card strong {
  display: block;
  color: var(--fg);
  font-size: 15px;
  letter-spacing: -0.012em;
  margin-bottom: 7px;
}
.home-tech-card p {
  color: var(--fg-muted);
  font-size: 12px;
  line-height: 1.4;
}
@keyframes home-tech-scan {
  0%, 42% { transform: translateX(-104%); opacity: 0; }
  56% { opacity: .85; }
  82%, 100% { transform: translateX(104%); opacity: 0; }
}
@keyframes home-tech-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-tech-pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.38); opacity: .42; }
}
@media (max-width: 980px) {
  .home-tech-panel {
    grid-template-columns: 1fr;
  }
  .home-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .home-tech-signal {
    margin-top: -20px;
    padding-bottom: 20px;
  }
  .home-tech-panel {
    padding: 18px;
    border-radius: 24px;
  }
  .home-tech-copy {
    min-height: 0;
  }
  .home-tech-grid {
    grid-template-columns: 1fr;
  }
  .home-tech-card {
    min-height: 120px;
  }
}
.ai-preview-panel {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 24px 62px -38px rgba(124,135,232,0.42);
}
.ai-preview-panel::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,135,232,0.75), rgba(255,255,255,0.52), transparent);
  opacity: .75;
  animation: ai-preview-scan 3.8s cubic-bezier(.16,1,.3,1) infinite;
  pointer-events: none;
}
@keyframes ai-preview-scan {
  0%, 42% { transform: translateX(-104%); opacity: 0; }
  55% { opacity: .75; }
  78%, 100% { transform: translateX(104%); opacity: 0; }
}
.ai-workflow-scene {
  position: relative;
  overflow: hidden;
  min-height: 244px;
  border: 1px solid var(--line-on-ink);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 44%, rgba(var(--ai-rgb), .2), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.022)),
    var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075);
}
.ai-workflow-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(var(--ai-rgb), .14) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.055) 42%, rgba(var(--ai-rgb), .12) 50%, rgba(255,255,255,.055) 58%, transparent 100%);
  background-size: 18px 18px, 220% 100%;
  opacity: .58;
  animation: ai-workflow-sheen 5.6s cubic-bezier(.16,1,.3,1) infinite;
  pointer-events: none;
}
.ai-workflow-topline,
.ai-workflow-bottom,
.ai-workflow-stage {
  position: relative;
  z-index: 1;
}
.ai-workflow-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 0;
}
.ai-workflow-topline .mono {
  color: rgba(var(--ai-rgb), .9);
  font-size: 10.5px;
  letter-spacing: .105em;
}
.ai-workflow-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--on-ink-subtle);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .09em;
}
.ai-workflow-live i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--ai-rgb));
  box-shadow: 0 0 0 0 rgba(var(--ai-rgb), .42);
  animation: ai-live-pulse 2.2s ease-out infinite;
}
.ai-experience-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 16px 0;
}
.ai-experience-rail span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--on-ink-subtle);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .075em;
  opacity: .62;
  transition: opacity .42s cubic-bezier(.16,1,.3,1), color .42s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1);
}
.ai-experience-rail span i {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 34px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.ai-experience-rail span i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--ai-rgb), .2), rgba(var(--ai-rgb), .95));
  transform: translateX(-105%);
}
.ai-experience-rail span.is-active {
  color: var(--on-ink);
  opacity: 1;
  transform: translateY(-1px);
}
.ai-experience-rail span.is-active i::after {
  animation: ai-phase-fill 1.45s cubic-bezier(.16,1,.3,1) both;
}
.ai-exp {
  position: relative;
  z-index: 1;
  min-height: 166px;
  margin: 8px 14px 10px;
}
.ai-exp-support {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.ai-exp-phone,
.ai-exp-side,
.ai-exp-browser,
.ai-exp-pipeline,
.ai-exp-message,
.ai-exp-answer,
.ai-exp-search,
.ai-exp-content-loop {
  border: 1px solid var(--line-on-ink-soft);
  background: rgba(255,255,255,.052);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 18px 44px -34px rgba(0,0,0,.72);
}
.ai-exp-phone {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  padding: 12px;
  border-radius: 24px;
}
.ai-exp-chat {
  width: 88%;
  padding: 8px 10px;
  border: 1px solid var(--line-on-ink-soft);
  border-radius: 13px 13px 13px 4px;
  color: var(--on-ink-muted);
  background: rgba(255,255,255,.05);
  font-size: 11.5px;
  line-height: 1.25;
  animation: ai-exp-rise 4.8s cubic-bezier(.16,1,.3,1) infinite;
  animation-delay: calc(var(--i) * .42s);
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1), background .62s cubic-bezier(.16,1,.3,1), border-color .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-chat.is-ai {
  align-self: end;
  border-color: rgba(var(--ai-rgb), .28);
  border-radius: 13px 13px 4px 13px;
  color: var(--on-ink);
  background: rgba(var(--ai-rgb), .13);
}
.ai-exp-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
}
.ai-exp-mini-title {
  color: var(--on-ink-subtle);
  font-size: 10.5px;
}
.ai-exp-ticket {
  position: relative;
  padding: 9px 10px 9px 28px;
  border-radius: 11px;
  color: var(--on-ink-muted);
  background: rgba(255,255,255,.045);
  font-size: 11.5px;
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1), background .62s cubic-bezier(.16,1,.3,1), border-color .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-ticket::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--ai-rgb), .7);
  transform: translateY(-50%);
}
.ai-exp-ticket.hot { color: var(--on-ink); }
.ai-exp-ticket.done { background: rgba(var(--ai-rgb), .12); }
.ai-exp-knowledge {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}
.ai-exp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  transition: transform .62s cubic-bezier(.16,1,.3,1), border-color .62s cubic-bezier(.16,1,.3,1), box-shadow .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-search span {
  color: rgba(var(--ai-rgb), .92);
}
.ai-exp-search p {
  margin: 0;
  color: var(--on-ink);
  font-size: 12.5px;
}
.ai-exp-doc-stack {
  position: relative;
  min-height: 88px;
}
.ai-exp-doc {
  position: absolute;
  inset: 0 auto auto 50%;
  width: 44%;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(var(--ai-rgb), .2);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.035));
  transform: translateX(calc(-50% + (var(--i) - 1) * 76px)) translateY(calc(var(--i) * 7px)) rotate(calc((var(--i) - 1) * 5deg));
  animation: ai-exp-doc-scan 5.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .28s);
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1), border-color .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-doc strong {
  display: block;
  color: var(--on-ink);
  font-size: 12px;
  margin-bottom: 10px;
}
.ai-exp-doc i {
  display: block;
  height: 5px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
}
.ai-exp-answer {
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(var(--ai-rgb), .11);
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-answer span,
.ai-exp-message span {
  color: rgba(var(--ai-rgb), .95);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .09em;
}
.ai-exp-answer p,
.ai-exp-message p {
  margin: 5px 0 0;
  color: var(--on-ink);
  font-size: 12.5px;
  line-height: 1.35;
}
.ai-exp-sales {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  align-items: stretch;
}
.ai-exp-pipeline {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-radius: 16px;
}
.ai-exp-lead {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  animation: ai-exp-rise 4.8s cubic-bezier(.16,1,.3,1) infinite;
  animation-delay: calc(var(--i) * .28s);
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1), border-color .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-lead span {
  color: var(--on-ink-muted);
  font-size: 11.5px;
}
.ai-exp-lead strong {
  float: right;
  color: var(--on-ink);
  font-size: 12px;
}
.ai-exp-lead i {
  display: block;
  clear: both;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--ai-rgb), .95), rgba(255,255,255,.28));
}
.ai-exp-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border-radius: 18px;
  animation: ai-exp-message-glow 3.6s ease-in-out infinite;
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-integrate {
  min-height: 178px;
}
.ai-exp-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ai-exp-lines line {
  stroke: rgba(var(--ai-rgb), .42);
  stroke-width: .45;
  stroke-dasharray: 2 2;
  animation: ai-exp-dash 3.8s linear infinite;
}
.ai-exp-hub,
.ai-exp-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--ai-rgb), .26);
  background: rgba(255,255,255,.055);
  color: var(--on-ink);
  box-shadow: 0 18px 44px -34px rgba(0,0,0,.75);
}
.ai-exp-hub {
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(var(--ai-rgb), .18);
  font-size: 22px;
  font-weight: 750;
  transform: translate(-50%, -50%);
  animation: ai-exp-hub 3.4s ease-in-out infinite;
  transition: box-shadow .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1), background .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-node {
  min-width: 74px;
  min-height: 34px;
  border-radius: 999px;
  color: var(--on-ink-muted);
  font-size: 11.5px;
  animation: ai-exp-node 4.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .16s);
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1), border-color .62s cubic-bezier(.16,1,.3,1), background .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-node.n1 { left: 3%; top: 8%; }
.ai-exp-node.n2 { right: 3%; top: 10%; }
.ai-exp-node.n3 { left: 4%; bottom: 10%; }
.ai-exp-node.n4 { right: 3%; bottom: 9%; }
.ai-exp-node.n5 { left: 50%; top: 2%; transform: translateX(-50%); }
.ai-exp-website {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  align-items: stretch;
}
.ai-exp-browser {
  overflow: hidden;
  padding: 12px;
  border-radius: 18px;
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1), border-color .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-browser-top {
  display: flex;
  gap: 5px;
  padding-bottom: 12px;
}
.ai-exp-browser-top i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
}
.ai-exp-page-line {
  width: 64%;
  height: 10px;
  margin: 8px 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.ai-exp-page-line.wide {
  width: 86%;
  height: 18px;
  background: rgba(var(--ai-rgb), .23);
  animation: ai-exp-page-update 3.8s ease-in-out infinite;
}
.ai-exp-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 14px;
}
.ai-exp-page-grid span {
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  animation: ai-exp-rise 4.8s cubic-bezier(.16,1,.3,1) infinite;
}
.ai-exp-page-grid span:nth-child(2) { animation-delay: .2s; }
.ai-exp-page-grid span:nth-child(3) { animation-delay: .4s; }
.ai-exp-content-loop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 14px;
  border-radius: 18px;
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1);
}
.ai-exp-content-loop div {
  color: var(--on-ink);
  font-size: 13px;
  font-weight: 650;
}
.ai-exp-content-loop span {
  position: relative;
  padding: 8px 9px 8px 26px;
  border-radius: 999px;
  color: var(--on-ink-muted);
  background: rgba(255,255,255,.045);
  font-size: 11.5px;
}
.ai-exp-content-loop span::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(var(--ai-rgb), .82);
  transform: translateY(-50%);
}
.ai-workflow-scene.is-gsap .ai-exp-chat,
.ai-workflow-scene.is-gsap .ai-exp-doc,
.ai-workflow-scene.is-gsap .ai-exp-lead,
.ai-workflow-scene.is-gsap .ai-exp-message,
.ai-workflow-scene.is-gsap .ai-exp-hub,
.ai-workflow-scene.is-gsap .ai-exp-node,
.ai-workflow-scene.is-gsap .ai-exp-page-line.wide,
.ai-workflow-scene.is-gsap .ai-exp-page-grid span {
  animation: none;
}
.ai-workflow-scene.is-gsap .ai-workflow-bars i {
  animation: none;
}
.ai-workflow-scene[data-phase="0"] .ai-exp-chat:nth-child(1),
.ai-workflow-scene[data-phase="0"] .ai-exp-ticket.hot,
.ai-workflow-scene[data-phase="0"] .ai-exp-search,
.ai-workflow-scene[data-phase="0"] .ai-exp-lead:nth-child(1),
.ai-workflow-scene[data-phase="0"] .ai-exp-node.n1,
.ai-workflow-scene[data-phase="0"] .ai-exp-node.n2,
.ai-workflow-scene[data-phase="0"] .ai-exp-browser {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(var(--ai-rgb), .42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 54px -28px rgba(var(--ai-rgb), .4);
  opacity: 1;
}
.ai-workflow-scene[data-phase="1"] .ai-exp-chat.is-ai,
.ai-workflow-scene[data-phase="1"] .ai-exp-doc,
.ai-workflow-scene[data-phase="1"] .ai-exp-lead,
.ai-workflow-scene[data-phase="1"] .ai-exp-hub,
.ai-workflow-scene[data-phase="1"] .ai-exp-content-loop {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(var(--ai-rgb), .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 58px -28px rgba(var(--ai-rgb), .48);
  opacity: 1;
}
.ai-workflow-scene[data-phase="2"] .ai-exp-ticket.done,
.ai-workflow-scene[data-phase="2"] .ai-exp-answer,
.ai-workflow-scene[data-phase="2"] .ai-exp-message,
.ai-workflow-scene[data-phase="2"] .ai-exp-node.n3,
.ai-workflow-scene[data-phase="2"] .ai-exp-node.n4,
.ai-workflow-scene[data-phase="2"] .ai-exp-page-line.wide,
.ai-workflow-scene[data-phase="2"] .ai-exp-page-grid span {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(var(--ai-rgb), .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 58px -28px rgba(var(--ai-rgb), .48);
  opacity: 1;
}
.ai-workflow-scene[data-phase="0"] .ai-exp-answer,
.ai-workflow-scene[data-phase="0"] .ai-exp-message,
.ai-workflow-scene[data-phase="0"] .ai-exp-ticket.done,
.ai-workflow-scene[data-phase="0"] .ai-exp-page-grid span {
  opacity: .58;
}
.ai-workflow-scene[data-phase="2"] .ai-exp-chat:nth-child(1),
.ai-workflow-scene[data-phase="2"] .ai-exp-search,
.ai-workflow-scene[data-phase="2"] .ai-exp-lead:nth-child(1) {
  opacity: .68;
}
.ai-workflow-stage {
  display: grid;
  grid-template-columns: 1fr 128px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 162px;
  padding: 14px 16px 10px;
}
.ai-workflow-column {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.ai-workflow-column-title {
  color: var(--on-ink-subtle);
  font-size: 10.5px;
  letter-spacing: .02em;
  margin-bottom: 2px;
}
.ai-flow-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line-on-ink-soft);
  border-radius: 11px;
  background: rgba(255,255,255,.05);
  color: var(--on-ink-muted);
  box-shadow: 0 12px 30px -26px rgba(0,0,0,.65);
  animation:
    ai-flow-card-in 4.8s cubic-bezier(.16,1,.3,1) infinite,
    ai-flow-card-float 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * .34s), calc(var(--i) * .22s);
}
.ai-flow-card-output {
  background: rgba(var(--ai-rgb), .105);
  border-color: rgba(var(--ai-rgb), .22);
}
.ai-flow-card span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(var(--ai-rgb), .78);
  box-shadow: 0 0 18px rgba(var(--ai-rgb), .28);
}
.ai-flow-card p {
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: 12.5px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-workflow-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 128px;
}
.ai-orbit-ring {
  position: absolute;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(var(--ai-rgb), .28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--ai-rgb), .22), transparent 48%),
    conic-gradient(from 0deg, transparent 0 18%, rgba(var(--ai-rgb), .52) 24%, transparent 32% 62%, rgba(255,255,255,.26) 70%, transparent 78%);
  filter: drop-shadow(0 0 22px rgba(var(--ai-rgb), .16));
  animation: ai-orbit-spin 6.4s linear infinite;
}
.ai-core-chip {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(var(--ai-rgb), .32);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(var(--ai-rgb), .3), rgba(var(--ai-rgb), .12)),
    rgba(255,255,255,.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 20px 52px -30px rgba(var(--ai-rgb), .75);
}
.ai-core-chip strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.03em;
}
.ai-core-chip span {
  max-width: 68px;
  color: var(--on-ink-muted);
  font-size: 9.5px;
  line-height: 1.2;
  text-align: center;
}
.ai-flow-line {
  position: absolute;
  top: 50%;
  height: 1px;
  width: 74px;
  background: linear-gradient(90deg, transparent, rgba(var(--ai-rgb), .82), transparent);
  opacity: .62;
}
.ai-flow-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgb(var(--ai-rgb));
  box-shadow: 0 0 16px rgba(var(--ai-rgb), .75);
  animation: ai-flow-dot 2.4s ease-in-out infinite;
}
.ai-flow-line-a {
  right: calc(50% + 48px);
}
.ai-flow-line-b {
  left: calc(50% + 48px);
}
.ai-flow-line-a::after { right: 0; }
.ai-flow-line-b::after { left: 0; animation-delay: .65s; }
.ai-workflow-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px 14px;
}
.ai-workflow-bottom span {
  display: block;
  color: var(--on-ink-subtle);
  font-size: 9.5px;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.ai-workflow-bottom strong {
  display: block;
  color: var(--on-ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.ai-workflow-bars {
  display: inline-flex;
  align-items: end;
  gap: 5px;
  height: 28px;
}
.ai-workflow-bars i {
  width: 7px;
  border-radius: 999px;
  background: rgba(var(--ai-rgb), .72);
  animation: ai-bars 1.7s ease-in-out infinite;
}
.ai-workflow-bars i:nth-child(1) { height: 13px; }
.ai-workflow-bars i:nth-child(2) { height: 22px; animation-delay: .16s; }
.ai-workflow-bars i:nth-child(3) { height: 17px; animation-delay: .32s; }
@keyframes ai-workflow-sheen {
  0%, 42% { background-position: 0 0, 120% 0; }
  72%, 100% { background-position: 0 0, -80% 0; }
}
@keyframes ai-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--ai-rgb), .42); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(var(--ai-rgb), 0); }
}
@keyframes ai-flow-card-in {
  0%, 10% { opacity: .45; transform: translateY(8px) scale(.98); }
  22%, 74% { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100% { opacity: .64; transform: translateY(-2px) scale(.995); }
}
@keyframes ai-flow-card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}
@keyframes ai-orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes ai-flow-dot {
  0%, 20% { opacity: 0; transform: translateX(-14px) scale(.8); }
  45%, 72% { opacity: 1; transform: translateX(0) scale(1); }
  100% { opacity: 0; transform: translateX(14px) scale(.8); }
}
@keyframes ai-bars {
  0%, 100% { transform: scaleY(.72); opacity: .64; }
  45% { transform: scaleY(1.12); opacity: 1; }
}
@keyframes ai-phase-fill {
  from { transform: translateX(-105%); }
  to { transform: translateX(0); }
}
@keyframes ai-exp-rise {
  0%, 12% { opacity: .48; transform: translateY(8px); }
  28%, 78% { opacity: 1; transform: translateY(0); }
  100% { opacity: .7; transform: translateY(-2px); }
}
@keyframes ai-exp-doc-scan {
  0%, 100% { box-shadow: inset 0 0 0 rgba(var(--ai-rgb), 0); }
  45% { box-shadow: inset 0 0 42px rgba(var(--ai-rgb), .12); }
}
@keyframes ai-exp-message-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 18px 44px -34px rgba(0,0,0,.72); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 52px -30px rgba(var(--ai-rgb), .46); }
}
@keyframes ai-exp-dash {
  to { stroke-dashoffset: -16; }
}
@keyframes ai-exp-hub {
  0%, 100% { scale: 1; }
  50% { scale: 1.04; }
}
@keyframes ai-exp-node {
  0%, 100% { opacity: .74; }
  45% { opacity: 1; border-color: rgba(var(--ai-rgb), .42); }
}
@keyframes ai-exp-page-update {
  0%, 100% { width: 76%; }
  48% { width: 92%; }
}
.ai-simple-preview {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line-on-ink);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--ink-2);
}
.ai-simple-kicker {
  color: var(--on-ink-subtle);
  font-size: 10.5px;
  letter-spacing: .105em;
}
.ai-simple-steps {
  display: grid;
  gap: 8px;
}
.ai-simple-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.ai-simple-step span {
  color: var(--indigo-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}
.ai-simple-step p {
  color: var(--on-ink-muted);
  font-size: 12.5px;
  line-height: 1.48;
  margin: 0;
}
.ai-simple-output-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.ai-simple-output {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--line-on-ink);
  border-radius: 999px;
  color: var(--on-ink);
  background: rgba(255,255,255,.045);
  font-size: 11.75px;
  line-height: 1.2;
}
.ai-simple-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .055em;
  text-decoration: none;
  transition: transform var(--dur-snap), box-shadow var(--dur-snap), background var(--dur-snap);
}
.ai-simple-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -22px rgba(124,135,232,.75);
}
.ai-mobile-preview-compact {
  display: grid;
  gap: 12px;
}
.ai-mobile-output-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ai-mobile-output-row .ai-simple-link {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 10.5px;
}
@media (max-width: 860px) {
  .ai-workflow-scene {
    min-height: 202px;
  }
  .ai-exp {
    margin: 8px 12px 10px;
    min-height: 132px;
  }
  .ai-exp-support,
  .ai-exp-sales,
  .ai-exp-website {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ai-exp-phone {
    min-height: 104px;
  }
  .ai-exp-side,
  .ai-exp-message,
  .ai-exp-content-loop {
    display: none;
  }
  .ai-exp-doc {
    width: 52%;
    transform: translateX(calc(-50% + (var(--i) - 1) * 54px)) translateY(calc(var(--i) * 6px)) rotate(calc((var(--i) - 1) * 4deg));
  }
  .ai-exp-integrate {
    min-height: 140px;
  }
  .ai-exp-node {
    min-width: 62px;
    min-height: 31px;
    font-size: 10.5px;
  }
  .ai-exp-hub {
    width: 62px;
    height: 62px;
    border-radius: 19px;
    font-size: 20px;
  }
  .ai-exp-browser {
    min-height: 124px;
  }
  .ai-workflow-stage {
    grid-template-columns: 1fr 92px 1fr;
    gap: 7px;
    padding: 12px 12px 8px;
  }
  .ai-workflow-topline {
    padding: 12px 12px 0;
  }
  .ai-workflow-bottom {
    padding: 0 12px 12px;
  }
  .ai-workflow-column-title {
    font-size: 9.5px;
  }
  .ai-flow-card {
    min-height: 31px;
    padding: 7px 8px;
  }
  .ai-flow-card p {
    font-size: 11.5px;
  }
  .ai-orbit-ring {
    width: 88px;
    height: 88px;
  }
  .ai-core-chip {
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }
  .ai-core-chip strong {
    font-size: 21px;
  }
  .ai-core-chip span {
    max-width: 55px;
    font-size: 8.5px;
  }
  .ai-flow-line {
    width: 46px;
  }
  .ai-flow-line-a {
    right: calc(50% + 36px);
  }
  .ai-flow-line-b {
    left: calc(50% + 36px);
  }
  .ai-simple-preview {
    padding: 14px;
  }
  .ai-simple-step p {
    font-size: 12.75px;
  }
  #ai-detail .ai-preview-panel {
    padding: 14px !important;
    border-radius: 18px !important;
  }
  #ai-detail .ai-preview-panel > div:first-child {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 720px) {
  .hero-section { padding-top: 132px; padding-bottom: 72px; }
  .hero-section h1 {
    font-size: clamp(44px, 12.4vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.034em;
  }
  .hero-headline-clean {
    font-size: clamp(48px, 13vw, 66px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.052em !important;
  }
  .hero-meta-row { margin-bottom: 32px !important; }
  .hero-stats-divider { margin-top: 44px; padding-top: 22px; }
  .hero-stats-divider .grid-hero-stats { gap: 22px 18px; }
  .hero-ai-stack {
    align-items: flex-start;
    border-radius: 22px;
    flex-direction: column;
    margin-top: 22px;
    padding: 15px;
  }
  .hero-ai-stack-list {
    justify-content: flex-start;
  }
  .hero-ai-pill {
    min-height: 29px;
    font-size: 11.5px;
  }
  .hero-stat-value { font-size: 26px !important; }
  .eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.105em;
    line-height: 1.35;
  }
  .service-detail-hero .mono,
  .hero-meta-row .mono,
  .drawer-meta,
  .lcard-tags .tag,
  .mega-allink {
    font-size: 11px !important;
    letter-spacing: 0.065em !important;
  }
  #web-detail {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  #web-detail .section-header {
    margin-bottom: 22px !important;
  }
  #web-detail .section-header h2 {
    margin-bottom: 18px !important;
  }
  #web-detail .section-header .lead {
    margin-bottom: 0 !important;
  }
  #web-detail .wd-mobile-explorer {
    margin-top: 0 !important;
    gap: 14px !important;
  }
  #web-detail .wd-mobile-preview-toolbar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: -2px 0 12px;
    padding: 10px;
    border: 1px solid var(--line-on-ink-soft);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
  }
  #web-detail .wd-mobile-preview-toolbar button {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--line-on-ink);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: var(--on-ink);
    font-size: 10.5px;
    letter-spacing: .07em;
  }
  #web-detail .wd-mobile-preview-toolbar button:disabled {
    opacity: .38;
  }
  #web-detail .wd-mobile-preview-toolbar div {
    min-width: 0;
    text-align: center;
  }
  #web-detail .wd-mobile-preview-toolbar div span {
    display: block;
    color: var(--on-ink-subtle);
    font-size: 9px;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  #web-detail .wd-mobile-preview-toolbar div strong {
    display: block;
    overflow: hidden;
    color: var(--on-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #web-detail .wd-mobile-preview-body {
    max-height: 420px;
    overflow: hidden !important;
    border-radius: 12px;
  }
  #web-detail .wd-mobile-preview-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(180deg, transparent, var(--ink));
    pointer-events: none;
  }
}
@media (max-width: 420px) {
  .hero-section { padding-top: 128px !important; }
  .hero-section h1 {
    font-size: clamp(42px, 11.8vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.034em;
  }
  .hero-headline-clean {
    font-size: clamp(45px, 12.2vw, 58px) !important;
    line-height: 0.99 !important;
  }
  .hero-meta-row .mono { font-size: 10.75px !important; }
  #web-detail {
    padding-top: 48px !important;
  }
  #web-detail .section-header {
    margin-bottom: 18px !important;
  }
  #web-detail .wd-mobile-preview-body {
    max-height: 380px;
  }
}

/* ─── Product dual CTAs (TalentCloud) ─── */
.product-showcase-card {
  border-radius: clamp(28px, 3vw, 40px) !important;
}
.product-real-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}
.product-showcase-copy {
  max-width: 560px;
  color: var(--fg-muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.48;
  text-wrap: pretty;
}
.product-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}
.product-visual-stage::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,135,232,0.42), rgba(92,153,116,0.28), transparent);
  opacity: .9;
}
.product-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.product-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.48);
  color: var(--fg-subtle);
  font-size: 9.5px;
  letter-spacing: 0.09em;
}
.product-dual-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .product-dual-ctas { grid-template-columns: 1fr; }
  .product-real-image {
    object-position: center;
  }
  .product-showcase-copy {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* Keep supporting HOME sections visually secondary. TikTok is a sub-service,
   and previews should help navigation without feeling like another landing page. */
#tiktok.section-pad {
  padding-top: 104px;
  padding-bottom: 104px;
}
#tiktok .section-header {
  margin-bottom: 44px;
}
#tiktok .grid-tiktok > div:first-child {
  min-height: 470px !important;
}
#tiktok .tiktok-phone-mockup {
  width: 252px !important;
}
#tiktok .tiktok-phone-screen {
  height: 416px !important;
}
#tiktok .grid-tiktok-items > div {
  padding: 18px !important;
}
#previews.section-pad {
  padding-top: 104px;
  padding-bottom: 108px;
}
#previews .section-header {
  margin-bottom: 44px;
}

@media (max-width: 720px) {
  #tiktok.section-pad,
  #previews.section-pad {
    padding-top: 78px;
  }
  #tiktok .section-header,
  #previews .section-header {
    margin-bottom: 34px;
  }
  #tiktok .grid-tiktok > div:first-child {
    min-height: 430px !important;
  }
  #tiktok .tiktok-phone-mockup {
    width: min(244px, 76vw) !important;
  }
}

/* ─── TikTok phone mockup safety on narrow phones ─── */
@media (max-width: 380px) {
  .tiktok-phone-mockup {
    transform: scale(0.88);
    transform-origin: center top;
  }
}
@media (max-width: 340px) {
  .tiktok-phone-mockup {
    transform: scale(0.78);
    transform-origin: center top;
  }
}

/* ============================================================
   AI Consultant — ask overlay (progressive focus blur + animated open)
   Shared with the standalone "AI Consultation Assistant.html" host.
   ============================================================ */
@keyframes nx-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes nx-panel-expand {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nx-q-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes nx-launcher-enter {
  from { opacity: 0; transform: translateY(12px) scale(.94); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes nx-launcher-breathe {
  0%, 100% {
    box-shadow:
      0 10px 28px -10px rgba(14,18,23,0.18),
      0 2px 6px -2px rgba(14,18,23,0.08),
      0 0 0 0 rgba(124,135,232,0.00),
      inset 0 1px 0 rgba(255,255,255,0.72);
  }
  50% {
    box-shadow:
      0 12px 30px -12px rgba(14,18,23,0.20),
      0 2px 6px -2px rgba(14,18,23,0.08),
      0 0 0 8px rgba(124,135,232,0.08),
      0 0 28px -12px rgba(124,135,232,0.55),
      inset 0 1px 0 rgba(255,255,255,0.82);
  }
}
@keyframes nx-launcher-scan {
  0% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: .72; }
  48%, 100% { transform: translateX(120%); opacity: 0; }
}
@keyframes nx-orb-pulse {
  0%, 100% { transform: scale(1); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 0 rgba(124,135,232,0); }
  50% { transform: scale(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 0 22px -8px rgba(124,135,232,.9); }
}
@keyframes nx-dot-ping {
  0%, 100% { transform: scale(1); opacity: .95; }
  50% { transform: scale(1.45); opacity: .45; }
}
@keyframes nx-panel-boot-line {
  0% { transform: translateX(-102%); opacity: 0; }
  18% { opacity: .92; }
  70%, 100% { transform: translateX(102%); opacity: 0; }
}
/* Phase 1: the input box grows horizontally out of the pill, from the
   center, before any questions appear. */
@keyframes nx-bar-expand {
  from { width: 188px; opacity: 0.4; }
  to   { width: 100%;  opacity: 1; }
}
/* Transparent backdrop — the page stays fully visible; focus shifts only
   because the frosted panel rises out of the pill. The previous page-wide
   backdrop-filter stack flattened this animation in the full-viewport host.
   Motion uses an expo-out curve (cubic-bezier(.16,1,.3,1)) for a buttery,
   decelerating glide instead of a spring overshoot — feels smooth as silk. */
.nx-ask-overlay { animation: nx-fade-in 260ms cubic-bezier(.16,1,.3,1) both; }

.nx-ai-launcher {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation:
    nx-launcher-enter 520ms cubic-bezier(.16,1,.3,1) both,
    nx-launcher-breathe 4.8s ease-in-out 900ms infinite;
  transition:
    transform 280ms cubic-bezier(.16,1,.3,1),
    border-color 220ms var(--ease-soft),
    background 220ms var(--ease-soft),
    box-shadow 280ms var(--ease-soft);
}
.nx-ai-launcher::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;
  background:
    linear-gradient(115deg, rgba(124,135,232,0.72), rgba(255,255,255,0.54), rgba(92,153,116,0.48), rgba(124,135,232,0.72));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .52;
  pointer-events: none;
  z-index: 0;
}
.nx-ai-launcher:hover {
  transform: translateY(-2px);
  border-color: rgba(124,135,232,0.32) !important;
  background: rgba(255,255,255,0.94) !important;
}
body.nx-nav-open .nx-ai-launcher {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
}

/* Myanmar Market Support — dedicated consultation entry */
.mms-page { background: var(--paper); overflow: clip; }
.mms-hero { padding: 170px 0 104px; border-bottom: 1px solid var(--line); background: var(--paper-inset); }
.mms-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.mms-hero-copy .eyebrow, .mms-section-head .eyebrow, .mms-final .eyebrow, .mms-boundary .eyebrow { margin: 0; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); }
.mms-hero h1 { max-width: 710px; margin: 18px 0 0; font-family: var(--font-serif); font-size: clamp(58px, 6.1vw, 96px); font-weight: 400; line-height: .91; letter-spacing: -.055em; color: var(--fg); }
.mms-hero h1 span { color: var(--indigo); }
.mms-lead { max-width: 620px; margin: 30px 0 0; color: var(--fg-muted); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.65; }
.mms-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.mms-hero-actions .btn, .mms-final .btn { min-height: 50px; }
.mms-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--fg); font-size: 14px; font-weight: 700; text-decoration: none; }
.mms-text-link:hover { color: var(--indigo); }
.mms-hero-note { margin: 20px 0 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .035em; color: var(--fg-subtle); }
.mms-map-card { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-4); background: var(--paper-2); box-shadow: var(--shadow-2); }
.mms-map-topline { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; letter-spacing: .09em; color: var(--fg-subtle); }
.mms-map-card img { display: block; width: 100%; min-height: 320px; object-fit: cover; object-position: center; background: var(--paper-3); }
.mms-map-card figcaption { display: flex; align-items: center; gap: 9px; padding: 15px 18px 17px; border-top: 1px solid var(--line); color: var(--fg-muted); font-size: 13px; }
.mms-map-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 5px var(--indigo-soft); }
.mms-decision { padding-top: 104px; padding-bottom: 104px; }
.mms-section-head { max-width: 800px; }
.mms-section-head h2, .mms-final h2 { margin: 16px 0 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(42px, 4.6vw, 68px); line-height: .95; letter-spacing: -.045em; }
.mms-section-head > p:not(.eyebrow) { max-width: 660px; margin: 20px 0 0; color: var(--fg-muted); font-size: 16px; line-height: 1.7; }
.mms-question-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mms-question { min-height: 184px; padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.mms-question span, .mms-card-number, .mms-connection-label, .mms-person-code, .mms-process-list > li > span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--indigo); }
.mms-question p { max-width: 210px; margin: 40px 0 0; color: var(--fg); font-size: 16px; font-weight: 650; line-height: 1.45; }
.mms-support { padding-top: 104px; padding-bottom: 104px; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mms-section-head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); max-width: none; gap: 48px; align-items: end; }
.mms-section-head-split > p { margin: 0 !important; padding-bottom: 4px; }
.mms-scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.mms-scope-card { min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--paper-inset); box-shadow: var(--shadow-1); }
.mms-scope-card h3 { max-width: 240px; margin: 42px 0 0; color: var(--fg); font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.mms-card-copy { margin: 18px 0 0; color: var(--fg-muted); font-size: 14px; line-height: 1.7; }
.mms-consultation-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.mms-consultation-group { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--paper-inset); box-shadow: var(--shadow-1); }
.mms-group-code { margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--indigo); }
.mms-consultation-group > h3 { margin: 25px 0 0; color: var(--fg); font-size: 26px; line-height: 1.15; letter-spacing: -.035em; }
.mms-group-lead { max-width: 490px; min-height: 75px; margin: 16px 0 0; color: var(--fg-muted); font-size: 14px; line-height: 1.7; }
.mms-group-list { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mms-group-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mms-group-list li > span { padding-top: 3px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--indigo); }
.mms-group-list h4 { margin: 0; color: var(--fg); font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
.mms-group-list p { margin: 7px 0 0; color: var(--fg-muted); font-size: 13px; line-height: 1.65; }
.mms-connection { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 26px; margin-top: 16px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-3); background: rgba(255,255,255,.33); }
.mms-connection p { margin: 0; color: var(--fg-muted); font-size: 14px; line-height: 1.7; }
.mms-connection-label { padding-top: 4px; color: var(--fg-subtle); }
.mms-people { padding-top: 104px; padding-bottom: 104px; background: var(--ink); color: var(--on-ink); }
.mms-people .eyebrow { color: #aeb8ff; }
.mms-people .mms-section-head h2 { color: var(--on-ink); }
.mms-people .mms-section-head > p:not(.eyebrow) { color: var(--on-ink-muted); }
.mms-people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 52px; }
.mms-person-card { min-height: 280px; padding: 28px; border: 1px solid var(--line-on-ink); border-radius: var(--r-3); background: var(--ink-2); }
.mms-person-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.mms-person-photo, .mms-initials { display: grid; place-items: center; width: 76px; height: 90px; overflow: hidden; border: 1px solid rgba(180,190,255,.35); border-radius: 10px; }
.mms-person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.mms-initials { color: #cbd1ff; font-family: var(--font-serif); font-size: 28px; }
.mms-person-code { color: var(--on-ink-subtle); text-align: right; }
.mms-person-card h3 { margin: 45px 0 0; color: var(--on-ink); font-size: 25px; line-height: 1.1; letter-spacing: -.03em; }
.mms-person-role { margin: 8px 0 0; color: #bfc7ff; font-size: 13px; font-weight: 700; }
.mms-person-card > p:last-child { max-width: 490px; margin: 18px 0 0; color: var(--on-ink-muted); font-size: 14px; line-height: 1.7; }
.mms-process { padding-top: 104px; padding-bottom: 104px; }
.mms-process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 52px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mms-process-list li { min-height: 250px; padding: 26px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mms-process-list h3 { margin: 50px 0 0; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.mms-process-list p { margin: 14px 0 0; color: var(--fg-muted); font-size: 14px; line-height: 1.7; }
.mms-boundary { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.mms-boundary-inner { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 34px; padding-top: 34px; padding-bottom: 34px; }
.mms-boundary-inner > p:last-child { max-width: 890px; margin: 0; color: var(--fg-muted); font-size: 13px; line-height: 1.7; }
.mms-final { padding-top: 96px; padding-bottom: 112px; }
.mms-final-card { display: flex; align-items: end; justify-content: space-between; gap: 48px; padding: clamp(34px, 5vw, 66px); border-radius: var(--r-4); background: var(--indigo); color: #fff; box-shadow: var(--shadow-2); }
.mms-final .eyebrow { color: rgba(255,255,255,.7); }
.mms-final h2 { max-width: 730px; color: #fff; }
.mms-final-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; }
.mms-final .btn { flex: 0 0 auto; color: var(--fg); background: var(--paper-inset); }
.mms-final .btn:hover { background: #fff; }
.mms-final .mms-ask-ai { color: #fff; border-color: rgba(255,255,255,.48); background: transparent; }
.mms-final .mms-ask-ai:hover { color: var(--fg); border-color: var(--paper-inset); background: var(--paper-inset); }
@media (max-width: 980px) {
  .mms-hero { padding-top: 146px; }
  .mms-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .mms-map-card { max-width: 680px; }
  .mms-question-grid { grid-template-columns: repeat(2, 1fr); }
  .mms-scope-grid { grid-template-columns: 1fr; }
  .mms-scope-card { min-height: 0; }
  .mms-scope-card h3 { margin-top: 28px; }
  .mms-consultation-groups { grid-template-columns: 1fr; }
  .mms-connection { grid-template-columns: 1fr; gap: 12px; }
  .mms-process-list { grid-template-columns: 1fr; }
  .mms-process-list li { min-height: 0; }
  .mms-process-list h3 { margin-top: 30px; }
}
@media (min-width: 681px) and (max-width: 1200px) {
  .mms-scope-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .mms-hero { padding: 122px 0 72px; }
  .mms-hero-grid { gap: 38px; }
  .mms-hero h1 { font-size: clamp(50px, 14.4vw, 66px); }
  .mms-lead { margin-top: 23px; font-size: 16px; }
  .mms-hero-actions { display: grid; justify-items: start; gap: 10px; margin-top: 27px; }
  .mms-hero-actions .btn, .mms-final .btn { width: 100%; justify-content: center; }
  .mms-map-card img { min-height: 250px; }
  .mms-map-topline { padding: 13px 14px; font-size: 8px; }
  .mms-map-card figcaption { padding: 13px 14px 14px; }
  .mms-decision, .mms-support, .mms-people, .mms-process { padding-top: 72px; padding-bottom: 72px; }
  .mms-section-head h2, .mms-final h2 { font-size: clamp(40px, 12vw, 54px); }
  .mms-section-head > p:not(.eyebrow) { margin-top: 16px; font-size: 14.5px; }
  .mms-question-grid { margin-top: 36px; grid-template-columns: 1fr; }
  .mms-question { min-height: 142px; padding: 19px 18px; }
  .mms-question p { max-width: 290px; margin-top: 28px; font-size: 15px; }
  .mms-section-head-split { grid-template-columns: 1fr; gap: 16px; }
  .mms-scope-grid { margin-top: 36px; }
  .mms-consultation-groups { margin-top: 36px; }
  .mms-consultation-group { padding: 24px 20px; }
  .mms-consultation-group > h3 { margin-top: 21px; font-size: 23px; }
  .mms-group-lead { min-height: 0; margin-top: 13px; }
  .mms-group-list { margin-top: 24px; }
  .mms-group-list li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 16px 0; }
  .mms-scope-card { padding: 23px 20px; }
  .mms-scope-card h3 { margin-top: 24px; font-size: 20px; }
  .mms-connection { margin-top: 12px; padding: 22px 20px; }
  .mms-people-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .mms-person-card { min-height: 0; padding: 23px 20px; }
  .mms-person-card h3 { margin-top: 34px; font-size: 23px; }
  .mms-person-code { font-size: 9px; }
  .mms-process-list { margin-top: 36px; }
  .mms-process-list li { padding: 22px 20px 25px; }
  .mms-boundary-inner { grid-template-columns: 1fr; gap: 15px; padding-top: 27px; padding-bottom: 28px; }
  .mms-final { padding-top: 72px; padding-bottom: 78px; }
  .mms-final-card { display: grid; gap: 30px; padding: 31px 23px; }
  .mms-final-actions { display: grid; width: 100%; }
}
.nx-ai-launcher > * {
  position: relative;
  z-index: 2;
}
.nx-ai-launcher-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.0) 32%, rgba(255,255,255,0.72) 50%, rgba(124,135,232,0.18) 58%, transparent 76%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}
.nx-ai-launcher:hover .nx-ai-launcher-scan,
.nx-ai-launcher.has-message .nx-ai-launcher-scan {
  animation: nx-launcher-scan 2.8s cubic-bezier(.16,1,.3,1) infinite;
}
.nx-ai-launcher-dot {
  position: absolute;
  top: 8px;
  right: 42px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(124,135,232,0.14), 0 0 14px rgba(124,135,232,0.72);
  opacity: 0;
  pointer-events: none;
}
.nx-ai-launcher.has-message .nx-ai-launcher-dot {
  opacity: 1;
  animation: nx-dot-ping 1.8s ease-in-out infinite;
}
.nx-ai-launcher-orb {
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.92), rgba(255,255,255,.2) 28%, transparent 38%),
    radial-gradient(circle at 70% 72%, rgba(124,135,232,.34), transparent 48%),
    linear-gradient(180deg, #F2EFE8, #E2DCCC) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 18px -10px rgba(14,18,23,.32);
  transition: transform 260ms cubic-bezier(.16,1,.3,1), box-shadow 260ms var(--ease-soft);
}
.nx-ai-launcher:hover .nx-ai-launcher-orb,
.nx-ai-launcher.has-message .nx-ai-launcher-orb {
  animation: nx-orb-pulse 2.4s ease-in-out infinite;
}

/* Panel just fades — the horizontal box-expand below carries the open. */
.nx-ask-panel { animation: nx-fade-in 240ms cubic-bezier(.16,1,.3,1) both;
  transform-origin: bottom center; }
/* Phase 1 — the input box expands horizontally out of the pill, centered. */
.nx-ask-panel .nx-ask-bar { animation: nx-bar-expand 420ms cubic-bezier(.16,1,.3,1) both;
  margin: 0 auto; will-change: width, opacity; }
/* Phase 2 — questions mount after the box settles and rise in, staggered. */
.nx-ask-panel .nx-ask-q { opacity: 0; animation: nx-q-rise 460ms cubic-bezier(.16,1,.3,1) both;
  will-change: transform, opacity; }
.nx-ask-panel .nx-ask-q:nth-child(1) { animation-delay: 0ms; }
.nx-ask-panel .nx-ask-q:nth-child(2) { animation-delay: 260ms; }
.nx-ask-panel .nx-ask-q:nth-child(3) { animation-delay: 520ms; }
.nx-ask-q { transition: background var(--dur-snap, 180ms), transform var(--dur-snap, 180ms), box-shadow var(--dur-snap, 180ms); }
.nx-ask-q:hover { background: rgba(38, 38, 42, 0.74); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(14,18,23,0.45); }

@media (prefers-reduced-motion: reduce) {
  .nx-ask-overlay, .nx-ask-panel, .nx-ask-panel .nx-ask-bar, .nx-ask-panel .nx-ask-q { animation-duration: 1ms; }
}

/* ============================================================
   Next AI Consultant panel — open/close, backdrop, staggered reveal
   ============================================================ */
/* Backdrop gently dims + blurs the page so focus shifts to the panel. */
.nx-consult-scrim {
  background: rgba(20, 24, 30, 0.20);
  -webkit-backdrop-filter: blur(3px) saturate(105%);
  backdrop-filter: blur(3px) saturate(105%);
  animation: nx-fade-in 280ms cubic-bezier(.16,1,.3,1) both;
}
.nx-consult-scrim.is-closing { animation: nx-fade-out 240ms ease both; }

/* The panel rises out of the launcher: opacity + slight scale + translateY.
   The rest transform keeps translateX(-50%) so the centered anchor holds. */
.nx-consult-panel {
  position: relative;
  animation: nx-panel-rise 560ms cubic-bezier(.16,1,.3,1) both;
  will-change: transform, opacity, filter;
}
.nx-consult-panel::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  z-index: 5;
  background: linear-gradient(90deg, transparent, rgba(124,135,232,.88), rgba(255,255,255,.8), transparent);
  transform: translateX(-102%);
  animation: nx-panel-boot-line 1100ms cubic-bezier(.16,1,.3,1) 120ms both;
  pointer-events: none;
}
.nx-consult-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,135,232,0.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 16%);
  opacity: .9;
}
.nx-consult-panel > * {
  position: relative;
  z-index: 2;
}
.nx-consult-panel.is-closing { animation: nx-panel-fall 260ms cubic-bezier(.4,0,.7,.2) both; }

@keyframes nx-panel-rise {
  0% { opacity: 0; filter: blur(10px); transform: translateX(-50%) translateY(28px) scale(.94); }
  58% { opacity: 1; filter: blur(0); transform: translateX(-50%) translateY(-3px) scale(1.006); }
  100% { opacity: 1; filter: blur(0); transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes nx-panel-fall {
  from { opacity: 1; filter: blur(0); transform: translateX(-50%) translateY(0) scale(1); }
  to   { opacity: 0; filter: blur(6px); transform: translateX(-50%) translateY(18px) scale(.985); }
}
@keyframes nx-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes nx-cfade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Header settles in first, just after the panel frame. */
.nx-consult-panel .nx-chead { animation: nx-cfade-up 420ms cubic-bezier(.16,1,.3,1) 90ms both; }

/* Welcome messages rise in with a gentle stagger; later messages get a soft
   fade-up as they're appended. Chips stagger via inline animation-delay. */
.nx-consult-body > .nx-turn { animation: nx-cfade-up 460ms cubic-bezier(.16,1,.3,1) both; }
.nx-consult-body > .nx-turn:nth-child(1) { animation-delay: 200ms; }
.nx-consult-body > .nx-turn:nth-child(2) { animation-delay: 320ms; }
.nx-qp-chip { opacity: 0; animation: nx-cfade-up 460ms cubic-bezier(.16,1,.3,1) both; }

/* "Thinking" status line — each step fades up, with a soft shimmer sweep over
   the text so the wait reads as considered work, not a spinner. */
.nx-think-line {
  background: linear-gradient(90deg, var(--fg-subtle) 0%, var(--fg-muted) 30%, var(--fg) 50%, var(--fg-muted) 70%, var(--fg-subtle) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: nx-cfade-up 300ms cubic-bezier(.16,1,.3,1) both, nx-think-shimmer 1.9s linear infinite;
}
@keyframes nx-think-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* Mobile: bottom sheet — rounded top corners, large touch targets. */
@media (max-width: 640px) {
  .nx-consult-panel {
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    transform: none !important;
    width: 100% !important; max-width: 100% !important;
    height: 88vh !important; max-height: 88vh !important;
    border-radius: 22px 22px 0 0 !important;
    border-bottom: 0 !important;
    animation: nx-sheet-up 440ms cubic-bezier(.16,1,.3,1) both !important;
  }
  .nx-consult-panel.is-closing { animation: nx-sheet-down 250ms cubic-bezier(.4,0,.7,.2) both !important; }
  .nx-consult-scrim { background: rgba(20, 24, 30, 0.32); }
}
@keyframes nx-sheet-up { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@keyframes nx-sheet-down { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .nx-consult-scrim, .nx-consult-panel, .nx-consult-panel .nx-chead,
  .nx-consult-body > .nx-turn, .nx-qp-chip {
    animation-duration: 1ms !important; animation-delay: 0ms !important;
  }
  .nx-qp-chip { opacity: 1; }
  /* No shimmer sweep — keep the status label solid and readable. */
  .nx-think-line {
    animation: none !important;
    -webkit-text-fill-color: var(--fg-muted); color: var(--fg-muted);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   NAVIGATION — premium header + click-to-open mega menus + editorial drawer
   (bound to the same tokens as the homepage; reuses .btn / .eyebrow / .tag)
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --nav-h: 72px;
  --nav-top-gap: 12px;
}

/* ─── header shell ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: var(--nav-top-gap);
  left: 50%;
  z-index: 60;
  width: min(calc(100% - 28px), var(--container));
  transform: translateX(-50%);
  background: rgba(255,252,246,.94);
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  transition: background .3s var(--ease-soft), border-color .3s var(--ease-soft), box-shadow .3s var(--ease-soft);
  border: 1px solid rgba(20,24,30,.10);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.62) inset, 0 16px 42px -36px rgba(14,18,23,.2);
  overflow: hidden;
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,18,23,.12), transparent);
  pointer-events: none;
}
.nav.is-scrolled, .nav.is-open { background: rgba(255,252,246,.98); border-color: rgba(20,24,30,.14); }
.nav.is-open { box-shadow: 0 1px 0 rgba(255,255,255,.72) inset, 0 24px 70px -40px rgba(14,18,23,.24); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; padding-inline: 22px; }
.nav .logo { text-decoration: none; }

.official-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.official-logo-img {
  display: block;
  width: 168px;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.45)) drop-shadow(0 10px 18px rgba(14,18,23,.08));
}
.official-logo-footer .official-logo-img {
  width: 214px;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.28));
}

@media (max-width: 960px) {
  :root { --nav-top-gap: 8px; }
  .nav {
    width: calc(100% - 18px);
    border-radius: 18px;
  }
  .nav-inner {
    padding-inline: 12px;
  }
  .official-logo-img { width: 158px; }
  .official-logo-footer .official-logo-img { width: 204px; }
}

@media (max-width: 560px) {
  .official-logo-img { width: 148px; }
  .official-logo-footer .official-logo-img { width: 190px; }
}

/* primary links + mega triggers */
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-item {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: var(--r-2); cursor: pointer;
  font-size: 14.5px; color: var(--fg-muted); letter-spacing: -0.005em;
  text-decoration: none; background: none; border: 0; font-family: var(--font-sans);
  transition: color .18s var(--ease-soft), background .18s var(--ease-soft);
}
.nav-item:hover { color: var(--fg); }
.nav-item[data-current="true"] { color: var(--fg); }
.nav-item .chev { width: 13px; height: 13px; opacity: .5; transition: transform .26s var(--ease-rain), opacity .2s; }
.nav-item[aria-expanded="true"] { color: var(--fg); background: rgba(20,24,30,0.045); }
.nav-item[aria-expanded="true"] .chev { transform: rotate(180deg); opacity: .8; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* ─── mega panel ───────────────────────────────────────────────────── */
.scrim {
  position: fixed; inset: calc(var(--nav-h) + var(--nav-top-gap) + 8px) 0 0 0; z-index: 50;
  background: rgba(14,18,23,0.14);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-soft), visibility .3s;
}
.scrim.show { opacity: 1; visibility: visible; }

.mega-wrap { position: fixed; inset: calc(var(--nav-h) + var(--nav-top-gap)) 0 auto 0; z-index: 55; pointer-events: none; }
.mega {
  pointer-events: auto;
  margin: 10px auto 0; max-width: var(--container); width: calc(100% - 28px);
  background: var(--paper);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid var(--line); border-radius: var(--r-5);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 24px 64px -28px rgba(14,18,23,.26), 0 8px 20px -12px rgba(14,18,23,.16);
  padding: 28px; overflow: hidden;
  opacity: 0; transform: translateY(-12px) scale(.986);
  transform-origin: 50% 0%;
  visibility: hidden; transition: opacity .22s var(--ease-rain), transform .34s var(--ease-rain), visibility .3s, filter .34s var(--ease-rain);
  filter: saturate(.92) brightness(.98);
}
.mega::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: calc(var(--r-5) - 1px);
  background: linear-gradient(180deg, rgba(255,255,255,.42), transparent 32%);
  opacity: .36;
}
.mega > * {
  position: relative;
  z-index: 1;
}
.mega.show {
  opacity: 1;
  transform: none;
  visibility: visible;
  filter: none;
}
.mega .mega-head,
.mega .lcard,
.mega .about-link,
.mega .feature-rail {
  opacity: 0;
  transform: translateY(10px);
}
.mega.show .mega-head,
.mega.show .lcard,
.mega.show .about-link,
.mega.show .feature-rail {
  animation: mega-item-in 420ms var(--ease-rain) both;
}
.mega.show .lcard:nth-child(1),
.mega.show .about-link:nth-child(1) { animation-delay: 25ms; }
.mega.show .lcard:nth-child(2),
.mega.show .about-link:nth-child(2) { animation-delay: 50ms; }
.mega.show .lcard:nth-child(3),
.mega.show .about-link:nth-child(3) { animation-delay: 75ms; }
.mega.show .lcard:nth-child(4),
.mega.show .about-link:nth-child(4) { animation-delay: 100ms; }
.mega.show .feature-rail { animation-delay: 80ms; }
@keyframes mega-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mega,
  .mega::before,
  .mega .mega-head,
  .mega .lcard,
  .mega .about-link,
  .mega .feature-rail {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .mega.show .mega-head,
  .mega.show .lcard,
  .mega.show .about-link,
  .mega.show .feature-rail {
    opacity: 1;
    transform: none;
  }
}

.mega-grid { display: grid; gap: 16px; }
.mega-solutions { grid-template-columns: 1.55fr .95fr; }
.mega-products  { grid-template-columns: 1.4fr 1fr; }
.mega-about     { grid-template-columns: 1fr 1.15fr; }

.mega-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mega-head p { margin: 6px 0 0; font-size: 13.5px; color: var(--fg-muted); max-width: 52ch; }
.mega-allink { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--indigo); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none; }
.mega-allink svg { width: 13px; height: 13px; transition: transform .18s var(--ease-soft); }
.mega-allink:hover svg { transform: translateX(3px); }

.col-cards { display: grid; gap: 10px; }
.cards-2 { grid-template-columns: 1fr 1fr; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* link card with minimal layered icon chip */
.lcard {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; text-decoration: none;
  align-items: start; padding: 15px; border-radius: var(--r-3); border: 1px solid transparent;
  transition: background .18s var(--ease-soft), border-color .18s var(--ease-soft), transform .18s var(--ease-soft);
}
.lcard:hover { background: var(--paper-inset); border-color: var(--line); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.lcard-t { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.lcard-d { margin: 5px 0 0; font-size: 12.8px; line-height: 1.45; color: var(--fg-muted); }
.lcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.lcard-t .go { width: 13px; height: 13px; opacity: 0; color: var(--indigo); transition: .18s var(--ease-soft); }
.lcard:hover .lcard-t .go { opacity: 1; transform: translateX(2px); }
.lcard-tags .tag { padding: 3px 9px; font-size: 10.5px; letter-spacing: 0.05em; }

/* the minimal 3D-style chip — layered, lit from above, never spins */
.chip {
  position: relative; width: 46px; height: 46px; flex: none; border-radius: var(--r-2);
  background: linear-gradient(150deg, var(--paper-inset), var(--paper-2));
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 6px 14px -8px rgba(14,18,23,.30);
  display: grid; place-items: center; color: var(--indigo);
}
.chip::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  transform: translate(5px, 6px); z-index: -1; background: var(--paper-3); opacity: .55;
  box-shadow: 0 4px 10px -6px rgba(14,18,23,.25);
}
.chip svg { width: 22px; height: 22px; }
.chip.is-vermilion { color: var(--vermilion); }

/* featured rail — abstract UI mockup on ink */
.feature-rail {
  border-radius: var(--r-4); padding: 20px; background: var(--ink); color: var(--on-ink);
  box-shadow: var(--shadow-ink); display: flex; flex-direction: column;
}
.feature-rail .eyebrow { color: var(--on-ink-subtle); }
.feature-rail .eyebrow::before { background: var(--line-on-ink); opacity: 1; }
.feature-rail h4 { margin: 12px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.018em; }
.nav-emphasis { color: color-mix(in oklch, var(--indigo) 60%, white); font-family: var(--font-sans); font-weight: 650; }
.feature-rail p { margin: 7px 0 0; font-size: 13px; color: var(--on-ink-muted); }
.feature-rail .btn { margin-top: 16px; align-self: flex-start; }
.mega-brief {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  font-size: 12px;
  color: var(--on-ink-muted);
}
.mega-brief span:nth-child(odd) {
  font-family: var(--font-mono);
  color: color-mix(in oklch, var(--indigo) 60%, white);
  font-size: 10px;
  letter-spacing: .08em;
}

.mock {
  margin-top: 16px; border-radius: var(--r-2);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-on-ink); padding: 12px; flex: 1;
  display: flex; flex-direction: column; gap: 8px; min-height: 120px;
}
.mock-bar { display: flex; gap: 5px; margin-bottom: 2px; }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-ink-subtle); opacity: .5; }
.mline { height: 8px; border-radius: 999px; background: rgba(242,238,229,0.12); }
.mline.accent { background: color-mix(in oklch, var(--indigo) 70%, white); opacity: .8; }
.mline.verm   { background: var(--vermilion); opacity: .85; }
.mock-row { display: flex; align-items: center; gap: 8px; }
.mock-dot { width: 18px; height: 18px; border-radius: 50%; background: rgba(242,238,229,0.14); flex: none; }
.mock-score { margin-left: auto; height: 6px; width: 46px; border-radius: 999px; background: rgba(242,238,229,0.1); position: relative; overflow: hidden; }
.mock-score::after { content:""; position:absolute; inset:0; width: var(--w,60%); background: var(--moss); border-radius: inherit; }

/* live 3D scene that replaces the static mock on the feature rail */
/* about: editorial link list */
.about-list { display: flex; flex-direction: column; }
.about-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 12px; border-top: 1px solid var(--line-soft); border-radius: var(--r-2); text-decoration: none;
  transition: padding .2s var(--ease-soft), background .18s;
}
.about-list .about-link:first-child { border-top: 0; }
.about-link:hover { background: var(--paper-inset); padding-left: 18px; }
.about-link .al-l { display: flex; align-items: baseline; gap: 12px; }
.about-link .al-name { font-family: var(--font-sans); font-style: normal; font-weight: 650; font-size: 20px; line-height: 1.1; letter-spacing: -0.025em; color: var(--fg); }
.about-link .al-sub { font-size: 12.5px; color: var(--fg-muted); }
.about-link .al-n { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-faint); }
.about-link.is-primary .al-name { color: var(--indigo); }

.tag-vermilion { color: var(--vermilion); border-color: color-mix(in oklch, var(--vermilion) 30%, transparent); background: color-mix(in oklch, var(--vermilion) 7%, transparent); }

/* ─── mobile drawer ───────────────────────────────────────────────── */
.hamburger {
  display: none; width: 42px; height: 42px; border-radius: var(--r-2);
  align-items: center; justify-content: center; color: var(--fg); margin-left: auto;
  background: transparent; border: 1px solid var(--line);
  cursor: pointer; box-shadow: none;
  transition: transform .28s var(--ease-rain), background .22s var(--ease-soft), box-shadow .22s var(--ease-soft);
}
.hamburger:hover { background: var(--paper-2); box-shadow: none; }
.hamburger:active { transform: scale(.94); }
.hamburger svg { width: 22px; height: 22px; transition: transform .38s var(--ease-rain), filter .28s var(--ease-soft); }
.hamburger[aria-expanded="true"] svg { transform: rotate(90deg) scale(.92); filter: blur(.2px); }

.drawer {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  overflow-y: auto; visibility: hidden; opacity: 0;
  background: var(--paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: translate3d(0, -8px, 0);
  clip-path: none;
  transition:
    opacity .34s var(--ease-soft),
    transform .58s var(--ease-rain),
    clip-path .64s cubic-bezier(.16,1,.3,1),
    visibility 0s linear .64s;
}
.drawer::after {
  content: "";
  position: fixed;
  inset: 16px 18px;
  pointer-events: none;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: none;
  opacity: .55;
  transform: none;
  transition: none;
}
.drawer.open {
  transform: none;
  clip-path: inset(0 0 0 0 round 0);
  opacity: 1;
  visibility: visible;
  transition:
    opacity .28s var(--ease-soft),
    transform .58s var(--ease-rain),
    clip-path .72s cubic-bezier(.16,1,.3,1),
    visibility 0s;
}
.drawer.open::after { opacity: .55; transform: none; }
.drawer-top {
  height: calc(var(--nav-h) + 16px);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.drawer-x {
  width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
  margin-left: auto; color: var(--fg); cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform .28s var(--ease-rain), background .22s var(--ease-soft);
}
.drawer-x:hover { background: var(--paper-2); transform: translateY(-1px); }
.drawer-x:active { transform: scale(.94); }
.drawer-x svg { width: 22px; height: 22px; transition: transform .34s var(--ease-rain); }
.drawer.open .drawer-x svg { animation: none; }
.drawer-body {
  padding: 10px 0 52px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.drawer-body > * {
  opacity: 1;
  transform: none;
}
.drawer.open .drawer-body > * {
  animation: none;
}

.dacc {
  border-top: 1px solid rgba(20,24,30,.10);
  transition: background .24s var(--ease-soft), border-color .24s var(--ease-soft);
}
.dacc.open {
  background: var(--paper-2);
  border-color: var(--line);
  border-radius: 22px;
  margin: 6px -10px;
  padding-inline: 10px;
  box-shadow: none;
}
.dacc:last-of-type { border-bottom: 1px solid rgba(20,24,30,.10); }
.dacc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; font-family: var(--font-sans); font-style: normal; font-weight: 650; font-size: 25px; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--fg); background: none; border: 0; cursor: pointer; text-align: left;
}
.dacc-head .dchev {
  width: 22px; height: 22px; color: var(--fg-subtle);
  transition: transform .44s var(--ease-rain), color .24s var(--ease-soft);
}
.dacc.open .dchev { transform: rotate(180deg); color: var(--indigo); }
.dlink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; font-family: var(--font-sans); font-style: normal; font-weight: 650; font-size: 25px; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--fg); text-decoration: none;
  border-top: 1px solid rgba(20,24,30,.10);
  transition: padding .22s var(--ease-soft), color .22s var(--ease-soft);
}
.dlink:hover { color: var(--indigo); padding-left: 10px; }
.dlink .dgo { width: 20px; height: 20px; color: var(--fg-subtle); }
.dlink-market { gap: 12px; font-size: clamp(25px, 7.2vw, 31px); }

.dacc-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height .58s var(--ease-rain),
    opacity .3s var(--ease-soft),
    transform .42s var(--ease-rain);
}
.dacc.open .dacc-panel {
  /* The Solutions list has seven destinations; let the drawer itself scroll
     rather than clipping a wrapped label on shorter mobile viewports. */
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
}
.dsub { padding: 0 4px 22px; display: flex; flex-direction: column; gap: 4px; }
.dsub a {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  font-size: 16px; color: var(--fg-muted); text-decoration: none;
  opacity: .92;
  transition: color .2s var(--ease-soft), transform .24s var(--ease-rain);
}
.dsub a:hover { color: var(--fg); transform: translateX(4px); }
.dsub a .dmark {
  width: 26px; height: 26px; border-radius: 9px;
  background: rgba(255,255,255,.44); border: 1px solid rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 8px 18px -15px rgba(14,18,23,.32);
  display: grid; place-items: center; color: var(--indigo); flex: none;
}
.dsub a .dmark svg { width: 13px; height: 13px; }
.dsub a .dprimary { color: var(--indigo); }
.dsub a.dsub-all { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(20,24,30,.08); justify-content: space-between; color: var(--indigo); font-weight: 650; }
.dsub a.dsub-all svg { flex: none; }
.drawer-cta { padding: 30px 4px 8px; }
.drawer-cta .btn { width: 100%; justify-content: center; padding-block: 16px; }
.drawer-meta { padding: 22px 4px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-subtle); text-transform: uppercase; }

/* ─── in-page navigation + service CTA consistency ─────────────────── */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--nav-h, 88px) + 48px); }

.ai-final-cta,
.mvp-final-cta,
.ws-final-cta,
.arw-final-cta {
  border-radius: 30px !important;
  padding: 60px 56px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr) !important;
  gap: 48px !important;
  align-items: center !important;
  box-shadow: var(--shadow-3) !important;
  isolation: isolate;
}

.ai-final-cta .btn,
.mvp-final-cta .btn,
.ws-final-cta .btn,
.arw-final-cta .btn {
  width: 100%;
  justify-content: center !important;
  min-height: 54px;
}

.ai-final-cta .lead,
.mvp-final-cta .lead,
.ws-final-cta .lead,
.arw-final-cta .lead {
  max-width: 680px;
}

/* ─── related-service cards consistency ────────────────────────────── */
.ai-rs-grid,
.mvp-rs-grid,
.ws-rs-grid,
.arw-rs-grid {
  gap: 18px !important;
}

.ai-rs-card,
.mvp-rs-card,
.ws-rs-card,
.arw-rs-card {
  min-height: 220px !important;
  border-radius: 22px !important;
  padding: 28px 26px 24px !important;
  box-shadow: 0 22px 54px -42px oklch(38% 0.08 260 / 0.34) !important;
}

.ai-rs-card::after,
.mvp-rs-card::after,
.ws-rs-card::after,
.arw-rs-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 14%, color-mix(in oklch, var(--rs-accent, var(--indigo)) 14%, transparent) 0%, transparent 34%),
    linear-gradient(180deg, rgb(255 255 255 / 0.42), transparent 44%);
  opacity: 0;
  transition: opacity var(--dur-snap) var(--ease-soft);
}

.ai-rs-card:hover::after,
.mvp-rs-card:hover::after,
.ws-rs-card:hover::after,
.arw-rs-card:hover::after {
  opacity: 1;
}

.ai-rs-title,
.mvp-rs-title,
.ws-rs-title,
.arw-rs-title {
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.12 !important;
}

.ai-rs-copy,
.mvp-rs-copy,
.ws-rs-copy,
.arw-rs-copy {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ai-rs-cta,
.mvp-rs-cta,
.ws-rs-cta,
.arw-rs-cta {
  letter-spacing: 0.035em !important;
}

@media (max-width: 860px) {
  .ai-final-cta,
  .mvp-final-cta,
  .ws-final-cta,
  .arw-final-cta {
    grid-template-columns: 1fr !important;
    padding: 40px 28px !important;
    gap: 30px !important;
    border-radius: 24px !important;
  }

  .ai-final-cta .btn,
  .mvp-final-cta .btn,
  .ws-final-cta .btn,
  .arw-final-cta .btn {
    min-height: 52px;
  }
}

@media (max-width: 720px) {
  .ai-rs-grid,
  .mvp-rs-grid,
  .ws-rs-grid,
  .arw-rs-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 2px 18px 18px !important;
    margin-inline: -18px;
    -webkit-overflow-scrolling: touch;
  }

  .ai-rs-grid::-webkit-scrollbar,
  .mvp-rs-grid::-webkit-scrollbar,
  .ws-rs-grid::-webkit-scrollbar,
  .arw-rs-grid::-webkit-scrollbar {
    display: none;
  }

  .ai-rs-card,
  .mvp-rs-card,
  .ws-rs-card,
  .arw-rs-card {
    flex: 0 0 min(78vw, 340px);
    min-height: 210px !important;
    scroll-snap-align: start;
    padding: 24px 22px 22px !important;
  }

  .ai-rs-top,
  .mvp-rs-top,
  .ws-rs-top,
  .arw-rs-top {
    margin-bottom: 14px !important;
  }

  .ai-rs-chip,
  .mvp-rs-chip,
  .ws-rs-chip,
  .arw-rs-chip {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  .ai-rs-title,
  .mvp-rs-title,
  .ws-rs-title,
  .arw-rs-title {
    font-size: 20px !important;
  }

  .ai-rs-copy,
  .mvp-rs-copy,
  .ws-rs-copy,
  .arw-rs-copy {
    font-size: 14px !important;
  }

  .ai-rs-cta,
  .mvp-rs-cta,
  .ws-rs-cta,
  .arw-rs-cta {
    font-size: 11.5px !important;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .drawer::after { inset: 14px 14px; border-radius: 27px; }
  .dacc-head,
  .dlink { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer::before,
  .drawer::after,
  .drawer-body > *,
  .drawer.open .drawer-body > *,
  .drawer-x svg {
    animation: none !important;
    transition-duration: 1ms !important;
    transform: none !important;
    filter: none !important;
  }
  .drawer { clip-path: none !important; }
  .drawer.open { opacity: 1; visibility: visible; }
  .drawer-body > * { opacity: 1; }
}

/* ─── responsive ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .mega-solutions, .mega-products, .mega-about { grid-template-columns: 1fr; }
  .feature-rail { flex-direction: row; align-items: center; gap: 20px; }
  .feature-rail .mock, .feature-rail .mega3d { display: none; }
}
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1100px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .mega-wrap, .scrim { display: none; }
  .nav-inner { gap: 16px; }
}
@media (min-width: 1101px) { .drawer { display: none; } }
@media (max-width: 620px) { .cards-2, .cards-3 { grid-template-columns: 1fr; } }

/* ─── Home / Section 07: Product Ecosystem ─────────────────────────── */
.s07-product-ecosystem {
  background: var(--paper-inset);
  overflow: clip;
}
.s07-product-ecosystem-shell { max-width: 1280px; }
.s07-product-ecosystem .eyebrow { margin: 0; }
.s07-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line-strong);
}
.s07-tabs button {
  min-height: 78px;
  margin-bottom: -1px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-bottom-color: var(--paper-inset);
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--fg-muted);
  font: 650 clamp(18px, 1.8vw, 23px)/1 var(--font-sans);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft), background var(--dur-base) var(--ease-soft);
}
.s07-tabs button:hover { color: var(--fg); background: rgba(255,255,255,.38); }
.s07-tabs button:focus-visible,
.s07-product-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--indigo) 72%, white); outline-offset: 4px; }
.s07-tabs button.is-active { color: var(--indigo); border-color: var(--indigo); background: rgba(255,255,255,.48); }
.s07-panel { padding-top: clamp(38px, 5vw, 62px); }
.s07-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.2fr);
  gap: clamp(32px, 4vw, 50px);
  align-items: center;
  min-height: 460px;
}
.s07-hero-copy { max-width: 395px; }
.s07-kicker {
  margin: 0;
  color: var(--indigo);
  font: 700 10.5px/1.2 var(--font-mono);
  letter-spacing: .15em;
}
.s07-hero-copy h2 {
  margin: 22px 0 24px;
  color: #121a2e;
  font: 400 clamp(62px, 7vw, 102px)/.88 var(--font-serif);
  letter-spacing: -.065em;
}
.s07-hero-copy > p:last-child { margin: 0; color: var(--fg-muted); font-size: 19px; line-height: 1.48; }
.s07-visual { position: relative; isolation: isolate; width: 100%; overflow: hidden; }
.s07-visual > img { display: block; width: 100%; height: 100%; object-fit: fill; }
.s07-customer-visual { aspect-ratio: 1120 / 752; }
.s07-customer-flow {
  position: absolute;
  z-index: 1;
  left: 33.5%;
  top: 13%;
  width: 23%;
  height: 74%;
  background: #faf9f6;
}
.s07-customer-flow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.s07-customer-flow marker path { fill: var(--indigo); }
.s07-customer-flow text { fill: #25324b; font: 650 12px/1 var(--font-sans); }
.s07-flow-line { fill: none; stroke: var(--indigo); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 7; animation: s07-flow-dash 2.7s linear infinite; }
.s07-flow-node { fill: var(--indigo); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--indigo) 52%, transparent)); }
.s07-flow-pulse { fill: #fff; stroke: var(--indigo); stroke-width: 3; }
.s07-workforce-visual { aspect-ratio: 1672 / 941; }
.s07-workforce-connectors { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s07-connector-line { fill: none; stroke: var(--indigo); stroke-width: .48; stroke-linecap: round; stroke-dasharray: 1.35 1.55; animation: s07-flow-dash 3s linear infinite; }
.s07-connector-end, .s07-connector-traveller { fill: var(--indigo); filter: drop-shadow(0 0 3px color-mix(in srgb, var(--indigo) 56%, transparent)); }
.s07-workforce-node {
  position: absolute;
  z-index: 2;
  width: 16%;
  color: #1e283a;
  font: 650 clamp(11px, 1.22vw, 15px)/1.04 var(--font-sans);
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.s07-workforce-node span { display: block; margin-bottom: 7px; font-size: 1.22em; line-height: 1; }
.s07-workforce-node.is-find { left: 27%; top: 31%; }
.s07-workforce-node.is-workspace { left: 73%; top: 31%; }
.s07-workforce-node.is-skills { left: 21%; top: 72%; }
.s07-workforce-node.is-experience { left: 77%; top: 72%; }
.s07-workforce-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 58%;
  width: 18%;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.s07-workforce-core strong { display: block; font: 700 clamp(17px, 2.25vw, 27px)/1 var(--font-sans); letter-spacing: -.055em; }
.s07-workforce-core small { display: block; margin: 4px auto 0; font-size: clamp(6px, .68vw, 9px); line-height: 1.22; opacity: .92; }
.s07-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.s07-product-card {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.56);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.s07-product-card:hover { border-color: color-mix(in srgb, var(--indigo) 34%, var(--line)); box-shadow: var(--shadow-2); transform: translateY(-4px); }
.s07-card-media { position: relative; min-height: 100%; overflow: hidden; background: #eef0f3; }
.s07-card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s07-card-media > img.is-smartpost { object-position: 59% 33%; transform: scale(1.33); }
.s07-card-media > img.is-talentcloud { object-position: 61% 63%; transform: scale(1.24); }
.s07-concept-badge { position: absolute; left: 12px; bottom: 12px; padding: 6px 8px; border: 1px solid rgba(20,24,30,.12); border-radius: 8px; background: rgba(255,255,255,.9); color: var(--fg-muted); font-size: 10px; }
.s07-card-copy { display: flex; flex-direction: column; padding: 25px 25px 22px; }
.s07-card-copy h3 { margin: 0; color: #121a2e; font: 400 28px/1.05 var(--font-serif); letter-spacing: -.035em; }
.s07-card-status { display: block; margin: 10px 0 13px; color: var(--indigo); font: 700 10px/1.2 var(--font-mono); letter-spacing: .12em; }
.s07-card-copy p { margin: 0; color: var(--fg-muted); font-size: 14px; line-height: 1.45; }
.s07-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--indigo-deep); font-size: 14px; font-weight: 700; }
.s07-card-link b { font-size: 20px; line-height: 0; }
.is-workforce-concept { background: linear-gradient(140deg, #f5f4ef, #e8edf9); }
.s07-concept-grid { position: absolute; inset: 15px; background-image: linear-gradient(rgba(49,89,215,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(49,89,215,.15) 1px, transparent 1px); background-size: 28px 28px; transform: skewY(-10deg); }
.s07-concept-line { position: absolute; left: 26%; top: 47%; width: 50%; border-top: 2px dashed var(--indigo); transform: rotate(-12deg); animation: s07-flow-dash 3s linear infinite; }
.s07-concept-node { position: absolute; width: 33px; height: 33px; border: 1px solid #cdd6f5; border-radius: 50%; background: #fff; box-shadow: 0 8px 12px rgba(20,43,115,.15); }
.s07-concept-node::after { position: absolute; left: 10px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--indigo); content: ""; }
.s07-concept-node.is-one { left: 27%; top: 25%; }.s07-concept-node.is-two { right: 28%; top: 35%; }.s07-concept-node.is-three { left: 42%; bottom: 23%; }
@keyframes s07-flow-dash { to { stroke-dashoffset: -22px; } }
@media (prefers-reduced-motion: reduce) {
  .s07-product-card, .s07-flow-line, .s07-connector-line, .s07-concept-line { animation: none !important; transition: none !important; }
}
@media (max-width: 980px) {
  .s07-hero-grid { grid-template-columns: minmax(250px, .75fr) minmax(440px, 1.25fr); gap: 28px; }
  .s07-hero-copy h2 { font-size: clamp(55px, 7vw, 82px); }
}
@media (max-width: 760px) {
  .s07-product-ecosystem-shell { width: min(100%, calc(100vw - 36px)); }
  .s07-tabs { gap: 8px; margin-top: 20px; }
  .s07-tabs button { min-height: 58px; padding: 10px; font-size: 15px; }
  .s07-panel { padding-top: 35px; }
  .s07-hero-grid { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .s07-hero-copy { max-width: none; }
  .s07-hero-copy h2 { margin: 16px 0 18px; font-size: clamp(58px, 18vw, 74px); }
  .s07-hero-copy > p:last-child { font-size: 17px; }
  .s07-card-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .s07-product-card { grid-template-columns: 38% 62%; min-height: 205px; }
  .s07-card-copy { padding: 20px; }
  .s07-card-copy h3 { font-size: 25px; }
  .s07-workforce-node { width: 18%; font-size: clamp(9px, 3.2vw, 13px); }
  .s07-workforce-node span { margin-bottom: 4px; }
  .s07-workforce-core { width: 21%; }
  .s07-workforce-core strong { font-size: clamp(15px, 5.6vw, 22px); }
  .s07-workforce-core small { font-size: 6px; }
}

/* ─── H8 review variant / Section 07: Product Ecosystem ───────────── */
.h8-s07-product-ecosystem { background: var(--paper-inset); overflow: clip; }
.h8-s07-shell { max-width: 1280px; }
.h8-s07-header { max-width: 760px; }
.h8-s07-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 28px; border-bottom: 1px solid var(--line-strong); }
.h8-s07-tabs button { min-height: 78px; margin-bottom: -1px; padding: 14px 20px; border: 1px solid var(--line-strong); border-bottom-color: var(--paper-inset); border-radius: 8px 8px 0 0; background: transparent; color: var(--fg-muted); font: 650 clamp(18px, 1.8vw, 23px)/1 var(--font-sans); cursor: pointer; transition: border-color var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft), background var(--dur-base) var(--ease-soft); }
.h8-s07-tabs button:hover { color: var(--fg); background: rgba(255,255,255,.38); }
.h8-s07-tabs button:focus-visible, .h8-s07-product-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--indigo) 72%, white); outline-offset: 4px; }
.h8-s07-tabs button[aria-selected="true"] { color: var(--indigo); border-color: var(--indigo); background: rgba(255,255,255,.48); }
.h8-s07-panel { padding-top: clamp(38px, 5vw, 62px); }
.h8-s07-hero-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.2fr); gap: clamp(32px, 4vw, 50px); align-items: center; min-height: 460px; }
.h8-s07-hero-copy { max-width: 395px; }
.h8-s07-hero-copy > p { margin: 0; color: var(--indigo); font: 700 10.5px/1.2 var(--font-mono); letter-spacing: .15em; }
.h8-s07-hero-copy h3 { margin: 22px 0 24px; color: #121a2e; font: 400 clamp(62px, 7vw, 102px)/.88 var(--font-serif); letter-spacing: -.065em; }
.h8-s07-hero-copy > span { display: block; color: var(--fg-muted); font-size: 19px; line-height: 1.48; }
.h8-s07-stage { position: relative; width: 100%; overflow: hidden; isolation: isolate; }
.h8-s07-stage > img { display: block; width: 100%; height: 100%; object-fit: fill; }
.h8-s07-customer-stage { aspect-ratio: 1120 / 752; }
.h8-s07-customer-flow { position: absolute; z-index: 1; left: 33.5%; top: 13%; width: 23%; height: 74%; background: #faf9f6; }
.h8-s07-customer-flow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.h8-s07-customer-flow marker path { fill: var(--indigo); }
.h8-s07-customer-flow text { fill: #25324b; font: 650 12px/1 var(--font-sans); }
.h8-s07-flow-line { fill: none; stroke: var(--indigo); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 7; animation: h8-s07-dash 8s ease-in-out infinite; }
.h8-s07-flow-node { fill: var(--indigo); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--indigo) 52%, transparent)); }
.h8-s07-flow-traveller { fill: #fff; stroke: var(--indigo); stroke-width: 3; }
.h8-s07-workforce-stage { aspect-ratio: 1672 / 941; }
.h8-s07-workforce-connectors { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.h8-s07-connector-line { fill: none; stroke: var(--indigo); stroke-width: .48; stroke-linecap: round; stroke-dasharray: 1.35 1.55; animation: h8-s07-dash 9.2s ease-in-out infinite; }
.h8-s07-workforce-label { position: absolute; z-index: 2; width: 16%; color: #1e283a; font: 650 clamp(11px, 1.22vw, 15px)/1.04 var(--font-sans); text-align: center; transform: translate(-50%, -50%); pointer-events: none; }
.h8-s07-workforce-label span { display: block; margin-bottom: 7px; font-size: 1.22em; line-height: 1; }
.h8-s07-workforce-label.is-find { left: 31.3%; top: 24.7%; }.h8-s07-workforce-label.is-workspace { left: 71.9%; top: 24.7%; }.h8-s07-workforce-label.is-skills { left: 23.1%; top: 64.7%; }.h8-s07-workforce-label.is-experience { left: 74%; top: 64.7%; }
.h8-s07-workforce-core { position: absolute; z-index: 3; left: 50.2%; top: 57.7%; width: 18%; color: #fff; text-align: center; transform: translate(-50%, -50%); pointer-events: none; }
.h8-s07-workforce-core strong { display: block; font: 700 clamp(17px, 2.25vw, 27px)/1 var(--font-sans); letter-spacing: -.055em; }.h8-s07-workforce-core small { display: block; margin: 4px auto 0; font-size: clamp(6px, .68vw, 9px); line-height: 1.22; opacity: .92; }
.h8-s07-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.h8-s07-product-card { display: grid; grid-template-columns: 42% 58%; min-height: 250px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.56); color: inherit; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft); }
.h8-s07-product-card:hover { border-color: color-mix(in srgb, var(--indigo) 34%, var(--line)); box-shadow: var(--shadow-2); transform: translateY(-4px); }
.h8-s07-card-media { position: relative; min-height: 100%; overflow: hidden; background: #eef0f3; }.h8-s07-card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h8-s07-card-copy { display: flex; flex-direction: column; padding: 25px 25px 22px; }.h8-s07-card-copy h3 { margin: 0; color: #121a2e; font: 400 28px/1.05 var(--font-serif); letter-spacing: -.035em; }.h8-s07-card-copy > span { display: block; margin: 10px 0 13px; color: var(--indigo); font: 700 10px/1.2 var(--font-mono); letter-spacing: .12em; }.h8-s07-card-copy p { margin: 0; color: var(--fg-muted); font-size: 14px; line-height: 1.45; }.h8-s07-card-copy > b { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--indigo-deep); font-size: 14px; line-height: 1.2; }.h8-s07-card-copy > b i { display: inline-block; font-size: 1.1em; font-style: normal; line-height: 1; }
.h8-s07-concept { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(140deg, #f5f4ef, #e8edf9); }.h8-s07-concept-grid { position: absolute; inset: 15px; background-image: linear-gradient(rgba(49,89,215,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(49,89,215,.15) 1px, transparent 1px); background-size: 28px 28px; transform: skewY(-10deg); }.h8-s07-concept-line { position: absolute; left: 26%; top: 47%; width: 50%; border-top: 2px dashed var(--indigo); transform: rotate(-12deg); animation: h8-s07-dash 9.2s ease-in-out infinite; }.h8-s07-concept i { position: absolute; width: 33px; height: 33px; border: 1px solid #cdd6f5; border-radius: 50%; background: #fff; box-shadow: 0 8px 12px rgba(20,43,115,.15); }.h8-s07-concept i::after { position: absolute; left: 10px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--indigo); content: ""; }.h8-s07-concept .is-one { left: 27%; top: 25%; }.h8-s07-concept .is-two { right: 28%; top: 35%; }.h8-s07-concept .is-three { left: 42%; bottom: 23%; }
.h8-s07-concept-badge { position: absolute; left: 12px; bottom: 12px; padding: 6px 8px; border: 1px solid rgba(20,24,30,.12); border-radius: 8px; background: rgba(255,255,255,.9); color: var(--fg-muted); font-size: 10px; }
@keyframes h8-s07-dash { to { stroke-dashoffset: -22px; } }
@media (prefers-reduced-motion: reduce) { .h8-s07-product-card, .h8-s07-flow-line, .h8-s07-connector-line, .h8-s07-concept-line { animation: none !important; transition: none !important; } }
@media (max-width: 760px) { .h8-s07-shell { width: min(100%, calc(100vw - 36px)); padding-inline: 0; }.h8-s07-tabs { gap: 8px; margin-top: 20px; }.h8-s07-tabs button { min-height: 58px; padding: 10px; font-size: 15px; }.h8-s07-panel { padding-top: 35px; }.h8-s07-hero-grid { grid-template-columns: 1fr; gap: 18px; min-height: 0; }.h8-s07-hero-copy { max-width: none; }.h8-s07-hero-copy h3 { margin: 16px 0 18px; font-size: clamp(58px, 18vw, 74px); }.h8-s07-hero-copy > span { font-size: 17px; }.h8-s07-customer-flow { display: none; }.h8-s07-stage > img { height: auto; object-fit: contain; }.h8-s07-card-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }.h8-s07-product-card { grid-template-columns: 38% 62%; min-height: 205px; border-radius: 17px; }.h8-s07-card-copy { padding: 20px; }.h8-s07-card-copy h3 { font-size: 25px; }.h8-s07-workforce-label { width: 18%; font: 750 clamp(8px, 2.6vw, 10px)/1.05 var(--font-sans); }.h8-s07-workforce-label span { display: none; }.h8-s07-workforce-core { width: 21%; }.h8-s07-workforce-core strong { font-size: clamp(15px, 5.6vw, 22px); }.h8-s07-workforce-core small { font-size: 6px; } }

/* ─── H8 review variant / Section 08: Myanmar Market Support ─────── */
.h8-s08-myanmar-market-support { background: var(--paper); }
.h8-s08-shell { max-width: 1304px; }
.h8-s08-header { max-width: 690px; }
.h8-s08-card-grid { display: grid; grid-template-columns: 1.86fr 1fr; gap: 16px; align-items: stretch; }
.h8-s08-card { box-sizing: border-box; height: 418px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.56); }
.h8-s08-support-card { display: flex; flex-direction: column; padding: clamp(32px, 3.6vw, 48px); }
.h8-s08-kicker { color: var(--indigo); font: 700 10px/1.2 var(--font-mono); letter-spacing: .14em; }
.h8-s08-support-card h3 { max-width: 530px; margin: 20px 0 16px; color: #121a2e; font: 500 clamp(38px, 4vw, 58px)/.96 var(--font-serif); letter-spacing: -.055em; }
.h8-s08-support-card > p { max-width: 470px; margin: 0; color: var(--fg-muted); font-size: 17px; line-height: 1.48; }
.h8-s08-cta { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-top: 20px; color: var(--indigo-deep); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.h8-s08-cta:hover { text-decoration: underline; text-underline-offset: 4px; }.h8-s08-cta:focus-visible, .h8-s08-scope summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--indigo) 72%, white); outline-offset: 4px; }
.h8-s08-progress { margin-top: auto; padding-top: 30px; }
.h8-s08-progress-track { position: relative; height: 12px; margin: 0 4px; }
.h8-s08-progress-line { position: absolute; top: 5px; right: 0; left: 0; height: 1px; background: var(--line-strong); }
.h8-s08-progress-track i { position: absolute; z-index: 1; top: 2px; width: 7px; height: 7px; border: 1px solid var(--indigo); border-radius: 50%; background: var(--paper); transform: translateX(-50%); }.h8-s08-progress-track .is-one { left: 0; }.h8-s08-progress-track .is-two { left: 50%; }.h8-s08-progress-track .is-three { left: 100%; }
.h8-s08-progress-track b { position: absolute; z-index: 2; top: 1px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 12%, transparent); transform: translateX(-50%); }
.h8-s08-progress.is-playing .h8-s08-progress-track b { animation: h8-s08-progress-once 11s cubic-bezier(.42,0,.58,1) 1 forwards; }.h8-s08-progress.is-reduced .h8-s08-progress-track b { left: 50%; animation: none; }
@keyframes h8-s08-progress-once { from { left: 0; } to { left: 100%; } }
.h8-s08-progress-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 9px; color: var(--fg-muted); font-size: 11px; line-height: 1.25; }.h8-s08-progress-labels span:nth-child(2) { text-align: center; }.h8-s08-progress-labels span:last-child { text-align: right; }
.h8-s08-map-card { position: relative; margin: 0; }.h8-s08-map-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }.h8-s08-map-card figcaption { position: absolute; bottom: 14px; left: 14px; padding: 6px 8px; border: 1px solid rgba(20,24,30,.12); border-radius: 8px; background: rgba(255,255,255,.9); color: var(--fg-muted); font-size: 10px; }
.h8-s08-scope { max-width: 720px; margin-top: 20px; color: var(--fg-muted); font-size: 13px; line-height: 1.55; }.h8-s08-scope summary { width: fit-content; color: var(--fg); font-size: 13px; font-weight: 650; cursor: pointer; }.h8-s08-scope p { max-width: 680px; margin: 10px 0 0; }
@media (prefers-reduced-motion: reduce) { .h8-s08-progress-track b { left: 50%; animation: none !important; }.h8-s08-cta { transition: none !important; } }
@media (max-width: 760px) { .h8-s08-shell { width: min(100%, calc(100vw - 36px)); padding-inline: 0; }.h8-s08-card-grid { grid-template-columns: 1fr; gap: 14px; }.h8-s08-card { height: 452px; border-radius: 18px; }.h8-s08-support-card { padding: 30px 26px; }.h8-s08-support-card h3 { margin: 18px 0 14px; font-size: 34px; }.h8-s08-support-card > p { font-size: 16px; }.h8-s08-cta { min-height:44px; margin-top: 18px; }.h8-s08-progress { padding-top: 24px; }.h8-s08-progress-labels { gap: 6px; font-size: 10px; }.h8-s08-progress-labels span { max-width: 96px; }.h8-s08-progress-labels span:last-child { justify-self: end; }.h8-s08-map-card figcaption { bottom: 12px; left: 12px; }.h8-s08-scope { margin-top: 16px; } }

/* ─── H8 review variant / Section 09: How We Start ───────────────── */
.h8-s09-how-we-start { background: var(--paper); overflow: clip; }
.h8-s09-shell { max-width: 1304px; }
.h8-s09-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 320px); align-items: end; gap: 48px; margin-bottom: clamp(58px, 7vw, 90px); }
.h8-s09-heading .eyebrow { margin-bottom: 23px; }
.h8-s09-heading h2 { max-width: 760px; margin: 0; color: #121a2e; font: 500 clamp(50px, 5.2vw, 78px)/.95 var(--font-serif); letter-spacing: -.065em; }
.h8-s09-heading .lead { max-width: 320px; margin: 0 0 4px; color: var(--fg-muted); font-size: 16px; line-height: 1.58; }
.h8-s09-timeline { color: #121a2e; }
.h8-s09-steps-shell { position: relative; }
.h8-s09-rail { position: absolute; top: 8px; right: 0; left: 0; z-index: 0; height: 1px; background: var(--line-strong); }
.h8-s09-rail i { position: absolute; top: -1px; left: 0; display: block; width: 0; height: 3px; background: var(--indigo); }
.h8-s09-traveller { position: absolute; z-index: 2; top: 2px; left: 0; width: 12px; height: 12px; border: 3px solid var(--indigo); border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 7px color-mix(in srgb, var(--indigo) 10%, transparent); }
.h8-s09-timeline.is-playing .h8-s09-rail i { animation: h8-s09-progress 12s cubic-bezier(.55,0,.2,1) 1 forwards; }
.h8-s09-timeline.is-playing .h8-s09-traveller { animation: h8-s09-travel 12s cubic-bezier(.55,0,.2,1) 1 forwards; }
.h8-s09-timeline.is-reduced .h8-s09-rail i { width: 100%; animation: none; }.h8-s09-timeline.is-reduced .h8-s09-traveller { left: calc(100% - 12px); animation: none; }
.h8-s09-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.h8-s09-step { position: relative; min-height: 210px; padding-right: 30px; }
.h8-s09-node { position: relative; z-index: 1; display: block; width: 16px; height: 16px; margin-bottom: 50px; border: 5px solid #e9ecef; border-radius: 50%; background: #566173; }
.h8-s09-step:first-child .h8-s09-node { border-color: color-mix(in srgb, var(--indigo) 15%, white); background: var(--indigo); }
.h8-s09-step h3 { max-width: 230px; margin: 0 0 12px; color: #121a2e; font: 500 25px/1.06 var(--font-serif); letter-spacing: -.045em; }
.h8-s09-step p { max-width: 230px; margin: 0; color: var(--fg-muted); font-size: 14px; line-height: 1.55; }
.h8-s09-actions { display: flex; align-items: baseline; gap: 28px; margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.h8-s09-actions a, .h8-s09-actions button { display: inline-flex; align-items: baseline; gap: 5px; padding: 0; border: 0; background: transparent; color: #121a2e; font: 700 13px/1.35 var(--font-sans); text-decoration: none; cursor: pointer; }
.h8-s09-actions a { color: var(--indigo-deep); }.h8-s09-actions span { font-size: 17px; line-height: .85; transition: transform .22s ease; }.h8-s09-actions a:hover span, .h8-s09-actions button:hover span { transform: translateX(4px); }
.h8-s09-actions a:focus-visible, .h8-s09-actions button:focus-visible { outline: 3px solid color-mix(in srgb, var(--indigo) 72%, white); outline-offset: 5px; }
.h8-s09-disclosure { max-width: 360px; margin: 10px 0 0; color: var(--fg-muted); font-size: 11px; line-height: 1.45; }
@keyframes h8-s09-progress { from { width: 0; } to { width: 100%; } }
@keyframes h8-s09-travel { from { left: 0; } to { left: calc(100% - 12px); } }
@media (prefers-reduced-motion: reduce) { .h8-s09-rail i { width: 100% !important; animation: none !important; }.h8-s09-traveller { left: calc(100% - 12px) !important; animation: none !important; }.h8-s09-actions span { transition: none !important; } }
@media (max-width: 760px) { .h8-s09-shell { width: min(100%, calc(100vw - 36px)); padding-inline: 0; }.h8-s09-heading { display: block; margin-bottom: 54px; }.h8-s09-heading .eyebrow { margin-bottom: 19px; }.h8-s09-heading h2 { max-width: 345px; font-size: 49px; }.h8-s09-heading .lead { max-width: 330px; margin-top: 18px; font-size: 15px; }.h8-s09-steps-shell { padding-left: 34px; }.h8-s09-rail { top: 3px; right: auto; bottom: 0; left: 7px; width: 1px; height: auto; }.h8-s09-rail i { top: 0; left: -1px; width: 3px; height: 0; }.h8-s09-traveller { top: 0; left: 1px; }.h8-s09-timeline.is-playing .h8-s09-rail i { animation-name: h8-s09-progress-mobile; }.h8-s09-timeline.is-playing .h8-s09-traveller { animation-name: h8-s09-travel-mobile; }.h8-s09-timeline.is-reduced .h8-s09-rail i { width: 3px; height: 100%; }.h8-s09-timeline.is-reduced .h8-s09-traveller { top: calc(100% - 12px); left: 1px; }.h8-s09-steps { display: block; }.h8-s09-step { min-height: 0; padding: 0 0 31px; }.h8-s09-step:last-child { padding-bottom: 0; }.h8-s09-node { position: absolute; top: 0; left: -34px; width: 14px; height: 14px; margin: 0; border-width: 4px; }.h8-s09-step h3 { max-width: 285px; margin-bottom: 7px; font-size: 25px; }.h8-s09-step p { max-width: 290px; font-size: 13px; }.h8-s09-actions { display: block; margin: 28px 0 0; padding-top: 22px; }.h8-s09-actions a, .h8-s09-actions button { min-height:44px; margin: 0 22px 10px 0; }.h8-s09-disclosure { max-width: 300px; margin-top: 2px; } }

/* Mobile review QA: primary text links remain visually light, with reliable tap space. */
@media (max-width: 760px) {
  .h8-solutions-all-services { min-height: 44px; align-items: center !important; }
  .s06-talent-team-continuation a { min-height: 44px; align-items: center; }
  .tiktok-review-sound { min-height: 44px; padding-inline: 14px; }
}
@keyframes h8-s09-progress-mobile { from { height: 0; } to { height: 100%; } }
@keyframes h8-s09-travel-mobile { from { top: 0; } to { top: calc(100% - 12px); } }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .h8-s09-rail i { width: 3px !important; height: 100% !important; }.h8-s09-traveller { top: calc(100% - 12px) !important; left: 1px !important; } }
