/* =====================================================================
   BitsAtom — mobile site
   Loaded only by layouts/application.html+mobile.erb (phones). Lives
   outside app/assets/stylesheets so the desktop `stylesheet_link_tag :app`
   never includes it. Brand palette is unchanged from desktop:
   deep teal #041E21 · teal #1AB4C0 · orange #E8460A · green #34D399.
   ===================================================================== */

:root {
  --m-bg: #041e21;
  --m-bg-2: #062a2e;
  --m-bg-3: #031619;
  --m-surface: rgba(255, 255, 255, 0.045);
  --m-surface-2: rgba(255, 255, 255, 0.075);
  --m-line: rgba(255, 255, 255, 0.09);
  --m-line-2: rgba(255, 255, 255, 0.16);
  --m-teal: #1ab4c0;
  --m-teal-2: #168e98;
  --m-orange: #e8460a;
  --m-orange-2: #ef7148;
  --m-green: #34d399;
  --m-text: #eaf5f6;
  --m-muted: #9fbfc3;
  --m-dim: #6e9293;
  --m-paper: #f6fbfb;
  --m-ink: #0b2c31;
  --m-r: 20px;
  --m-r-sm: 14px;
  --m-top-h: 60px;
  --m-safe-t: env(safe-area-inset-top, 0px);
  --m-safe-b: env(safe-area-inset-bottom, 0px);
  --m-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --m-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --m-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
html.m-html { scroll-behavior: smooth; scroll-padding-top: calc(var(--m-top-h) + var(--m-safe-t) + 56px); -webkit-text-size-adjust: 100%; }
body.m-app {
  margin: 0;
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--m-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  padding-top: calc(var(--m-top-h) + var(--m-safe-t));
  padding-bottom: calc(92px + var(--m-safe-b));
}
.m-app a { -webkit-tap-highlight-color: transparent; }
.m-app button { font-family: inherit; }
.m-main { display: block; }
.m-app :focus-visible { outline: 2px solid var(--m-teal); outline-offset: 2px; border-radius: 8px; }

/* typography helpers */
.m-kicker {
  display: inline-block;
  font-family: var(--m-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m-orange-2);
}
.m-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--m-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-orange-2);
  background: rgba(232, 70, 10, 0.12);
  border: 1px solid rgba(232, 70, 10, 0.34);
  padding: 6px 12px;
  border-radius: 999px;
}
.m-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--m-orange); box-shadow: 0 0 10px var(--m-orange); }
.m-mini-label {
  display: block;
  font-family: var(--m-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-green);
  margin: 0 0 10px;
}
.m-orange { color: var(--m-orange-2); }
.m-grad {
  background: linear-gradient(90deg, var(--m-orange) 0%, var(--m-orange-2) 55%, #ffb347 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.m-btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--m-ease), background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.m-btn:active { transform: scale(0.97); }
.m-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--m-orange) 0%, #ff6a1a 100%);
  box-shadow: 0 10px 28px -10px rgba(232, 70, 10, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.m-btn-primary:hover { color: #fff; }
.m-btn-ghost { color: var(--m-text); background: var(--m-surface); border-color: var(--m-line-2); }
.m-btn-ghost:hover { color: var(--m-text); }
.m-btn-block { width: 100%; }
.m-btn-row .m-btn { flex: 1 1 auto; }

/* ---------- top bar ---------- */
.m-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1040;
  height: calc(var(--m-top-h) + var(--m-safe-t));
  padding: var(--m-safe-t) 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 30, 33, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--m-line);
  transition: transform 0.35s var(--m-ease);
}
.m-top-hidden .m-top { transform: translateY(-100%); }
.m-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.m-brand-mark { width: 34px; height: 34px; object-fit: contain; }
.m-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.m-brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--m-teal); }
.m-brand-tag { font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--m-orange-2); margin-top: 3px; }
.m-top-actions { display: flex; align-items: center; gap: 8px; }
.m-top-cta {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(26, 180, 192, 0.45);
  background: rgba(26, 180, 192, 0.12);
  color: #bff3f7;
  font-size: 13.5px;
  font-weight: 650;
}
.m-burger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--m-line-2);
  background: var(--m-surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.m-burger span { display: block; width: 16px; height: 1.8px; border-radius: 2px; background: var(--m-text); }
.m-burger span:last-child { width: 10px; margin-left: 6px; }

/* ---------- bottom dock ---------- */
.m-dock {
  position: fixed;
  z-index: 1040;
  left: 12px;
  right: 12px;
  bottom: calc(10px + var(--m-safe-b));
  height: 66px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 6px;
  border-radius: 24px;
  background: rgba(6, 34, 38, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--m-line-2);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
}
.m-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--m-muted);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
}
.m-dock-item i { font-size: 19px; line-height: 1; }
.m-dock-item.is-active { color: #fff; }
.m-dock-item.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--m-orange);
  box-shadow: 0 0 8px var(--m-orange);
}
.m-dock-talk {
  justify-self: center;
  width: 54px;
  height: 54px;
  margin-top: -26px;
  border-radius: 50%;
  border: 4px solid var(--m-bg);
  background: linear-gradient(135deg, var(--m-orange), #ff6a1a);
  color: #fff;
  font-size: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(232, 70, 10, 0.8);
  position: relative;
}
.m-dock-talk::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(232, 70, 10, 0.5);
  animation: m-ping 2.6s var(--m-ease) infinite;
}
@keyframes m-ping { 0% { transform: scale(0.85); opacity: 0.9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- menu sheet ---------- */
.m-menu { position: fixed; inset: 0; z-index: 1050; }
.m-menu[hidden] { display: none; }
.m-menu-backdrop { position: absolute; inset: 0; background: rgba(1, 10, 12, 0.6); opacity: 0; transition: opacity 0.3s; }
.m-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(10px + var(--m-safe-t));
  display: flex;
  flex-direction: column;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #072d32 0%, var(--m-bg) 40%);
  border-top: 1px solid var(--m-line-2);
  transform: translateY(100%);
  transition: transform 0.42s var(--m-ease);
}
.m-menu.is-open .m-menu-backdrop { opacity: 1; }
.m-menu.is-open .m-menu-panel { transform: none; }
.m-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.m-menu-close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--m-line-2); background: var(--m-surface); color: var(--m-text);
}
.m-menu-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px calc(28px + var(--m-safe-b)); }
.m-menu-label {
  font-family: var(--m-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-dim);
  margin: 22px 0 10px;
}
.m-menu-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-menu-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border-radius: var(--m-r-sm);
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  text-decoration: none;
  color: var(--m-text);
}
.m-menu-tile i { font-size: 20px; color: var(--m-teal); margin-bottom: 6px; }
.m-menu-tile strong { font-size: 14.5px; font-weight: 650; }
.m-menu-tile small { font-size: 12px; color: var(--m-muted); }
.m-menu-services { border-radius: var(--m-r-sm); border: 1px solid var(--m-line); overflow: hidden; }
.m-menu-acc + .m-menu-acc { border-top: 1px solid var(--m-line); }
.m-menu-acc summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.m-menu-acc summary::-webkit-details-marker { display: none; }
.m-menu-acc summary i { color: var(--m-muted); transition: transform 0.25s; }
.m-menu-acc[open] summary i { transform: rotate(45deg); color: var(--m-orange-2); }
.m-menu-acc-body { display: flex; flex-direction: column; padding: 0 16px 12px; }
.m-menu-sub { color: var(--m-muted); text-decoration: none; font-size: 14px; padding: 8px 0 8px 14px; border-left: 1px solid var(--m-line-2); }
.m-menu-sub-main { color: var(--m-teal); font-weight: 600; }
.m-menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-menu-links a {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  color: var(--m-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
}
.m-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.m-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  border-radius: 14px;
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  color: var(--m-text);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}
.m-quick-btn i { font-size: 19px; color: var(--m-teal); }
.m-quick-wa i { color: #25d366; }
.m-menu-desktop { display: flex; justify-content: center; gap: 8px; margin-top: 24px; color: var(--m-dim); font-size: 13px; text-decoration: none; }

/* ---------- sections ---------- */
.m-sec { position: relative; padding: 64px 20px; }
.m-sec-tight { padding-top: 40px; padding-bottom: 40px; }
.m-sec-alt { background: linear-gradient(180deg, var(--m-bg-2) 0%, var(--m-bg) 100%); border-top: 1px solid var(--m-line); border-bottom: 1px solid var(--m-line); }
.m-head { margin-bottom: 28px; }
.m-head h2 {
  font-size: clamp(28px, 8.2vw, 34px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
  color: #fff;
}
.m-head p { color: var(--m-muted); font-size: 16px; margin: 0; }
.m-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.m-head-row h2 { margin-bottom: 0; }
.m-head-sub { margin: 40px 0 12px; }
.m-swipe-hint { font-size: 12.5px; color: var(--m-dim); white-space: nowrap; padding-bottom: 6px; }
.m-swipe-hint i { animation: m-nudge 1.6s ease-in-out infinite; display: inline-block; }
@keyframes m-nudge { 50% { transform: translateX(4px); } }
.m-footnote { color: var(--m-dim); font-size: 14px; font-style: italic; text-align: center; margin: 22px 8px 0; }

/* ---------- hero ---------- */
.m-hero {
  position: relative;
  padding: 8px 20px 36px;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(26, 180, 192, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #05252a 0%, var(--m-bg) 100%);
}
.m-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(80% 55% at 50% 25%, #000 0%, transparent 80%);
  mask-image: radial-gradient(80% 55% at 50% 25%, #000 0%, transparent 80%);
  pointer-events: none;
}
.m-hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 70, 10, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.m-hero-copy { position: relative; }
.m-hero h1 {
  font-size: clamp(38px, 11.6vw, 48px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.04em;
  margin: 10px 0 14px;
  color: #fff;
}
.m-hero-copy p { color: #c3dcdf; font-size: 16px; line-height: 1.55; margin: 0; }

/* orbit visual */
.m-orbit { position: relative; width: 196px; height: 196px; margin: 4px auto 8px; }
.m-orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(26, 180, 192, 0.22); inset: 0; }
.m-orbit-ring.r2 { inset: 26px; border-style: dashed; border-color: rgba(52, 211, 153, 0.22); animation: m-spin 40s linear infinite reverse; }
.m-orbit-ring.r3 { inset: 52px; border-color: rgba(232, 70, 10, 0.25); }
.m-orbit-core {
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #0c4248, #062327);
  border: 1px solid rgba(26, 180, 192, 0.5);
  box-shadow: 0 0 40px rgba(26, 180, 192, 0.35), inset 0 0 18px rgba(26, 180, 192, 0.25);
}
.m-orbit-core img { width: 34px; height: 34px; object-fit: contain; }
.m-orbit-arm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  animation: m-spin 24s linear infinite;
}
.m-orbit-arm b {
  position: absolute;
  left: 0;
  top: -98px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 40, 44, 0.92);
  border: 1px solid rgba(26, 180, 192, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  animation: m-spin-rev 24s linear infinite;
}
.m-orbit-arm b i { color: var(--m-teal); }
.m-orbit-arm.a2 { animation-delay: -8s; }
.m-orbit-arm.a2 b { animation-delay: -8s; border-color: rgba(232, 70, 10, 0.55); }
.m-orbit-arm.a2 b i { color: var(--m-orange-2); }
.m-orbit-arm.a3 { animation-delay: -16s; }
.m-orbit-arm.a3 b { animation-delay: -16s; border-color: rgba(52, 211, 153, 0.5); }
.m-orbit-arm.a3 b i { color: var(--m-green); }
@keyframes m-spin { to { transform: rotate(360deg); } }
/* counter-rotate around the label's own centre so it stays upright on the ring */
@keyframes m-spin-rev {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.m-caps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.m-caps div {
  padding: 14px;
  border-radius: var(--m-r-sm);
  background: var(--m-surface);
  border: 1px solid var(--m-line);
}
.m-caps strong { display: block; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.25; }
.m-caps span { font-size: 12.5px; color: var(--m-green); font-family: var(--m-mono); letter-spacing: 0.02em; }

/* ---------- rails (scroll-snap carousels) ---------- */
.m-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  padding: 4px 20px 6px;
  margin: 0 -20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.m-rail::-webkit-scrollbar { display: none; }
.m-rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.m-rail-peek > * { width: 78%; }
.m-rail-full > * { width: 100%; }
.m-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.m-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--m-line-2); transition: width 0.3s var(--m-ease), background 0.3s; }
.m-dots i.is-active { width: 20px; background: var(--m-orange); }

.m-pillar {
  display: flex;
  flex-direction: column;
  min-height: 228px;
  padding: 20px;
  border-radius: var(--m-r);
  text-decoration: none;
  color: var(--m-text);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(26, 180, 192, 0.14), transparent 60%),
    var(--m-surface);
  border: 1px solid var(--m-line-2);
}
.m-pillar:nth-child(2) { background: radial-gradient(120% 80% at 100% 0%, rgba(232, 70, 10, 0.16), transparent 60%), var(--m-surface); }
.m-pillar:nth-child(3) { background: radial-gradient(120% 80% at 100% 0%, rgba(52, 211, 153, 0.14), transparent 60%), var(--m-surface); }
.m-pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.m-pillar-top i {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-size: 20px; color: var(--m-teal); background: rgba(26, 180, 192, 0.12); border: 1px solid rgba(26, 180, 192, 0.3);
}
.m-pillar-top em { font-style: normal; font-family: var(--m-mono); font-size: 12px; color: var(--m-dim); }
.m-pillar strong { font-size: 20px; font-weight: 750; letter-spacing: -0.015em; color: #fff; }
.m-pillar p { font-size: 14.5px; color: var(--m-muted); margin: 6px 0 16px; line-height: 1.5; }
.m-pillar-go { margin-top: auto; font-size: 13.5px; font-weight: 650; color: var(--m-orange-2); }

/* ---------- sticky chapters ---------- */
.m-chapters {
  position: sticky;
  top: calc(var(--m-top-h) + var(--m-safe-t));
  z-index: 1030;
  display: flex;
  gap: 6px;
  padding: 10px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(4, 30, 33, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--m-line);
  border-bottom: 1px solid var(--m-line);
  transition: top 0.35s var(--m-ease);
}
.m-chapters::-webkit-scrollbar { display: none; }
.m-top-hidden .m-chapters { top: var(--m-safe-t); }
.m-chapters a {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--m-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s;
}
.m-chapters a.is-active { color: #fff; background: rgba(232, 70, 10, 0.16); border-color: rgba(232, 70, 10, 0.45); }

/* ---------- generic cards / chips / tags ---------- */
.m-card {
  padding: 20px;
  border-radius: var(--m-r);
  background: var(--m-surface);
  border: 1px solid var(--m-line-2);
}
.m-card h3 { font-size: 20px; font-weight: 750; color: #fff; margin: 0 0 8px; letter-spacing: -0.01em; }
.m-card > p { color: var(--m-muted); font-size: 15px; margin: 0; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chips-center { justify-content: center; margin-top: 22px; }
.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--m-text);
  background: var(--m-surface);
  border: 1px solid var(--m-line-2);
}
.m-chip i { color: var(--m-teal); }
.m-chip.is-on { border-color: rgba(52, 211, 153, 0.55); background: rgba(52, 211, 153, 0.12); color: #c9f7e5; }
.m-chips-sm .m-chip { padding: 6px 11px; font-size: 12.5px; }
.m-chips-check .m-chip i { color: var(--m-green); }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.m-tags span {
  font-family: var(--m-mono);
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 8px;
  color: #bfe3e6;
  background: rgba(26, 180, 192, 0.08);
  border: 1px solid rgba(26, 180, 192, 0.22);
}
.m-ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.m-ticks li { position: relative; padding-left: 28px; font-size: 14.5px; color: #d3e8ea; line-height: 1.45; }
.m-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2334d399'%3E%3Cpath d='M12.7 4.7a1 1 0 0 1 0 1.4l-5.5 5.5a1 1 0 0 1-1.4 0L3.3 9.1a1 1 0 1 1 1.4-1.4l1.8 1.8 4.8-4.8a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.m-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--m-r-sm);
  text-decoration: none;
  color: var(--m-text);
  background: linear-gradient(90deg, rgba(26, 180, 192, 0.12), rgba(26, 180, 192, 0.03));
  border: 1px solid rgba(26, 180, 192, 0.3);
}
.m-more span { display: flex; flex-direction: column; }
.m-more strong { font-size: 15.5px; font-weight: 700; }
.m-more small { font-size: 12.5px; color: var(--m-muted); }
.m-more > i {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--m-teal); color: var(--m-bg); font-size: 17px;
}

/* ---------- data journey timeline ---------- */
.m-journey { position: relative; --p: 0; }
.m-journey-rail {
  position: absolute;
  left: 18px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--m-line-2);
  border-radius: 2px;
}
.m-journey-rail i {
  position: absolute;
  inset: 0;
  transform-origin: top;
  transform: scaleY(var(--p));
  background: linear-gradient(180deg, var(--m-teal), var(--m-green) 70%, var(--m-orange));
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
  border-radius: 2px;
}
.m-stage { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 7px 0; }
.m-stage-dot {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--m-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--m-teal);
  background: var(--m-bg);
  border: 1.5px solid rgba(26, 180, 192, 0.55);
  margin-top: 14px;
}
.m-stage-card { padding: 16px; border-radius: var(--m-r-sm); background: var(--m-surface); border: 1px solid var(--m-line); }
.m-stage-label { font-family: var(--m-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--m-green); }
.m-stage-card h3 { font-family: var(--m-mono); font-size: 18px; font-weight: 700; margin: 4px 0 2px; color: #fff; }
.m-stage-card p { margin: 0; color: var(--m-muted); font-size: 14px; }
.m-stage-bronze .m-stage-dot { color: #e0a36b; border-color: rgba(224, 163, 107, 0.6); }
.m-stage-silver .m-stage-dot { color: #cfd8dc; border-color: rgba(207, 216, 220, 0.6); }
.m-stage-gold .m-stage-dot { color: #f3c969; border-color: rgba(243, 201, 105, 0.65); }
.m-stage-accent .m-stage-dot { color: #fff; background: var(--m-orange); border-color: var(--m-orange); box-shadow: 0 0 18px rgba(232, 70, 10, 0.55); }
.m-stage-accent .m-stage-card { border-color: rgba(232, 70, 10, 0.45); background: linear-gradient(135deg, rgba(232, 70, 10, 0.12), rgba(232, 70, 10, 0.02)); }
.m-mesh { position: relative; margin: 10px 0; padding: 40px 0 8px; }
.m-mesh::before {
  content: "";
  position: absolute;
  inset: 0 -8px 0 52px;
  border: 1px dashed rgba(52, 211, 153, 0.38);
  border-radius: 18px;
  background: rgba(52, 211, 153, 0.035);
}
.m-mesh-label {
  position: absolute;
  top: 11px;
  left: 64px;
  right: 4px;
  font-family: var(--m-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-green);
}
.m-mesh .m-stage-card { background: rgba(4, 30, 33, 0.6); margin-right: 8px; }
.m-gov { margin-top: 24px; padding: 16px; border-radius: var(--m-r-sm); background: var(--m-surface); border: 1px solid var(--m-line); }
.m-gov-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-gov-row span {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; background: rgba(52, 211, 153, 0.07); border: 1px solid rgba(52, 211, 153, 0.22);
}
.m-gov-row i { color: var(--m-green); }

/* ---------- tabs (segmented) ---------- */
.m-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n, 4), 1fr);
  padding: 4px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--m-line);
  margin-bottom: 14px;
  --i: 0;
}
.m-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 2px;
  border: 0;
  background: none;
  color: var(--m-muted);
  font-size: 12px;
  font-weight: 650;
  border-radius: 12px;
  transition: color 0.25s;
}
.m-tab i { font-size: 17px; }
.m-tab.is-active { color: #fff; }
.m-tabs-ink {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--n, 4));
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 70, 10, 0.9), rgba(255, 106, 26, 0.85));
  box-shadow: 0 6px 18px -6px rgba(232, 70, 10, 0.7);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform 0.4s var(--m-ease);
}

