/* ============================================================
   Ovado AI — Landing Page Styles
   ============================================================ */

:root {
  --bg: #f7f7f4;
  --bg-alt: #efefe9;
  --surface: #ffffff;
  --ink: #0c1622;
  --ink-soft: #45525f;
  --ink-faint: #7a8794;
  --line: #e3e3dc;
  --blue: #1490d8;
  --blue-deep: #0a5e94;
  --blue-dark: #073a5c;
  --blue-soft: #e3f2fb;
  --navy: #0a1420;
  --navy-2: #101f30;
  --grad: linear-gradient(120deg, #38b6f0 0%, #1490d8 45%, #0a5e94 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 8px 30px rgba(12, 22, 34, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 22, 34, 0.14);
  --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(12, 22, 34, 0.25);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn-blue {
  background: var(--grad);
  color: #fff;
}
.btn-blue:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--blue-soft); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Section labels & headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.eyebrow.on-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #b9c6d2;
}

h1, h2, h3 { font-family: var(--font-sans); line-height: 1.12; letter-spacing: -0.02em; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 600; margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.accent { color: var(--blue); }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(247, 247, 244, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(12, 22, 34, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-word {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.logo-word span { color: var(--blue); }
.footer .logo-word, .logo-word.light { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a .chev { font-size: 10px; opacity: 0.6; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: 0.3s;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 170px 0 90px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(56, 182, 240, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(10, 94, 148, 0.08), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 14px;
}
.hero-note {
  font-size: 15.5px;
  color: var(--ink-faint);
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero diagram */
.hero-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-width: 560px;
  margin-left: auto;
}
.hero-diagram svg.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-diagram svg.links line {
  stroke: rgba(20, 144, 216, 0.28);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}
.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.core-chip {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  background: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px rgba(10, 20, 32, 0.35), 0 0 0 8px rgba(20, 144, 216, 0.08);
  animation: corePulse 3.5s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 20px 50px rgba(10, 20, 32, 0.35), 0 0 0 8px rgba(20, 144, 216, 0.08); }
  50% { box-shadow: 0 20px 50px rgba(10, 20, 32, 0.35), 0 0 0 16px rgba(20, 144, 216, 0.04); }
}
.core-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
}
.sat-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 130px;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.sat-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--blue-deep);
}
.sat-node strong { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.sat-node small { font-size: 12px; color: var(--ink-faint); line-height: 1.3; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust p {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.marquee { overflow: hidden; position: relative; }
.marquee-full {
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ============================================================
   Platform overview
   ============================================================ */
.overview { padding: 110px 0 90px; }
.overview-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 70px;
}
.overview-intro h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.overview-intro .copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 16.5px; }
.overview-intro .copy p strong { color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-deep);
}
.step-card h3 { font-size: 21px; font-weight: 600; }
.step-card p { color: var(--ink-soft); font-size: 15px; flex-grow: 1; }
.step-tag {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-soft);
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ============================================================
   Capabilities (tabs)
   ============================================================ */
.capabilities { padding: 100px 0; background: var(--navy); color: #eaf1f7; }
.capabilities .section-head h2 { color: #fff; }
.capabilities .section-head p { color: #9fb0be; }

.cap-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.cap-tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #b9c6d2;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.cap-tab:hover { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cap-tab.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 144, 216, 0.35);
}

.cap-panel { display: none; }
.cap-panel.active { display: grid; animation: fadeUp 0.45s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.cap-panel {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.cap-kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38b6f0;
  margin-bottom: 14px;
}
.cap-panel h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: #fff; margin-bottom: 18px; }
.cap-panel > div > p { color: #9fb0be; font-size: 16.5px; margin-bottom: 26px; max-width: 480px; }
.cap-checks { display: flex; flex-direction: column; gap: 12px; }
.cap-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: #d5dfe8;
}
.cap-checks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 182, 240, 0.15);
  color: #38b6f0;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cap-stat {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.cap-stat .num {
  font-family: var(--font-sans);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.cap-stat .lbl { color: #9fb0be; font-size: 14px; margin-top: 8px; }

/* ============================================================
   Use cases
   ============================================================ */
.usecases { padding: 110px 0; }
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.uc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.uc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 144, 216, 0.35);
}
.uc-stat { display: flex; align-items: baseline; gap: 10px; }
.uc-stat .num {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 600;
  color: var(--blue-deep);
}
.uc-stat .lbl { font-size: 13px; color: var(--ink-faint); line-height: 1.3; }
.uc-card h3 { font-size: 20px; font-weight: 600; }
.uc-card > p { font-size: 14.5px; color: var(--ink-soft); }
.uc-list { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.uc-list li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.uc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad);
}
.uc-link {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.uc-link:hover { gap: 10px; }
.uc-link { transition: gap 0.2s ease; }

/* ============================================================
   Foundation
   ============================================================ */
.foundation { padding: 100px 0; background: var(--bg-alt); }
.found-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}
.found-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  gap: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.found-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.found-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
}
.found-card .kicker {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-deep);
  margin-bottom: 6px;
}
.found-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.found-card p { font-size: 14.5px; color: var(--ink-soft); }

.certs {
  text-align: center;
  padding-top: 20px;
}
.certs .certs-label {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-bottom: 24px;
}
.cert-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
}
.cert-badge svg { color: var(--blue-deep); }

