/* ideasbd — Mistral-inspired editorial layout */
:root {
  --bg: #0f172a;
  --bg-deep: #0b1220;
  --surface: rgba(30, 41, 59, 0.45);
  --border: rgba(148, 163, 184, 0.1);
  --border-hover: rgba(148, 163, 184, 0.22);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --blue: #38bdf8;
  --violet: #a78bfa;
  --gradient-hero: linear-gradient(135deg, #f97316 0%, #fb923c 40%, #fdba74 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(249, 115, 22, 0.12), transparent);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1200px, 100% - 2.5rem);
  --container-narrow: min(720px, 100% - 2rem);
  --mega-bg: rgba(250, 248, 243, 0.94);
  --mega-text: #1c1917;
  --mega-muted: #57534e;
  --mega-border: rgba(28, 25, 23, 0.08);
  --mega-hover: rgba(249, 115, 22, 0.08);
  /* Mobile nav: opaque base (fixes transparent menus on Android Chrome) + layering */
  --nav-mobile-bg-solid: rgb(2, 6, 23);
  --nav-mobile-bg: rgba(2, 6, 23, 0.98);
  --nav-menu-overlay: rgba(2, 6, 23, 0.72);
  /* Must stay below chat float widgets (2147483xxx) */
  --z-nav-backdrop: 2147482000;
  --z-nav-drawer: 2147482100;
  --z-header-mobile: 2147482200;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img,
video {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container-wide {
  width: var(--container);
  margin-inline: auto;
}

.container-narrow {
  width: var(--container-narrow);
  margin-inline: auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 0% -30%, rgba(249, 115, 22, 0.08), transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 10%, rgba(56, 189, 248, 0.06), transparent 50%),
    var(--bg);
}

.page-bg--motion {
  background: transparent;
}

.page-bg__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.page-bg__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 95% 75% at 0% -25%, rgba(249, 115, 22, 0.08), transparent 52%),
    radial-gradient(ellipse 80% 60% at 100% 12%, rgba(56, 189, 248, 0.08), transparent 48%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(34, 211, 238, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.76) 0%, rgba(15, 23, 42, 0.82) 45%, rgba(15, 23, 42, 0.88) 100%);
}

main,
.header,
.footer {
  position: relative;
  z-index: 1;
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s, background 0.3s;
}

.header--scrolled {
  border-bottom-color: var(--border);
  background: rgba(15, 23, 42, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  z-index: 102;
}

.logo__glyph {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient-hero);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.35);
}

.logo--footer .logo__glyph {
  width: 24px;
  height: 24px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 102;
}

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav.nav--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.nav--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.nav--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__drawer {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link--btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: var(--text-muted);
}

.nav__link--btn:hover,
.nav__link--btn[aria-expanded="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav__chev {
  display: inline-block;
  width: 10px;
  height: 8px;
  background: var(--accent);
  clip-path: polygon(15% 0, 85% 0, 100% 35%, 50% 100%, 0 35%);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.nav__link--btn[aria-expanded="true"] .nav__chev {
  transform: rotate(180deg);
}

.nav__item--mega {
  position: static;
}

@media (min-width: 901px) {
  .nav__item--mega {
    position: relative;
  }
}

.nav__accordion {
  display: none;
}

.nav__accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  border: 1px solid var(--border-hover);
}

.nav__accordion-summary::-webkit-details-marker {
  display: none;
}

.nav__accordion-body {
  padding: 0.5rem 0 1rem 0.75rem;
  border-left: 2px solid var(--accent-soft);
  margin-left: 0.5rem;
}

.nav__accordion-sub {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0.75rem 0 0.35rem;
}

.nav__accordion-body a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav__accordion-body a:hover {
  color: var(--accent);
}

/* Mega menu (light panel, Mistral-style) */
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--mega-border);
  background: var(--mega-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  animation: mega-in 0.35s var(--ease);
}

.mega.is-open {
  display: block;
}

@keyframes mega-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.55fr 0.55fr;
  gap: 0;
  padding-top: 1.5rem;
}

@media (max-width: 1000px) {
  .mega__inner {
    grid-template-columns: 1fr 1fr;
  }

  .mega__col--pricing {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--mega-border);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
  }
}

.mega__col {
  padding: 0 1.5rem;
  border-left: 1px solid var(--mega-border);
}

.mega__col:first-child {
  border-left: none;
  padding-left: 0;
}

