/* TechnoBeasts: site styles. Dark, AI-first theme.
   Brand: blue #4A9BE8, orange #F26200. Accents: indigo #818CF8, cyan #22D3EE. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-raise: #0c0e15;
  --bg-deep: #05060a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e8eaf0;
  --text-2: #a3aaba;
  --text-3: #7f879a;
  --heading: #f5f6fa;
  --indigo: #818cf8;
  --indigo-2: #a5b4fc;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --orange: #f26200;
  --orange-2: #fb923c;
  --green: #34d399;
  --grad: linear-gradient(135deg, #818cf8 0%, #22d3ee 100%);
  --grad-text: linear-gradient(90deg, #a5b4fc 0%, #7dd3fc 55%, #67e8f9 100%);
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1120px;
  --gutter: clamp(14px, 4vw, 28px);
  --header-h: 60px;
  --section-y: clamp(52px, 4vw + 36px, 96px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.5rem, 0.85rem + 4vw, 3.5rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.35rem, 0.95rem + 2vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a {
  color: var(--indigo-2);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: #fff; }

.prose a:not(.btn),
.section-lead a,
.faq-body a,
.form-note a {
  text-decoration: underline;
  text-decoration-color: rgba(165, 180, 252, 0.5);
  text-underline-offset: 3px;
}

img,
svg { display: block; max-width: 100%; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(129, 140, 248, 0.35); color: #fff; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus { top: 12px; color: var(--bg); }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  stroke-width: 1.9;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons, tags, labels ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.6rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn .icon { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }

.btn-primary {
  background: #fff;
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 28px -10px rgba(129, 140, 248, 0.75);
}

.btn-primary:hover {
  background: #e9ecff;
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 34px -8px rgba(129, 140, 248, 0.9);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn-sm {
  min-height: 34px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: progress; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  color: var(--indigo-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow .icon { width: 14px; height: 14px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.tags li {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.6;
}

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--indigo-2);
  font-size: 0.85rem;
  font-weight: 600;
}

.text-link .icon { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

/* Spotlight that follows the pointer (position set by main.js). */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(129, 140, 248, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover { border-color: rgba(165, 180, 252, 0.28); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.18), rgba(34, 211, 238, 0.07));
  color: var(--indigo-2);
}

.card-icon .icon { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 8, 12, 0.75);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: #fff;
}

.brand:hover { color: #fff; }
.brand-mark { width: auto; height: 26px; }

.brand-name {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 clamp(28px, 4vw, 48px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-1 {
  top: -320px;
  left: -180px;
  width: 680px;
  height: 680px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.4), transparent);
  animation: drift-a 16s ease-in-out infinite alternate;
}

.orb-2 {
  top: -220px;
  right: -220px;
  width: 600px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent);
  animation: drift-b 20s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: -320px;
  left: 30%;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(242, 98, 0, 0.13), transparent);
  animation: drift-a 24s ease-in-out infinite alternate-reverse;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 15%, transparent 70%);
}

@keyframes drift-a { to { transform: translate(60px, 40px) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-50px, 50px) scale(1.05); } }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.announce {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
}

.announce:hover { border-color: rgba(165, 180, 252, 0.45); color: #fff; }

.announce-tag {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
}

.announce .icon { width: 13px; height: 13px; color: var(--text-2); }

.lead {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--text-2);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  color: var(--text-3);
  font-size: 0.8rem;
}

.hero-assurances li { display: inline-flex; align-items: center; gap: 6px; }
.hero-assurances .icon { width: 14px; height: 14px; color: var(--green); stroke-width: 2.5; }

/* Agent console (decorative demo, animated by main.js) */
.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 460px;
}

.agent-card {
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(20, 22, 32, 0.94), rgba(12, 13, 20, 0.94)) padding-box,
    linear-gradient(150deg, rgba(165, 180, 252, 0.55), rgba(34, 211, 238, 0.25) 40%, rgba(255, 255, 255, 0.06) 70%) border-box;
  box-shadow: 0 30px 80px -30px rgba(99, 102, 241, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
  font-size: 0.82rem;
}

.agent-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}