/* ---------- AI workflow ---------- */
.m-wf-panel { padding: 2px 0; }
.m-wf-intro { padding: 4px 2px 14px; }
.m-step-num { font-family: var(--m-mono); font-size: 11px; color: var(--m-orange-2); letter-spacing: 0.1em; }
.m-wf-intro h3 { font-size: 21px; font-weight: 750; color: #fff; margin: 4px 0 6px; }
.m-wf-intro p { font-size: 14.5px; color: var(--m-muted); margin: 0; }
.m-wf-stage { padding: 16px; border-radius: var(--m-r); background: rgba(0, 0, 0, 0.22); border: 1px solid var(--m-line-2); }
.m-wf-stage-bar {
  display: flex; align-items: center; gap: 8px; font-family: var(--m-mono); font-size: 10.5px;
  letter-spacing: 0.14em; color: var(--m-green); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--m-line);
}
.m-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--m-green); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: m-pulse 1.8s infinite; }
@keyframes m-pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.m-code {
  display: inline-block; margin: 12px 0; font-family: var(--m-mono); font-size: 12px; color: var(--m-green);
  padding: 6px 10px; border-radius: 8px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.25);
}
.m-doc { padding: 14px; border-radius: var(--m-r-sm); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--m-line-2); }
.m-doc-kicker { display: block; font-family: var(--m-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-dim); margin-bottom: 6px; }
.m-doc strong { display: block; color: #fff; font-size: 15px; margin-bottom: 6px; }
.m-doc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.m-doc li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #fff; text-align: right; }
.m-doc li span { color: var(--m-dim); text-align: left; font-family: var(--m-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.m-doc-ok { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.05); }
.m-doc-ok .m-doc-kicker { color: var(--m-green); }
.m-doc-route { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--m-line); font-size: 13.5px; color: var(--m-green); }
.m-flow-arrow { display: grid; place-items: center; height: 34px; color: var(--m-teal); animation: m-bob 1.8s ease-in-out infinite; }
@keyframes m-bob { 50% { transform: translateY(4px); } }
.m-pipe { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 14px; }
.m-pipe-node { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--m-muted); text-align: center; }
.m-pipe-node i {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px;
  color: var(--m-teal); background: rgba(26, 180, 192, 0.1); border: 1px solid rgba(26, 180, 192, 0.35);
}
.m-pipe-core i { color: #fff; background: linear-gradient(135deg, var(--m-orange), #ff8a3d); border: 0; box-shadow: 0 0 22px rgba(232, 70, 10, 0.5); }
.m-pipe-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--m-teal) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: m-dash 1s linear infinite; opacity: 0.7; margin-bottom: 20px; }
@keyframes m-dash { to { background-position: 22px 0; } }
.m-pipe-chunks { display: flex; flex-direction: column; gap: 3px; margin-bottom: 20px; }
.m-pipe-chunks b { font-family: var(--m-mono); font-size: 10px; padding: 2px 7px; border-radius: 6px; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--m-green); }
.m-wf-stage .m-mini-label { margin-top: 16px; color: var(--m-dim); }
.m-silos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-silo { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--m-line); }
.m-silo > i { font-size: 17px; color: var(--m-teal); }
.m-silo strong { display: block; font-size: 14px; color: #fff; margin-top: 4px; }
.m-silo small { display: flex; gap: 5px; align-items: center; font-size: 11.5px; color: var(--m-dim); }
.m-silo small i { color: var(--m-orange-2); font-size: 10px; }
.m-stat-line { margin: 14px 0 0; font-size: 13px; color: var(--m-muted); }
.m-stat-line strong { color: var(--m-green); font-size: 16px; }
.m-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.m-checks li {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 12px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--m-line); font-size: 14px; color: #dbeef0;
}
.m-checks li > i { color: var(--m-green); }
.m-checks li b { font-family: var(--m-mono); font-size: 12px; color: var(--m-green); }
.m-checks li.is-warn { border-color: rgba(232, 70, 10, 0.45); background: rgba(232, 70, 10, 0.08); }
.m-checks li.is-warn > i, .m-checks li.is-warn b { color: var(--m-orange-2); }
.m-alert { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; color: #ffd8c8; background: rgba(232, 70, 10, 0.1); border: 1px solid rgba(232, 70, 10, 0.35); }
.m-alert i { color: var(--m-orange-2); font-size: 18px; }
.m-chat-thread { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; padding-bottom: 4px; }
.m-bubble { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.m-bubble-ai { align-self: flex-start; background: rgba(26, 180, 192, 0.12); border: 1px solid rgba(26, 180, 192, 0.3); color: #dff6f8; border-bottom-left-radius: 6px; }
.m-bubble-user { align-self: flex-end; background: linear-gradient(135deg, var(--m-orange), #ff6a1a); color: #fff; border-bottom-right-radius: 6px; }
.m-bubble small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--m-muted); }
.m-typing { display: inline-flex; gap: 4px; }
.m-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--m-teal); animation: m-blink 1s infinite; }
.m-typing span:nth-child(2) { animation-delay: 0.15s; }
.m-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes m-blink { 50% { opacity: 0.25; } }
.m-chat-suggest { margin: 12px 0 10px; }
.m-chat-suggest .m-chip { cursor: pointer; text-align: left; }
.m-chat-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--m-line-2); }
.m-chat-form input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; padding: 0 12px; font-size: 16px; outline: none; }
.m-chat-form input::placeholder { color: var(--m-dim); }
.m-chat-form button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--m-teal); color: var(--m-bg); font-size: 17px; }