/* ============================================================
   Integrations
   ============================================================ */
.integrations { padding: 110px 0; }
.int-diagram {
  position: relative;
  max-width: 900px;
  margin: 0 auto 44px;
}
.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.int-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.int-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(20, 144, 216, 0.4); }
.int-cell .cat {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
  margin-bottom: 6px;
}
.int-cell .names { font-size: 14px; color: var(--ink-soft); }
.int-core {
  grid-column: 2 / 4;
  background: var(--navy);
  color: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px;
}
.int-core .cat { color: #38b6f0; }
.int-core .core-title { font-family: var(--font-sans); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; }
.int-foot { text-align: center; }
.int-foot p {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 22px;
}
.int-foot p span { color: var(--blue-deep); }

/* ============================================================
   Deployment
   ============================================================ */
.deployment { padding: 100px 0; background: var(--bg-alt); }
.dep-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.dep-tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.dep-tab:hover { border-color: var(--blue); color: var(--blue-deep); }
.dep-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.dep-panel { display: none; }
.dep-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  animation: fadeUp 0.45s ease;
}
.dep-panel h3 { font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.dep-panel > div > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }
.dep-flow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.dep-zone {
  border: 1.5px dashed rgba(20, 144, 216, 0.5);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  margin-bottom: 16px;
}
.dep-zone .zone-label {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--surface);
  padding: 0 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-deep);
}
.dep-boxes { display: flex; flex-wrap: wrap; gap: 10px; }
.dep-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.dep-box.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.dep-banner {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 10px;
  padding: 10px;
}

/* ============================================================
   Workflows
   ============================================================ */
.workflows { padding: 110px 0; }
.wf-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.wf-tab {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.wf-tab:hover { border-color: var(--blue); color: var(--blue-deep); }
.wf-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(20, 144, 216, 0.3); }

.wf-panel { display: none; }
.wf-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  animation: fadeUp 0.45s ease;
}

