/* ==========================================================
   VAILS Agents — Site marketing styles
   ========================================================== */

@import url('tokens.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined');
/* Inter is loaded via tokens.css */

/* ==========================================================
   Task demo (Hyperviseur)
   ========================================================== */
.task-demo {
  max-width: 920px;
  margin: 0 auto;
  background: #0f1530;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 80px -24px rgba(15, 21, 48, 0.55), 0 8px 24px rgba(106, 76, 224, 0.18);
  border: 1px solid rgba(123, 224, 240, 0.12);
}
.task-demo__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(180deg, #1a2147, #141b3a);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.task-demo__dots { display: flex; gap: 6px; }
.task-demo__dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.task-demo__dots span:first-child { background: #ff6058; }
.task-demo__dots span:nth-child(2) { background: #ffbd2d; }
.task-demo__dots span:nth-child(3) { background: #28c93f; }
.task-demo__title {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
}
.task-demo__meter {
  display: flex; align-items: center; gap: 6px;
  color: #7be0f0;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.task-demo__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7be0f0;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.task-demo__body {
  padding: 24px;
  min-height: 520px;
  max-height: 640px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.task-demo__body::-webkit-scrollbar { width: 6px; }
.task-demo__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.td-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: fade-up 0.4s ease-out both;
}
.td-row--user { justify-content: flex-end; }
.td-avatar {
  width: 36px; height: 36px;
  image-rendering: pixelated;
  flex-shrink: 0;
  background: rgba(123, 224, 240, 0.08);
  border-radius: 8px;
  padding: 2px;
}
.td-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.92);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 80%;
}
.td-bubble--user {
  background: var(--pixel-purple);
  border-color: transparent;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.td-bubble--think {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-size: 13px;
}
.td-bubble--run {
  display: flex; align-items: center; gap: 10px;
  background: rgba(123, 224, 240, 0.08);
  border-color: rgba(123, 224, 240, 0.25);
  color: #7be0f0;
  font-weight: 600;
}
.td-bubble--result {
  background: rgba(134, 239, 172, 0.06);
  border-color: rgba(134, 239, 172, 0.2);
}

.td-spinner {
  width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #7be0f0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.td-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #7be0f0;
  box-shadow: 0 0 0 0 #7be0f0;
  animation: pulse-glow 1.2s ease-out infinite;
}
.td-caret {
  display: inline-block;
  animation: blink 1s steps(2) infinite;
  color: rgba(255,255,255,0.7);
  margin-left: 2px;
}

.td-label {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.td-agents { display: flex; flex-wrap: wrap; gap: 8px; }
.td-agent-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(106, 76, 224, 0.18);
  border: 1px solid rgba(106, 76, 224, 0.4);
  color: #c4b5fd;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  animation: fade-up 0.4s ease-out both;
}
.td-agent-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7be0f0;
}
.td-config {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.td-config li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-family);
  font-weight: 500;
  line-height: 1.45;
  animation: fade-up 0.4s ease-out both;
}
.td-check {
  color: #86efac;
  font-weight: 700;
  flex-shrink: 0;
}
.td-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.td-result-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  animation: fade-up 0.4s ease-out both;
}
.td-result-label {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.td-result-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.task-demo__input {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  background: #0a0f24;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.task-demo__input input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-family);
  font-size: 14px;
  outline: none;
}
.task-demo__input button {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 10px;
  opacity: 0.6;
}

/* Examples grid */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.example-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 20px;
  box-shadow: 0 4px 0 rgba(106, 76, 224, 0.18);
}
.example-card__quote {
  position: absolute;
  top: 8px; left: 18px;
  font-family: 'Georgia', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--pixel-purple);
  opacity: 0.25;
  line-height: 1;
}
.example-card p {
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
}
.example-card__foot {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pixel-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.example-card__foot .material-icons-outlined { font-size: 16px; }

/* Animations */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(123,224,240,0.6); }
  100% { box-shadow: 0 0 0 14px rgba(123,224,240,0); }
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-family);
  color: var(--fg-1);
  background: var(--bg);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----- Brand variables for marketing site ----- */
