/* =========================================================
   PMSI Sistemas — site styles
   ========================================================= */

:root {
  /* Brand */
  --ink: #0a0e1a;
  --navy: #1f2a44;
  --navy-soft: #2d3a5c;
  --cyan: #0f86b6;       /* logo swoosh */
  --cyan-deep: #0a6b94;
  --cyan-tint: #e6f3fa;

  /* Neutrals */
  --bg: #ffffff;
  --bg-soft: #fafaf8;
  --bg-dim: #f4f4f1;
  --bg-cool: #f5f7fa;
  --bg-warm: #faf7f2;
  --border: #e8e7e1;
  --border-strong: #d4d2cc;
  --text: #0a0e1a;
  --text-muted: #5d6470;
  --text-soft: #8a8f97;

  /* Radii / shadow */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15,30,60,.04), 0 1px 3px rgba(15,30,60,.06);
  --shadow: 0 6px 24px -8px rgba(15,30,60,.10), 0 2px 6px rgba(15,30,60,.05);
  --shadow-lg: 0 30px 80px -30px rgba(15,30,60,.25), 0 10px 30px -10px rgba(15,30,60,.12);

  /* Scale */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Ambient page background — fixed mesh of soft tinted orbs.
   Scattered sizes/positions so it doesn't look like a mirrored pattern. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(18% 14% at 88% 8%,  rgba(15,134,182,0.10), transparent 70%),
    radial-gradient(10% 8%  at 4% 26%,  rgba(31,42,68,0.07),  transparent 70%),
    radial-gradient(22% 16% at 95% 48%, rgba(15,134,182,0.08), transparent 70%),
    radial-gradient(8%  6%  at 14% 56%, rgba(15,134,182,0.10), transparent 70%),
    radial-gradient(14% 10% at 6% 88%,  rgba(15,134,182,0.06), transparent 70%),
    radial-gradient(20% 14% at 92% 92%, rgba(31,42,68,0.06),  transparent 70%);
  background-attachment: fixed;
}

/* Very faint grain to add a tactile finish */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.07  0 0 0 0 0.12  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Layout container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 18px; letter-spacing: -0.01em; }