.chat-mock {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}
.chat-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.chat-head .dot.r { background: #ff6b6b; }
.chat-head .dot.y { background: #f7c948; }
.chat-head .dot.g { background: #51cf80; }
.chat-head span {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9fb0be;
}
.chat-body { display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.msg.user {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg.bot {
  align-self: flex-start;
  background: var(--navy-2);
  color: #d5dfe8;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 4px;
}
.msg.sys {
  align-self: center;
  background: rgba(56, 182, 240, 0.1);
  color: #38b6f0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 7px 16px;
}
.wf-detail h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 600; margin-bottom: 16px; }
.wf-detail > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }
.wf-checks { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.wf-checks li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--ink-soft);
}
.wf-checks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.wf-channels { display: flex; gap: 10px; flex-wrap: wrap; }
.wf-channels .chip { background: var(--surface); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 0; background: var(--bg-alt); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: rgba(20, 144, 216, 0.4); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--blue-deep);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--blue-soft);
  border-color: transparent;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 700px;
}
.faq-foot { text-align: center; margin-top: 36px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 110px 0; }
.cta-box {
  background:
    radial-gradient(700px 300px at 80% -20%, rgba(56, 182, 240, 0.25), transparent 60%),
    radial-gradient(500px 300px at 10% 120%, rgba(20, 144, 216, 0.18), transparent 60%),
    var(--navy);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cta-box h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto 18px;
}
.cta-box p {
  color: #9fb0be;
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ============================================================
   Insights
   ============================================================ */
.insights { padding: 0 0 110px; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.ins-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ins-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ins-visual {
  height: 170px;
  background: var(--grad);
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
}
.ins-visual.v2 { background: linear-gradient(120deg, #0a5e94, #073a5c); }
.ins-visual.v3 { background: linear-gradient(120deg, #12283c, #0a1420); }
.ins-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.ins-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-sans); font-weight: 600; }
.ins-meta .tag { background: var(--blue-soft); color: var(--blue-deep); padding: 4px 12px; border-radius: 999px; }
.ins-card h3 { font-size: 18.5px; font-weight: 600; line-height: 1.35; }
.ins-card .desc { font-size: 14px; color: var(--ink-soft); flex-grow: 1; }
.ins-foot { text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy);
  color: #b9c6d2;
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 36px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p { font-size: 14.5px; color: #8494a3; margin: 18px 0 24px; max-width: 300px; }
.footer-brand p.footer-contact {
  font-size: 13px;
  line-height: 1.7;
  margin: -6px 0 22px;
}
.footer-contact a { color: #b9c6d2; font-weight: 600; }
.footer-contact a:hover { color: #38b6f0; }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: #8494a3; transition: color 0.2s ease; }
.footer-col a:hover { color: #38b6f0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 30px;
  font-size: 13.5px;
  color: #61707e;
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #38b6f0; }

/* ============================================================
   Nav dropdowns
   ============================================================ */
.has-dd { position: relative; display: inline-flex; }
.dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.has-dd::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.has-dd:hover .dd-menu,
.has-dd:focus-within .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dd-menu a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.dd-menu a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.dd-menu.mega {
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  padding: 20px 22px;
}
.dd-col { display: flex; flex-direction: column; gap: 2px; min-width: 168px; }
.dd-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 4px 14px 10px;
}
.dd-col a { padding: 8px 14px; font-size: 14px; }
.dd-menu.mega { left: -60px; transform: translateY(8px); }
.has-dd:hover .dd-menu.mega,
.has-dd:focus-within .dd-menu.mega { transform: translateY(0); }

/* Nested sub-menu: expands inline beneath its parent on hover */
.dd-sub { display: flex; flex-direction: column; }
.dd-sub > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dd-sub > a .sub-chev {
  font-size: 11px;
  opacity: 0.55;
  transition: transform 0.18s ease;
}
.dd-sub:hover > a .sub-chev { transform: rotate(90deg); }
.dd-sub-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--blue-soft);
  padding: 2px 0 2px 12px;
  margin: 2px 0 4px 12px;
}
.dd-sub:hover .dd-sub-menu,
.dd-sub:focus-within .dd-sub-menu {
  display: flex;
}
.dd-sub-menu a { font-size: 13.5px; }

/* ============================================================
   Inner pages
   ============================================================ */
.page-hero {
  padding: 160px 0 70px;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(56, 182, 240, 0.14), transparent 60%),
    radial-gradient(600px 380px at -10% 40%, rgba(10, 94, 148, 0.08), transparent 60%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 600; margin-bottom: 20px; max-width: 800px; }
.page-hero .lead { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin-bottom: 30px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.page-hero .hero-actions { margin-top: 4px; }
.page-hero.center .hero-actions { justify-content: center; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 44px 0;
}
.stat-band .stat { text-align: center; }
.stat-band .num {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-band .lbl { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }

/* Values / feature grids */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Grid variants for non-multiples-of-three card counts */
.values-grid.grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin-inline: auto;
}
.values-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.values-grid.center-last,
.steps.center-last {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.values-grid.center-last > article,
.steps.center-last > article {
  flex: 0 1 calc((100% - 44px) / 3);
}
@media (max-width: 1024px) {
  .values-grid.grid-4, .steps.steps-4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid.center-last > article,
  .steps.center-last > article { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 720px) {
  .values-grid.grid-2x2, .values-grid.grid-4, .steps.steps-4 { grid-template-columns: 1fr; }
  .values-grid.center-last > article,
  .steps.center-last > article { flex-basis: 100%; }
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card .v-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--ink-soft); }

/* Timeline */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, #4cc4f5, #0a5e94);
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--blue);
}
.tl-item .tl-year {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-deep);
}
.tl-item h3 { font-size: 19px; font-weight: 600; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: 15px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
}
.team-card .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.team-card h3 { font-size: 17px; font-weight: 600; }
.team-card .role { font-size: 13.5px; color: var(--blue-deep); font-family: var(--font-sans); font-weight: 600; margin-top: 4px; }
.team-card p { font-size: 13.5px; color: var(--ink-faint); margin-top: 10px; }

/* Solutions deep dive */
.sol-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.sol-row:last-child { border-bottom: none; }
.sol-row.flip .sol-visual { order: 2; }
.sol-kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 12px;
}
.sol-row h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; margin-bottom: 14px; }
.sol-row .sol-copy > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }
.sol-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.sol-visual .sv-head {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.sv-rows { display: flex; flex-direction: column; gap: 10px; }
.sv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}
.sv-row .sv-label { font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
.sv-row .sv-val { color: var(--blue-deep); font-family: var(--font-sans); font-weight: 700; font-size: 13px; }
.sv-row.done { border-color: rgba(20, 144, 216, 0.4); background: var(--blue-soft); }

/* Roles / careers */
.role-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  flex-wrap: wrap;
}
.role-item:hover { border-color: rgba(20, 144, 216, 0.45); box-shadow: var(--shadow); transform: translateY(-2px); }
.role-item h3 { font-size: 18px; font-weight: 600; }
.role-meta { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.role-meta span {
  font-size: 12.5px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; margin-bottom: 16px; }
.contact-info > p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 30px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.contact-card .c-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
}
.contact-card h3 { font-size: 15.5px; font-weight: 600; }
.contact-card p, .contact-card a.link { font-size: 14px; color: var(--ink-soft); }
.contact-card a.link { color: var(--blue-deep); font-weight: 600; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 144, 216, 0.12);
}
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 16px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  padding: 14px 18px;
}
.form-success.show { display: block; }