.mega__inner--solutions {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
  .mega__inner--solutions {
    grid-template-columns: 1fr;
  }

  .mega__inner--solutions .mega__col {
    border-left: none;
    border-top: 1px solid var(--mega-border);
    padding-top: 1.25rem;
    margin-top: 0.25rem;
    padding-left: 0;
  }

  .mega__inner--solutions .mega__col:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
}

.mega__sol {
  display: block;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--mega-border);
  color: inherit;
  transition: background 0.2s;
}

.mega__sol:hover {
  background: var(--mega-hover);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 8px;
}

.mega__sol-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mega-text);
}

.mega__foot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--mega-text);
  transition: color 0.2s;
}

.mega__foot:hover {
  color: #ea580c;
}

.mega__arrow--accent {
  border-color: var(--accent);
  opacity: 1;
}

.mega__link--soft {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 0;
}

/* Research mega — Latest models + For developers */
.mega__inner--research {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 0;
  padding-top: 1.5rem;
}

.mega__col--models {
  padding-right: 1.5rem;
}

.mega__col--dev {
  border-left: 1px solid var(--mega-border);
  padding-left: 2rem;
}

.mega__inner--research > .mega__col--models:first-child {
  border-left: none;
  padding-left: 0;
}

@media (max-width: 1000px) {
  .mega__inner--research {
    grid-template-columns: 1fr;
  }

  .mega__col--dev {
    border-left: none;
    border-top: 1px solid var(--mega-border);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    padding-left: 0;
  }
}

.mega__model {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--mega-border);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}

.mega__model:hover {
  background: var(--mega-hover);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 8px;
}

.mega__model-name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mega-text);
}

.mega__pixel {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(28, 25, 23, 0.08),
    3px 3px 0 rgba(28, 25, 23, 0.06);
}

.mega__pixel--blossom {
  background: linear-gradient(145deg, #fbcfe8 35%, #ec4899 100%);
}

.mega__pixel--peak {
  background: linear-gradient(165deg, #7dd3fc 0%, #1d4ed8 100%);
}

.mega__pixel--voice {
  background: linear-gradient(135deg, #ddd6fe 0%, #6366f1 100%);
}

.mega__pixel--edge {
  background: linear-gradient(145deg, #bbf7d0 0%, #15803d 100%);
}

.mega__dev-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mega-text);
  border-bottom: 1px solid var(--mega-border);
  transition: color 0.2s;
}

.mega__dev-link:last-child {
  border-bottom: none;
}

.mega__dev-link:hover {
  color: #ea580c;
}

.mega__ext {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--mega-muted);
  opacity: 0.65;
}

.mega__dev-link:hover .mega__ext {
  opacity: 1;
  color: var(--accent);
}

/* Blog mega — Latest posts + Categories */
.mega__inner--blog {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  padding-top: 1.5rem;
}

.mega__col--posts {
  padding-right: 1.5rem;
}

.mega__col--cats {
  border-left: 1px solid var(--mega-border);
  padding-left: 2rem;
}

.mega__inner--blog > .mega__col--posts:first-child {
  border-left: none;
  padding-left: 0;
}

@media (max-width: 1000px) {
  .mega__inner--blog {
    grid-template-columns: 1fr;
  }

  .mega__col--cats {
    border-left: none;
    border-top: 1px solid var(--mega-border);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    padding-left: 0;
  }
}

.mega__post {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--mega-border);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  color: var(--mega-text);
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mega__post:hover {
  background: var(--mega-hover);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 8px;
  color: #0c0a09;
}

.mega__post .mega__arrow {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.mega__post:hover .mega__arrow {
  transform: translateX(4px);
}

.mega__cat-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mega-muted);
  border-bottom: 1px solid var(--mega-border);
  text-decoration: none;
  transition: color 0.2s;
}

.mega__cat-link:last-child {
  border-bottom: none;
}

.mega__cat-link:hover {
  color: var(--mega-text);
}

/* Company mega — Who we are + Connect */
.mega__inner--company {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  padding-top: 1.5rem;
}

.mega__col--company-who {
  padding-right: 1.5rem;
}

.mega__col--company-who .mega__post:last-of-type {
  border-bottom: none;
}

.mega__col--company-connect {
  border-left: 1px solid var(--mega-border);
  padding-left: 2rem;
}