p { margin: 0; color: var(--text); text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--text-muted); max-width: 60ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
}
.btn-ghost:hover { background: var(--bg-dim); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 28px; width: auto; }
.brand .sep {
  width: 1px; height: 18px;
  background: var(--border-strong);
}
.brand .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-dim); }
.nav a.is-active { color: var(--ink); }
.header-cta {
  display: flex; align-items: center; gap: 8px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center; justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero::before {
  /* subtle ambient swoosh nodding to the logo */
  content: "";
  position: absolute;
  inset: -20% -5% auto auto;
  width: 60%;
  height: 80%;
  background: radial-gradient(60% 50% at 60% 30%, rgba(15,134,182,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--ink) 60%, var(--cyan-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero p.lede { margin-top: 26px; }

/* Hero product mockup composition */
.hero-mock {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 420px;
}
.window {
  position: absolute;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window .titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f7f7f4, #efeeea);
  border-bottom: 1px solid var(--border);
}
.window .titlebar .dots {
  display: inline-flex; gap: 6px;
}
.window .titlebar .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d4d2cc; display: block;
}
.window .titlebar .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.window img {
  width: 100%; height: auto; display: block;
}

.hero-mock .window-main {
  top: 0; left: 0;
  width: 90%;
}
.hero-mock .window-side {
  bottom: 0; right: 0;
  width: 60%;
  z-index: 2;
}

/* Marquee / stats strip */
.statsbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.statsbar .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 32px var(--gutter);
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.stat .num .unit { color: var(--cyan-deep); font-weight: 500; }
.stat .label {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Generic section */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.section-sm { padding: clamp(56px, 7vw, 96px) 0; position: relative; }

/* Per-section ambient accents — soft radial blurs at strategic positions.
   Layered on top of the body-level mesh for additional rhythm. */
.section::before,
.section-sm::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(0px);
}
.section > *,
.section-sm > * { position: relative; z-index: 1; }

/* Section accents — multiple small orbs at varied positions/sizes per section.
   Composed via stacked radial-gradients to feel scattered rather than mirrored. */
.section.has-accent-1::before {
  inset: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(18% 14% at 5% 18%,  rgba(15,134,182,0.13), transparent 70%),
    radial-gradient(10% 8%  at 92% 6%,  rgba(15,134,182,0.10), transparent 70%),
    radial-gradient(14% 12% at 78% 88%, rgba(31,42,68,0.07),  transparent 70%);
}
.section.has-accent-2::before {
  inset: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(14% 10% at 96% 22%, rgba(15,134,182,0.12), transparent 70%),
    radial-gradient(20% 16% at 12% 70%, rgba(15,134,182,0.08), transparent 70%),
    radial-gradient(8%  6%  at 50% 4%,  rgba(31,42,68,0.06),  transparent 70%);
}
.section.has-accent-3::before {
  inset: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(12% 10% at 6% 50%,  rgba(15,134,182,0.10), transparent 70%),
    radial-gradient(16% 12% at 88% 78%, rgba(31,42,68,0.08),  transparent 70%),
    radial-gradient(8%  6%  at 38% 92%, rgba(15,134,182,0.10), transparent 70%);
}
.section.has-accent-warm::before {
  inset: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(16% 12% at 88% 24%, rgba(212,167,98,0.09), transparent 70%),
    radial-gradient(10% 8%  at 8% 70%,  rgba(15,134,182,0.07), transparent 70%);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }

/* Two-column intro */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.intro-grid h2 { font-size: clamp(32px, 3.6vw, 48px); }
.intro-grid .copy p + p { margin-top: 18px; }

/* Pillars grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background .2s ease;
}
.pillar:hover { background: var(--bg-soft); }
.pillar .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-deep);
  letter-spacing: 0.08em;
}
.pillar h3 {
  margin: 16px 0 10px;
}
.pillar p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
.pillar .footer {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pillar .footer .chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Industries */
.industries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.industry {
  background: #fff;
  padding: 28px 22px;
  text-align: left;
  display: flex; flex-direction: column;
  gap: 12px;
}
.industry .icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--cyan-deep);
}
.industry .name {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.industry .what {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature showcase rows */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.showcase.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.showcase.flip .showcase-copy { order: 2; }
.showcase + .showcase { margin-top: clamp(80px, 10vw, 140px); }
.showcase h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  margin: 14px 0 18px;
}
.showcase .copy-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.showcase .copy-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.showcase .copy-list li::before {
  content: "";
  margin-top: 9px;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.showcase ul { padding: 0; margin: 0; }
.showcase .frame {
  position: relative;
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.showcase .frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.showcase .frame .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  z-index: 2;
}

/* Quote / spotlight */
.spotlight {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%; height: 140%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(15,134,182,0.35), transparent 70%);
}
.spotlight .container-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.spotlight h2 { color: #fff; }
.spotlight p { color: rgba(255,255,255,0.7); }
.spotlight .pmsmeta {
  display: grid;
  gap: 22px;
}
.spotlight .pmsmeta .row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.spotlight .pmsmeta .row:first-child { padding-top: 0; border-top: 0; }
.spotlight .pmsmeta .k {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spotlight .pmsmeta .v {
  font-size: 16px;
  color: rgba(255,255,255,0.92);
}

/* CTA strip */
.cta-strip {
  border-top: 1px solid var(--border);
}
.cta-strip-inner {
  padding: clamp(64px, 8vw, 120px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.cta-strip h2 { font-size: clamp(36px, 4.4vw, 64px); }
.cta-strip .actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-soft);
  font-size: 14px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 18px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer ul a { color: var(--text-muted); }
.site-footer ul a:hover { color: var(--ink); }
.site-footer .brand p {
  color: var(--text-muted);
  max-width: 32ch;
  margin-top: 14px;
}
.site-footer .bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-soft);
  font-size: 13px;
}
.site-footer .bottom .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* =====================================================
   Motion system
   ===================================================== */

/* Reveal — default visible. JS controls per-element: above-fold stays visible
   immediately, below-fold elements get inline opacity:0 and animate in via WAAPI. */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js-motion .reveal,
  html.js-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Parallax — uses CSS `translate` so it composes with `transform` rotations */
[data-parallax] {
  translate: 0 var(--px-y, 0);
  will-change: translate;
}

/* Scroll progress bar */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 100;
  pointer-events: none;
  opacity: 0.9;
  transition: transform 0.08s linear;
}

/* Page enter — gentle initial paint (uses reveals instead for cleaner behavior) */
/* Removed pageEnter animation on <main> because it conflicted with html-to-image
   static rendering and could stall in some embed contexts. Reveals handle entrance. */

/* Header — refined glassmorphism */
.site-header {
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(232, 231, 225, 0.6);
}

/* Nav links — animated underline */
.nav a {
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px; right: 14px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.6;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

/* Buttons — magnetic + refined */
.btn {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.35s ease;
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
  will-change: transform;
}
.btn:hover {
  transform: translate3d(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 2px), 0);
}
.btn-primary { box-shadow: 0 4px 14px -6px rgba(15, 30, 60, 0.25); }
.btn-primary:hover {
  background: var(--navy);
  box-shadow: 0 16px 38px -14px rgba(15, 30, 60, 0.5);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
  box-shadow: 0 10px 28px -16px rgba(15, 30, 60, 0.2);
}
.btn .arrow { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header CTA primary — soft glow */
.site-header .btn-primary { box-shadow: 0 6px 18px -8px rgba(15, 30, 60, 0.32); }

/* Pillar — refined hover with lift + glow */
.pillar {
  transition:
    background 0.4s ease,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
  position: relative;
}
.pillar:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(15, 30, 60, 0.22);
  z-index: 1;
}

/* Industry — hover lift + icon nudge */
.industry { transition: background 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.industry:hover { background: var(--bg-soft); transform: translateY(-2px); }
.industry .icon { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; }
.industry:hover .icon { transform: scale(1.1); }

/* Gallery tile — refined hover */
.gallery .tile {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
}
.gallery .tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -22px rgba(15, 30, 60, 0.18);
}
.gallery .tile .thumb img { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery .tile:hover .thumb img { transform: scale(1.05); }

/* Use-case card hover */
.usecase {
  transition:
    border-color 0.3s ease,
    box-shadow 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.usecase:hover {
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(15, 30, 60, 0.18);
  transform: translateY(-3px);
}

/* Showcase frame hover */
.showcase .frame {
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
}
.showcase .frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.showcase .frame img { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.showcase .frame:hover img { transform: scale(1.02); }

/* Hero windows — subtle hover spread */
.hero-mock .window {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.hero-mock:hover .window-main {
  transform: rotate(-1.6deg) translate(-6px, -4px) !important;
}
.hero-mock:hover .window-side {
  transform: rotate(2.4deg) translate(6px, 4px) !important;
}

/* Callout — static, no infinite float */
.hero-mock .callout { will-change: auto; }

/* Timeline icon hover */
.timeline.with-icons .item .ic {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}
.timeline.with-icons .item:hover .ic {
  transform: scale(1.12);
  border-color: var(--cyan);
}

/* Process diagram node hover */
.process .node {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}
.process .node:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 32px -16px rgba(15, 30, 60, 0.15);
}

/* Accordion — smooth open */
.accordion details summary {
  transition: padding 0.3s ease, color 0.2s ease;
  cursor: pointer;
}
.accordion details summary:hover { color: var(--cyan-deep); }
.accordion details summary::after {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.accordion details[open] summary { padding-bottom: 16px; }
.accordion .body {
  animation: bodyIn 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
@keyframes bodyIn {
  from { opacity: 0; transform: translate3d(0, -6px, 0); }
  to   { opacity: 1; transform: none; }
}

/* Filter chip hover refinement */
.filters .chip {
  transition:
    color 0.2s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.filters .chip:hover { transform: translateY(-1px); }

/* Form input focus refinement */
.form input,
.form textarea,
.form select {
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    background 0.2s ease;
}

/* Tag-pill — gentle hover */
.tag-pill {
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.2s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tag-pill:hover { transform: translateY(-1px); border-color: var(--border-strong); }

/* Lightbox — fade in */
.lightbox { transition: opacity 0.3s ease; opacity: 0; }
.lightbox.open { opacity: 1; }
.lightbox img {
  animation: lbImgIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes lbImgIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* Mobile nav slide-in */
.mobile-nav {
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open { transform: translateX(0); }

/* Smooth-scroll respect for reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mock .callout { animation: none; }
}

/* =====================================================
   end motion system
   ===================================================== */

/* Page hero (sub-pages) */
.page-hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  margin-top: 18px;
  max-width: 18ch;
}
.page-hero .lede { margin-top: 22px; }
.crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: inline-flex;
  gap: 10px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--border-strong); }

/* Prose (Quem Somos / Softwares) */
.prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}
.prose p { margin-bottom: 22px; color: var(--text); }
.prose p.large { font-size: 22px; line-height: 1.55; color: var(--ink); }
.prose h3 { font-size: 26px; margin: 48px 0 16px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Form */
.form {
  display: grid;
  gap: 18px;
}
.form .field {
  display: grid; gap: 8px;
}
.form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form input, .form textarea, .form select {
  font: inherit;
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: var(--font-sans);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(15,134,182,0.15);
}
.form textarea { resize: vertical; min-height: 140px; }
.form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,14,26,0.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1400px, 96vw);
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox .lb-meta {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.lightbox .lb-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery .tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gallery .tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.gallery .tile .thumb {
  background: var(--bg-dim);
  aspect-ratio: 16 / 11;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gallery .tile .thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top left;
}
.gallery .tile .meta {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.gallery .tile .meta .mod {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan-deep);
  text-transform: uppercase;
}
.gallery .tile .meta .ttl {
  font-weight: 500; color: var(--ink); font-size: 15px;
}

/* Module filter chips */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.filters .chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s ease;
}
.filters .chip:hover { color: var(--ink); border-color: var(--ink); }
.filters .chip.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--border);
}
.accordion details {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--cyan-deep);
  transition: transform .2s ease;
}
.accordion details[open] summary::after {
  content: "−";
}
.accordion .body {
  padding: 0 0 32px;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 70ch;
}
.accordion .body p + p { margin-top: 12px; }
.accordion .body ul {
  padding-left: 0; margin: 12px 0 0;
  list-style: none;
  display: grid; gap: 10px;
}
.accordion .body ul li {
  position: relative;
  padding-left: 22px;
}
.accordion .body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 10px; height: 1px;
  background: var(--cyan);
}

/* Process diagram */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 48px 0 24px;
}
.process .node {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: #fff;
  position: relative;
}
.process .node .step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan-deep);
}
.process .node .name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.process .node .what {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.45;
}
.process .node + .node::before {
  content: "→";
  position: absolute;
  left: -14px; top: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-soft);
  font-family: var(--font-mono);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 24px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 16px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline .item {
  position: relative;
  padding: 24px 0 24px 56px;
  display: grid;
  gap: 6px;
}
.timeline .item::before {
  content: "";
  position: absolute;
  left: 11px; top: 30px;
  width: 11px; height: 11px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--border);
}
.timeline .item .year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan-deep);
}
.timeline .item .what {
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.timeline .item .detail {
  color: var(--text-muted);
  font-size: 15px;
}

/* Use case cards */
.usecases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.usecase {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: grid;
  gap: 18px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.usecase:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.usecase .head {
  display: flex; gap: 14px; align-items: center;
}
.usecase .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cyan-tint);
  color: var(--cyan-deep);
  display: grid; place-items: center;
}
.usecase h3 { font-size: 22px; }
.usecase .sub { color: var(--text-muted); font-size: 12.5px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.usecase .challenge, .usecase .solution {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.usecase .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 4px;
}
.usecase .tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.usecase .tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* Contact split */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-info dl { margin: 0; display: grid; gap: 28px; }
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.contact-info dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.contact-info dd a:hover { color: var(--cyan-deep); }

/* Generic helpers */
.hr { height: 1px; background: var(--border); margin: 0; border: none; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.flex { display: flex; }
.gap-8 { gap: 8px; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* =====================================================
   Decorative elements & iconography (added)
   ===================================================== */

/* Section tonality variants */
.section-soft { background: var(--bg-soft); }
.section-cool { background: var(--bg-cool); }
.section-warm { background: var(--bg-warm); }
.section-soft, .section-cool, .section-warm {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Ambient blur — like the hero glow, used on key moments */
.has-glow { position: relative; overflow: hidden; }
.has-glow::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 60%; height: 100%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(15,134,182,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.has-glow.glow-right::before {
  inset: -20% -10% auto auto;
}
.has-glow.glow-warm::before {
  background: radial-gradient(50% 50% at 50% 50%, rgba(212,167,98,0.10), transparent 70%);
}
.has-glow > .container { position: relative; z-index: 1; }

/* Subtle dot field overlay (very low opacity) */
.has-dotfield { position: relative; overflow: hidden; }
.has-dotfield::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(31,42,68,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.has-dotfield > .container { position: relative; z-index: 1; }

/* Crisp icon container — used on cards, pillars, accordion */
.ic {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.ic-sm { width: 28px; height: 28px; }
.ic-md { width: 40px; height: 40px; }
.ic-lg { width: 48px; height: 48px; }
.ic-square {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.ic-square-cyan {
  border: 1px solid var(--cyan-tint);
  background: var(--cyan-tint);
  color: var(--cyan-deep);
}

/* Pillar header with icon */
.pillar .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.pillar .head .ic { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; }

/* Tag / pill */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.tag-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
}
.tag-pill.is-live .dot {
  background: #34c47a;
  box-shadow: 0 0 0 0 rgba(52, 196, 122, 0.5);
  animation: pulseLive 2s infinite;
}
@keyframes pulseLive {
  0%   { box-shadow: 0 0 0 0 rgba(52, 196, 122, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 196, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 196, 122, 0); }
}

/* Floating annotation pill (like Stripe callouts) */
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px 7px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(15,30,60,0.08);
  white-space: nowrap;
  z-index: 3;
}
.callout .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
}
.callout.dark {
  background: var(--ink);
  color: #fff;
  border-color: rgba(255,255,255,0.1);
}
.callout.dark .dot { background: var(--cyan); }

/* Spec card — used to add density to text sections */
.spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.spec:last-child { border-bottom: none; }
.spec .ic-square { width: 36px; height: 36px; border-radius: 8px; }
.spec .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.spec .v {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
}

/* Mini schematic SVG card */
.schema {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.schema svg { width: 100%; height: auto; }

/* Dot-grid background overlay */
.dotgrid {
  background-image: radial-gradient(circle, var(--border-strong) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Annotation: numbered marker on screenshot */
.anno {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cyan-deep);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 0 0 4px rgba(15,134,182,0.18);
  z-index: 3;
}

/* Accordion item with icon */
.accordion summary .lead {
  display: flex; align-items: center; gap: 16px;
}
.accordion .ic-square {
  width: 36px; height: 36px; border-radius: 8px;
  color: var(--cyan-deep);
}

/* Process diagram improved — icon per node */
.process .node .ic {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--cyan-tint);
  color: var(--cyan-deep);
  margin-bottom: 12px;
}

/* Showcase eyebrow with icon */
.showcase-copy .eyebrow-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
.showcase-copy .eyebrow-row .ic {
  width: 24px; height: 24px;
  color: var(--cyan-deep);
}

/* Timeline icon */
.timeline .item .ic {
  position: absolute;
  left: 0; top: 24px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--cyan-deep);
  z-index: 1;
}
.timeline.with-icons::before { left: 16px; }
.timeline.with-icons .item { padding-left: 56px; }
.timeline.with-icons .item::before { display: none; }

/* Brand mark watermark — subtle */
.brand-mark {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-soft);
  opacity: 0.5;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Number badge */
.num-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan-deep);
  padding: 3px 8px;
  background: var(--cyan-tint);
  border-radius: 4px;
  display: inline-block;
}

/* Floating coordinate label */
.coord {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

/* Page-hero: subtle dot grid behind */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -80% auto;
  width: 50%; height: 200%;
  background-image: radial-gradient(circle, rgba(15,134,182,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }

/* Code-style snippet box */
.snippet {
  background: var(--ink);
  color: #c7d2e0;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  border: 1px solid var(--ink);
  overflow-x: auto;
}
.snippet .k { color: #5ab8de; }
.snippet .s { color: #b5e8a6; }
.snippet .c { color: #6c7a8a; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mock { aspect-ratio: 16/10; min-height: 320px; max-width: 640px; }
  .statsbar .row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .pillars { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .showcase, .showcase.flip { grid-template-columns: 1fr; }
  .showcase.flip .showcase-copy { order: initial; }
  .intro-grid { grid-template-columns: 1fr; }
  .spotlight .container-inner { grid-template-columns: 1fr; }
  .cta-strip-inner { grid-template-columns: 1fr; }
  .cta-strip .actions { justify-content: flex-start; }
  .site-footer .grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .node + .node::before { display: none; }
  .usecases { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .brand .sep, .brand .tag { display: none; }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-outline { display: none; }
  .industries { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form .row-2 { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 68px 0 0;
  background: #fff;
  padding: 24px var(--gutter);
  z-index: 49;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  color: var(--ink);
}
.mobile-nav .btn { margin-top: 16px; align-self: flex-start; }