:root {
  --ink: #161e3a;
  --ink-2: #2a3560;
  --paper: #fbfbfd;
  --paper-2: #f3f5fb;
  --line: #e3e7f2;
  --grad-hero: radial-gradient(1200px 600px at 80% 0%, rgba(167, 139, 250, 0.28), transparent 60%),
               radial-gradient(900px 600px at 10% 30%, rgba(196, 181, 253, 0.22), transparent 55%),
               linear-gradient(180deg, #f3eeff 0%, #e8e1ff 100%);
  --pixel-purple: #6a4ce0;
  --pixel-purple-dark: #4a2fb0;
  --grad-dark: linear-gradient(180deg, #0f1530 0%, #1a2347 100%);
  --site-max: 1240px;
}

/* ----- Layout primitives ----- */
.container {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--grad-dark);
  color: #fff;
}
.section--dark .ds-eyebrow { color: var(--accent); }
.section--dark .muted { color: rgba(255,255,255,0.7); }

/* ----- Type ----- */
.eyebrow {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pixel-purple);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(106, 76, 224, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
}
.eyebrow::before {
  content: "▸";
  color: var(--pixel-purple);
  display: inline-block;
}
.display {
  font-family: var(--font-family);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  text-shadow: 3px 3px 0 rgba(106, 76, 224, 0.12);
}
.display em {
  font-style: normal;
  color: var(--pixel-purple);
}
.display em::after {
  content: "";
  display: inline-block;
  width: 0.55em; height: 0.1em;
  background: var(--pixel-purple);
  margin-left: -0.55em;
  vertical-align: -0.1em;
  opacity: 0;
}
.h1 {
  font-family: var(--font-family);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h1 span[style*="primary"] { color: var(--pixel-purple) !important; }
.h2 {
  font-family: var(--font-family);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 12px;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  font-weight: 500;
  max-width: 640px;
  text-wrap: pretty;
}
.muted { color: var(--fg-2); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.1px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--pixel-purple);
  color: #fff;
  box-shadow: 0 4px 0 var(--pixel-purple-dark), 0 8px 22px rgba(74, 47, 176, 0.32);
}
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pixel-purple-dark); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(58,90,158,0.38); }
.btn--ghost {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { transform: translateY(-2px); }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn .material-icons-outlined { font-size: 18px; }

/* ----- Top nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(220, 226, 240, 0.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 0 var(--pixel-purple-dark);
  border: 2px solid var(--pixel-purple);
  overflow: hidden;
  image-rendering: pixelated;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__mark::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 11px;
  background: linear-gradient(135deg, #7be0f0, transparent 60%);
  z-index: -1;
  opacity: .35;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--fg-2);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: 6px;
  margin-left: 24px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  transition: background .15s, color .15s;
}
.nav__link:hover { background: rgba(91, 124, 199, 0.08); color: var(--ink); }
.nav__link.is-active { background: rgba(106, 76, 224, 0.12); color: var(--pixel-purple); }
.nav__spacer { flex: 1; }
.nav__lang {
  display: inline-flex;
  background: rgba(91,124,199,0.08);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 700;
}
.nav__lang button {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--fg-2);
}
.nav__lang button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(42,53,96,0.1); }

/* ----- Hero ----- */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 80px 0 0;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 1.05fr; gap: 40px; }
}
.hero__copy { max-width: 620px; }
.hero__copy .display { margin-top: 18px; }
.hero__copy .lede { margin-top: 22px; }
.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__sub {
  margin-top: 28px;
  font-size: 13px;
  color: var(--fg-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
.hero__sub b { color: var(--ink); font-weight: 700; }
.hero__sub i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hero__sub i::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(79,207,137,0.2);
}
.hero__visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 24px 48px rgba(106, 76, 224, 0.18));
  animation: float-y 6s ease-in-out infinite;
}

/* ----- Page sections ----- */
.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head .lede {
  margin: 18px auto 0;
  font-size: 19px;
}

/* ----- Why split ----- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.why-card--bad {
  background: var(--paper-2);
  border-style: dashed;
}
.why-card--bad .why-card__title { color: var(--fg-2); }
.why-card--bad ul li::before { background: var(--fg-3); }
.why-card__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.4px;
}
.why-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.why-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.why-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: var(--primary);
}
.why-card--good li::before {
  background: linear-gradient(135deg, #5b7cc7, #7be0f0);
  box-shadow: 0 2px 6px rgba(91,124,199,0.3);
}

/* ----- Feature grid ----- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 32px rgba(42,53,96,0.08);
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-2);
  color: var(--primary);
  margin-bottom: 18px;
}
.feature__icon .material-icons-outlined { font-size: 24px; }
.feature h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.feature p {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
}
.feature--accent .feature__icon { background: var(--accent-2); color: #1a8aa0; }
.feature--green .feature__icon { background: var(--green-2); color: #2a9863; }
.feature--yellow .feature__icon { background: var(--yellow-2); color: #b67d00; }
.feature--red .feature__icon { background: var(--red-2); color: #b83a2c; }
.feature--blue .feature__icon { background: var(--blue-2); color: #2c6ed6; }

/* ----- Differences ----- */
.diff-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.diff-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.diff-item:first-child { border-top: none; }
.diff-num {
  font-family: var(--font-family);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  letter-spacing: 0;
  color: var(--pixel-purple);
  line-height: 1;
}
.diff-item h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.diff-item p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.5; }