.mega__inner--company > .mega__col--company-who:first-child {
  border-left: none;
  padding-left: 0;
}

.mega__connect-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mega-text);
  text-decoration: none;
  transition: color 0.2s;
}

.mega__connect-link:hover {
  color: var(--accent);
}

.mega__connect-link .mega__ext {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
}

.mega__connect-link:hover .mega__ext {
  opacity: 1;
  color: var(--accent);
}

@media (max-width: 1000px) {
  .mega__inner--company {
    grid-template-columns: 1fr;
  }

  .mega__col--company-connect {
    border-left: none;
    border-top: 1px solid var(--mega-border);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    padding-left: 0;
  }
}

/* Blog page (dark layout) */
.blog-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.blog-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.blog-hero__lead {
  margin: 0;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr min(280px, 32%);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 3rem) 0 4rem;
}

@media (max-width: 800px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    order: -1;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
}

.blog-posts__label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.blog-posts__label--offset {
  margin-top: 2.5rem;
}

#all-posts {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.blog-sidebar__label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.blog-cat {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.blog-cat:hover,
.blog-cat.is-active {
  color: var(--accent);
}

.blog-sidebar__note {
  margin-top: 1.5rem;
}

.blog-post-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s, border-color 0.2s;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.blog-post-row:hover {
  color: var(--accent);
  border-bottom-color: rgba(249, 115, 22, 0.35);
}

.blog-post-row[hidden] {
  display: none;
}

.blog-post-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.blog-post-row__meta {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-post-row__chev {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  opacity: 0.75;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.blog-post-row:hover .blog-post-row__chev {
  transform: rotate(-45deg) translateX(5px);
  opacity: 1;
}

.blog-read-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.25s var(--ease);
}

.blog-read-all:hover {
  gap: 0.75rem;
}

.blog-read-all .mega__arrow--accent {
  margin-top: 1px;
}

/* Research page — model spotlight rows */
.research-model-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.research-model-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.research-model-row:last-child {
  border-bottom: none;
}

.research-model-row__body {
  flex: 1;
  min-width: 0;
}

.research-model-row__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.research-model-row__meta {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.research-model-row__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
}

.research-model-row .bullet-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.research-model-row .bullet-list li {
  margin-bottom: 0.4rem;
}

.dev-panel {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.35);
  max-width: 720px;
}

.dev-panel__title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.dev-panel p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mega__label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mega-muted);
}

.mega__item {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mega-border);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}

.mega__item:first-of-type {
  padding-top: 0;
}

.mega__item:last-child {
  border-bottom: none;
}

.mega__item:hover {
  background: var(--mega-hover);
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 8px;
}

.mega__item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mega-text);
  margin: 0 0 0.25rem;
}

.mega__arrow {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  opacity: 0.85;
}

.mega__item-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--mega-muted);
}

.mega__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mega-text);
  border-bottom: 1px solid var(--mega-border);
  transition: color 0.2s;
}

.mega__link:last-child {
  border-bottom: none;
}

.mega__link:hover {
  color: var(--accent);
}

.mega__link .mega__arrow {
  width: 6px;
  height: 6px;
}