/* Resource cards reuse ins-card; category filter chips */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }

/* Partner tiers */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Comparison cards (Traditional vs Ovado) */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.compare-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--ink-faint);
}
.compare-card.good {
  border-color: rgba(20, 144, 216, 0.45);
  box-shadow: var(--shadow);
}
.compare-card.good h3 { color: var(--blue-deep); }
.x-checks { display: flex; flex-direction: column; gap: 12px; }
.x-checks li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--ink-soft);
}
.x-checks li::before {
  content: "✕";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fbeaea;
  color: #c0392b;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Code / terminal cards */
.code-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.code-card .c-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-card .c-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.code-card .c-head span.title {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9fb0be;
}
.code-card pre {
  margin: 0;
  padding: 22px 26px;
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.75;
  color: #d5dfe8;
  overflow-x: auto;
}
.code-card .tk { color: #4cc4f5; }
.code-card .ts { color: #b8e28c; }
.code-card .ok { color: #51cf80; }
.code-card .cm { color: #61707e; }

/* Stack layers (architecture) */
.layer-stack { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.layer-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.layer-row:hover { border-color: rgba(20, 144, 216, 0.45); box-shadow: var(--shadow); }
.layer-row .l-num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-deep);
  padding-top: 3px;
}
.layer-row h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.layer-row p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 12px; }
.layer-row .l-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.layer-row .l-chips span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Horizontal flow strip */
.flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 940px;
  margin: 0 auto;
}
.flow-strip .f-node {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.flow-strip .f-node.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.flow-strip .f-arrow { color: var(--blue); font-size: 18px; font-weight: 700; }

@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; }
  .layer-row { grid-template-columns: 1fr; gap: 8px; }
}

/* Breadcrumb-ish page label */
.page-hero .eyebrow { margin-bottom: 26px; }

@media (max-width: 1024px) {
  .values-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-row, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .sol-row.flip .sol-visual { order: 0; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .values-grid, .partner-grid, .team-grid, .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 130px; }

  /* Dropdowns become tap-to-expand accordions inside the mobile menu */
  .main-nav .has-dd { flex-direction: column; width: 100%; }
  .main-nav .has-dd > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .dd-menu,
  .dd-menu.mega {
    display: none;
    position: static;
    left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    min-width: 0;
    padding: 6px 0 6px 14px;
    margin-top: 10px;
    flex-direction: column;
    gap: 2px;
  }
  .has-dd.open .dd-menu,
  .has-dd.open .dd-menu.mega {
    display: flex;
    transform: none;
  }
  .dd-menu.mega { gap: 14px; }
  .dd-col { min-width: 0; }
  .dd-label { padding-left: 0; }
  .dd-menu a, .dd-col a { padding: 8px 10px; white-space: normal; }
  .dd-sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--blue-soft);
    border-radius: 0;
    min-width: 0;
    padding: 2px 0 2px 12px;
    margin: 2px 0 4px 10px;
  }
  .dd-sub::after { display: none; }
  .dd-sub > a .sub-chev { display: none; }
}