.agent-dots { display: flex; gap: 6px; }
.agent-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f4f; }
.agent-dots i:first-child { background: #ff5f57; }
.agent-dots i:nth-child(2) { background: #febc2e; }
.agent-dots i:nth-child(3) { background: #28c840; }

.agent-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-badge {
  flex: none;
  padding: 1px 8px;
  border: 1px solid rgba(165, 180, 252, 0.3);
  border-radius: 999px;
  color: var(--indigo-2);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.msg p {
  margin: 0;
  padding: 9px 12px;
  border-radius: 4px 12px 12px 12px;
  line-height: 1.5;
}

.msg-user p { background: rgba(255, 255, 255, 0.06); color: var(--text); }

.msg-agent p {
  border: 1px solid rgba(165, 180, 252, 0.2);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.16), rgba(34, 211, 238, 0.07));
  color: var(--text);
}

.avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f26200);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
}

.avatar-ai { background: var(--grad); color: var(--bg); }
.avatar-ai .icon { width: 15px; height: 15px; }

.agent-steps {
  display: grid;
  gap: 6px;
  padding-left: 38px;
  list-style: none;
}

.agent-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
}

.step-ico {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  color: var(--green);
}

.step-ico .icon { width: 11px; height: 11px; stroke-width: 3; }
.step-name { flex: 1; min-width: 0; color: var(--text); }

.step-tool {
  flex: none;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.agent-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 38px; }

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.74rem;
  font-weight: 600;
}

.chip-approve { border-color: transparent; background: #fff; color: var(--bg); }
.chip-btn .icon { width: 12px; height: 12px; stroke-width: 3; }

/* Typed reply: the hidden "ghost" copy reserves the space so the card never jumps. */
.type { display: grid; }
.type > span { grid-area: 1 / 1; }
.type-live { visibility: hidden; }
.is-playing .type-ghost { visibility: hidden; }
.is-playing .type-live { visibility: visible; }

.type-live.is-typing::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--indigo-2);
  animation: blink 1s steps(1) infinite;
}

.agent-step,
.msg-agent,
.agent-actions { transition: opacity 0.35s var(--ease), translate 0.35s var(--ease), border-color 0.35s; }

.is-playing [data-step].is-pending { opacity: 0; translate: 0 6px; }
.agent-step.is-running { border-color: rgba(165, 180, 252, 0.35); }

.agent-step.is-running .step-ico {
  border: 2px solid rgba(165, 180, 252, 0.25);
  border-top-color: var(--indigo);
  background: transparent;
  animation: spin 0.7s linear infinite;
}