@media (max-width: 900px) {
  .mega {
    display: none !important;
  }

  .nav__item--mega {
    display: none;
  }

  .nav__accordion {
    display: block;
    margin-bottom: 0.5rem;
  }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--nav-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.btn--nav-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn--nav-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg);
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn--nav-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  /*
   * CRITICAL: backdrop-filter on .header makes position:fixed descendants use the header as
   * their containing block (Chrome/Android). The drawer then collapses and links float over the page.
   * Mobile header = solid color only, no filter/blur.
   */
  .header {
    z-index: var(--z-header-mobile) !important;
    position: sticky;
    top: 0;
    background-color: var(--nav-mobile-bg-solid) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.18);
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header--scrolled {
    background-color: var(--nav-mobile-bg-solid) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav {
    position: relative;
    z-index: 1;
  }

  .logo,
  .nav__toggle {
    position: relative;
    z-index: 2;
  }

  .nav__toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Full-width solid sheet below header (covers hero; no narrow side panel) */
  .nav__drawer {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.25rem max(1rem, env(safe-area-inset-right, 0px)) max(1.25rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
    gap: 1rem;
    background-color: rgb(2, 6, 23) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-left: none;
    box-shadow: none;
    transform: translateY(-120%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    z-index: var(--z-nav-drawer);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    min-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    touch-action: manipulation;
  }

  .nav.nav--open .nav__drawer {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    padding: 0.9rem 1rem;
    text-align: center;
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f1f5f9 !important;
    font-size: 1.05rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  .nav__link--btn {
    color: #f1f5f9 !important;
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
  }

  .nav__accordion-summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
  }

  .nav__accordion-body a {
    color: #cbd5e1 !important;
  }

  .nav__actions {
    flex-direction: column;
    margin-top: auto;
    padding-top: 0.5rem;
  }

  .btn--nav-ghost,
  .btn--nav-solid {
    width: 100%;
    padding: 0.9rem 1rem;
    min-height: 48px;
    touch-action: manipulation;
    justify-content: center;
  }
}

/* ——— Hero ——— */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  border-bottom: 1px solid var(--border);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 42%);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.hero__copy {
  max-width: 640px;
}

.hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(90deg, var(--text) 0%, var(--text) 35%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__micro {
  margin: 0;
  font-size: 0.9rem;
}

.hero__micro-link {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.hero__micro-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.hero__figure {
  margin: 0;
  border-radius: 1.125rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 80px rgba(56, 189, 248, 0.08);
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 36rem;
    margin-inline: auto;
  }
}

.is-home .footer {
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Buttons global */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}

.btn--primary {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  color: var(--bg);
  background: var(--text);
  border: 1px solid var(--text);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.btn--secondary {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-hover);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 24px var(--accent-soft);
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

/* ——— Customers strip ——— */
.customers {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.customers__label {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.customers__track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.customers__logo {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, color 0.25s;
}

.customers__logo:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* ——— Pillars ——— */
.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.pillars__head {
  max-width: 900px;
  margin-bottom: 3rem;
}

.pillars__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pillars__title em {
  font-style: normal;
  color: var(--accent);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .pillars__grid {
    grid-template-columns: 1fr;
  }
}

.pillar {
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.pillar:hover {
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25), 0 0 40px var(--accent-soft);
}

.pillar__flag {
  display: block;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.pillar__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.pillar__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ——— Capabilities (Mistral-style rows) ——— */
.capabilities {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.capabilities__section-title {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 720px;
}

.cap-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.cap-block:last-child {
  margin-bottom: 0;
}

.cap-block--img-left .cap-block__text {
  order: 2;
}

.cap-block--img-left .cap-block__media {
  order: 1;
}

@media (max-width: 900px) {
  .cap-block,
  .cap-block--img-left .cap-block__text,
  .cap-block--img-left .cap-block__media {
    grid-template-columns: 1fr;
    order: unset;
  }

  .cap-block--img-left .cap-block__media {
    order: -1;
  }
}

.cap-block__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cap-block__desc {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cap-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
}

.cap-list__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border-radius: 4px;
  background: var(--accent);
  position: relative;
}

.cap-list__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cap-block__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  transition: gap 0.2s;
}

.cap-block__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cap-block__media {
  border-radius: 20px;
  border: 1px solid var(--border-hover);
  min-height: 220px;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.4));
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.cap-mock-chat {
  width: 100%;
  max-width: 320px;
}

.cap-mock-chat__bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.cap-mock-chat__bubble--user {
  margin-left: 2rem;
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.25);
}

.cap-mock-flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cap-mock-flow__node {
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.cap-mock-flow__node--hot {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.cap-mock-flow__arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cap-mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  width: 100%;
  max-width: 280px;
}

.cap-mock-bars span {
  flex: 1;
  height: var(--h);
  min-height: 8%;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent), #ea580c);
  opacity: 0.9;
  animation: bar-glow 3s ease-in-out infinite;
}

.cap-mock-bars span:nth-child(odd) {
  animation-delay: 0.3s;
}

@keyframes bar-glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

.cap-mock-code {
  margin: 0;
  width: 100%;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.cap-mock-code code {
  color: var(--blue);
}

/* ——— Platform band ——— */
.platform-band__title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.platform-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .platform-band__grid {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  display: block;
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.35);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.platform-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.platform-card--accent {
  border-color: rgba(249, 115, 22, 0.35);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.1), rgba(30, 41, 59, 0.4));
}

.platform-card--accent:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-soft);
}

.platform-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.platform-card__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.platform-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ——— Demo (console mock) ——— */
.demo {
  border-bottom: 1px solid var(--border);
}