/* ============================================================
   404 page
   ============================================================ */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(56, 182, 240, 0.14), transparent 60%),
    var(--bg);
}
.ty-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  animation: corePulse 3.5s ease-in-out infinite;
}
.notfound .code404 {
  font-family: var(--font-sans);
  font-size: clamp(96px, 18vw, 200px);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.notfound h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 600; margin-bottom: 14px; }
.notfound p { color: var(--ink-soft); font-size: 17px; max-width: 480px; margin-bottom: 32px; }
.notfound .nf-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.notfound .nf-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   Cookie notice
   ============================================================ */
.cookie-note {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 480;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(12, 22, 34, 0.18);
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.cookie-note a { color: var(--blue-deep); font-weight: 600; }
.cookie-note .cn-actions { margin-top: 12px; }
.cookie-note button {
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.cookie-note button:hover { background: var(--blue-deep); }
@media (max-width: 480px) {
  .cookie-note { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ============================================================
   Chatbot widget
   ============================================================ */
.ovbot-launcher {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 500;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(20, 144, 216, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ovbot-launcher:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 40px rgba(20, 144, 216, 0.55); }
.ovbot-launcher svg { transition: opacity 0.2s ease; }
.ovbot-launcher .ic-close { display: none; }
.ovbot-open .ovbot-launcher .ic-chat { display: none; }
.ovbot-open .ovbot-launcher .ic-close { display: block; }

.ovbot-panel {
  position: fixed;
  bottom: 102px;
  right: 26px;
  z-index: 500;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 130px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(12, 22, 34, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.ovbot-open .ovbot-panel { opacity: 1; visibility: visible; transform: none; }

.ovbot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--navy);
  color: #fff;
}
.ovbot-head .ov-ring { flex-shrink: 0; }
.ovbot-head .t { font-family: var(--font-sans); font-weight: 600; font-size: 15.5px; }
.ovbot-head .s { font-size: 12px; color: #9fb0be; display: flex; align-items: center; gap: 6px; }
.ovbot-head .s::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #51cf80; }

.ovbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}
.ovbot-msg {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.ovbot-msg.bot {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.ovbot-msg.user {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ovbot-msg.bot a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; }
.ovbot-msg.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.ovbot-msg.typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint);
  animation: ovbotDot 1.2s infinite ease-in-out;
}
.ovbot-msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.ovbot-msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ovbotDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

.ovbot-chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.ovbot-chip {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  transition: background 0.2s ease;
}
.ovbot-chip:hover { background: #cfe8f8; }

.ovbot-input {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.ovbot-input input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  outline: none;
}
.ovbot-input input:focus { border-color: var(--blue); }
.ovbot-input button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.ovbot-input button:hover { transform: scale(1.08); }

@media (max-width: 480px) {
  .ovbot-panel { right: 16px; bottom: 94px; height: 70vh; }
  .ovbot-launcher { right: 16px; bottom: 16px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-diagram { margin: 30px auto 0; }
  .overview-intro { grid-template-columns: 1fr; gap: 24px; }
  .steps, .uc-grid, .ins-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-panel, .dep-panel.active, .wf-panel.active { grid-template-columns: 1fr; gap: 36px; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .int-core { grid-column: 1 / 3; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .main-nav.open > a {
    width: 100%;
    justify-content: flex-start;
  }
  .steps, .uc-grid, .ins-grid, .found-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .cta-box { padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