.agent-step.is-running .step-ico .icon { opacity: 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(14, 16, 24, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}

/* The chips sit on the card's top and bottom edges, clear of the header row and the action buttons. */
.float-chip .icon { width: 13px; height: 13px; }
.chip-a { top: -19px; right: 18px; }
.chip-a .icon { color: var(--green); }
.chip-b { bottom: -19px; left: 40px; animation-delay: -3s; }
.chip-b .icon { color: #fbbf24; }

@keyframes bob { 50% { transform: translateY(-6px); } }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  list-style: none;
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
}

.stats li + li { border-left: 1px solid var(--line); }

.stats strong {
  color: #fff;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stats span { color: var(--text-3); font-size: 0.78rem; line-height: 1.4; }

/* ---------- Technology marquee ---------- */
.stack {
  padding: 16px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.stack-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stack-title {
  flex: none;
  margin: 0;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  gap: 8px;
  padding-right: 8px;
  list-style: none;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 12%, rgba(255, 255, 255, 0.018) 88%, transparent);
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.28), transparent);
  translate: -50% 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-lead {
  margin: 0;
  color: var(--text-2);
  font-size: clamp(0.93rem, 0.88rem + 0.2vw, 1.02rem);
}

/* ---------- AI bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.bento-card h3 { margin: 14px 0 6px; font-size: 1.02rem; }

.bento-card > p,
.bento-copy > p {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 0.875rem;
}

.bento-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: 24px;
}

.bento-copy > p { margin-bottom: 14px; }

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
  border: 1px dashed rgba(165, 180, 252, 0.2);
  border-radius: 14px;
  background: rgba(7, 8, 12, 0.55);
}

.flow-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #10131c;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.flow-node .icon { width: 14px; height: 14px; color: var(--text-2); }

.flow-agent {
  border-color: transparent;
  background: linear-gradient(#10131c, #10131c) padding-box, var(--grad) border-box;
  box-shadow: 0 0 26px -6px rgba(129, 140, 248, 0.75);
}

.flow-agent .icon { color: var(--indigo-2); }
.flow-ok .icon { color: var(--green); }

.flow-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.flow-sm { padding: 5px 9px; font-size: 0.72rem; font-weight: 500; }

.flow-line {
  position: relative;
  width: 2px;
  height: 22px;
  overflow: hidden;
  background: linear-gradient(rgba(129, 140, 248, 0.6), rgba(34, 211, 238, 0.6));
}

.flow-line::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 2px;
  height: 8px;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  animation: pulse-down 1.8s linear infinite;
}

@keyframes pulse-down { to { transform: translateY(38px); } }

.mini-chat,
.doc-scan,
.spark-wrap,
.checks { margin-top: auto; }

.mini-chat {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
}

.bubble {
  max-width: 92%;
  margin: 0;
  padding: 8px 11px;
  line-height: 1.45;
}

.bubble-q {
  justify-self: end;
  border-radius: 12px 12px 4px 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.bubble-a {
  justify-self: start;
  border: 1px solid rgba(165, 180, 252, 0.18);
  border-radius: 12px 12px 12px 4px;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.16), rgba(34, 211, 238, 0.06));
  color: var(--text);
}

.cite {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(7, 8, 12, 0.6);
  color: var(--cyan-2);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.cite .icon { width: 11px; height: 11px; }

.doc-scan {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.doc {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 12px 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.doc-line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.w-80 { width: 80%; }
.w-70 { width: 70%; }
.w-55 { width: 55%; }
.w-40 { width: 40%; }

.doc-line.is-hit {
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.scan-beam {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 18px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.28), transparent);
  animation: scan 2.6s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateY(-18px); }
  50% { transform: translateY(64px); }
}

.doc-fields {
  display: grid;
  gap: 5px;
  list-style: none;
  font-size: 0.74rem;
}

.doc-fields li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.doc-fields span { color: var(--text-3); }

.doc-fields b {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spark { width: 100%; height: auto; overflow: visible; }
.spark-forecast { animation: dash 1.2s linear infinite; }

@keyframes dash { to { stroke-dashoffset: -8; } }

.spark-legend {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 0 0 8px;
  color: var(--text-3);
  font-size: 0.7rem;
}

.spark-legend span { display: inline-flex; align-items: center; gap: 6px; }

.spark-legend span::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
}

.spark-legend .lg-forecast::before { background: repeating-linear-gradient(90deg, var(--cyan) 0 4px, transparent 4px 7px); }

.checks {
  display: grid;
  gap: 6px;
  list-style: none;
  font-size: 0.78rem;
}

.checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
}

.checks b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.checks b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* ---------- Engineering services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 14px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.svc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.svc-head h3 { margin: 0; }

.svc-card > p {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 0.875rem;
}

.svc-card > .svc-ai {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.13), rgba(34, 211, 238, 0.03));
  color: var(--indigo-2);
  font-size: 0.8rem;
  font-weight: 500;
}

.svc-ai .icon { width: 14px; height: 14px; }

/* ---------- Process & engagement ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.step {
  position: relative;
  padding: 18px 4px 0 0;
  border-top: 1px solid var(--line-2);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15), 0 0 12px rgba(129, 140, 248, 0.7);
}

.step-num {
  display: block;
  margin-bottom: 6px;
  color: var(--indigo-2);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.step h3 { margin: 0 0 4px; font-size: 0.98rem; }
.step p { margin: 0; color: var(--text-2); font-size: 0.85rem; }

.engage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.engage-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.engage-card h3 { margin: 14px 0 6px; }

.engage-card p {
  margin: 0 0 14px;
  color: var(--text-2);
  font-size: 0.875rem;
}

.engage-card .text-link { margin-top: auto; }
.engage-card .badge { position: absolute; top: 18px; right: 18px; }

.engage-card.is-featured,
.engage-card.is-featured:hover {
  border-color: transparent;
  background:
    linear-gradient(180deg, #171926, #0e0f17) padding-box,
    linear-gradient(150deg, rgba(165, 180, 252, 0.6), rgba(34, 211, 238, 0.3) 50%, rgba(255, 255, 255, 0.06)) border-box;
}

/* ---------- Selected work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-card { padding: 18px 18px 6px; }

.work-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.work-title .icon { width: 16px; height: 16px; color: var(--indigo-2); }

.work-list { list-style: none; }

.work-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.work-list span { color: var(--text); font-weight: 500; }
.work-list small { color: var(--text-3); font-size: 0.74rem; text-align: right; }

.industry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  list-style: none;
}

.industry-list li {
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-3);
  font-size: 0.75rem;
}

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.why-item { display: flex; gap: 12px; }
.why-item h3 { margin: 4px 0 3px; font-size: 0.95rem; }
.why-item p { margin: 0; color: var(--text-2); font-size: 0.85rem; }

.team-card { padding: 20px 20px 18px; }

.team-title {
  margin: 0 0 4px;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-list { list-style: none; }

.team-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.team-role { margin: 0; color: #fff; font-size: 0.9rem; font-weight: 600; }
.team-meta { margin: 0; color: var(--text-3); font-size: 0.78rem; }
.team-more { margin: 14px 0 0; color: var(--text-2); font-size: 0.82rem; }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  position: relative;
  display: block;
  padding: 15px 36px 15px 0;
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 12px;
  height: 1.5px;
  background: var(--text-2);
  transition: transform 0.25s var(--ease), background-color 0.2s;
}

.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: #fff; }

.faq-item summary:hover::before,
.faq-item summary:hover::after { background: #fff; }

.faq-body p { margin: 0 0 16px; color: var(--text-2); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    radial-gradient(600px circle at 0% 0%, rgba(99, 102, 241, 0.16), transparent 50%) padding-box,
    radial-gradient(500px circle at 100% 100%, rgba(34, 211, 238, 0.1), transparent 50%) padding-box,
    linear-gradient(var(--bg-raise), var(--bg-raise)) padding-box,
    linear-gradient(150deg, rgba(165, 180, 252, 0.45), rgba(255, 255, 255, 0.06) 40%, rgba(34, 211, 238, 0.3)) border-box;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}

.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list p { margin: 0; font-size: 0.9rem; overflow-wrap: anywhere; }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: #fff; text-decoration: underline; }

.contact-list .ci-label {
  color: var(--text-3);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form { display: grid; gap: 12px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field { display: grid; gap: 6px; }
.field label { color: var(--text); font-size: 0.8rem; font-weight: 600; }
.req { color: var(--orange-2); }
.optional { color: var(--text-3); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(7, 8, 12, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field textarea { min-height: 104px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: #767e91; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.24); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background-color: rgba(7, 8, 12, 0.85);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background: rgba(7, 8, 12, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3AABA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}

.field select option { background: #0e1018; color: var(--text); }

.field input:user-invalid,
.field textarea:user-invalid { border-color: #f87171; }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note { margin: 0; color: var(--text-3); font-size: 0.76rem; }

.form-status { margin: 0; font-size: 0.875rem; font-weight: 600; }
.form-status:empty { display: none; }

.form-status.is-success,
.form-status.is-error {
  padding: 10px 12px;
  border: 1px solid;
  border-radius: 10px;
}

.form-status.is-success { border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.1); color: #6ee7b7; }
.form-status.is-error { border-color: rgba(248, 113, 113, 0.35); background: rgba(248, 113, 113, 0.1); color: #fca5a5; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--text-2);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-brand p { max-width: 300px; margin: 14px 0 16px; color: var(--text-3); }

.social { display: flex; gap: 8px; list-style: none; }

.social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-2);
}

.social a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); color: #fff; }
.social .icon { width: 16px; height: 16px; }

.footer-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links { display: grid; gap: 8px; list-style: none; }
.footer-links li { color: var(--text-3); overflow-wrap: anywhere; }
.footer-links a { color: var(--text-2); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.78rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; }
.footer-bottom-links a { color: var(--text-3); }
.footer-bottom-links a:hover { color: #fff; }

.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55);
  color: #fff;
  transition: transform 0.2s var(--ease);
}

.whatsapp-fab:hover { color: #fff; transform: scale(1.06); }
.whatsapp-fab .icon { width: 24px; height: 24px; }

/* ---------- Simple pages (privacy, thank you, 404, form errors) ---------- */
.simple-page {
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(48px, 8vw, 96px);
  background: radial-gradient(800px 420px at 50% -10%, rgba(99, 102, 241, 0.18), transparent 70%);
}

.center-page {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.prose { max-width: 720px; }
.prose h1 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem); }
.prose h2 { margin-top: 2em; font-size: 1.15rem; }
.prose p,
.prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--text); }
.prose .eyebrow { color: var(--indigo-2); }
.updated { color: var(--text-3); font-size: 0.85rem; }

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mini-footer {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8rem;
}

