/* ============================================================================
   RPACPC — Homepage design system
   Colors grounded in the logo: royal blue #1542D3 (primary) + green #36A968.
   Type: Space Grotesk (display) · Hanken Grotesk (body) · JetBrains Mono (labels)
   ============================================================================ */

:root {
  /* Brand — set/overridden at runtime by the Tweaks panel */
  --primary: #1542D3;
  --primary-strong: #0F31A6;
  --primary-tint: #EAEFFD;
  --primary-tint-2: #F3F6FE;
  --primary-ink: #0A1F66;

  --green: #36A968;
  --green-strong: #2A8A54;
  --green-tint: #E7F5EE;

  /* Neutrals */
  --ink: #0B1437;          /* deep navy — text + dark sections */
  --ink-2: #111C45;        /* dark panel surface */
  --ink-3: #16224F;        /* dark elevated */
  --body: #424E6B;
  --muted: #7B86A1;
  --faint: #9AA3BC;

  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --surface-2: #F1F3F9;
  --line: #E5E8F1;
  --line-2: #EEF0F7;

  /* Dark-section tokens */
  --d-text: #EAEEF9;
  --d-body: #A8B2D0;
  --d-muted: #717DA3;
  --d-line: rgba(255,255,255,.10);
  --d-surface: rgba(255,255,255,.04);
  --d-surface-2: rgba(255,255,255,.06);

  /* Type */
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Rhythm — density tweak scales --pad */
  --pad: 1;
  --section-y: calc(96px * var(--pad));
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,20,55,.06), 0 1px 1px rgba(11,20,55,.04);
  --shadow-md: 0 4px 18px rgba(11,20,55,.07), 0 1px 3px rgba(11,20,55,.05);
  --shadow-lg: 0 24px 60px -18px rgba(11,20,55,.28), 0 8px 24px -12px rgba(11,20,55,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

html[data-density="compact"] { --pad: .68; }
html[data-density="comfy"]   { --pad: 1.28; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img, svg { display: block; }
::selection { background: var(--primary); color: #fff; }

/* ── Scrollbar ─────────────────────────────────────────────────────────── */
html { scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-strong); background-clip: padding-box; }
.msuite-rail, .msuite-panels, .mobile-nav { scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
.msuite-rail::-webkit-scrollbar, .msuite-panels::-webkit-scrollbar, .mobile-nav::-webkit-scrollbar { width: 6px; }
.msuite-rail::-webkit-scrollbar-thumb, .msuite-panels::-webkit-scrollbar-thumb, .mobile-nav::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 6px; }
.msuite-rail::-webkit-scrollbar-thumb:hover, .msuite-panels::-webkit-scrollbar-thumb:hover, .mobile-nav::-webkit-scrollbar-thumb:hover { background: var(--primary-strong); }

/* ── Shared layout ─────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; margin-bottom: calc(48px * var(--pad)); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow.on-dark { color: #6E8BFF; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; color: var(--ink); }
.section-title { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 16px; text-wrap: balance; }
.section-lead { font-size: 18px; color: var(--body); max-width: 640px; line-height: 1.6; }
.center .section-lead { margin: 0 auto; }
.on-dark .section-title, .section.dark .section-title { color: var(--d-text); }
.on-dark .section-lead, .section.dark .section-lead { color: var(--d-body); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  transition: all .18s var(--ease); white-space: nowrap; line-height: 1;
}
.btn .arr { display: inline-flex; transition: transform .2s var(--ease); }
.btn .arr svg { width: 16px; height: 16px; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--primary) 60%, transparent); }
.btn-primary:hover { background: var(--primary-strong); box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--primary) 70%, transparent); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--body); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

.btn-on-dark { background: rgba(255,255,255,.06); color: #fff; border-color: var(--d-line); }
.btn-on-dark:hover { background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #EEF1FA; transform: translateY(-1px); }

/* ============================================================================
   NAVBAR + MEGA MENU
   ============================================================================ */
.nav-wrap { position: sticky; top: 0; z-index: 1000; }
.nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(11,20,55,.25);
}
.nav:has(.nav-item.open) { background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); border-bottom-color: var(--line); }
/* Phosphor glyph sizing (mirrors the old inline-SVG dimensions) */
i.ph, i.ph-fill { display: block; line-height: 1; font-size: 20px; }
.mega-ico i.ph, .mega-grp-ico i.ph, .cred-ico i.ph, .r-ico i.ph, .r-ico i.ph-fill { font-size: 17px; }
.ind-reg .r-ico i.ph-fill { font-size: 26px; }
.wcx-ico i.ph, .sol-ico i.ph { font-size: 23px; }
.prob-ind i.ph, .prob-fix .check i.ph, .cmp-mark i.ph { font-size: 14px; }
.nav { position: relative; }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: 14px; flex-shrink: 0; }
.brand svg { height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; color: var(--body);
  padding: 9px 14px; border-radius: 9px; transition: all .15s;
}
.nav-link:hover, .nav-item.open .nav-link { color: var(--ink); background: var(--surface-2); }
.nav-link .chev { width: 9px; height: 9px; transition: transform .2s var(--ease); opacity: .6; }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-signin { font-size: 15px; font-weight: 500; color: var(--body); padding: 9px 12px; border-radius: 9px; }
.nav-signin:hover { color: var(--ink); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% - 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(940px, calc(100vw - 40px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  overflow: hidden;
  z-index: 1001;
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1.15fr 1fr .95fr; }
.mega-col { padding: 24px 26px; }
.mega-col + .mega-col { border-left: 1px solid var(--line-2); }
.mega-col.spotlight { background: linear-gradient(180deg, var(--primary-tint-2), var(--surface)); }
.mega-col-title { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; transition: background .14s; }
.mega-link:hover { background: var(--surface-2); }
.mega-ico { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: -.02em; }
.mega-ico svg { width: 17px; height: 17px; }
.mega-link-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.mega-link-desc { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.mega-all { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--primary); margin-top: 12px; padding: 0 10px; }
.mega-all:hover { gap: 9px; }

.mega-feat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow-sm); }
.mega-feat-tag { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green-strong); background: var(--green-tint); padding: 4px 9px; border-radius: 20px; margin-bottom: 10px; }
.mega-feat h5 { font-family: var(--f-display); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.mega-feat p { font-size: 12.5px; color: var(--body); line-height: 1.5; }
.mega-feat-link { display: inline-flex; gap: 6px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--green-strong); margin-top: 10px; }
.mega-quick { margin-top: 18px; }
.mega-quick a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--body); padding: 6px 0; transition: color .14s, gap .14s; }
.mega-quick a:hover { color: var(--primary); gap: 11px; }
.mega-quick a span { color: var(--faint); }