/* ---------- OticPi talent ---------- */
.m-oticpi-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.m-oticpi-top h3 { margin: 0; }
.m-oticpi-top .m-mini-label { margin: 0 0 2px; color: var(--m-orange-2); }
.m-oticpi-logo { width: 54px; height: 54px; color: var(--m-orange); flex: 0 0 54px; }
.m-kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.m-kpi-row div { padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--m-line); }
.m-kpi-row strong { display: block; font-size: 26px; font-weight: 800; color: var(--m-orange-2); letter-spacing: -0.02em; line-height: 1.1; }
.m-kpi-row span { font-size: 12.5px; color: var(--m-muted); line-height: 1.35; display: block; margin-top: 2px; }
.m-nd { margin-top: 18px; }
.m-nd-orbit { position: relative; width: min(100%, 316px); aspect-ratio: 1; margin: 0 auto 6px; }
.m-nd-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(26, 180, 192, 0.25); stroke-width: 1.4; stroke-dasharray: 4 5; }
.m-nd-lines circle { stroke: rgba(52, 211, 153, 0.18); animation: m-spin 60s linear infinite; transform-origin: center; }
.m-nd-node {
  position: absolute;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--m-text);
  background: #072a2e;
  border: 1.5px solid rgba(26, 180, 192, 0.4);
  transition: transform 0.3s var(--m-ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.m-nd-node i { font-size: 20px; color: var(--m-teal); }
.m-nd-ignite { left: 24%; top: 24%; }
.m-nd-drive { left: 76%; top: 24%; }
.m-nd-align { left: 76%; top: 76%; }
.m-nd-elevate { left: 24%; top: 76%; }
.m-nd-neuroiq { left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-color: rgba(232, 70, 10, 0.55); background: radial-gradient(circle at 35% 30%, #2a1a12, #0b2124); }
.m-nd-neuroiq i { color: var(--m-orange-2); font-size: 26px; }
.m-nd-node.is-active { transform: scale(1.08); border-color: var(--m-orange); background: #3a1a0c; box-shadow: 0 0 0 6px rgba(232, 70, 10, 0.14), 0 0 30px rgba(232, 70, 10, 0.45); }
.m-nd-node.is-active i { color: #fff; }
.m-nd-panel { animation: m-fade-up 0.4s var(--m-ease); }
.m-nd-panel h3 { margin-top: 4px; }

/* ---------- commerce stack ---------- */
.m-stack { display: flex; flex-direction: column; }
.m-layer { border-radius: var(--m-r); background: var(--m-surface); border: 1px solid var(--m-line-2); overflow: hidden; }
.m-layer summary { list-style: none; display: grid; grid-template-columns: 44px 1fr 28px; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; }
.m-layer summary::-webkit-details-marker { display: none; }
.m-layer summary small { display: block; font-family: var(--m-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m-green); }
.m-layer summary strong { display: block; font-size: 16px; color: #fff; line-height: 1.3; }
.m-layer-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: var(--m-teal); background: rgba(26, 180, 192, 0.1); border: 1px solid rgba(26, 180, 192, 0.3); }
.m-layer-toggle { color: var(--m-muted); font-size: 18px; transition: transform 0.25s; justify-self: end; }
.m-layer[open] .m-layer-toggle { transform: rotate(45deg); color: var(--m-orange-2); }
.m-layer[open] { border-color: rgba(26, 180, 192, 0.45); }
.m-layer-body { padding: 0 16px 16px; }
.m-layer-body > p { font-size: 14.5px; color: var(--m-muted); margin: 0 0 6px; }
.m-layer-brand { border-color: rgba(232, 70, 10, 0.4); margin-top: 8px; }
.m-layer-brand .m-layer-icon { color: var(--m-orange-2); background: rgba(232, 70, 10, 0.1); border-color: rgba(232, 70, 10, 0.35); }
.m-layer-brand summary small { color: var(--m-orange-2); }
.m-link-flow { position: relative; height: 46px; display: grid; place-items: center; }
.m-link-flow::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: repeating-linear-gradient(180deg, var(--m-green) 0 5px, transparent 5px 10px); opacity: 0.6; animation: m-dash-v 1s linear infinite; }
@keyframes m-dash-v { to { background-position: 0 10px; } }
.m-link-flow span {
  position: relative; font-family: var(--m-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--m-green);
  background: var(--m-bg-2); padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(52, 211, 153, 0.3);
}
.m-org { margin-top: 12px; display: grid; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--m-line); background: rgba(0, 0, 0, 0.18); }
.m-org-name { font-weight: 700; color: #fff; font-size: 14.5px; margin-bottom: 2px; }
.m-org div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); font-size: 13px; }
.m-org div b { font-family: var(--m-mono); font-weight: 600; color: #dff2f4; font-size: 12px; }
.m-org div small { color: var(--m-dim); text-align: right; }
.m-org .is-hl { background: rgba(232, 70, 10, 0.1); border: 1px solid rgba(232, 70, 10, 0.3); }
.m-io { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.m-io li { font-size: 12.5px; color: #d3e8ea; padding: 7px 9px; border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.m-io b { font-family: var(--m-mono); font-size: 10px; color: var(--m-teal); margin-right: 6px; }
.m-io li.out b { color: var(--m-orange-2); }

/* ---------- phone mockup ---------- */
.m-phone-wrap { position: relative; display: flex; justify-content: center; padding: 10px 0 22px; }
.m-phone {
  width: 220px;
  height: 440px;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(145deg, #1b3b40, #0a1d20);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}
.m-phone-notch { position: absolute; top: 15px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #050f11; z-index: 2; }
.m-phone-screen { height: 100%; border-radius: 30px; background: #f4fbfb; color: var(--m-ink); padding: 12px 14px; overflow: hidden; }
.m-phone-status { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; padding: 0 6px; margin-bottom: 16px; }
.m-app-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.m-app-top strong { font-weight: 800; letter-spacing: -0.02em; }
.m-app-hi { display: block; margin-top: 12px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m-orange); }
.m-phone h4 { font-size: 19px; line-height: 1.12; font-weight: 800; margin: 4px 0 12px; letter-spacing: -0.02em; color: var(--m-ink); }
.m-phone h4 em { font-style: normal; color: var(--m-teal-2); }
.m-app-upload { display: grid; grid-template-columns: 22px 1fr 22px; gap: 8px; align-items: center; padding: 10px; border-radius: 14px; border: 1.5px dashed rgba(232, 70, 10, 0.45); background: #fff3ee; }
.m-app-upload > i:first-child { color: var(--m-teal-2); font-size: 18px; }
.m-app-upload > i:last-child { color: var(--m-orange); font-size: 18px; }
.m-app-upload b { display: block; font-size: 11.5px; }
.m-app-upload small { font-size: 9.5px; color: #557; }
.m-app-progress { margin: 12px 0; font-size: 9.5px; color: #4a6b6e; }
.m-app-progress i { display: block; height: 5px; border-radius: 4px; margin-top: 5px; background: #dbeaec; position: relative; overflow: hidden; }
.m-app-progress i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--m-teal), var(--m-green)); border-radius: 4px; animation: m-grow 2.4s var(--m-ease) both; }
@keyframes m-grow { from { width: 0; } }
.m-app-albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-app-albums div { height: 92px; border-radius: 12px; padding: 7px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.m-app-albums b { align-self: flex-end; font-size: 9.5px; background: rgba(0, 0, 0, 0.25); padding: 1px 6px; border-radius: 6px; }
.m-app-albums span { font-size: 10.5px; font-weight: 700; }
.al-1 { background: linear-gradient(160deg, #1ab4c0, #0b6d75); }
.al-2 { background: linear-gradient(160deg, #6fcf97, #2e8b57); }
.al-3 { background: linear-gradient(160deg, #ef7148, #e8460a); }
.m-phone-float {
  position: absolute;
  font-size: 12px;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 12px;
  color: #fff;
  background: rgba(6, 40, 44, 0.9);
  border: 1px solid var(--m-line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.6);
  animation: m-float 5s ease-in-out infinite;
}
.m-phone-float i { color: var(--m-green); }
.m-phone-float.f1 { right: 0; top: 150px; }
.m-phone-float.f2 { left: 50%; translate: -50% 0; white-space: nowrap; bottom: -8px; animation-delay: -2.5s; }
.m-phone-float.f2 i { color: var(--m-orange-2); }
@keyframes m-float { 50% { transform: translateY(-8px); } }
.m-steps3 { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 22px 0 0; }
.m-steps3 li { counter-increment: s; padding: 14px 10px; border-radius: 14px; background: var(--m-surface); border: 1px solid var(--m-line); text-align: center; }
.m-steps3 li::before { content: "0" counter(s); display: block; font-family: var(--m-mono); font-size: 11px; color: var(--m-orange-2); margin-bottom: 4px; }
.m-steps3 b { display: block; font-size: 15px; color: #fff; }
.m-steps3 span { font-size: 12px; color: var(--m-muted); line-height: 1.35; display: block; margin-top: 2px; }
.m-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-svc {
  display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; border-radius: var(--m-r-sm); min-height: 104px;
  text-decoration: none; color: var(--m-text); background: var(--m-surface); border: 1px solid var(--m-line); font-size: 14.5px; font-weight: 650; line-height: 1.3;
}
.m-svc i { font-size: 21px; color: var(--m-teal); }
.m-svc:active { background: var(--m-surface-2); }

/* ---------- footer ---------- */
.m-footer { background: var(--m-bg-3); padding: 0 20px 24px; border-top: 1px solid var(--m-line); }
.m-footer-cta {
  position: relative;
  top: -1px;
  margin: 0 -20px;
  padding: 44px 20px 36px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(232, 70, 10, 0.22), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(26, 180, 192, 0.18), transparent 60%),
    #05262a;
  border-bottom: 1px solid var(--m-line);
}
.m-footer-cta h2 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin: 12px 0 10px; }
.m-footer-cta p { color: var(--m-muted); margin: 0; font-size: 15px; }
.m-quick-footer { margin-top: 14px; }
.m-footer-brand { display: flex; flex-direction: column; gap: 12px; padding: 28px 0 18px; }
.m-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--m-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m-muted); }
.m-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--m-green); animation: m-pulse 1.8s infinite; }
.m-footer-groups { border-top: 1px solid var(--m-line); }
.m-footer-acc { border-bottom: 1px solid var(--m-line); }
.m-footer-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 15.5px; font-weight: 650; cursor: pointer; color: #fff; }
.m-footer-acc summary::-webkit-details-marker { display: none; }
.m-footer-acc summary i { color: var(--m-muted); transition: transform 0.25s; }
.m-footer-acc[open] summary i { transform: rotate(180deg); }
.m-footer-acc > div { display: flex; flex-direction: column; padding: 0 0 14px; }
.m-footer-acc a { color: var(--m-muted); text-decoration: none; padding: 7px 0; font-size: 15px; }
.m-footer-blogs { list-style: none; padding: 0; margin: 0; }
.m-footer-blogs a { display: flex; flex-direction: column; color: var(--m-text); }
.m-footer-blogs small { font-family: var(--m-mono); font-size: 11px; color: var(--m-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.m-footer-blogs-empty { color: var(--m-dim); font-size: 14px; padding: 6px 0; }
.m-footer-more { color: var(--m-orange-2) !important; font-weight: 600; }
.m-offices { display: grid; gap: 8px; padding-bottom: 8px; }
.m-office { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--m-r-sm); background: var(--m-surface); border: 1px solid var(--m-line); text-decoration: none; color: var(--m-text); }
.m-office span { font-family: var(--m-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--m-teal); }
.m-office strong { font-size: 15.5px; font-weight: 650; }
.m-office em { font-style: normal; font-size: 13.5px; color: var(--m-muted); margin-top: 2px; }
.m-footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; margin-top: 12px; border-top: 1px solid var(--m-line); font-size: 13px; color: var(--m-dim); }
.m-footer-bottom a { color: var(--m-muted); }

/* foot strip (service pages) */
.m-strip { display: grid; gap: 10px; padding-top: 36px; padding-bottom: 36px; }
.m-strip-item {
  display: grid; grid-template-columns: 44px 1fr 20px; gap: 12px; align-items: center; padding: 16px; border-radius: var(--m-r-sm);
  background: #fff; border: 1px solid #d6e6e8; color: var(--m-ink); text-decoration: none; font-size: 15px; line-height: 1.35;
}
.m-strip-item strong { color: var(--m-orange); }
.m-strip-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(232, 70, 10, 0.1); color: var(--m-orange); font-size: 19px; }
.m-strip-item > i { color: var(--m-teal-2); }
.m-sec-light { background: var(--m-paper); color: var(--m-ink); }

/* ---------- contact bottom sheet ---------- */
.m-sheet-modal .modal-dialog {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.42s var(--m-ease);
}
.m-sheet-modal.show .modal-dialog { transform: none; }
.m-sheet {
  position: relative;
  max-height: calc(100svh - 24px - var(--m-safe-t));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-top: 1px solid var(--m-line-2);
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #08333a 0%, var(--m-bg) 45%);
  color: var(--m-text);
  padding: 10px 20px calc(24px + var(--m-safe-b));
}
.m-sheet-grab { width: 40px; height: 5px; border-radius: 4px; background: var(--m-line-2); margin: 0 auto 12px; }
.m-sheet-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--m-line-2); background: var(--m-surface); color: var(--m-text); }
.m-sheet h2 { font-size: 26px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: #fff; margin: 10px 44px 8px 0; }
.m-sheet-sub { color: var(--m-muted); font-size: 14.5px; margin: 0 0 18px; }
.m-field-label { font-size: 13px; font-weight: 600; color: var(--m-muted); margin: 0 0 8px; }
.m-choice { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.m-choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.m-choice-chip span {
  display: inline-block; padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--m-line-2); background: var(--m-surface); color: var(--m-text); transition: all 0.2s;
}
.m-choice-chip input:checked + span { background: rgba(232, 70, 10, 0.16); border-color: var(--m-orange); color: #fff; }
.m-choice-chip input:focus-visible + span { outline: 2px solid var(--m-teal); outline-offset: 2px; }
.m-field { position: relative; display: block; margin-bottom: 12px; }
.m-field input, .m-field textarea {
  width: 100%;
  padding: 24px 16px 9px;
  border-radius: 14px;
  border: 1px solid var(--m-line-2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
  font-family: inherit;
}
.m-field input:focus, .m-field textarea:focus { border-color: var(--m-teal); background: rgba(26, 180, 192, 0.07); }
.m-field span { position: absolute; left: 17px; top: 17px; font-size: 15.5px; color: var(--m-dim); pointer-events: none; transition: all 0.2s var(--m-ease); }
.m-field input:focus + span, .m-field input:not(:placeholder-shown) + span,
.m-field textarea:focus + span, .m-field textarea:not(:placeholder-shown) + span { top: 7px; font-size: 11.5px; color: var(--m-teal); }
.m-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: m-spin 0.8s linear infinite; }
.is-sending .m-spinner { display: inline-block; }
.is-sending .m-btn-label, .is-sending .bi-send-fill { display: none; }
.m-form-error { margin: 10px 0 0; color: #ffb59a; font-size: 14px; }
.m-sheet-success, .m-form-success { text-align: center; padding: 30px 10px 10px; }
.m-success-ring { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #fff; background: linear-gradient(135deg, var(--m-green), var(--m-teal)); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0.12); animation: m-pop 0.5s var(--m-ease); }
@keyframes m-pop { from { transform: scale(0.5); opacity: 0; } }
.m-sheet-success h3, .m-form-success h3 { font-size: 24px; font-weight: 800; color: #fff; }
.m-sheet-success p, .m-form-success p { color: var(--m-muted); margin-bottom: 20px; }
.modal-backdrop.show { opacity: 0.6; }

/* ---------- page heroes (inner pages) ---------- */
.m-phero {
  position: relative;
  padding: 34px 20px 40px;
  overflow: hidden;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(232, 70, 10, 0.16), transparent 60%),
    radial-gradient(100% 70% at 0% 0%, rgba(26, 180, 192, 0.18), transparent 60%),
    linear-gradient(180deg, #05252a, var(--m-bg));
  border-bottom: 1px solid var(--m-line);
}
.m-crumbs { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--m-dim); margin-bottom: 18px; }
.m-crumbs a { color: var(--m-muted); text-decoration: none; }
.m-crumbs i { font-size: 10px; }
.m-phero h1 { font-size: clamp(34px, 10.4vw, 44px); line-height: 1.05; font-weight: 850; letter-spacing: -0.035em; color: #fff; margin: 12px 0 14px; }
.m-phero p { color: #c3dcdf; font-size: 16.5px; margin: 0; }
.m-phero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.m-phero-stats div { padding: 12px 10px; border-radius: 14px; background: var(--m-surface); border: 1px solid var(--m-line); }
.m-phero-stats strong { display: block; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.15; }
.m-phero-stats span { display: block; font-size: 11.5px; color: var(--m-muted); line-height: 1.3; margin-top: 2px; }

.m-icon {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: inline-grid; place-items: center; font-size: 20px;
  color: var(--m-teal); background: rgba(26, 180, 192, 0.1); border: 1px solid rgba(26, 180, 192, 0.3);
}
.m-icon-orange { color: var(--m-orange-2); background: rgba(232, 70, 10, 0.1); border-color: rgba(232, 70, 10, 0.3); }
.m-feature-head h3, .m-card .m-feature-head h3 { margin: 0; }
.m-case-icon { margin-bottom: 12px; }
.m-rail > .m-card { white-space: normal; }

/* feature list cards */
.m-feature-list { display: grid; gap: 12px; }
.m-feature { padding: 18px; border-radius: var(--m-r); background: var(--m-surface); border: 1px solid var(--m-line-2); }
.m-feature-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.m-feature-head i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--m-teal); background: rgba(26, 180, 192, 0.1); border: 1px solid rgba(26, 180, 192, 0.3); }
.m-feature h3 { font-size: 18.5px; font-weight: 750; color: #fff; margin: 0; letter-spacing: -0.01em; }
.m-feature > p { color: var(--m-muted); font-size: 15px; margin: 0; }
.m-feature .m-ticks { margin-top: 12px; }

/* vertical numbered flow (AI page / talent page) */
.m-vflow { display: grid; gap: 0; }
.m-vflow-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; position: relative; padding-bottom: 14px; }
.m-vflow-step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(26, 180, 192, 0.6), rgba(26, 180, 192, 0.1)); }
.m-vflow-dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: var(--m-teal); background: rgba(26, 180, 192, 0.1); border: 1px solid rgba(26, 180, 192, 0.35); }
.m-vflow-step.is-hot .m-vflow-dot { color: #fff; background: linear-gradient(135deg, var(--m-orange), #ff6a1a); border: 0; box-shadow: 0 0 22px rgba(232, 70, 10, 0.45); }
.m-vflow-step.is-ok .m-vflow-dot { color: var(--m-green); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.4); }
.m-vflow-body { padding: 8px 0 6px; }
.m-vflow-body small { display: block; font-family: var(--m-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m-green); }
.m-vflow-body strong { display: block; font-size: 16.5px; color: #fff; margin: 2px 0; }
.m-vflow-body p { color: var(--m-muted); font-size: 14px; margin: 0; }
.m-vflow-body .m-tags { margin-top: 8px; }

/* agent loop */
.m-loop { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 6px auto 34px; }
.m-loop-ring { position: absolute; inset: 14%; border-radius: 50%; border: 2px dashed rgba(26, 180, 192, 0.35); animation: m-spin 30s linear infinite; }
.m-loop-core { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #0f4a51, #062327); border: 1px solid rgba(26, 180, 192, 0.6); box-shadow: 0 0 40px rgba(26, 180, 192, 0.35); }
.m-loop-core strong { font-size: 15px; color: #fff; display: block; }
.m-loop-core small { font-family: var(--m-mono); font-size: 8.5px; color: var(--m-green); letter-spacing: 0.04em; white-space: nowrap; }
.m-loop-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--m-text); text-align: center; }
.m-loop-node i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: #082c31; border: 1px solid rgba(26, 180, 192, 0.45); color: var(--m-teal); }
.m-loop-node.is-hot i { color: var(--m-orange-2); border-color: rgba(232, 70, 10, 0.6); }
.m-loop-node.is-on i { animation: m-glow 6s infinite; }

/* scenario tabs (lakehouse) */
.m-scen-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 18px; padding: 0 20px; }
.m-scen-tabs::-webkit-scrollbar { display: none; }
.m-scen-tab {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 14px; border-radius: 14px; text-align: left;
  border: 1px solid var(--m-line-2); background: var(--m-surface); color: var(--m-muted); font-size: 14px; font-weight: 650;
}
.m-scen-tab small { font-family: var(--m-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--m-dim); }
.m-scen-tab.is-active { color: #fff; border-color: var(--m-orange); background: rgba(232, 70, 10, 0.14); }
.m-scen-tab.is-active small { color: var(--m-orange-2); }
.m-scen { animation: m-fade-up 0.45s var(--m-ease); }
.m-scen[hidden] { display: none; }
.m-scen-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--m-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--m-green); padding: 6px 10px; border-radius: 8px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.28); }
.m-scen h3 { font-size: 23px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin: 14px 0 6px; }
.m-scen > p { color: var(--m-muted); font-size: 15px; margin: 0 0 18px; }
.m-deliver { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.m-deliver li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 12px; border-radius: 14px; background: var(--m-surface); border: 1px solid var(--m-line); }
.m-deliver b { font-family: var(--m-mono); font-size: 12px; color: var(--m-orange-2); padding-top: 2px; }
.m-deliver strong { display: block; font-size: 15px; color: #fff; }
.m-deliver span { font-size: 13.5px; color: var(--m-muted); }
.m-outcome { margin-top: 10px; padding: 16px; border-radius: var(--m-r-sm); background: linear-gradient(135deg, rgba(232, 70, 10, 0.16), rgba(232, 70, 10, 0.04)); border: 1px solid rgba(232, 70, 10, 0.4); }
.m-outcome small { font-family: var(--m-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--m-orange-2); }
.m-outcome strong { display: block; font-size: 17px; color: #fff; margin-top: 2px; line-height: 1.35; }

/* use-case cards */
.m-case { padding: 20px; border-radius: var(--m-r); background: var(--m-surface); border: 1px solid var(--m-line-2); }
.m-case + .m-case { margin-top: 14px; }
.m-case-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.m-case h3 { font-size: 22px; font-weight: 800; color: #fff; margin: 0; letter-spacing: -0.02em; }
.m-case-sub { font-size: 13px; color: var(--m-teal); font-weight: 600; margin-top: 2px; display: block; }
.m-case-metric { text-align: right; flex: 0 0 auto; }
.m-case-metric strong { display: block; font-size: 22px; font-weight: 850; color: var(--m-orange-2); line-height: 1; letter-spacing: -0.02em; }
.m-case-metric span { font-size: 11px; color: var(--m-muted); }
.m-case-rows { margin-top: 16px; display: grid; gap: 10px; }
.m-case-row { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.18); border-left: 3px solid var(--m-line-2); }
.m-case-row small { display: block; font-family: var(--m-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--m-dim); margin-bottom: 3px; }
.m-case-row p { margin: 0; font-size: 14.5px; color: #d3e8ea; }
.m-case-row.is-sol { border-left-color: var(--m-teal); }
.m-case-row.is-sol small { color: var(--m-teal); }
.m-case-row.is-imp { border-left-color: var(--m-orange); background: rgba(232, 70, 10, 0.07); }
.m-case-row.is-imp small { color: var(--m-orange-2); }

/* light "paper" content (about etc.) */
.m-sec-light .m-head h2 { color: var(--m-ink); }
.m-sec-light .m-head p { color: #4a6b6e; }
.m-sec-light .m-card { background: #fff; border-color: #d6e6e8; box-shadow: 0 10px 30px -18px rgba(4, 30, 33, 0.25); }
.m-sec-light .m-card h3 { color: var(--m-ink); }
.m-sec-light .m-card > p { color: #4a6b6e; }
.m-sec-light .m-kicker { color: var(--m-orange); }
.m-prose p { color: var(--m-muted); font-size: 16px; margin: 0 0 14px; }
.m-sec-light .m-prose p { color: #3f5f62; }
.m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-tile { padding: 16px 14px; border-radius: var(--m-r-sm); background: var(--m-surface); border: 1px solid var(--m-line); }
.m-tile i { font-size: 22px; color: var(--m-teal); }
.m-tile strong { display: block; font-size: 15px; color: #fff; margin: 10px 0 2px; line-height: 1.3; }
.m-tile span { font-size: 13px; color: var(--m-muted); line-height: 1.4; display: block; }
.m-sec-light .m-tile { background: #fff; border-color: #d6e6e8; }
.m-sec-light .m-tile strong { color: var(--m-ink); }
.m-sec-light .m-tile span { color: #4a6b6e; }
.m-sec-light .m-tile i { color: var(--m-teal-2); }
.m-numbered { counter-reset: n; display: grid; gap: 10px; }
.m-numbered .m-card { counter-increment: n; position: relative; padding-left: 64px; }
.m-numbered .m-card::before { content: "0" counter(n); position: absolute; left: 20px; top: 20px; font-family: var(--m-mono); font-size: 13px; font-weight: 700; color: var(--m-orange); }

/* page-level contact form (contact page) */
.m-form-card { padding: 20px; border-radius: var(--m-r); background: var(--m-surface); border: 1px solid var(--m-line-2); }

/* ---------- reveal on scroll ---------- */
.m-js .m-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--m-ease), transform 0.7s var(--m-ease); }
.m-js .m-reveal.is-in { opacity: 1; transform: none; }
@keyframes m-fade-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes m-glow { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 18px rgba(26, 180, 192, 0.5); } }

/* page transitions (Turbo + View Transitions API) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.22s ease both m-vt-out; }
::view-transition-new(root) { animation: 0.3s var(--m-ease) both m-vt-in; }
@keyframes m-vt-out { to { opacity: 0; } }
@keyframes m-vt-in { from { opacity: 0; transform: translateY(8px); } }
.m-top, .m-dock { view-transition-name: none; }

@media (prefers-reduced-motion: reduce) {
  .m-app *, .m-app *::before, .m-app *::after { animation: none !important; transition: none !important; }
  .m-js .m-reveal { opacity: 1; transform: none; }
  html.m-html { scroll-behavior: auto; }
}

/* =====================================================================
   LEGACY PAGES — desktop templates shown inside the mobile shell
   (service pages, sub-service pages, blog, careers…). Scoped to
   body.m-legacy and boosted with `html` so it wins over the templates'
   inline <style> blocks.
   ===================================================================== */
html body.m-legacy { background: var(--m-paper); color: var(--m-ink); }
html body.m-legacy .site-header, html body.m-legacy .whatsapp, html body.m-legacy .scroll-top { display: none !important; }
html body.m-legacy .fade-up, html body.m-legacy .animate, html body.m-legacy [class*="fade-"] { opacity: 1 !important; transform: none !important; }
html body.m-legacy .container,
html body.m-legacy .container-box { padding-left: 20px !important; padding-right: 20px !important; max-width: 100% !important; }
html body.m-legacy section p,
html body.m-legacy section li { text-align: left !important; hyphens: manual !important; -webkit-hyphens: manual !important; word-spacing: normal !important; }
html body.m-legacy section p { font-size: 16px !important; line-height: 1.65 !important; }
html body.m-legacy .section { margin-top: 0 !important; }
html body.m-legacy .m-top { background: rgba(4, 30, 33, 0.94); }
html body.m-legacy .m-dock { background: rgba(4, 30, 33, 0.94); }
html body.m-legacy .m-dock-talk { border-color: #0b2c31; }

/* hero banners */
html body.m-legacy .hero,
html body.m-legacy .blog-hero,
html body.m-legacy .job-hero,
html body.m-legacy .contact-hero,
html body.m-legacy .about-hero {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  padding: 40px 20px 44px !important;
  text-align: left !important;
  display: block !important;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(232, 70, 10, 0.18), transparent 60%),
    radial-gradient(100% 70% at 0% 0%, rgba(26, 180, 192, 0.2), transparent 60%),
    linear-gradient(180deg, #05252a, var(--m-bg)) !important;
  color: #fff !important;
}
html body.m-legacy .hero::before,
html body.m-legacy .hero::after,
html body.m-legacy .blog-hero::before,
html body.m-legacy .job-hero::before { display: none !important; }
html body.m-legacy .hero > div,
html body.m-legacy .hero .hero-content { position: static !important; transform: none !important; padding: 0 !important; max-width: none !important; text-align: left !important; }
html body.m-legacy .hero h1,
html body.m-legacy .blog-hero h1,
html body.m-legacy .job-hero h1 {
  font-size: clamp(32px, 9.6vw, 40px) !important;
  line-height: 1.08 !important;
  font-weight: 850 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  margin: 0 0 12px !important;
  text-align: left !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #fff !important;
}
html body.m-legacy .hero h3,
html body.m-legacy .hero p { font-size: 16.5px !important; line-height: 1.55 !important; font-weight: 400 !important; color: #c3dcdf !important; margin: 14px 0 0 !important; text-align: left !important; }
html body.m-legacy .hero .breadcrumb,
html body.m-legacy .hero nav,
html body.m-legacy .hero-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 6px;
  font-size: 12.5px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: var(--m-dim) !important;
}
html body.m-legacy .hero .breadcrumb a,
html body.m-legacy .hero nav a { color: var(--m-muted) !important; text-decoration: none !important; font-size: 12.5px !important; }
html body.m-legacy .hero .breadcrumb .active,
html body.m-legacy .hero .breadcrumb .current,
html body.m-legacy .hero nav .active,
html body.m-legacy .hero nav .current { color: var(--m-teal) !important; font-size: 12.5px !important; }

/* content */
html body.m-legacy .section { padding: 40px 0 !important; }
html body.m-legacy .title {
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: var(--m-ink) !important;
  padding-left: 0 !important;
  margin-bottom: 10px !important;
  text-align: left !important;
}
html body.m-legacy .title::before,
html body.m-legacy .title::after { display: none !important; }
html body.m-legacy .section .fade-up.mt-5 { margin-top: 18px !important; }
html body.m-legacy .section .container-box > .fade-up,
html body.m-legacy .section .container-box > div > .fade-up {
  background: #fff;
  border: 1px solid #d6e6e8;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px -20px rgba(4, 30, 33, 0.3);
}
html body.m-legacy .fade-up.text-center { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; text-align: left !important; }
html body.m-legacy .fade-up.text-center .title { font-family: var(--m-mono); font-size: 11px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--m-orange) !important; margin-bottom: 6px !important; }
html body.m-legacy .main-heading { font-size: 28px !important; line-height: 1.15 !important; font-weight: 800 !important; letter-spacing: -0.02em; text-align: left !important; margin-bottom: 20px !important; }
html body.m-legacy .services-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
html body.m-legacy .service-card { padding: 20px !important; border-radius: 18px !important; text-align: left !important; min-height: 0 !important; height: auto !important; }
html body.m-legacy .service-card h3 { font-size: 19px !important; text-align: left !important; }
html body.m-legacy .service-card ul { padding-left: 18px !important; margin: 10px 0 0 !important; }
html body.m-legacy .service-card li { font-size: 15px !important; padding: 3px 0 !important; }

/* "consulting approach" CTA banners */
html body.m-legacy .consulting-hero,
html body.m-legacy .cta-section {
  min-height: 0 !important;
  height: auto !important;
  padding: 44px 20px !important;
  background: radial-gradient(90% 70% at 100% 0%, rgba(232, 70, 10, 0.22), transparent 60%), #05262a !important;
  text-align: left !important;
}
html body.m-legacy .consulting-overlay { position: static !important; background: none !important; padding: 0 !important; text-align: left !important; }
html body.m-legacy .consulting-hero h1,
html body.m-legacy .consulting-hero h2 { font-size: 28px !important; line-height: 1.12 !important; font-weight: 800 !important; color: #fff !important; text-align: left !important; }
html body.m-legacy .consulting-hero h1 br { display: none; }
html body.m-legacy .consulting-hero .subtitle { justify-content: flex-start !important; font-family: var(--m-mono); font-size: 11px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--m-orange-2) !important; }
html body.m-legacy .consulting-hero .subtitle span { display: none !important; }
html body.m-legacy .cta-btn,
html body.m-legacy .btn-main {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px !important;
  border-radius: 999px !important;
  font-weight: 650 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--m-orange), #ff6a1a) !important;
  border: 0 !important;
  box-shadow: 0 10px 28px -10px rgba(232, 70, 10, 0.75) !important;
}

/* generic: images and grids never overflow */
html body.m-legacy img { max-width: 100%; height: auto; }
html body.m-legacy .row { --bs-gutter-x: 1rem; }
html body.m-legacy h2 { font-size: 26px; line-height: 1.18; }

/* button variant of .m-more + stacked lists */
button.m-more { width: 100%; text-align: left; font: inherit; cursor: pointer; }
.m-feature-list > .m-more { margin-top: 0; }
.m-mt { margin-top: 22px !important; }