.mini-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.mini-footer p { margin: 0; }
.mini-footer a { color: var(--text-2); }
.mini-footer a:hover { color: #fff; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.6s var(--ease) var(--reveal-delay, 0ms),
    translate 0.6s var(--ease) var(--reveal-delay, 0ms),
    transform 0.3s var(--ease),
    border-color 0.3s;
}

.js [data-reveal].is-visible { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle .icon { width: 20px; height: 20px; }
  .nav-toggle .icon-close,
  .site-header.is-open .nav-toggle .icon-open { display: none; }
  .site-header.is-open .nav-toggle .icon-close { display: block; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-height: calc(100vh - var(--header-h));
    padding: 10px var(--gutter) 18px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.9);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }

  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { padding: 10px 12px; font-size: 0.95rem; }
  .nav-cta { width: 100%; }

  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .about-layout,
  .faq-layout,
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .stack-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .stack-title { text-align: center; }

  .bento,
  .bento-wide,
  .engage,
  .work-grid,
  .why-grid,
  .form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .steps,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .chip-a { right: 10px; }
  .chip-b { left: 10px; }
}

@media (max-width: 380px) {
  :root { --header-h: 56px; }
  .brand { gap: 7px; }
  .brand-mark { height: 22px; }
  .brand-name { font-size: 0.95rem; }
  .float-chip,
  .step-tool { display: none; }
  .agent-body { gap: 10px; padding: 12px; }
  .agent-steps,
  .agent-actions { padding-left: 0; }
  .bento-card,
  .svc-card,
  .engage-card,
  .team-card { padding: 16px; }
  .work-card { padding: 14px 14px 4px; }
  .work-list li { flex-direction: column; gap: 0; }
  .work-list small { text-align: left; }
  .stats li { padding: 12px 14px; }
  .whatsapp-fab { right: 12px; bottom: 12px; width: 42px; height: 42px; }
  .whatsapp-fab .icon { width: 21px; height: 21px; }
}

@media (max-width: 300px) {
  .header-simple .brand-name { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats li + li { border-top: 1px solid var(--line); border-left: 0; }
  .doc-scan { grid-template-columns: minmax(0, 1fr); }
  .doc { display: none; }
  .agent-head { padding: 9px 10px; }
  .agent-dots { display: none; }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] { opacity: 1; translate: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

@media (forced-colors: active) {
  .text-gradient { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}

@media print {
  html,
  body { background: #fff !important; color: #000 !important; }

  .site-header,
  .hero-bg,
  .hero-visual,
  .stack,
  .whatsapp-fab,
  .contact-form-card { display: none !important; }

  .js [data-reveal] { opacity: 1 !important; translate: none !important; }

  h1, h2, h3,
  .text-gradient { background: none !important; color: #000 !important; -webkit-text-fill-color: #000; }

  p, li, span, small, a { color: #222 !important; }

  .card,
  .contact-card,
  .stats,
  .site-footer { border-color: #ccc !important; background: none !important; box-shadow: none !important; }

  .hero,
  .section { padding-block: 16px !important; }
}