/* ----- Solutions cards ----- */
.solutions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .solutions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .solutions { grid-template-columns: repeat(3, 1fr); } }
.solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.solution:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 14px 32px rgba(42,53,96,0.1);
}
.solution__cover {
  aspect-ratio: 3/2;
  background: hsl(var(--hue, 220) 70% 92%);
  position: relative;
  overflow: hidden;
}
.solution__cover img { image-rendering: pixelated; }
.solution__body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.solution__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.solution__tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: var(--primary-2);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.solution__desc { font-size: 14px; color: var(--fg-2); line-height: 1.5; margin: 0; flex: 1; }

/* ----- Pricing ----- */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.plan--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 40px rgba(91,124,199,0.18);
  transform: translateY(-4px);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan__name { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg-2); }
.plan__price { font-size: 48px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; color: var(--ink); }
.plan__price small { font-size: 16px; color: var(--fg-2); font-weight: 600; letter-spacing: 0; }
.plan__desc { color: var(--fg-2); font-size: 14.5px; min-height: 42px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.plan li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.45;
}
.plan li::before {
  content: "check";
  font-family: 'Material Icons Outlined';
  position: absolute;
  left: 0; top: 0;
  font-size: 18px;
  color: var(--green);
}

/* ----- Footer ----- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer a { color: rgba(255,255,255,0.65); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer__brand p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  max-width: 280px;
  margin: 16px 0 0;
}
.footer__col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__bot {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ----- Final CTA ----- */
.final-cta {
  background: var(--grad-dark);
  color: #fff;
  border-radius: 28px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: -20% -20% 60% -20%;
  background: radial-gradient(closest-side, rgba(123,224,240,0.35), transparent 70%);
  pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.final-cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 18px;
  line-height: 1.05;
  color: #fff;
}
.final-cta p { color: rgba(255,255,255,0.75); font-size: 18px; margin: 0 0 32px; }

/* ----- Use cases table ----- */
.usecases {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.usecase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.usecase:first-child { border-top: none; }
.usecase__who {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
}
.usecase__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-2);
  color: var(--primary);
  display: grid; place-items: center;
}
.usecase__what { color: var(--fg-2); font-size: 14.5px; }
@media (max-width: 700px) {
  .usecase { grid-template-columns: 1fr; }
}

/* ----- Tweaks toggle ----- */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(42,53,96,0.18);
  padding: 16px;
  z-index: 200;
  min-width: 220px;
}

/* ----- Hero KPIs / chips ----- */
.hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-chip {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}
.hero-chip .material-icons-outlined { font-size: 14px; color: var(--pixel-purple); }

/* ----- Splash for product tour preview ----- */
.frame {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(42,53,96,0.18);
  background: #fff;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
}
.frame__bar i:nth-child(1) { background: #ed6a5e; }
.frame__bar i:nth-child(2) { background: #f5be4f; }
.frame__bar i:nth-child(3) { background: #62c554; }
.frame__url {
  margin-left: 12px;
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}

/* ----- Tour scroll narrative ----- */
.tour {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1000px) {
  .tour { grid-template-columns: 380px 1fr; gap: 64px; }
}
.tour__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 1000px) {
  .tour__steps {
    position: sticky;
    top: 96px;
    height: fit-content;
  }
}
.tour__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 18px 18px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s;
  text-align: left;
  width: 100%;
  border-left: 3px solid transparent;
}
.tour__step:hover { background: rgba(91,124,199,0.05); }
.tour__step.is-active {
  background: rgba(91,124,199,0.08);
  border-left-color: var(--primary);
}
.tour__step-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 13px;
  display: grid; place-items: center;
  color: var(--fg-2);
}
.tour__step.is-active .tour__step-num {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
}
.tour__step h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.tour__step p { margin: 0; font-size: 13.5px; color: var(--fg-2); line-height: 1.45; }
.tour__panels {
  position: relative;
  display: grid;
}
.tour__panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.tour__panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ----- Logo strip ----- */
.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(100%);
}
.logos span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--fg-2);
}

/* ----- Hyperviseur card ----- */
.hyper-card {
  background: linear-gradient(140deg, #0f1530 0%, #2a3560 100%);
  border-radius: 24px;
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .hyper-card { grid-template-columns: 1fr 1fr; } }
.hyper-card::after {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(123,224,240,0.3), transparent);
  pointer-events: none;
}
.hyper-card h2 { color: #fff; margin: 16px 0; }
.hyper-card p { color: rgba(255,255,255,0.7); margin: 0; font-size: 16px; line-height: 1.55; }
.hyper-meter {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* ----- Pixel-art accents ----- */
.pixel-corner {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent);
  image-rendering: pixelated;
}

/* ----- Anim helpers ----- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@keyframes shimmer {
  0% { background-position: -300px 0; }
  100% { background-position: 300px 0; }
}
@keyframes blink {
  0%, 90% { opacity: 1; }
  95% { opacity: 0.2; }
  100% { opacity: 1; }
}