/* Resources mega — 4 groups */
.mega.mega-res { width: min(900px, calc(100vw - 40px)); }
.mega-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.mega-grp { padding: 24px 22px; }
.mega-grp + .mega-grp { border-left: 1px solid var(--line-2); }
.mega-grp-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.mega-grp-ico { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--primary-tint); color: var(--primary); }
.mega-grp-ico svg { width: 17px; height: 17px; }
.mega-grp-title { font-family: var(--f-display); font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.mega-reslink { display: block; padding: 8px 10px; margin: 0 -10px 2px; border-radius: 8px; transition: background .14s; }
.mega-reslink:hover { background: var(--surface-2); }
.mega-reslink .rl-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mega-reslink .rl-desc { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; line-height: 1.3; }

/* API Suites mega — suite rail → API panels */
.mega.mega-suites { width: min(1140px, calc(100vw - 32px)); max-height: min(660px, calc(100vh - 92px)); }
.msuite-grid { display: grid; grid-template-columns: 290px 1fr; }
.msuite-rail { max-height: min(660px, calc(100vh - 92px)); overflow-y: auto; padding: 16px; border-right: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.msuite-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background .14s; }
.msuite-item:hover { background: var(--surface-2); }
.msuite-item.active { background: var(--primary-tint-2); }
.msuite-ico { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: -.02em; }
.msuite-tx { display: flex; flex-direction: column; min-width: 0; }
.msuite-name { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.msuite-tag { font-size: 11.5px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chev-r { display: inline-block; width: 12px; height: 12px; flex-shrink: 0; vertical-align: -2px; }
.msuite-arr { margin-left: auto; display: inline-flex; color: var(--faint); opacity: 0; transform: translateX(-3px); transition: opacity .14s, transform .14s; }
.msuite-item:hover .msuite-arr, .msuite-item.active .msuite-arr { opacity: 1; transform: none; }
.msuite-all { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--primary); padding: 13px 12px 6px; margin-top: 6px; border-top: 1px solid var(--line-2); }
.msuite-all:hover { gap: 9px; }
.msuite-panels { position: relative; padding: 24px 26px; max-height: min(660px, calc(100vh - 92px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.msuite-apis.cols3 { grid-template-columns: repeat(3, 1fr); }
.msuite-groups { column-count: 3; column-gap: 18px; }
.msuite-groups.dense { column-count: 4; }
.msuite-groups.dense .msuite-api.sm { font-size: 11.5px; padding: 4px 7px; margin: 0 -7px; }
.msuite-group { min-width: 0; break-inside: avoid; margin-bottom: 14px; }
.msuite-gtitle { display: flex; align-items: flex-start; gap: 6px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); padding-bottom: 7px; margin-bottom: 5px; border-bottom: 1px solid var(--line-2); }
.msuite-gname { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.msuite-gcount { flex-shrink: 0; margin-left: auto; color: var(--faint); }
.msuite-api.sm { font-size: 12px; font-weight: 400; padding: 5px 8px; margin: 0 -8px; gap: 7px; }
.msuite-brand { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface-2); transition: border-color .15s, background .15s; }
.msuite-brand:hover { border-color: var(--primary); background: var(--primary-tint-2); }
.msuite-brand-tag { font-family: var(--f-mono); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; flex-shrink: 0; }
.msuite-brand-name { display: block; font-family: var(--f-display); font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.msuite-brand-desc { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.msuite-brand-go { margin-left: auto; font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--primary); white-space: nowrap; }
.msuite-panel { display: none; height: 100%; }
.msuite-panel.active { display: flex; flex-direction: column; animation: megaFade .22s var(--ease); }
.msuite-body { min-width: 0; display: flex; flex-direction: column; flex: 1; }
@keyframes megaFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msuite-phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.msuite-ptitle { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.msuite-pdesc { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.msuite-pall { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--primary); flex-shrink: 0; }
.msuite-pall span { transition: transform .15s; }
.msuite-pall:hover span { transform: translateX(3px); }
.msuite-apis { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.msuite-api { display: flex; align-items: center; gap: 9px; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--body); transition: background .14s, color .14s; }
.msuite-api:hover { background: var(--surface-2); color: var(--ink); }
.msuite-api .dot { width: 6px; height: 6px; border-radius: 2px; flex-shrink: 0; }
.api-new { font-family: var(--f-mono); font-size: 9px; font-weight: 600; letter-spacing: .04em; color: var(--green-strong); background: var(--green-tint); padding: 2px 6px; border-radius: 5px; margin-left: 6px; }

/* Mobile nav */
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-burger i { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.mobile-nav { display: none; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; padding: calc(64px * var(--pad)) 0 calc(28px * var(--pad)); overflow: hidden; display: grid; align-content: center; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); }
.hero::before {
  content: ""; position: absolute; inset: -68px 0 0; z-index: -1;
  background:
    radial-gradient(900px 540px at 78% -4%, var(--primary-tint) 0%, transparent 62%),
    radial-gradient(640px 420px at 4% 8%, var(--green-tint) 0%, transparent 60%);
  opacity: .8;
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); letter-spacing: -.03em; line-height: 1.02; }
.hero h1 .hl { color: var(--primary); }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--body); margin-top: 24px; max-width: 540px; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); flex-shrink: 0; }

/* ── Hero media (video dissolved into the hero background, no frame) ────── */
.hero-media { position: relative; height: clamp(380px, 43vw, 580px); margin-right: calc(-1 * clamp(0px, 3vw, 46px)); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; mix-blend-mode: multiply; filter: saturate(.88) contrast(1.02);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 17%, #000 74%, transparent 100%), radial-gradient(78% 74% at 52% 44%, #000 42%, rgba(0,0,0,.62) 74%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 17%, #000 74%, transparent 100%), radial-gradient(78% 74% at 52% 44%, #000 42%, rgba(0,0,0,.62) 74%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero-media-tag { position: absolute; left: 6%; bottom: 8%; z-index: 2; display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-media-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
html[data-hero="dark"] .hero-media video { mix-blend-mode: screen; filter: saturate(.8) contrast(1.06) invert(1) hue-rotate(180deg); }
html[data-hero="dark"] .hero-media-tag { color: var(--d-muted); }
@media (max-width: 1080px) { .hero-media { height: clamp(300px, 54vw, 430px); margin-right: 0; } }

/* dark hero variant */
html[data-hero="dark"] .hero { background: var(--ink); }
html[data-hero="dark"] .hero::before {
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(21,66,211,.55) 0%, transparent 60%),
    radial-gradient(620px 420px at 0% 6%, rgba(54,169,104,.22) 0%, transparent 60%);
  opacity: 1;
}
html[data-hero="dark"] .hero h1 { color: var(--d-text); }
html[data-hero="dark"] .hero h1 .hl { color: #7E9BFF; }
html[data-hero="dark"] .hero-sub { color: var(--d-body); }
html[data-hero="dark"] .hero-eyebrow { color: #7E9BFF; }
html[data-hero="dark"] .hero-trust { color: var(--d-muted); }
html[data-hero="dark"] .btn-secondary { background: rgba(255,255,255,.06); color: #fff; border-color: var(--d-line); box-shadow: none; }
html[data-hero="dark"] .btn-secondary:hover { border-color: #7E9BFF; color: #fff; }
html[data-hero="dark"] .btn-ghost { color: var(--d-body); }

/* Dashboard panel */
.dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.dash-bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; }
.dash-title { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--green-strong); background: var(--green-tint); padding: 4px 9px; border-radius: 20px; }
.dash-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--green) 60%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

.dash-body { padding: 20px; }
.dash-metric { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.dash-metric-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dash-metric-val { font-family: var(--f-display); font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.dash-metric-val .u { font-size: 20px; color: var(--primary); margin-left: 4px; }
.dash-delta { font-family: var(--f-mono); font-size: 12px; color: var(--green-strong); }
.spark { width: 120px; height: 44px; flex-shrink: 0; }
.spark path.line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark path.area { fill: url(#sparkfill); opacity: .9; }

.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; margin: 18px 0; }
.dash-stat { background: var(--surface); padding: 13px 15px; }
.dash-stat-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dash-stat-v { font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--ink); margin-top: 3px; font-variant-numeric: tabular-nums; }
.dash-stat-v.ok { color: var(--green-strong); }

.dash-suites-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dash-suites-h span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dash-suite { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.dash-suite .s-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.dash-suite .s-name { font-weight: 600; color: var(--ink); }
.dash-suite .s-stat { margin-left: auto; font-family: var(--f-mono); font-size: 11.5px; color: var(--green-strong); }
.dash-suite .s-lat { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); width: 64px; text-align: right; }

.dash-log { margin-top: 16px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.dash-log-h { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.log-line { font-family: var(--f-mono); font-size: 11.5px; color: var(--body); padding: 3px 0; display: flex; gap: 8px; align-items: center; animation: logIn .4s var(--ease); }
@keyframes logIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.log-line .m { font-weight: 600; padding: 1px 6px; border-radius: 5px; font-size: 10px; }
.log-line .m.post { background: var(--primary-tint); color: var(--primary-ink); }
.log-line .ep { color: var(--ink); }
.log-line .code { margin-left: auto; color: var(--green-strong); font-weight: 500; }
.log-line .ms { color: var(--faint); width: 48px; text-align: right; }

/* Stat band */
.statband { margin-top: calc(34px * var(--pad)); }
.statband-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.statband-item { padding: 24px 18px; text-align: center; }
.statband-v { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.statband-v .u { color: var(--primary); }
.statband-k { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ============================================================================
   AUTHORITY STRIP
   ============================================================================ */
.authority { padding: calc(54px * var(--pad)) 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.auth-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 22px; }
.auth-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto; }
.cred {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s;
}
.cred:hover { border-color: var(--primary); transform: translateY(-1px); }
.cred .cred-ico { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.cred .cred-ico svg { width: 18px; height: 18px; }
.auth-sub { margin-top: 40px; text-align: center; }
.auth-sub .auth-label { margin-bottom: 22px; }
.logo-marquee {
  position: relative; overflow: hidden; max-width: 1100px; margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track { display: flex; align-items: center; gap: 64px; width: max-content; padding: 4px 32px; animation: logoScroll 48s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--muted); transition: color .2s; flex-shrink: 0; }
.client-logo:hover { opacity: 1; color: var(--ink); }
.client-logo img { height: 78px; width: auto; max-width: 220px; object-fit: contain; mix-blend-mode: multiply; opacity: 1; transition: transform .25s; }
.client-logo:hover img { transform: translateY(-2px); }
.client-logo img[alt="Aditya Birla Capital"], .client-logo img[alt="Bharat Petroleum"] { height: 64px; }
.cl-mark { display: inline-flex; }
.client-logo svg { height: 27px; width: auto; flex-shrink: 0; }
.cl-name { font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ============================================================================
   DARK SECTIONS (problems, final cta)
   ============================================================================ */
.section.dark { background: var(--ink); color: var(--d-body); position: relative; }
.section.dark .eyebrow { color: #7E9BFF; }

/* Why RPACPC exists */
.why-grid { display: block; max-width: none; }
.why-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 0; align-items: start; }
.why-copy .eyebrow { grid-column: 1; }
.why-copy .section-title { grid-column: 1; margin: 10px 0 26px; font-size: clamp(34px, 4.4vw, 54px); }
.why-p { font-size: 16.5px; line-height: 1.72; color: var(--d-body); margin: 0; max-width: none; text-wrap: pretty; }
.why-p + .why-p { margin-top: 18px; }
.why-p-lead { grid-column: 2; grid-row: 1 / span 4; margin-top: 0 !important; align-self: start; }
.why-p-lead { color: var(--d-text); font-weight: 500; padding-left: 18px; border-left: 2px solid #7E9BFF; }
.why-figure { margin: 0; background: none; border: none; box-shadow: none; }
.why-figure img { display: block; width: 100%; height: auto; }

/* Before / After comparison stage */
.cmp { position: relative; margin-top: 64px; }
.cmp-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.cmp-wires path { fill: none; stroke-linecap: round; transition: stroke .25s, stroke-width .25s, opacity .25s; }
.cmp-wires path.w-bad { stroke: rgba(168,178,208,.32); stroke-width: 1.4; stroke-dasharray: 4 6; }
.cmp-wires path.w-good { stroke: rgba(54,169,104,.45); stroke-width: 1.6; }
.cmp-wires path.is-on { opacity: 1; }
.cmp-wires path.w-bad.is-on { stroke: #FF8E7A; stroke-width: 2; stroke-dasharray: none; }
.cmp-wires path.w-good.is-on { stroke: #4FD48A; stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(79,212,138,.5)); }
.cmp-wires path.dim { opacity: .25; }
.cmp-stage { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(190px, .68fr) 1fr; gap: 28px; align-items: start; }
.cmp-col { display: flex; flex-direction: column; gap: 10px; }
.cmp-col-head { margin-bottom: 8px; }
.cmp-col-head h3 { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--d-text); margin: 12px 0 6px; }
.cmp-col-head p { font-size: 13.5px; color: var(--d-muted); line-height: 1.5; max-width: 30ch; }
.cmp-col-after .cmp-col-head { text-align: right; }
.cmp-col-after .cmp-col-head p { margin-left: auto; }
.cmp-pill { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.cmp-pill-bad { background: rgba(255,255,255,.08); color: var(--d-text); border: 1px solid var(--d-line); }
.cmp-pill-good { background: var(--green); color: #fff; }
.cmp-card { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 84px; text-align: left; padding: 14px 15px; border-radius: 14px; border: 1px solid var(--d-line); background: var(--d-surface); cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.cmp-card:hover, .cmp-card:focus-visible { transform: translateY(-2px); }
.cmp-card .cmp-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.cmp-card .cmp-ico svg { width: 20px; height: 20px; }
.cmp-txt { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.cmp-txt b { font-size: 14.5px; font-weight: 600; color: var(--d-text); letter-spacing: -.01em; }
.cmp-txt i { font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--d-muted); }
.cmp-mark { flex-shrink: 0; margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.cmp-mark svg { width: 11px; height: 11px; }
.cmp-mark-x { background: rgba(255,107,87,.16); color: #FF8E7A; }
.cmp-bad .cmp-ico { color: #A8B2D0; }
.cmp-bad:hover, .cmp-bad.is-on { border-color: rgba(255,142,122,.55); background: rgba(255,107,87,.07); }
.cmp-bad.is-on .cmp-mark-x { background: rgba(255,107,87,.28); }
.cmp-good { border-color: rgba(54,169,104,.28); background: rgba(54,169,104,.07); }
.cmp-good .cmp-ico { color: #4FD48A; background: rgba(54,169,104,.14); }
.cmp-good .cmp-txt b { color: #6FE0A2; }
.cmp-good:hover, .cmp-good.is-on { border-color: rgba(79,212,138,.7); background: rgba(54,169,104,.14); box-shadow: 0 0 0 1px rgba(79,212,138,.18), 0 14px 34px rgba(0,0,0,.35); }
.cmp-stat { flex-shrink: 0; margin-left: auto; text-align: right; padding-left: 14px; }
.cmp-stat em { display: block; font-family: var(--f-display); font-style: normal; font-size: 19px; font-weight: 600; color: #6FE0A2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp-stat u { display: block; text-decoration: none; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--d-muted); margin-top: 2px; white-space: nowrap; }
.cmp-dim { opacity: .55; }
.cmp-core { position: relative; display: flex; flex-direction: column; align-items: center; align-self: center; padding: 10px 0; }
.cmp-core-tile { position: relative; width: 132px; height: 132px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 24px 60px rgba(21,66,211,.35); backdrop-filter: blur(6px); }
.cmp-logo { width: 58px; height: 56px; position: relative; z-index: 1; }
.cmp-core-ring { position: absolute; inset: -26px; border-radius: 50%; border: 1px solid rgba(126,155,255,.30); animation: cmpSpin 18s linear infinite; }
.cmp-core-ring::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px dashed rgba(79,212,138,.22); }
@keyframes cmpSpin { to { transform: rotate(360deg); } }
.cmp-base { position: relative; width: 172px; height: 34px; margin-top: 8px; }
.cmp-base i { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; }
.cmp-base i:nth-child(1) { top: 0; width: 148px; height: 22px; background: radial-gradient(closest-side, rgba(79,212,138,.35), rgba(21,66,211,.12) 70%, transparent); filter: blur(1px); }
.cmp-base i:nth-child(2) { top: 12px; width: 190px; height: 26px; background: radial-gradient(closest-side, rgba(21,66,211,.30), transparent 72%); filter: blur(4px); }
.cmp-core-cap { position: relative; z-index: 2; margin-top: 20px; text-align: center; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--d-line); background: #131E4A; }
.cmp-core-cap b { display: block; font-size: 13.5px; font-weight: 600; color: var(--d-text); }
.cmp-core-cap i { display: block; font-style: normal; font-size: 13px; color: #6FE0A2; margin-top: 3px; }
.cmp-mobile-tabs { display: none; gap: 8px; margin-bottom: 18px; }
.cmp-mt { flex: 1; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--d-line); background: var(--d-surface); color: var(--d-body); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.cmp-mt.is-on { background: rgba(255,255,255,.12); color: var(--d-text); border-color: rgba(126,155,255,.5); }
@media (max-width: 1080px) {
  .cmp-stage { grid-template-columns: 1fr; gap: 22px; }
  .cmp-wires { display: none; }
  .cmp-col-after .cmp-col-head, .cmp-col-after .cmp-col-head p { text-align: left; margin-left: 0; }
  .cmp-core { order: 3; }
}
@media (max-width: 640px) {
  .cmp-mobile-tabs { display: flex; }
  .cmp-col[hidden] { display: none; }
  .cmp-stat { padding-left: 10px; }
  .cmp-stat em { font-size: 16px; }
}
@media (max-width: 900px) { .why-copy { grid-template-columns: 1fr; } .why-p-lead { grid-column: 1; grid-row: auto; margin-top: 18px !important; } }
/* Problems */
.prob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prob-card {
  background: var(--d-surface); border: 1px solid var(--d-line); border-radius: 16px;
  padding: 28px; transition: border-color .2s, background .2s, transform .2s;
}
.prob-card:hover { border-color: rgba(126,155,255,.4); background: var(--d-surface-2); transform: translateY(-2px); }
.prob-ind { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #7E9BFF; margin-bottom: 14px; }
.prob-pain { font-size: 16.5px; color: var(--d-text); line-height: 1.5; font-weight: 500; }
.prob-cost { display: flex; align-items: baseline; gap: 10px; margin: 18px 0; padding: 14px 16px; background: rgba(255,255,255,.04); border-left: 2px solid #FF6B57; border-radius: 0 8px 8px 0; }
.prob-cost-v { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: #FFAE9E; line-height: 1.1; }
.prob-cost-k { font-size: 13px; color: var(--d-muted); }
.prob-fix { display: flex; gap: 10px; font-size: 14px; color: var(--d-body); line-height: 1.5; }
.prob-fix .check { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.prob-fix b { color: var(--d-text); font-weight: 600; }

/* ============================================================================
   SOLUTIONS
   ============================================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sol-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.sol-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--acc, var(--primary)); }
.sol-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line); }
.sol-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sol-ico { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--acc-tint, var(--primary-tint)); color: var(--acc, var(--primary)); flex-shrink: 0; }
.sol-ico svg { width: 23px; height: 23px; }
.sol-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--acc, var(--primary)); font-weight: 500; }
.sol-card h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -.02em; }
.sol-card p { font-size: 14.5px; color: var(--body); line-height: 1.6; }
.sol-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.wcx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wcx-card { position: relative; display: flex; flex-direction: column; padding: 36px 32px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s, background .22s; }
.wcx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); background: var(--primary-tint); }
.wcx-num { position: absolute; top: 24px; right: 26px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); opacity: .55; }
.wcx-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); margin-bottom: 22px; transition: background .22s, color .22s; }
.wcx-ico svg { width: 23px; height: 23px; }
.wcx-card:hover .wcx-ico { background: var(--primary); color: #fff; }
.wcx-card h3 { font-size: 19.5px; letter-spacing: -.02em; margin-bottom: 12px; }
.wcx-card p { font-size: 14.5px; line-height: 1.68; color: var(--body); text-wrap: pretty; margin-bottom: 24px; }
.wcx-metric { margin-top: auto; padding-top: 22px; display: flex; align-items: baseline; gap: 9px; border-top: 1px solid var(--line); }
.wcx-metric em { font-style: normal; font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--primary); letter-spacing: -.01em; white-space: nowrap; }
.wcx-metric u { text-decoration: none; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) { .wcx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wcx-grid { grid-template-columns: 1fr; } }
.chip { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; padding: 5px 11px; border-radius: 7px; background: var(--surface-2); color: var(--body); border: 1px solid var(--line); }

/* ============================================================================
   SUITES EXPLORER
   ============================================================================ */
.suites-wrap { display: grid; grid-template-columns: 286px 1fr; gap: 22px; margin-top: 12px; }
.suite-tabs { display: flex; flex-direction: column; gap: 4px; align-self: start; position: sticky; top: 88px; }
.suite-tab { position: relative; display: flex; align-items: center; gap: 13px; text-align: left; padding: 13px 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; transition: background .16s, border-color .16s, box-shadow .16s; width: 100%; }
.suite-tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 0 3px 3px 0; background: var(--sa, var(--primary)); transform: translateY(-50%); transition: height .2s var(--ease); }
.suite-tab:hover { background: var(--surface-2); }
.suite-tab.active { background: var(--st, var(--surface-2)); border-color: var(--line); box-shadow: var(--shadow-sm); }
.suite-tab.active::before { height: 26px; }
.suite-tab:focus-visible { outline: 2px solid var(--sa, var(--primary)); outline-offset: 2px; }
.suite-tab-ico { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 11px; font-weight: 600; background: var(--surface-2); color: var(--muted); transition: background .16s, color .16s; }
.suite-tab:hover .suite-tab-ico { background: var(--st, var(--surface-2)); color: var(--sa, var(--muted)); }
.suite-tab.active .suite-tab-ico { background: var(--sa, var(--primary)); color: #fff; }
.suite-tab-tx { min-width: 0; }
.suite-tab-name { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.suite-tab-cnt { display: block; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.suite-tab-arr { width: 15px; height: 15px; margin-left: auto; flex-shrink: 0; color: var(--sa, var(--faint)); opacity: 0; transform: translateX(-3px); transition: opacity .16s, transform .16s; }
.suite-tab:hover .suite-tab-arr, .suite-tab.active .suite-tab-arr { opacity: 1; transform: none; }

.suite-panel { position: relative; overflow: hidden; background: color-mix(in oklab, var(--st, var(--surface)) 35%, white); border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px 26px; box-shadow: var(--shadow-sm); min-height: 380px; display: flex; flex-direction: column; }
.suite-panel.fade { animation: fadePanel .3s var(--ease); }
@keyframes fadePanel { from { transform: translateY(8px); } to { transform: none; } }
.suite-panel-head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.suite-panel-ico { width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 14px; font-weight: 600; background: var(--sa, var(--primary)); color: #fff; }
.suite-panel-tx { min-width: 0; }
.suite-panel h3 { font-size: 25px; letter-spacing: -.02em; }
.suite-panel-desc { font-size: 15px; color: var(--body); margin-top: 6px; line-height: 1.55; max-width: 560px; text-wrap: pretty; }
.suite-best { margin-left: auto; text-align: right; flex-shrink: 0; }
.suite-best-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.suite-best-v { font-size: 14px; font-weight: 600; color: var(--sa, var(--green-strong)); margin-top: 3px; }
.suite-prod-head { margin-top: 22px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.suite-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 9px; }
.suite-prod { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: border-color .15s, background .15s, transform .15s; }
.suite-prod:hover { border-color: var(--sa, var(--primary)); background: color-mix(in oklab, var(--sa, var(--primary)) 6%, transparent); transform: translateY(-1px); }
.suite-prod .p-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--sa, var(--primary)); flex-shrink: 0; }
.suite-prod > span:not(.p-dot) { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.suite-prod .p-go { width: 14px; height: 14px; margin-left: auto; flex-shrink: 0; color: var(--sa, var(--primary)); opacity: 0; transform: translateX(-3px); transition: opacity .15s, transform .15s; }
.suite-prod:hover .p-go { opacity: 1; transform: none; }
.suite-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-2); }
.suite-source { font-size: 13.5px; color: var(--muted); }
.suite-source b { color: var(--sa, var(--primary)); font-weight: 600; }
.suite-endpoint { margin-left: auto; font-family: var(--f-mono); font-size: 12.5px; background: var(--ink); color: #C7D3F5; padding: 8px 13px; border-radius: 8px; }
.suite-endpoint .v { color: #7E9BFF; }
.suite-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.suite-cta { background: var(--sa, var(--primary)); box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--sa, var(--primary)) 65%, transparent); }
.suite-cta:hover { background: color-mix(in oklab, var(--sa, var(--primary)) 86%, #000); box-shadow: 0 10px 26px -10px color-mix(in oklab, var(--sa, var(--primary)) 70%, transparent); transform: translateY(-1px); }
.suite-foot .btn { font-size: 14px; padding: 11px 18px; }
@media (max-width: 980px) {
  .suites-wrap { grid-template-columns: 1fr; }
  .suite-tabs { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .suite-tab { width: auto; flex-shrink: 0; }
  .suite-tab-arr { display: none; }
  .suite-panel { padding: 24px 22px 22px; }
  .suite-panel-head { flex-wrap: wrap; }
  .suite-best { margin-left: 0; text-align: left; width: 100%; }
  .suite-actions { margin-left: 0; width: 100%; }
}

/* ============================================================================
   INDUSTRIES
   ============================================================================ */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ind-card {
  text-align: left; background: var(--surface-2); border: 1px solid transparent;
  border-radius: 13px; padding: 18px; transition: all .16s; position: relative;
}
.ind-card:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ind-card.active { background: var(--surface); border-color: transparent; }
.ind-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ind-ico svg { width: 20px; height: 20px; }
.ind-name { display: block; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.ind-tease { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.ind-plus { position: absolute; top: 16px; right: 16px; font-family: var(--f-mono); color: var(--faint); font-size: 16px; transition: transform .2s, color .2s; }
.ind-card.active .ind-plus { transform: rotate(45deg); color: var(--primary); }

.ind-detail { grid-column: 1 / -1; background: var(--surface); border: 1px solid transparent; border-radius: 16px; padding: 0; overflow: hidden; box-shadow: var(--shadow-md); display: none; }
.ind-detail.open { display: block; animation: fadePanel .3s var(--ease); }
.ind-detail-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; }
.ind-detail-main { padding: 30px 32px; }
.ind-detail-side { padding: 30px 32px; background: var(--surface); }
.ind-detail-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.ind-detail h3 { font-size: 24px; margin-bottom: 14px; letter-spacing: -.02em; }
.ind-reg { display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 16px; }
.ind-reg .r-ico { color: var(--primary); flex-shrink: 0; }
.ind-reg-k { display: block; font-size: 11px; font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ind-reg-v { display: block; font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.4; margin-top: 4px; }
.ind-detail-main p { font-size: 14.5px; color: var(--body); line-height: 1.6; }
.ind-side-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ind-suite-chips .chip { background: var(--surface); }
.ind-uses { list-style: none; margin-bottom: 22px; }
.ind-uses li { font-size: 13.5px; color: var(--body); padding: 7px 0 7px 22px; position: relative; line-height: 1.45; }
.ind-uses li:first-child { border-top: none; }
.ind-uses li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.ind-suite-chips { display: flex; flex-wrap: wrap; gap: 7px; }

/* ============================================================================
   TRUST CENTER
   ============================================================================ */
.trust { background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust-card { display: flex; gap: 15px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.trust-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.trust-badge { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--green-tint); color: var(--green-strong); }
.trust-badge svg { width: 23px; height: 23px; }
.trust-name { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.trust-desc { font-size: 13px; color: var(--body); line-height: 1.5; margin-top: 4px; }
.trust-callout {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  background: linear-gradient(100deg, var(--green-tint), var(--primary-tint-2));
  border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px;
}
.trust-callout-body h4 { font-size: 19px; margin-bottom: 6px; }
.trust-callout-body p { font-size: 14px; color: var(--body); max-width: 560px; line-height: 1.55; }
.trust-callout .btn { margin-left: auto; }

/* ============================================================================
   FAQ (split view)
   ============================================================================ */
.faq-split-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.faq-split-side { position: sticky; top: 100px; }
.faq-split-side .section-title { margin: 10px 0 14px; }
.faq-split-side .section-lead { margin: 0; max-width: none; }
.faq-cta-inline { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.faq-cta-inline a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); margin-left: 4px; }
.faq-cta-inline a .arr { display: inline-flex; transition: transform .2s var(--ease); }
.faq-cta-inline a:hover .arr { transform: translateX(3px); }
.faq-split-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-item summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-q { flex: 1; text-wrap: pretty; }
.faq-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; background: var(--primary-tint); transition: background .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; border-radius: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; color: var(--body); }
.faq-a a { color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .faq-split-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-split-side { position: static; }
}

/* ============================================================================
   INSIGHTS & UPDATES
   ============================================================================ */
.insights { background: var(--surface); }
.insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: calc(40px * var(--pad)); }
.insights-head .section-head { margin-bottom: 0; }
.insights-viewall { flex-shrink: 0; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.insight-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.insight-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line); }
.insight-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, var(--acc-tint, var(--primary-tint)), var(--surface) 130%);
  border-bottom: 1px solid var(--line-2);
}
.insight-thumb .glyph { position: absolute; right: -14px; bottom: -22px; color: var(--acc, var(--primary)); opacity: .14; }
.insight-thumb.has-img { background: #EAF1FB; }
.insight-thumb.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.insight-card:hover .insight-thumb.has-img img { transform: scale(1.035); }
.insight-tag.inline { position: static; align-self: flex-start; box-shadow: none; margin-bottom: 12px; }
.insight-thumb .glyph svg { width: 130px; height: 130px; }
.insight-tag {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--acc, var(--primary)); background: var(--surface); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 20px; box-shadow: var(--shadow-sm);
}
.insight-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc, var(--primary)); }
.insight-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.insight-card h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.insight-card p { font-size: 14px; color: var(--body); line-height: 1.55; margin-top: 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.insight-meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-top: 16px; }
.insight-read { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--acc, var(--primary)); margin-top: auto; padding-top: 18px; }
.insight-read .arr { transition: transform .2s var(--ease); }
.insight-card:hover .insight-read .arr { transform: translateX(3px); }

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.finalcta { text-align: center; position: relative; overflow: hidden; }
.finalcta::before {
  content: "";
  position: absolute;
  top: -520px; left: 50%;
  width: 1240px; height: 1240px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(126,155,255,.20) 0, rgba(126,155,255,.20) 1px, transparent 1px, transparent 86px);
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle, #000 40%, transparent 72%);
  pointer-events: none;
}
.finalcta-pulse { position: absolute; top: -520px; left: 50%; width: 0; height: 0; pointer-events: none; }
.finalcta-pulse i {
  position: absolute;
  top: 0; left: 0;
  width: 1240px; height: 1240px;
  margin: -620px 0 0 -620px;
  border-radius: 50%;
  border: 1.5px solid rgba(126,155,255,.4);
  opacity: 0;
  transform: scale(.22);
  animation: finalctaPulse 5.4s cubic-bezier(.22,.61,.36,1) infinite;
}
.finalcta-pulse i:nth-child(1) { animation-delay: 0s; }
.finalcta-pulse i:nth-child(2) { animation-delay: 1.8s; }
.finalcta-pulse i:nth-child(3) { animation-delay: 3.6s; }
@keyframes finalctaPulse {
  0% { transform: scale(.22); opacity: .5; }
  65% { opacity: .1; }
  100% { transform: scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .finalcta-pulse i { animation: none; opacity: .12; transform: scale(.6); }
}
.finalcta .inner { position: relative; max-width: 720px; margin: 0 auto; }
.finalcta h2 { font-size: clamp(30px, 4vw, 50px); color: var(--d-text); letter-spacing: -.03em; }
.finalcta h2 .hl { color: #7E9BFF; }
.finalcta p { font-size: 18px; color: var(--d-body); margin: 20px auto 0; max-width: 640px; text-wrap: balance; }
.finalcta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { background: #070D24; color: var(--d-muted); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand svg { height: 26px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--d-muted); line-height: 1.6; max-width: 280px; }
.footer-brand .azlogics { font-family: var(--f-mono); font-size: 11px; color: var(--faint); margin-top: 14px; letter-spacing: .03em; }
.footer-col h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8794B8; margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; font-size: 14px; color: var(--d-body); padding: 6px 0; transition: color .14s; }
.footer-col a:hover { color: #fff; }
.footer-creds { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cred { font-family: var(--f-mono); font-size: 11.5px; color: var(--d-body); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; padding: 6px 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; }
.footer-bottom .copy { font-size: 13px; color: var(--d-muted); }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a { font-size: 13px; color: var(--d-body); }
.footer-bottom .legal a:hover { color: #fff; }

/* ── Scroll reveal — visible by default; hidden ONLY when JS opts in (.pre) ─ */
.reveal { opacity: 1; transform: none; }
.reveal.pre { opacity: 0; transform: translateY(22px); }
.reveal.pre.in { opacity: 1; transform: none; }
.reveal.pre { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.pre.d1 { transition-delay: .06s; }
.reveal.pre.d2 { transition-delay: .12s; }
.reveal.pre.d3 { transition-delay: .18s; }
.reveal.pre.d4 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
  .dash-live .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mega { width: min(720px, calc(100vw - 40px)); }
  .msuite-groups, .msuite-groups.dense { column-count: 2; }
  .msuite-apis.cols3 { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-signin { display: none; }
  .nav-burger { display: flex; }
  .nav-right .btn { display: none; }
  .statband-grid { grid-template-columns: repeat(3, 1fr); }
  .prob-grid, .sol-grid { grid-template-columns: 1fr; }
  .suites-wrap { grid-template-columns: 1fr; }
  .suite-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .suite-tab { flex-shrink: 0; min-width: 200px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-detail-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Mobile nav drawer */
  .mobile-nav { display: block; position: fixed; inset: 68px 0 0; background: var(--surface); z-index: 999; padding: 20px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .26s var(--ease); }
  .mobile-nav.open { transform: none; }
  .mnav-group { border-bottom: 1px solid var(--line-2); padding: 6px 0; }
  .mnav-group > .mnav-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; font-size: 17px; font-weight: 600; color: var(--ink); background: none; border: none; font-family: var(--f-display); }
  .mnav-sub { display: none; padding: 4px 0 12px; }
  .mnav-group.open .mnav-sub { display: block; }
  .mnav-sub a { display: block; padding: 9px 0 9px 14px; font-size: 14.5px; color: var(--body); }
  .mnav-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
  .mnav-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .container, .nav-inner { padding: 0 20px; }
  .statband-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: 1fr; }
  .suite-panel-head { flex-wrap: wrap; }
  .suite-best { margin-left: 0; text-align: left; width: 100%; }
  .trust-callout .btn { margin-left: 0; }
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.tstm { background: var(--surface); }
.tstm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tstm-card { position: relative; display: flex; flex-direction: column; margin: 0; padding: 28px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.tstm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tstm-feat { grid-column: span 2; background: linear-gradient(180deg, #fff, var(--primary-tint)); border-color: rgba(21,66,211,.18); }
.tstm-stars { font-size: 13px; letter-spacing: .18em; color: #E0A800; margin-bottom: 14px; }
.tstm-card blockquote { margin: 0; }
.tstm-card blockquote p { font-size: 15px; line-height: 1.68; color: var(--body); text-wrap: pretty; }
.tstm-feat blockquote p { font-family: var(--f-display); font-size: 22px; line-height: 1.5; letter-spacing: -.015em; color: var(--ink); }
.tstm-metrics { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: auto; padding-top: 18px; }
.tstm-metrics em { display: block; font-style: normal; font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--primary); font-variant-numeric: tabular-nums; }
.tstm-feat .tstm-metrics em { font-size: 21px; }
.tstm-metrics u { display: block; text-decoration: none; font-family: var(--f-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.tstm-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tstm-av { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.tstm-av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tstm-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tstm-who b { font-size: 14px; font-weight: 600; color: var(--ink); }
.tstm-who i { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tstm-marquee {
  position: relative; overflow: hidden; margin-top: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.tstm-track { display: flex; align-items: stretch; gap: 18px; width: max-content; animation: tstmScroll 38s linear infinite; }
.tstm-marquee:hover .tstm-track { animation-play-state: paused; }
.tstm-track .tstm-card { flex: 0 0 380px; }
@keyframes tstmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tstm-track { animation: none; } }
@media (max-width: 1000px) { .tstm-grid { grid-template-columns: 1fr; } .tstm-feat { grid-column: span 1; } .tstm-feat blockquote p { font-size: 19px; } }
@media (max-width: 640px) { .tstm-track .tstm-card { flex-basis: 300px; } }


/* Footer Contact & Socials */
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; margin-bottom: 24px; }
.footer-contact .btn { font-size: 17px; padding: 15px 48px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { position: relative; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; transition: background 0.2s, transform 0.2s; display: block; }
.footer-socials a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.footer-socials svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; display: block; }

/* Blog Promo Section */
.blog-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.blog-promo-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
@media (max-width: 900px) {
  .blog-promo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Floating Action Buttons */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: transparent;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s;
}
.fab-whatsapp:hover {
  transform: translateY(-3px);
  color: #fff;
}
.fab-whatsapp svg {
  width: 100%;
  height: 100%;
}

.fab-scrolltop {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #1542D3;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: transform 0.2s, opacity 0.2s;
}
.fab-scrolltop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.fab-scrolltop:hover {
  transform: translateY(-3px);
}
.fab-scrolltop svg {
  width: 24px;
  height: 24px;
}