.demo__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .demo__layout {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.demo__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
}

.demo__desc {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.demo__list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.demo__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mock-window {
  border-radius: 16px;
  border: 1px solid var(--border-hover);
  background: rgba(11, 18, 32, 0.9);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.mock-window__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: rgba(30, 41, 59, 0.95);
  border-bottom: 1px solid var(--border);
}

.mock-window__chrome span:nth-child(1) {
  background: #f87171;
}

.mock-window__chrome span:nth-child(2) {
  background: #fbbf24;
}

.mock-window__chrome span:nth-child(3) {
  background: #4ade80;
}

.mock-window__chrome span:nth-child(1),
.mock-window__chrome span:nth-child(2),
.mock-window__chrome span:nth-child(3) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-window__title {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mock-window__body {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 300px;
}

@media (max-width: 520px) {
  .mock-window__body {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem;
  border-right: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
}

.mock-sidebar__item {
  font-size: 0.72rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  color: var(--text-muted);
}

.mock-sidebar__item--active {
  background: var(--accent-soft);
  color: var(--accent);
}

.mock-main {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-chat {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(30, 41, 59, 0.35);
}

.mock-chat__row {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.72rem;
  margin-bottom: 0.4rem;
  max-width: 94%;
}

.mock-chat__row--user {
  margin-left: auto;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.mock-chat__row--ai {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.mock-chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
}

.mock-chat__placeholder {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mock-chat__send {
  color: var(--accent);
  font-size: 0.8rem;
}

.mock-analytics {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(30, 41, 59, 0.25);
}

.mock-analytics__label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.mock-graph {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
}

.mock-graph__bar {
  flex: 1;
  height: var(--h);
  min-height: 12%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #c2410c);
  opacity: 0.88;
}

.mock-automation {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(30, 41, 59, 0.25);
}

.mock-automation__label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.mock-automation__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  margin-bottom: 0.3rem;
}

.mock-pill {
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.mock-pill--ok {
  border-color: rgba(74, 222, 128, 0.35);
}

.mock-status {
  color: var(--accent);
}

.mock-status--idle {
  color: var(--text-muted);
}

/* ——— Use cases ——— */
.use-cases__title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.use-tile {
  display: block;
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, transform 0.3s var(--ease);
}

.use-tile:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-3px);
}

.use-tile__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.use-tile__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ——— Pricing ——— */
.pricing__head {
  margin: 0 0 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.price-card {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.35);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.price-card--popular {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.price-card--popular:hover {
  border-color: var(--accent);
  box-shadow: 0 0 48px var(--accent-soft), 0 24px 56px rgba(0, 0, 0, 0.3);
  transform: translateY(-8px) scale(1.02);
}

.price-card__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
}

.price-card__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.price-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-card__currency {
  font-size: 1.2rem;
  vertical-align: super;
}

.price-card__suffix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card__price--custom {
  font-size: 1.85rem;
}

.price-card__period {
  margin: 0.2rem 0 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-card__list {
  margin: 0 0 1.5rem;
}

.price-card__list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--accent);
}

.price-card__list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35em;
  width: 4px;
  height: 7px;
  border: solid var(--bg);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.btn--price {
  display: flex;
  width: 100%;
  padding: 0.75rem;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border-hover);
  color: var(--text);
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.btn--price:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn--price-solid {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn--price-solid:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

/* ——— Final CTA ——— */
.cta-final {
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.cta-final__title {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-final__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.cta-final__email {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.cta-final__email-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.cta-final__email-value {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
}

/* ——— Footer ——— */
.footer {
  padding: 3rem 0 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.footer__contact-email {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

.footer__contact-email a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border-hover);
  transition: color 0.2s, border-color 0.2s;
}

.footer__contact-email a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer__address {
  margin: 0.65rem 0 0;
  max-width: 17rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__heading {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer__links li {
  margin-bottom: 0.45rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer__social {
  margin-top: 1.25rem;
}

.footer__social-label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Row layout + icon size: beat host/cPanel footer ul { flex-direction: column } rules */
ul.ideasbd-social-row.footer__social-list,
.footer__brand ul.footer__social-list.ideasbd-social-row,
.footer__brand ul.footer__social-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.footer__brand ul.ideasbd-social-row > li,
.footer__brand .footer__social-list > li {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer__social-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.footer__social-link:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

.footer__social-link .footer__social-icon,
.footer__social-icon {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  box-sizing: border-box;
}

/* Floating WhatsApp + chatbot (high z-index: above many WP/cPanel theme overlays).
   Do not use transform on this root: it can make Chrome treat fixed descendants oddly. */
#floatWidgets.float-widgets,
.float-widgets {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: auto;
  top: auto;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  z-index: 2147483000;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: auto;
}

.chatbot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  width: auto;
  max-width: 100%;
}

/* Fixed to viewport so the panel never lays out over footer content; solid fill for readability */
#floatWidgets .ideasbd-chat-panel.chatbot__panel,
#floatWidgets .chatbot__panel,
.chatbot__panel {
  position: fixed;
  right: 1rem;
  left: auto;
  top: auto;
  bottom: calc(1rem + 52px + 0.65rem + 52px + 0.75rem);
  width: min(22rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  min-width: 280px;
  min-height: 300px;
  max-height: min(28rem, 72vh);
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background-color: #0b1220 !important;
  background-image: none !important;
  opacity: 1 !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
  z-index: 2147483001;
  isolation: isolate;
}

.chatbot__panel[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#floatWidgets .chatbot__panel:not([hidden]),
.chatbot__panel:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

@media (max-height: 520px) {
  #floatWidgets .chatbot__panel,
  .chatbot__panel {
    min-height: 240px;
    max-height: 82vh;
    bottom: calc(0.5rem + 52px + 0.65rem + 52px + 0.5rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  #floatWidgets .chatbot__panel:not([hidden]),
  .chatbot__panel:not([hidden]) {
    animation: chatbot-pop 0.28s var(--ease);
  }
}

/* No opacity keyframes — avoids Chrome leaving the panel translucent */
@keyframes chatbot-pop {
  from {
    transform: translateY(8px) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

.chatbot__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background-color: #0f172a !important;
}

.chatbot__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: #f1f5f9 !important;
}

.chatbot__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.chatbot__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.chatbot__messages {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 14rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
  background-color: #0b1220 !important;
}

.chatbot__msg {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  max-width: 95%;
}

.chatbot__msg--bot {
  align-self: flex-start;
  background-color: #1e293b !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #cbd5e1 !important;
}

.chatbot__msg--bot a {
  color: #38bdf8 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chatbot__msg--bot a:hover {
  color: #f97316 !important;
}

.chatbot__msg--user {
  align-self: flex-end;
  background-color: #334155 !important;
  border: 1px solid rgba(249, 115, 22, 0.45) !important;
  color: #f1f5f9 !important;
}

.chatbot__chips {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background-color: #0b1220 !important;
  position: relative;
  z-index: 1;
}

.chatbot__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.chatbot__chip:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.chatbot__form {
  flex-shrink: 0;
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 1rem 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background-color: #0b1220 !important;
  position: relative;
  z-index: 2;
}

.chatbot__input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  color: #f1f5f9 !important;
  background-color: #1e293b !important;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot__input:focus {
  border-color: rgba(56, 189, 248, 0.45);
}

.chatbot__send {
  flex-shrink: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--text);
  border-radius: 10px;
  border: 1px solid var(--text);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.chatbot__send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.12);
}

.chatbot__launcher {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent) 0%, #fb923c 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.25s;
}

.chatbot__launcher:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 36px rgba(249, 115, 22, 0.42);
}

.chatbot__launcher-icon {
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
  pointer-events: none;
}

.wa-float {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.25s;
}

.wa-float:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
}

/* Beat global theme rules (footer links, full-width buttons, etc.) */
#floatWidgets a.wa-float {
  display: inline-flex !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  min-width: 3.25rem !important;
  min-height: 3.25rem !important;
  max-width: none !important;
  box-sizing: border-box !important;
  background-color: #25d366 !important;
  color: #fff !important;
  border-radius: 50% !important;
}

#floatWidgets a.wa-float .wa-float__icon path {
  fill: #ffffff !important;
}

#floatWidgets #chatbotToggle.chatbot__launcher,
#floatWidgets .chatbot__launcher {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  min-width: 3.25rem !important;
  min-height: 3.25rem !important;
  max-width: none !important;
  box-sizing: border-box !important;
  border: none !important;
  border-radius: 50% !important;
  background-color: #f97316 !important;
  background-image: linear-gradient(135deg, #f97316 0%, #fb923c 100%) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.38) !important;
}

#floatWidgets #chatbotToggle .chatbot__launcher-icon,
#floatWidgets #chatbotToggle .chatbot__launcher-icon path {
  fill: #0f172a !important;
  color: #0f172a !important;
}

.wa-float__icon {
  display: block;
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  #floatWidgets.float-widgets,
  .float-widgets {
    right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  #floatWidgets .ideasbd-chat-panel.chatbot__panel,
  #floatWidgets .chatbot__panel {
    right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    width: min(22rem, calc(100vw - 1.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))) !important;
    max-width: calc(100vw - 1.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) !important;
    bottom: calc(
      max(0.75rem, env(safe-area-inset-bottom, 0px)) + 52px + 0.65rem + 52px + 0.75rem
    ) !important;
  }
}

/* ——— Inner pages (Products, Solutions, Research) ——— */
.page-main {
  padding-bottom: 4rem;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 900px;
}

.page-hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.page-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.page-section__head {
  margin-bottom: 2rem;
}

.page-section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-section__desc {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1rem;
}

.form-lead {
  max-width: 520px;
  margin-top: 0.5rem;
}

.form-lead__field {
  margin-bottom: 1.25rem;
}

.form-lead label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-lead input,
.form-lead textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-lead input:focus,
.form-lead textarea:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-lead textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.get-steps {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 640px;
  color: var(--text-muted);
  line-height: 1.75;
}

.get-steps__item {
  margin-bottom: 1rem;
  padding-left: 0.35rem;
}

.get-steps__item strong {
  color: var(--text);
}

.product-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-tile {
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.35);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.3s var(--ease);
}

.product-tile:hover {
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-3px);
}

.product-tile__name {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.product-tile__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.product-tile .text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

.solution-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.solution-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.solution-card__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.research-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.research-item {
  display: block;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.25);
  transition: border-color 0.2s;
}

.research-item:hover {
  border-color: var(--border-hover);
}

.research-item__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.research-item__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: #fb923c;
}

/* ——— Solutions page deep content ——— */
.solution-block {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.solution-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.solution-block__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.solution-block__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.solution-block__lead {
  margin: 0 0 1.25rem;
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.solution-block__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .solution-block__grid--2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.solution-block__list-title {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.solution-block ul.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  list-style: disc;
}

.solution-block ul.bullet-list li {
  margin-bottom: 0.45rem;
}

.solution-callout {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  background: rgba(249, 115, 22, 0.06);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 720px;
}

.solution-callout strong {
  color: var(--text);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  @media (max-width: 900px) {
    .nav__drawer {
      transition: none;
    }
  }

  .cap-mock-bars span {
    animation: none;
  }

  .pillar:hover,
  .price-card:hover,
  .price-card--popular:hover,
  .platform-card:hover,
  .use-tile:hover {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mega {
    animation: none;
  }
}

/* ——— Mobile layout polish: menu overlay + 768 / 480 breakpoints ——— */
body.nav-menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-nav-backdrop);
  background-color: rgb(2, 6, 23);
  opacity: 0.97;
  pointer-events: none;
}

@media (min-width: 901px) {
  body.nav-menu-open::before {
    display: none;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 900px) {
    .nav__drawer {
      min-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    }
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(1200px, calc(100% - 1.5rem));
    --container-narrow: min(720px, calc(100% - 1.25rem));
  }

  .section {
    padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  }

  .hero {
    padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 7vw, 4rem);
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 3.5rem);
    letter-spacing: -0.03em;
  }

  .hero__lead {
    font-size: 1rem;
    max-width: none;
  }

  .hero__grid,
  .pillars__grid,
  .platform-band__grid,
  .use-cases__grid,
  .pricing__grid,
  .footer__grid {
    min-width: 0;
  }

  .cap-block {
    min-width: 0;
  }

  .customers {
    padding: 1.75rem 0;
  }

  .customers__logo {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 0;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .pillar {
    padding: 1.35rem;
    min-width: 0;
  }

  .price-card,
  .platform-card,
  .solution-card {
    min-width: 0;
  }

  .mega__inner {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(1200px, calc(100% - 1rem));
    --container-narrow: min(720px, calc(100% - 0.875rem));
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .customers__logo {
    flex: 1 1 100%;
  }

  .page-hero {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }

  .page-hero__title {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .page-hero__lead {
    font-size: 1rem;
  }
}
