/*
 * CraftnexAI home v3 — AI-first redesign (solo index).
 * Secciones nuevas: entrada conversacional, video destacado, ejemplos,
 * capacidades, human-first y CTA final. Mantiene la navegación primaria.
 * Reusa la estética existente (teal #2dd4bf / sky #7dd3fc, paneles oscuros).
 */

html { scroll-behavior: smooth; }
html[data-i18n-pending="true"] body { visibility: hidden; }

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 2200;
  padding: 11px 15px;
  border: 2px solid #7dd3fc;
  border-radius: 12px;
  background: #071019;
  color: #f4fbff;
  font-weight: 800;
  transform: translateY(calc(-100% - 24px));
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Language now lives in the primary header; the old secondary strip is gone. */
.page-index .header-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 62px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #d7e5f4;
  cursor: pointer;
}
.page-index .header-language svg { color: #2dd4bf; }
.page-index .header-language strong { font-size: .78rem; letter-spacing: .05em; }
.page-index .header-language:focus-visible {
  outline: 3px solid rgba(125,211,252,.65);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .page-index .header-language:hover { border-color: rgba(45,212,191,.5); background: rgba(45,212,191,.08); }
}
@media (max-width: 1320px) {
  .page-index .header-language { display: none; }
}

/* ===== Ritmo vertical más compacto y títulos centrados ===== */
.page-index main .section {
  padding-top: clamp(44px, 6vw, 76px) !important;
  padding-bottom: clamp(44px, 6vw, 76px) !important;
}
.page-index .hero { padding-bottom: clamp(18px, 3vw, 36px) !important; }

#flujo .section-head,
#metricas .section-head,
#soluciones .section-head {
  max-width: 860px;
  margin: 0 auto clamp(26px, 4vw, 42px);
  text-align: center;
  border: 0 !important;
}
#flujo .section-head h2,
#metricas .section-head h2,
#soluciones .section-head h2 { margin: 0; }
#flujo .section-head::before, #flujo .section-head::after,
#metricas .section-head::before, #metricas .section-head::after,
#soluciones .section-head::before, #soluciones .section-head::after,
#soluciones .section-head h2::before, #soluciones .section-head h2::after,
#flujo .section-head h2::before, #flujo .section-head h2::after,
#metricas .section-head h2::before, #metricas .section-head h2::after { display: none !important; }

.home-examples { max-width: 1180px; margin: 0 auto; }
.process-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }

/* ===== Interactive Nex demo in the hero ===== */
.home-entry__stage {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 680px);
  min-width: 0;
}
.home-entry__intro {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #dce7f8;
  font-size: clamp(.86rem, 1.7vw, .96rem);
}
.home-entry__intro strong { font-weight: 700; }
.home-entry__demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(45, 212, 191, .35);
  border-radius: 999px;
  background: rgba(45, 212, 191, .1);
  color: #5eead4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-entry__demo.hero-mock {
  width: 100%;
  max-width: none;
  margin: 0;
  border-color: rgba(45, 212, 191, .24);
  border-radius: 22px;
  text-align: start;
  box-shadow: 0 34px 90px -38px rgba(45, 212, 191, .45), 0 24px 60px -38px #000;
  transition: border-color .5s ease, box-shadow .64s cubic-bezier(.22, 1, .36, 1);
}
.home-entry__demo.hero-mock.is-switching {
  border-color: rgba(45, 212, 191, .42);
  box-shadow: 0 38px 100px -38px rgba(45, 212, 191, .58), 0 28px 68px -38px #000;
}
.home-entry__demo.hero-mock--spotlight {
  transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg);
  transform-origin: center left;
}
.home-entry__demo .hero-mock__body {
  align-content: start;
  min-height: 290px;
  overflow: hidden;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-property: height, opacity, transform, filter;
  transition-duration: .58s, .52s, .58s, .34s;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}
.home-entry__demo .hero-mock__body.is-morphing {
  will-change: height, opacity, transform, filter;
}
.home-entry__demo .hero-mock__body.is-leaving {
  opacity: .16;
  filter: blur(2px);
  transform: translateY(-7px) scale(.994);
  transition-duration: .26s, .26s, .3s, .22s;
  transition-timing-function: cubic-bezier(.4, 0, 1, 1);
}
.home-entry__demo .hero-mock__body.is-entering {
  opacity: .1;
  filter: blur(2px);
  transform: translateY(9px) scale(.992);
}
.home-entry__demo .hero-mock__body.is-entering.is-entering-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.home-entry__demo .hero-mock__input {
  transition: border-color .34s ease, background-color .34s ease, box-shadow .4s ease;
}
.home-entry__demo .hero-mock__input.is-sending {
  border-color: rgba(45, 212, 191, .26);
  background: rgba(45, 212, 191, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 0 34px -24px rgba(45, 212, 191, .72);
}
.home-entry__demo .hero-mock__input::before { display: none; }
.home-entry__answer { min-width: 0; }
.home-entry__caret {
  display: inline-block;
  width: 8px;
  height: 16px;
  margin-inline-start: 3px;
  vertical-align: middle;
  border-radius: 2px;
  background: #2dd4bf;
  animation: home-caret 1s steps(1) infinite;
}
.home-entry__demo.is-complete .home-entry__caret {
  opacity: 0;
  animation: none;
}
@keyframes home-caret { 50% { opacity: 0; } }

.home-entry__demo .home-entry__message.is-entering {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(12px) scale(.988);
  animation: homeEntryMessageReveal .5s cubic-bezier(.16, 1, .3, 1) both;
}
.home-entry__demo .home-entry__message--user.is-entering {
  animation-duration: .42s;
  animation-delay: .03s;
}
.home-entry__demo .home-entry__message--ai.is-entering {
  animation-duration: .56s;
  animation-delay: .13s;
}
@keyframes homeEntryMessageReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.home-entry__invoice {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 28px;
  gap: 13px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(45,212,191,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.home-entry__invoice.is-animated {
  opacity: 0;
  transform: translateY(10px) scale(.97);
  animation: homePdfMaterialize .32s cubic-bezier(.2,.8,.25,1) .08s forwards;
}
.home-entry__invoice-sheet {
  position: relative;
  width: 66px;
  height: 84px;
  padding: 9px 8px 8px;
  overflow: hidden;
  border-radius: 5px 10px 5px 5px;
  background: linear-gradient(160deg, #fff, #e9f2f5);
  color: #14202a;
  box-shadow: 0 13px 26px -15px rgba(0,0,0,.92);
}
.home-entry__invoice-sheet::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  width: 15px;
  height: 15px;
  background: linear-gradient(225deg, rgba(16,24,34,.2) 49%, #d5e3e8 51%);
  border-radius: 0 8px 0 3px;
}
.home-entry__invoice-format {
  display: inline-flex;
  padding: 2px 4px;
  border-radius: 4px;
  background: #e94d56;
  color: #fff;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .07em;
}
.home-entry__invoice-brand {
  display: block;
  margin-top: 5px;
  color: #0f766e;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .02em;
}
.home-entry__invoice-line {
  display: block;
  width: 62%;
  height: 2px;
  margin-top: 4px;
  border-radius: 99px;
  background: #c2d0d6;
}
.home-entry__invoice-line.is-wide { width: 86%; }
.home-entry__invoice-person,
.home-entry__invoice-service,
.home-entry__invoice-total { display: block; }
.home-entry__invoice-person { margin-top: 7px; font-size: 7px; }
.home-entry__invoice-service { margin-top: 2px; color: #5e6d75; font-size: 6px; }
.home-entry__invoice-total { margin-top: 6px; color: #0f766e; font-size: 11px; }
.home-entry__invoice-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(45,212,191,.3) 50%, transparent 68%);
  transform: translateX(-130%);
}
.home-entry__invoice.is-animated .home-entry__invoice-scan {
  animation: homePdfScan .44s ease-out .28s both;
}
.home-entry__invoice-meta { min-width: 0; }
.home-entry__invoice-meta strong {
  display: block;
  overflow-wrap: anywhere;
  color: #eef7ff;
  font-size: clamp(.78rem, 1.7vw, .9rem);
}
.home-entry__invoice-meta span {
  display: block;
  margin-top: 5px;
  color: #8fa6bd;
  font-size: .74rem;
}
.home-entry__invoice-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(45,212,191,.14);
  color: #5eead4;
  font-size: .9rem;
  font-weight: 900;
}
.home-entry__invoice.is-animated .home-entry__invoice-check {
  opacity: 0;
  transform: scale(.45);
  animation: homePdfCheck .22s cubic-bezier(.2,.9,.25,1.4) .58s forwards;
}
.home-entry__actions {
  min-height: auto !important;
  margin-top: 9px;
  color: #9fb3c8 !important;
  letter-spacing: .025em;
}
.home-entry__actions.is-static { opacity: 1; transform: none; }
.home-entry__actions.is-animated {
  opacity: 0;
  transform: translateY(6px);
  animation: homePdfActions .22s ease-out .56s forwards;
}

/* Escaneo IA — producto materializado con SKU y stock */
.home-entry__scan {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 28px;
  gap: 13px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(45,212,191,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.home-entry__scan.is-animated {
  opacity: 0;
  transform: translateY(10px) scale(.97);
  animation: homePdfMaterialize .46s cubic-bezier(.2,.8,.25,1) .16s forwards;
}
.home-entry__scan-code {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  width: 66px;
  height: 56px;
  padding: 9px 8px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(160deg, #fff, #e9f2f5);
  box-shadow: 0 13px 26px -15px rgba(0,0,0,.92);
}
.home-entry__scan-code > span:not(.home-entry__scan-beam) {
  width: 3px;
  border-radius: 2px;
  background: #14202a;
}
.home-entry__scan-code > span:nth-child(2n):not(.home-entry__scan-beam) { width: 2px; opacity: .55; }
.home-entry__scan-code > span:nth-child(4n):not(.home-entry__scan-beam) { width: 4px; }
.home-entry__scan-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(45,212,191,.42) 50%, transparent 68%);
  transform: translateX(-130%);
}
.home-entry__scan.is-animated .home-entry__scan-beam {
  animation: homePdfScan .72s ease-out .5s both;
}
.home-entry__scan-meta { min-width: 0; }
.home-entry__scan-meta strong {
  display: block;
  overflow-wrap: anywhere;
  color: #eef7ff;
  font-size: clamp(.78rem, 1.7vw, .9rem);
}
.home-entry__scan-sku {
  display: inline-flex;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(125, 211, 252, .28);
  background: rgba(125, 211, 252, .14);
  color: #bfe7ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.home-entry__scan-stock {
  display: block;
  margin-top: 5px;
  color: #8ff5df;
  font-size: .74rem;
  font-weight: 700;
}
.home-entry__scan.is-animated .home-entry__invoice-check {
  opacity: 0;
  transform: scale(.45);
  animation: homePdfCheck .3s cubic-bezier(.2,.9,.25,1.4) .92s forwards;
}

/* Facturas PDF sin pagar — demo "Who owes me money?" */
.home-entry__files {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.home-entry__file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(45,212,191,.035));
}
.home-entry__files.is-animated .home-entry__file {
  opacity: 0;
  transform: translateY(8px);
  animation: homePdfMaterialize .4s cubic-bezier(.2,.8,.25,1) forwards;
}
.home-entry__files.is-animated .home-entry__file:nth-child(1) { animation-delay: .16s; }
.home-entry__files.is-animated .home-entry__file:nth-child(2) { animation-delay: .34s; }
.home-entry__files.is-animated .home-entry__file:nth-child(3) { animation-delay: .52s; }
.home-entry__file-format {
  display: inline-flex;
  padding: 3px 5px;
  border-radius: 5px;
  background: #e94d56;
  color: #fff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .07em;
}
.home-entry__file > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #eef7ff;
  font-size: .8rem;
}
.home-entry__file-meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.home-entry__file-meta b { color: #eef7ff; font-size: .8rem; }
.home-entry__file-unpaid {
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid rgba(248, 113, 113, .3);
  background: rgba(248, 113, 113, .14);
  color: #fda4af;
  font-style: normal;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.home-entry__files-total {
  color: #9fb3c8;
  font-size: .74rem;
  letter-spacing: .03em;
}
.home-entry__files.is-animated .home-entry__files-total {
  opacity: 0;
  transform: translateY(6px);
  animation: homePdfActions .3s ease-out .72s forwards;
}

@keyframes homePdfMaterialize {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes homePdfScan {
  to { transform: translateX(130%); }
}
@keyframes homePdfCheck {
  to { opacity: 1; transform: scale(1); }
}
@keyframes homePdfActions {
  to { opacity: 1; transform: translateY(0); }
}

.home-entry__suggestions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}
.home-entry__suggestions button {
  width: 100%;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #b9c9df;
  font: inherit;
  font-size: .78rem;
  font-weight: 680;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.home-entry__suggestions button.is-active,
.home-entry__suggestions button[aria-pressed="true"] {
  border-color: rgba(45, 212, 191, .55);
  background: rgba(45, 212, 191, .12);
  color: #ecfffb;
}
.home-entry__suggestions button:focus-visible {
  outline: 3px solid rgba(125, 211, 252, .7);
  outline-offset: 3px;
}
.home-entry__suggestions button:active {
  transform: translateY(0) scale(.985);
  transition-duration: .08s;
}
@media (hover: hover) and (pointer: fine) {
  .home-entry__suggestions button:hover {
    color: #effffc;
    border-color: rgba(45, 212, 191, .45);
    background: rgba(45, 212, 191, .09);
    transform: translateY(-1px);
  }
  .home-entry__suggestions button:hover:active {
    transform: translateY(0) scale(.985);
  }
}

@media (max-width: 1320px) {
  .home-entry__stage { width: min(100%, 760px); }
  .home-entry__demo.hero-mock--spotlight { transform: none; }
}
@media (max-width: 640px) {
  .page-index .hero {
    padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right));
  }
  .home-entry__intro { align-items: flex-start; }
  .home-entry__demo.hero-mock { border-radius: 18px; }
  .home-entry__demo .hero-mock__body { min-height: 305px; }
  .home-entry__invoice {
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
  }
  .home-entry__invoice-sheet { width: 56px; height: 74px; padding: 7px 6px; }
  .home-entry__invoice-check { width: 24px; height: 24px; }
  .home-entry__scan {
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
  }
  .home-entry__scan-code { width: 56px; height: 48px; padding: 8px 6px; }
  .home-entry__file { gap: 8px; padding: 8px 9px; }
  .home-entry__file-meta { gap: 6px; }
  .home-entry__suggestions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-entry__suggestions button { padding-inline: 10px; }
}

@media (max-width: 380px) {
  .home-entry__suggestions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-entry__demo,
  .home-entry__demo .hero-mock__body,
  .home-entry__demo .hero-mock__input,
  .home-entry__demo .home-entry__message,
  .home-entry__demo .home-entry__signal-row,
  .home-entry__suggestions button,
  .home-entry__demo .hero-mock__chart,
  .home-entry__invoice,
  .home-entry__invoice-scan,
  .home-entry__invoice-check,
  .home-entry__scan,
  .home-entry__scan-beam,
  .home-entry__file,
  .home-entry__files-total,
  .home-entry__actions {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
  .home-entry__caret {
    animation: none !important;
    opacity: 0 !important;
  }
}


/* ===== Video destacado ===== */
.home-video__head {
  max-width: 980px;
  margin: 0 auto 20px;
  text-align: center;
  border: 0 !important;
}
.home-video__head::before, .home-video__head::after,
.home-video__head h2::before, .home-video__head h2::after { display: none !important; }
.home-video__head h2 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.home-video__head .section-copy { max-width: 820px; margin-top: 14px; }
.showcase-shell--video-only { max-width: 980px; margin: 0 auto; }
.showcase-video__screen video { height: auto; }
.showcase-video__brand-text .cnx-ai {
  background: linear-gradient(120deg, #00EAFF, #19E3B1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.showcase-video__poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity .32s ease, visibility .32s ease;
}
.showcase-video__screen.is-playing .showcase-video__poster {
  opacity: 0;
  visibility: hidden;
}
.home-video-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 20px 24px 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid rgba(125, 211, 252, .17);
  border-radius: 18px;
  background: rgba(7, 12, 19, .78);
}
.home-video-flow li {
  min-width: 0;
  padding: 15px 9px;
  border-inline-end: 1px solid rgba(125, 211, 252, .12);
  text-align: center;
}
.home-video-flow li:last-child { border-inline-end: 0; }
.home-video-flow li > span {
  display: block;
  margin-bottom: 6px;
  color: #6f849a;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  direction: ltr;
}
.home-video-flow strong {
  display: block;
  color: #dceaf4;
  font-size: clamp(.72rem, 1.15vw, .84rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.home-video-flow__decision {
  background: linear-gradient(180deg, rgba(116, 240, 198, .13), rgba(116, 240, 198, .045));
}
.home-video-flow__decision strong { color: #8ff5df; }
.section-kicker--brand-case { text-transform: none; }
@media (max-width: 900px) {
  .home-video-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-video-flow li { border-bottom: 1px solid rgba(125, 211, 252, .12); }
  .home-video-flow li:nth-child(3n) { border-inline-end: 0; }
  .home-video-flow li:nth-last-child(-n + 3) { border-bottom: 0; }
}
@media (max-width: 620px) {
  .home-video-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 14px 0; border-radius: 14px; }
  .home-video-flow li:nth-child(3n) { border-inline-end: 1px solid rgba(125, 211, 252, .12); }
  .home-video-flow li:nth-child(2n) { border-inline-end: 0; }
  .home-video-flow li:nth-last-child(-n + 3) { border-bottom: 1px solid rgba(125, 211, 252, .12); }
  .home-video-flow li:nth-last-child(-n + 2) { border-bottom: 0; }
}

/* ===== Ejemplos ===== */
.home-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
@media (min-width: 1100px) {
  /* 8 tarjetas → 2 filas de 4 en desktop */
  .home-examples { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  /* Móvil: 2 columnas compactas en vez de 8 tarjetas apiladas */
  .home-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-example { gap: 9px; padding: 13px; border-radius: 16px; }
  .home-example__user,
  .home-example__ai { padding: 8px 11px; font-size: .8rem; border-radius: 13px 13px 4px 13px; }
  .home-example__ai { border-radius: 13px 13px 13px 4px; }
  .home-example__actions { font-size: .7rem; }
}
.home-example {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 22, 31, 0.92), rgba(10, 14, 21, 0.95));
}
.home-example__user {
  margin: 0;
  align-self: flex-end;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 15px 15px 4px 15px;
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.25);
  color: #e6f5ff;
  font-size: 0.92rem;
  font-weight: 640;
}
.home-example__ai {
  margin: 0;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 15px 15px 15px 4px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: #d9efe9;
  font-size: 0.92rem;
}
.home-example__ai strong { color: #8ff5df; }
.home-example__actions {
  margin: 0;
  align-self: flex-start;
  color: #9fb2d8;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.home-example__chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 46px;
  padding: 0 4px;
}
.home-example__chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #2dd4bf, rgba(45, 212, 191, 0.35));
}
.home-example__chart span:nth-child(1) { height: 34%; }
.home-example__chart span:nth-child(2) { height: 48%; }
.home-example__chart span:nth-child(3) { height: 38%; }
.home-example__chart span:nth-child(4) { height: 62%; }
.home-example__chart span:nth-child(5) { height: 55%; }
.home-example__chart span:nth-child(6) { height: 78%; }
.home-example__chart span:nth-child(7) { height: 92%; }

/* ===== Capacidades ===== */
.home-caps {
  border: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}
.home-caps::before, .home-caps::after { display: none !important; }
.home-caps > span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6ff;
  font-size: 0.95rem;
  font-weight: 640;
}
.home-caps__line {
  margin: 22px auto 0;
  max-width: 640px;
  text-align: center;
  color: #9fb2d8;
  font-size: 1rem;
  line-height: 1.55;
}

/* ===== Human-first ===== */
.home-human {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 54px) 20px;
  text-align: center;
}
.home-human h2 {
  margin: 0 0 22px;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  color: #eef4ff;
}
.home-human__modes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.home-human__modes span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6ff;
  font-size: 1.05rem;
}
.home-human__modes b { font-weight: 740; }

/* ===== CTA final / pricing extras ===== */
.home-final__signin {
  margin-top: 18px;
  color: #9fb2d8;
  font-size: 0.95rem;
}
.home-final__signin button {
  border: 0;
  background: none;
  color: #7dd3fc;
  font: inherit;
  font-weight: 720;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 6px;
}
.pricing-preview__compare {
  margin-top: 10px;
  text-align: center;
}
.pricing-preview__compare a {
  color: #7dd3fc;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.5);
  padding-bottom: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .home-entry__mic.is-listening { animation: none; }
  .home-entry__send:hover { transform: none; }
}

@media (forced-colors: active) {
  .home-entry__demo, .home-entry__invoice, .home-example, .home-human__modes span { border: 1px solid CanvasText; }
}

/* ===== Homepage post-N7: AI Business Operating System ===== */
.hero {
  max-width: 1320px;
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(54px, 7vw, 88px);
}
.hero-layout {
  gap: clamp(36px, 5vw, 76px);
}
@media (min-width: 1321px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(460px, .88fr);
    gap: clamp(32px, 4vw, 56px);
  }
}
.hero-eyebrow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(116, 240, 198, .24);
  background:
    linear-gradient(110deg, rgba(116, 240, 198, .065), transparent 48%),
    rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 12px 34px -28px rgba(116, 240, 198, .78);
}
.hero-eyebrow > span {
  position: relative;
  z-index: 1;
}
.hero-eyebrow::before {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #74f0c6;
  opacity: .82;
  transform: scale(.88);
  transform-origin: center;
  box-shadow:
    0 0 0 0 rgba(116, 240, 198, .3),
    0 0 10px rgba(116, 240, 198, .78);
  animation: heroSystemStatus 2.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
.hero-eyebrow::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset-block: -72%;
  inset-inline-start: -34%;
  width: 25%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(116, 240, 198, .04),
    rgba(125, 211, 252, .18),
    rgba(116, 240, 198, .04),
    transparent
  );
  opacity: 0;
  transform: translate3d(-180%, 0, 0) rotate(18deg);
  animation: heroSystemSweep 7.6s cubic-bezier(.22, 1, .36, 1) infinite;
}
@keyframes heroSystemStatus {
  0%, 100% {
    opacity: .82;
    transform: scale(.88);
    box-shadow:
      0 0 0 0 rgba(116, 240, 198, .3),
      0 0 10px rgba(116, 240, 198, .78);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow:
      0 0 0 5px rgba(116, 240, 198, 0),
      0 0 17px rgba(116, 240, 198, 1);
  }
}
@keyframes heroSystemSweep {
  0%, 58% {
    opacity: 0;
    transform: translate3d(-180%, 0, 0) rotate(18deg);
  }
  64% { opacity: .34; }
  78% {
    opacity: 0;
    transform: translate3d(650%, 0, 0) rotate(18deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(650%, 0, 0) rotate(18deg);
  }
}
.hero-copy-column {
  max-width: 670px;
}
.hero h1 {
  max-width: 660px;
  font-size: clamp(2.65rem, 5.4vw, 4.55rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.hero p.lead {
  max-width: 650px;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.68;
}
.hero-control-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 18px 0 0;
  color: #b8c8d9;
  font-size: .88rem;
  font-weight: 680;
}
.hero-control-line__mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(116, 240, 198, .34);
  border-radius: 50%;
  background: rgba(116, 240, 198, .09);
  color: #74f0c6;
  box-shadow: 0 0 24px rgba(116, 240, 198, .12);
}
.home-entry__stage {
  max-width: 620px;
  margin-inline: auto;
}
.section-head .section-copy {
  line-height: 1.7;
}

/* Problem -> one operating system */
.home-os-story {
  padding-top: clamp(78px, 9vw, 118px);
  padding-bottom: clamp(78px, 9vw, 118px);
}
.home-os-story::before {
  content: "";
  position: absolute;
  inset: 9% 5% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .19), transparent);
  pointer-events: none;
}
.home-os-story__intro {
  max-width: 840px;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.home-os-story__intro h2 {
  max-width: 800px;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.06;
}
.home-os-story__grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) clamp(64px, 6vw, 88px) minmax(360px, 1.06fr);
  grid-template-areas: "fragmented connector connected";
  gap: clamp(14px, 2.2vw, 28px);
  align-items: stretch;
}
.home-os-story__fragmented {
  grid-area: fragmented;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 380px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 8%, rgba(125, 211, 252, .08), transparent 30%),
    linear-gradient(155deg, rgba(12, 20, 30, .84), rgba(7, 13, 21, .72));
  box-shadow: 0 34px 86px -60px rgba(56, 189, 248, .45), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.home-os-story__fragmented::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .055) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 82%);
  pointer-events: none;
}
.home-os-story__fragmented::after {
  content: "";
  position: absolute;
  inset: auto -12% -34% 42%;
  height: 58%;
  border-radius: 50%;
  background: rgba(45, 212, 191, .055);
  filter: blur(34px);
  pointer-events: none;
}
.home-os-story__fragmented > * {
  position: relative;
  z-index: 1;
}
.home-os-story__fragmented-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  margin: 0 2px 13px;
}
.home-os-story__fragmented-bar span {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 50%;
  background: rgba(148, 163, 184, .12);
}
.home-os-story__fragmented-bar span:nth-child(2) { opacity: .72; }
.home-os-story__fragmented-bar span:nth-child(3) { opacity: .45; }
.home-os-story__fragmented-bar i {
  width: min(96px, 28%);
  height: 1px;
  margin-inline-start: auto;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .23));
}
.home-os-story__tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-os-story__tools li {
  --tool-accent: 125, 211, 252;
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 78px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--tool-accent), .19);
  border-radius: 16px;
  background:
    linear-gradient(110deg, rgba(var(--tool-accent), .085), transparent 42%),
    rgba(9, 16, 25, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 15px 28px -28px rgba(var(--tool-accent), .75);
}
.home-os-story__tools li::before {
  content: "";
  position: absolute;
  inset-block: 15px;
  inset-inline-start: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(var(--tool-accent), .72), transparent);
}
.home-os-story__tools li:nth-child(odd) { margin-inline-end: 4px; }
.home-os-story__tools li:nth-child(even) { margin-inline-start: 4px; }
.home-os-story__tools li:nth-child(1) { --tool-accent: 94, 234, 212; }
.home-os-story__tools li:nth-child(2) { --tool-accent: 125, 211, 252; }
.home-os-story__tools li:nth-child(3) { --tool-accent: 103, 232, 249; }
.home-os-story__tools li:nth-child(4) { --tool-accent: 147, 197, 253; }
.home-os-story__tools li:nth-child(5) { --tool-accent: 196, 181, 253; }
.home-os-story__tools li:nth-child(6) { --tool-accent: 110, 231, 183; }
.home-os-story__tool-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--tool-accent), .25);
  border-radius: 12px;
  background: rgba(var(--tool-accent), .09);
  color: rgb(var(--tool-accent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.home-os-story__tool-icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-os-story__tool-label {
  min-width: 0;
  color: #c8d5e4;
  font-size: .86rem;
  font-weight: 680;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
html:lang(en) [data-os-sheets] .home-os-story__tool-label,
html:lang(nl) [data-os-sheets] .home-os-story__tool-label {
  white-space: nowrap;
  overflow-wrap: normal;
}
.home-os-story__tool-break {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  opacity: .58;
}
.home-os-story__tool-break::before,
.home-os-story__tool-break::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  width: 7px;
  height: 1px;
  border-radius: 99px;
  background: rgb(var(--tool-accent));
}
.home-os-story__tool-break::before {
  inset-inline-start: 0;
  transform: translateY(-2px) rotate(9deg);
}
.home-os-story__tool-break::after {
  inset-inline-end: 0;
  transform: translateY(2px) rotate(-9deg);
}
.home-os-story__connector {
  grid-area: connector;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 300px;
  color: #74f0c6;
}
.home-os-story__connector svg {
  width: 100%;
  max-width: 96px;
  height: min(300px, 100%);
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(45, 212, 191, .17));
}
.home-os-story__connector-branch {
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 6 9;
  opacity: .38;
  animation: homeOsConnectorFlow 5.6s linear infinite;
}
.home-os-story__connector-node {
  fill: #91a4b8;
  opacity: .58;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 3px rgba(125, 211, 252, .52));
  animation: homeOsConnectorNode 2.8s ease-in-out infinite;
}
.home-os-story__connector-node:nth-of-type(2) { animation-delay: -.42s; }
.home-os-story__connector-node:nth-of-type(3) { animation-delay: -.84s; }
.home-os-story__connector-core {
  fill: currentColor;
  filter: drop-shadow(0 0 9px rgba(116, 240, 198, .58));
  transform-box: fill-box;
  transform-origin: center;
  animation: homeOsConnectorCore 2.4s ease-in-out infinite;
}
.home-os-story__connector-core-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
  opacity: .52;
  transform-box: fill-box;
  transform-origin: center;
  animation: homeOsConnectorOrbit 4.8s linear infinite;
}
.home-os-story__connector-trunk,
.home-os-story__connector-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: homeOsConnectorOutput 2.4s ease-in-out infinite;
}
@keyframes homeOsConnectorFlow {
  to { stroke-dashoffset: -45; }
}
@keyframes homeOsConnectorNode {
  0%, 100% { opacity: .48; transform: scale(.88); }
  42% { opacity: 1; transform: scale(1.24); }
  58% { opacity: .76; transform: scale(1); }
}
@keyframes homeOsConnectorCore {
  0%, 100% { opacity: .82; transform: scale(.92); }
  48% { opacity: 1; transform: scale(1.13); }
  62% { opacity: .94; transform: scale(1.02); }
}
@keyframes homeOsConnectorOrbit {
  to { transform: rotate(360deg); }
}
@keyframes homeOsConnectorOutput {
  0%, 100% { opacity: .62; }
  45%, 64% { opacity: 1; }
}
.home-os-card {
  grid-area: connected;
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 52px);
  border: 1px solid rgba(116, 240, 198, .25);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(125, 211, 252, .11), transparent 34%),
    linear-gradient(160deg, rgba(16, 31, 35, .94), rgba(9, 17, 26, .96));
  box-shadow: 0 40px 100px -62px rgba(45, 212, 191, .52), inset 0 1px 0 rgba(255,255,255,.045);
}
.home-os-card::after {
  content: "";
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 14px rgba(116, 240, 198, .025);
}
.home-os-card > * {
  position: relative;
  z-index: 1;
}
.home-os-card__kicker {
  color: #74f0c6;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.home-os-card h3 {
  max-width: 540px;
  margin: 18px 0 14px;
  color: #f2f7ff;
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.home-os-card > p {
  max-width: 580px;
  margin: 0;
  color: #aabbd0;
  font-size: 1rem;
  line-height: 1.7;
}
.home-os-card__ask {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(125, 211, 252, .14);
}
.home-os-card__ask strong {
  color: #dffaf3;
  font-size: 1.02rem;
}
.home-os-card__ask span {
  color: #95a9bd;
  font-size: .9rem;
  line-height: 1.6;
}

/* Governed Nex flow */
.process-grid--nex {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.process-grid--nex .process-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border-color: rgba(148, 163, 184, .14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 24, 34, .86), rgba(9, 15, 23, .92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.process-grid--nex .process-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, .32), transparent);
}
.process-grid--nex .process-card h3 {
  color: #edf5ff;
  font-size: 1.08rem;
}
.process-grid--nex .process-card p {
  color: #9eb0c3;
  line-height: 1.62;
}
.process-grid--nex .process-card--decision {
  border-color: rgba(116, 240, 198, .36);
  background: linear-gradient(150deg, rgba(16, 44, 39, .74), rgba(9, 21, 26, .94));
  box-shadow: 0 24px 58px -42px rgba(116, 240, 198, .52), inset 0 1px 0 rgba(255,255,255,.04);
}
.process-grid--nex .process-card--decision .process-num,
.process-grid--nex .process-card--decision h3 {
  color: #8ff5df;
}

/* Understand -> Anticipate -> Operate -> Optimize -> You decide */
.home-value {
  padding-top: clamp(76px, 9vw, 112px);
  padding-bottom: clamp(76px, 9vw, 112px);
}
.home-value__journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 24px;
  background: rgba(7, 14, 23, .68);
  overflow: hidden;
}
.home-value__step {
  position: relative;
  min-height: 220px;
  padding: 34px 24px 28px;
  border-inline-end: 1px solid rgba(125, 211, 252, .12);
}
.home-value__step:last-child { border-inline-end: 0; }
.home-value__signal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border: 1px solid rgba(125, 211, 252, .3);
  border-radius: 50%;
  color: #06151a;
}
.home-value__signal::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 18px rgba(125, 211, 252, .48);
}
.home-value__step h3 {
  margin: 0 0 9px;
  color: #ecf5ff;
  font-size: 1.02rem;
}
.home-value__step p {
  margin: 0;
  color: #91a4b8;
  font-size: .9rem;
  line-height: 1.55;
}
.home-value__step--decision {
  background: linear-gradient(150deg, rgba(19, 65, 52, .46), rgba(8, 24, 26, .85));
}
.home-value__step--decision .home-value__signal {
  border-color: rgba(116, 240, 198, .5);
  background: #74f0c6;
  color: #051914;
  font-weight: 900;
  box-shadow: 0 0 34px rgba(116, 240, 198, .18);
}
.home-value__step--decision .home-value__signal::after { display: none; }
.home-value__step--decision h3 { color: #8ff5df; }

/* Verified examples */
.home-examples {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-example {
  min-height: 250px;
  padding: 24px;
  border-radius: 22px;
}
.home-example--primary {
  border-color: rgba(125, 211, 252, .28);
  background: linear-gradient(155deg, rgba(18, 36, 52, .85), rgba(9, 16, 24, .95));
}
.home-example--advanced {
  border-color: rgba(116, 240, 198, .25);
}
.home-example__kind {
  width: fit-content;
  color: #7dd3fc;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-example--advanced .home-example__kind { color: #74f0c6; }
.home-example__ai { line-height: 1.52; }
.home-example__actions {
  margin-top: auto;
  padding-top: 5px;
  color: #8ecdf4;
  font-weight: 700;
  letter-spacing: .01em;
}
.home-examples__note {
  max-width: 760px;
  margin: 22px auto 0;
  color: #8194aa;
  font-size: .84rem;
  line-height: 1.55;
  text-align: center;
}

/* Human decision contract */
.home-control {
  padding-top: clamp(50px, 7vw, 86px);
  padding-bottom: clamp(70px, 9vw, 112px);
}
.home-control__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(116, 240, 198, .28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 20%, rgba(116, 240, 198, .12), transparent 30%),
    linear-gradient(145deg, rgba(13, 31, 34, .96), rgba(8, 17, 26, .96));
  box-shadow: 0 48px 110px -74px rgba(45, 212, 191, .58);
}
.home-control__copy h2 {
  max-width: 620px;
  margin: 0 0 16px;
  color: #f3f8ff;
  font-size: clamp(2rem, 4.3vw, 3.65rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.home-control__copy p {
  max-width: 650px;
  margin: 0;
  color: #a8bacd;
  font-size: 1rem;
  line-height: 1.72;
}
.home-control__flow {
  display: grid;
  gap: 17px;
  padding: 26px;
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 20px;
  background: rgba(5, 13, 21, .62);
}
.home-control__capabilities {
  color: #9eb1c4;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.6;
}
.home-control__line {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #7dd3fc, #74f0c6);
}
.home-control__line::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #74f0c6;
  box-shadow: 0 0 20px rgba(116, 240, 198, .62);
  transform: translateY(-50%);
}
.home-control__flow strong {
  color: #dffaf3;
  font-size: 1rem;
  line-height: 1.5;
}

/* Connected capability constellation */
.home-capability-section {
  position: relative;
  isolation: isolate;
}
.home-capability-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 16% 8% 2%;
  background: radial-gradient(circle at 50% 52%, rgba(45, 212, 191, .085), transparent 48%);
  filter: blur(22px);
  pointer-events: none;
}
.home-capability-section .section-head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.home-capability-system {
  position: relative;
  isolation: isolate;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(18px, 2.8vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(45, 212, 191, .1), transparent 25%),
    linear-gradient(145deg, rgba(10, 22, 32, .96), rgba(6, 14, 23, .94));
  box-shadow:
    0 42px 100px -72px rgba(45, 212, 191, .62),
    inset 0 1px 0 rgba(255, 255, 255, .04);
}
.home-capability-system::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 76%);
  pointer-events: none;
}
.home-capability-system::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 50%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, .14), rgba(125, 211, 252, .045) 42%, transparent 70%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.home-capability-network {
  position: absolute;
  z-index: 0;
  inset: clamp(18px, 2.8vw, 30px);
  width: calc(100% - clamp(36px, 5.6vw, 60px));
  height: calc(100% - clamp(36px, 5.6vw, 60px));
  overflow: visible;
  color: #58daca;
  filter: drop-shadow(0 0 6px rgba(45, 212, 191, .26));
  pointer-events: none;
}
.home-capability-network__rail {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  opacity: .4;
  vector-effect: non-scaling-stroke;
}
.home-capability-network__signal {
  fill: none;
  stroke: #b9fff0;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: .018 .982;
  stroke-dashoffset: 0;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(116, 240, 198, .95));
  animation: homeCapabilitySignal 7.2s linear infinite;
}
.home-capability-network__signal:nth-of-type(2) { animation-delay: .05s; }
.home-capability-network__signal:nth-of-type(3) { animation-delay: .1s; }
.home-capability-network__signal:nth-of-type(4) { animation-delay: .15s; }
.home-capability-network__signal:nth-of-type(5) { animation-delay: .2s; }
.home-capability-network__signal:nth-of-type(6) { animation-delay: .15s; }
.home-capability-network__signal:nth-of-type(7) { animation-delay: .1s; }
.home-capability-network__signal:nth-of-type(8) { animation-delay: .05s; }
@keyframes homeCapabilitySignal {
  0%, 6% { opacity: 0; stroke-dashoffset: 0; }
  9% { opacity: .98; stroke-dashoffset: 0; }
  36% { opacity: 1; stroke-dashoffset: -.982; }
  39%, 55% { opacity: 0; stroke-dashoffset: -.982; }
  58% { opacity: 1; stroke-dashoffset: -.982; }
  86% { opacity: .98; stroke-dashoffset: 0; }
  90%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
.home-capability-network__layout--tablet,
.home-capability-network__layout--mobile {
  display: none;
}
.home-capability-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-capability-module {
  --module-rgb: 125, 211, 252;
  --module-phase: 0s;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 112px;
  padding: 17px 18px;
  overflow: visible;
  border: 1px solid rgba(var(--module-rgb), .21);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0, rgba(var(--module-rgb), .1), transparent 44%),
    linear-gradient(145deg, rgba(13, 25, 36, .96), rgba(8, 17, 27, .94));
  box-shadow:
    0 18px 42px -36px rgba(var(--module-rgb), .58),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}
.home-capability-module::before {
  content: "";
  position: absolute;
  inset-block: 15px;
  inset-inline-start: -1px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(var(--module-rgb), .82), transparent);
}
.home-capability-module::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: -1px;
  border: 1px solid rgba(var(--module-rgb), .76);
  border-radius: inherit;
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
  animation: homeCapabilityModuleResponse 7.2s ease-in-out var(--module-phase) infinite;
}
.home-capability-module:nth-child(1) { --module-rgb: 94, 234, 212; --module-phase: 0s; }
.home-capability-module:nth-child(2) { --module-rgb: 125, 211, 252; --module-phase: .05s; }
.home-capability-module:nth-child(3) { --module-rgb: 103, 232, 249; --module-phase: .1s; }
.home-capability-module:nth-child(4) { --module-rgb: 110, 231, 183; --module-phase: .15s; }
.home-capability-module:nth-child(6) { --module-rgb: 147, 197, 253; --module-phase: .2s; }
.home-capability-module:nth-child(7) { --module-rgb: 94, 234, 212; --module-phase: .15s; }
.home-capability-module:nth-child(8) { --module-rgb: 196, 181, 253; --module-phase: .1s; }
.home-capability-module:nth-child(9) { --module-rgb: 125, 211, 252; --module-phase: .05s; }
@keyframes homeCapabilityModuleResponse {
  0%, 79%, 100% { opacity: 0; transform: scale(.985); }
  86% { opacity: .74; transform: scale(1); }
  92% { opacity: .16; transform: scale(1); }
}
.home-capability-module__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--module-rgb), .26);
  border-radius: 14px;
  background: rgba(var(--module-rgb), .08);
  color: rgb(var(--module-rgb));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.home-capability-module__icon svg {
  width: 25px;
  height: 25px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-capability-module strong {
  min-width: 0;
  color: #e0ebf7;
  font-size: clamp(.88rem, 1.25vw, .98rem);
  line-height: 1.4;
  text-align: start;
  overflow-wrap: break-word;
  hyphens: auto;
}
.home-capability-module__port {
  position: absolute;
  z-index: 3;
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid #07111b;
  border-radius: 50%;
  background: rgb(var(--module-rgb));
  box-shadow: 0 0 14px rgba(var(--module-rgb), .64);
}
.home-capability-module__port::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(var(--module-rgb), .72);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.42);
  box-shadow: 0 0 10px rgba(var(--module-rgb), .28);
  animation: homeCapabilityPort 7.2s ease-out var(--module-phase) infinite;
}
@keyframes homeCapabilityPort {
  0%, 4%, 17%, 78%, 100% { opacity: 0; transform: scale(.42); }
  9% { opacity: .86; transform: scale(1); }
  14% { opacity: 0; transform: scale(1.55); }
  86% { opacity: .9; transform: scale(.88); }
  93% { opacity: 0; transform: scale(1.6); }
}
[data-capability-edge="bottom"] .home-capability-module__port {
  inset: auto auto -5px 50%;
  transform: translateX(-50%);
}
[data-capability-edge="top"] .home-capability-module__port {
  inset: -5px auto auto 50%;
  transform: translateX(-50%);
}
[data-capability-edge="inline-end"] .home-capability-module__port {
  inset-block-start: 50%;
  inset-inline-end: -5px;
  transform: translateY(-50%);
}
[data-capability-edge="inline-start"] .home-capability-module__port {
  inset-block-start: 50%;
  inset-inline-start: -5px;
  transform: translateY(-50%);
}
.home-capability-hub {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  min-height: 112px;
  pointer-events: none;
}
.home-capability-hub__orbit {
  position: absolute;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(94, 234, 212, .27);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(45, 212, 191, .025),
    0 0 42px rgba(45, 212, 191, .1);
  animation: homeCapabilityOrbit 16s linear infinite;
}
.home-capability-hub__orbit::before,
.home-capability-hub__orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 14px rgba(125, 211, 252, .7);
  transform: translateY(-50%);
}
.home-capability-hub__orbit::before { left: -3px; }
.home-capability-hub__orbit::after { right: -3px; }
.home-capability-hub__core {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(94, 234, 212, .48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .1), transparent 30%),
    linear-gradient(145deg, rgba(17, 65, 57, .98), rgba(7, 27, 31, .98));
  color: #b7fff0;
  box-shadow:
    0 18px 48px -24px rgba(45, 212, 191, .8),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  isolation: isolate;
  transform-origin: center;
  animation: homeCapabilityCoreAlive 2.8s ease-in-out infinite;
}
.home-capability-hub__core::before,
.home-capability-hub__core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.home-capability-hub__core::before {
  inset: -12px;
  border: 1px solid rgba(116, 240, 198, .58);
  opacity: .12;
  transform: scale(.78);
  animation: homeCapabilityProcess 7.2s ease-out infinite;
}
.home-capability-hub__core::after {
  inset: 8px;
  border: 1px dashed rgba(125, 211, 252, .42);
  opacity: .7;
  animation: homeCapabilityCoreScan 4.6s linear infinite;
}
.home-capability-hub__core b {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .16em;
  transform: translateX(.08em);
}
.home-capability-hub__core i {
  position: absolute;
  inset: auto auto 17px 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #74f0c6;
  box-shadow: -9px 0 0 rgba(116, 240, 198, .38), 9px 0 0 rgba(125, 211, 252, .5);
  transform: translateX(-50%);
  z-index: 2;
  animation: homeCapabilityThinking 1.65s steps(1, end) infinite;
}
@keyframes homeCapabilityOrbit {
  to { transform: rotate(360deg); }
}
@keyframes homeCapabilityCoreAlive {
  0%, 100% { transform: scale(.975); filter: brightness(.94); }
  50% { transform: scale(1.035); filter: brightness(1.08); }
}
@keyframes homeCapabilityProcess {
  0%, 34% { opacity: .08; transform: scale(.78); }
  40% { opacity: .82; transform: scale(.88); }
  54% { opacity: .12; transform: scale(1.32); }
  57%, 100% { opacity: 0; transform: scale(1.38); }
}
@keyframes homeCapabilityCoreScan {
  to { transform: rotate(-360deg); }
}
@keyframes homeCapabilityThinking {
  0%, 100% {
    background: rgba(116, 240, 198, .38);
    box-shadow: -9px 0 0 #74f0c6, 9px 0 0 rgba(125, 211, 252, .34);
  }
  33% {
    background: #74f0c6;
    box-shadow: -9px 0 0 rgba(116, 240, 198, .35), 9px 0 0 rgba(125, 211, 252, .42);
  }
  66% {
    background: rgba(116, 240, 198, .38);
    box-shadow: -9px 0 0 rgba(116, 240, 198, .34), 9px 0 0 #7dd3fc;
  }
}

/* Work anywhere + trust */
.home-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 18px;
  padding-top: clamp(72px, 9vw, 108px);
  padding-bottom: clamp(72px, 9vw, 108px);
}
.home-trust__mobile,
.home-trust__security {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(15, 24, 35, .93), rgba(8, 15, 23, .96));
}
.home-trust__mobile h2 {
  max-width: 580px;
  margin: 0 0 16px;
  color: #eff6ff;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.home-trust__mobile > p {
  max-width: 560px;
  margin: 0;
  color: #9dafc2;
  line-height: 1.7;
}
.home-device-mark {
  position: absolute;
  inset: auto 42px 34px auto;
  width: min(330px, 48%);
  height: 150px;
  opacity: .78;
}
.home-device-mark span {
  position: absolute;
  display: block;
  border: 1px solid rgba(125, 211, 252, .4);
  background: rgba(5, 14, 23, .62);
  box-shadow: inset 0 0 0 6px rgba(125, 211, 252, .025), 0 22px 46px -34px rgba(125, 211, 252, .8);
}
.home-device-mark__desktop {
  inset: 0 0 20px auto;
  width: 72%;
  height: 76%;
  border-radius: 12px;
}
.home-device-mark__desktop::after {
  content: "";
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: -21px;
  height: 20px;
  border-top: 1px solid rgba(125, 211, 252, .42);
  border-bottom: 1px solid rgba(125, 211, 252, .42);
}
.home-device-mark__tablet {
  inset: 25px auto 0 12%;
  width: 34%;
  height: 72%;
  border-radius: 12px;
}
.home-device-mark__phone {
  inset: auto auto 0 0;
  z-index: 2;
  width: 22%;
  height: 62%;
  border-radius: 13px;
}
.home-trust__security {
  border-color: rgba(116, 240, 198, .22);
  background:
    radial-gradient(circle at 100% 0, rgba(116, 240, 198, .09), transparent 34%),
    linear-gradient(155deg, rgba(13, 28, 31, .94), rgba(8, 15, 23, .97));
}
.home-trust__security h3 {
  max-width: 480px;
  margin: 0 0 28px;
  color: #ecf8f5;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.16;
}
.home-trust__security ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-trust__security li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-top: 1px solid rgba(116, 240, 198, .11);
  color: #a8bcb9;
  font-size: .92rem;
  line-height: 1.5;
}
.home-trust__security li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #74f0c6;
  font-weight: 900;
}

/* FAQ */
.home-faq {
  position: relative;
  isolation: isolate;
  padding-top: clamp(80px, 10vw, 124px);
  padding-bottom: clamp(64px, 8vw, 96px);
}
.home-faq::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 8% auto;
  height: 52%;
  background: radial-gradient(circle at 50% 0, rgba(45, 212, 191, .08), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}
.home-faq .section-head {
  max-width: 820px;
  margin-bottom: clamp(38px, 5vw, 58px);
}
.home-faq__grid {
  --faq-summary-fallback: clamp(98px, calc(234px - 13.3vw), 132px);
  --faq-summary-block-size: var(--faq-summary-fallback);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 12px;
  align-items: start;
}
.home-faq details {
  --faq-accent: 116, 240, 198;
  position: relative;
  align-self: start;
  display: block;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(var(--faq-accent), .055), transparent 42%),
    linear-gradient(155deg, rgba(13, 23, 34, .93), rgba(7, 15, 24, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 22px 52px -46px rgba(0, 0, 0, .9);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.home-faq details:nth-child(4n+2),
.home-faq details:nth-child(4n+3) { --faq-accent: 125, 211, 252; }
.home-faq details::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 24px auto;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, rgba(var(--faq-accent), .78), transparent);
  opacity: .32;
  transition: opacity .18s ease;
}
.home-faq details[open] {
  border-color: rgba(var(--faq-accent), .42);
  background-color: rgba(11, 25, 34, .96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 24px 58px -42px rgba(var(--faq-accent), .32);
}
.home-faq details[open]::before { opacity: 1; }
.home-faq summary {
  position: relative;
  z-index: 3;
  display: grid;
  box-sizing: border-box;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 13px;
  align-items: center;
  min-width: 0;
  min-block-size: var(--faq-summary-block-size);
  padding: 18px;
  color: #e5eef9;
  cursor: pointer;
  list-style: none;
}
.home-faq details:not([open]) summary {
  min-block-size: var(--faq-summary-block-size);
  align-content: center;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq__number,
.home-faq__indicator {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.home-faq__number {
  border: 1px solid rgba(var(--faq-accent), .2);
  background: rgba(var(--faq-accent), .055);
  color: rgba(186, 230, 242, .72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.home-faq__question {
  min-width: 0;
  padding-top: 0;
  font-size: .98rem;
  font-weight: 780;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.home-faq__indicator {
  justify-self: end;
  border: 1px solid rgba(var(--faq-accent), .26);
  background: rgba(5, 18, 27, .72);
  color: rgb(var(--faq-accent));
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  transition: border-color .18s ease, background-color .18s ease;
}
.home-faq__indicator::before { content: "+"; }
.home-faq details[open] .home-faq__indicator {
  border-color: rgba(var(--faq-accent), .5);
  background: rgba(var(--faq-accent), .09);
}
.home-faq details[open] .home-faq__indicator::before { content: "−"; }
.home-faq__answer {
  position: relative;
  z-index: 2;
  align-self: start;
  margin-block: 0 22px;
  margin-inline: 69px 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(var(--faq-accent), .14);
}
.home-faq details p {
  margin: 0;
  color: #a9b9c9;
  font-size: .92rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}
.home-faq summary:focus-visible {
  outline: 3px solid rgba(125, 211, 252, .72);
  outline-offset: -4px;
  border-radius: 19px;
}

@supports (interpolate-size: allow-keywords) {
  .home-faq { interpolate-size: allow-keywords; }
  .home-faq details::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition:
      block-size .28s cubic-bezier(.22, 1, .36, 1),
      opacity .18s ease,
      content-visibility .28s allow-discrete;
  }
  .home-faq details[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

@media (min-width: 1120px) {
  .home-faq__grid {
    --faq-summary-fallback: clamp(125px, calc(249px - 9.1vw), 147px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-faq summary {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 11px;
    padding: 19px;
  }
  .home-faq__number,
  .home-faq__indicator {
    width: 34px;
    height: 34px;
  }
  .home-faq__question { font-size: .94rem; }
  .home-faq__answer {
    margin-block: 0 21px;
    margin-inline: 64px 19px;
  }
}

.cta-panel {
  border-radius: 26px;
  padding: clamp(42px, 6vw, 70px);
  background:
    radial-gradient(circle at 50% 0, rgba(116, 240, 198, .12), transparent 42%),
    linear-gradient(135deg, rgba(14, 34, 35, .92), rgba(9, 18, 28, .96));
}
.cta-panel h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  letter-spacing: -.04em;
}

/* Demo evidence is semantic and deliberately contains no invented figures. */
.home-entry__signal-visual {
  --signal-rgb: 125, 211, 252;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 14px;
  background: rgba(4, 12, 20, .58);
}
.home-entry__signal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid rgba(var(--signal-rgb), .25);
  border-radius: 10px;
  background: rgba(var(--signal-rgb), .08);
}
.home-entry__signal-row.is-entering {
  opacity: 0;
  transform: translateY(7px);
  animation: homeEntrySignalReveal .36s cubic-bezier(.16, 1, .3, 1) both;
}
.home-entry__signal-row.is-entering:nth-child(1) { animation-delay: .28s; }
.home-entry__signal-row.is-entering:nth-child(2) { animation-delay: .35s; }
.home-entry__signal-row.is-entering:nth-child(3) { animation-delay: .42s; }
@keyframes homeEntrySignalReveal {
  to { opacity: 1; transform: translateY(0); }
}
.home-entry__signal-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--signal-rgb));
  box-shadow: 0 0 12px rgba(var(--signal-rgb), .42);
}
.home-entry__signal-label {
  color: #dce9f7;
  font-size: clamp(.66rem, 1vw, .75rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.home-entry__signal-visual--priority { --signal-rgb: 116, 240, 198; }
.home-entry__signal-visual--insight { --signal-rgb: 196, 181, 253; }
.home-entry__signal-visual--strategy { --signal-rgb: 251, 191, 36; }
.home-entry__signal-visual--outcome { --signal-rgb: 52, 211, 153; }

@media (max-width: 640px) {
  .home-entry__signal-visual { grid-template-columns: 1fr; }
}

/* Script coverage without extra font downloads. */
html[lang="ar"] body {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}
html[lang="zh"] body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
}
html[lang="ja"] body {
  font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans CJK JP", "Segoe UI", sans-serif;
}
html[lang="ko"] body {
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans CJK KR", "Segoe UI", sans-serif;
}
html[lang="hi"] body {
  font-family: "Nirmala UI", "Mangal", "Noto Sans Devanagari", "Segoe UI", sans-serif;
}
html[lang="bn"] body {
  font-family: "Nirmala UI", "Vrinda", "Noto Sans Bengali", "Segoe UI", sans-serif;
}
html[lang="vi"] body {
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3 {
  line-height: 1.2;
  letter-spacing: 0;
}
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ko"] h1,
html[lang="ko"] h2 {
  line-height: 1.18;
  letter-spacing: -.02em;
}
.hero h1,
.section h2,
.home-os-card h3,
.home-control__copy h2,
.home-trust h2,
.home-trust h3,
.home-faq summary,
.hero-auth-btn {
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .pricing-preview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-os-story__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "fragmented"
      "connector"
      "connected";
    gap: 14px;
  }
  .home-os-story__fragmented,
  .home-os-card {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }
  .home-os-story__connector {
    width: 100%;
    min-height: 72px;
    height: 72px;
  }
  .home-os-story__connector svg {
    width: 72px;
    max-width: none;
    height: 260px;
    transform: rotate(90deg);
  }
  .process-grid--nex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-value__journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .home-value__step {
    min-height: 190px;
    border-bottom: 1px solid rgba(125, 211, 252, .12);
  }
  .home-value__step:nth-child(2n) { border-inline-end: 0; }
  .home-value__step--decision {
    grid-column: 1 / -1;
    min-height: 170px;
    border-bottom: 0;
  }
  .home-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-control__panel { grid-template-columns: 1fr; }
  .home-capability-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-capability-hub {
    grid-column: 1 / -1;
    min-height: 150px;
  }
  .home-capability-network__layout--desktop { display: none; }
  .home-capability-network__layout--tablet { display: block; }
  .home-capability-module[data-capability-edge] .home-capability-module__port {
    inset: auto auto -5px 50%;
    transform: translateX(-50%);
  }
  .home-capability-module:nth-child(n+6)[data-capability-edge] .home-capability-module__port {
    inset: -5px auto auto 50%;
  }
  .home-trust { grid-template-columns: 1fr; }
  .home-trust__mobile,
  .home-trust__security { min-height: 340px; }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 58px;
    padding-bottom: 62px;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    line-height: 1.02;
  }
  .hero p.lead { line-height: 1.62; }
  .hero-control-line { align-items: flex-start; }
  .home-os-story,
  .home-value,
  .home-control,
  .home-trust,
  .home-faq { padding-inline: 18px; }
  .home-os-story__intro h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .home-os-story__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-os-story__fragmented {
    min-height: 0;
    padding: 14px;
    border-radius: 20px;
  }
  .home-os-story__fragmented-bar { margin-bottom: 10px; }
  .home-os-story__tools { gap: 9px; }
  .home-os-story__tools li {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: 8px;
    min-height: 72px;
    padding: 9px;
    border-radius: 14px;
  }
  .home-os-story__tool-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .home-os-story__tool-icon svg { width: 20px; height: 20px; }
  .home-os-story__tool-label { font-size: .8rem; }
  .home-os-story__tool-break { width: 18px; }
  .home-os-story__tool-break::before,
  .home-os-story__tool-break::after { width: 7px; }
  .home-os-card { border-radius: 22px; }
  .process-grid--nex { grid-template-columns: 1fr; }
  .process-grid--nex .process-card {
    min-height: 0;
    padding: 24px;
  }
  .home-value__journey { grid-template-columns: 1fr; }
  .home-value__step,
  .home-value__step:nth-child(2n) {
    min-height: 0;
    padding: 26px 22px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(125, 211, 252, .12);
  }
  .home-value__step--decision {
    grid-column: auto;
    border-bottom: 0;
  }
  .home-value__signal { margin-bottom: 20px; }
  .home-examples {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-example {
    min-height: 0;
    padding: 18px;
  }
  .home-example__user,
  .home-example__ai {
    padding: 10px 12px;
    font-size: .86rem;
  }
  .home-control__panel {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .home-control__copy h2 { font-size: clamp(2rem, 10vw, 2.9rem); }
  .home-control__flow { padding: 21px; }
  .home-capability-system {
    padding: 14px;
    border-radius: 24px;
  }
  .home-capability-network {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }
  .home-capability-map { gap: 10px; }
  .home-capability-module {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-height: 94px;
    padding: 13px;
    border-radius: 15px;
  }
  .home-capability-module__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .home-capability-module__icon svg {
    width: 22px;
    height: 22px;
  }
  .home-capability-module strong {
    font-size: .84rem;
    line-height: 1.35;
  }
  .home-capability-hub { min-height: 136px; }
  .home-capability-hub__orbit {
    width: 112px;
    height: 112px;
  }
  .home-capability-hub__core {
    width: 82px;
    height: 82px;
  }
  .home-trust__mobile,
  .home-trust__security {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 22px;
  }
  .home-device-mark {
    position: relative;
    inset: auto;
    width: min(330px, 100%);
    height: 138px;
    margin: 34px 0 0 auto;
  }
  .home-faq__grid {
    --faq-summary-fallback: clamp(90px, calc(346.5px - 55vw), 132px);
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .home-faq details {
    min-height: 0;
    height: auto;
  }
  .home-faq summary {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    padding: 18px;
    font-size: .93rem;
  }
  .home-faq__number,
  .home-faq__indicator {
    width: 34px;
    height: 34px;
  }
  .home-faq__answer {
    margin-block: 0 20px;
    margin-inline: 63px 18px;
    padding-top: 15px;
  }
  .cta-panel { padding: 38px 20px; }
}

@media (max-width: 620px) {
  .pricing-preview__grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .home-os-story__tools li {
    grid-template-columns: 32px minmax(0, 1fr) 12px;
    gap: 6px;
    padding: 8px;
  }
  .home-os-story__tool-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .home-os-story__tool-icon svg { width: 18px; height: 18px; }
  .home-os-story__tool-label { font-size: .78rem; }
  .home-os-story__tool-break { width: 12px; }
  .home-os-story__tool-break::before,
  .home-os-story__tool-break::after { width: 5px; }
  .home-device-mark { height: 116px; }
  .home-capability-module {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    min-height: 88px;
    padding: 11px;
  }
  .home-capability-module__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .home-capability-module__icon svg {
    width: 20px;
    height: 20px;
  }
  .home-capability-module strong {
    font-size: .78rem;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 400px) {
  .home-os-story__tools { grid-template-columns: 1fr; }
  .home-os-story__tools li,
  .home-os-story__tools li:nth-child(odd),
  .home-os-story__tools li:nth-child(even) {
    min-height: 62px;
    margin-inline: 0;
  }
}

@media (max-width: 350px) {
  .home-capability-map { grid-template-columns: 1fr; }
  .home-capability-hub {
    grid-column: 1;
    min-height: 126px;
  }
  .home-capability-module {
    min-height: 70px;
    padding: 10px 12px;
  }
  .home-capability-module strong {
    font-size: .82rem;
    overflow-wrap: break-word;
  }
  .home-capability-network__layout--tablet { display: none; }
  .home-capability-network__layout--mobile { display: block; }
}

/* Full Arabic RTL: structure, content, controls and directional affordances. */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .skip-link { right: 12px; left: auto; }
html[dir="rtl"] .hero-copy-column,
html[dir="rtl"] .section-head,
html[dir="rtl"] .home-os-story__intro,
html[dir="rtl"] .home-control__copy,
html[dir="rtl"] .home-trust__mobile,
html[dir="rtl"] .home-trust__security,
html[dir="rtl"] .footer-card { text-align: right; }
html[dir="rtl"] .hero-control-line { flex-direction: row; }
html[dir="rtl"] .hero-mock__title {
  margin-left: 0;
  margin-right: auto;
  direction: ltr;
  text-align: left;
}
html[dir="rtl"] .home-entry__invoice,
html[dir="rtl"] .home-entry__invoice-meta,
html[dir="rtl"] .notranslate,
html[dir="rtl"] bdi { direction: ltr; }
html[dir="rtl"] .home-entry__signal-visual {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .home-os-story__connector {
  direction: ltr;
}
html[dir="rtl"] .home-os-story__connector svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .home-example__user {
  align-self: flex-start;
  border-radius: 15px 15px 15px 4px;
}
html[dir="rtl"] .home-example__ai {
  align-self: flex-end;
  border-radius: 15px 15px 4px 15px;
}
html[dir="rtl"] .home-example__actions { align-self: flex-end; }
html[dir="rtl"] .home-control__line {
  background: linear-gradient(270deg, #7dd3fc, #74f0c6);
}
html[dir="rtl"] .home-control__line::after {
  right: auto;
  left: 0;
}
html[dir="rtl"] .home-device-mark {
  right: auto;
  left: 42px;
}
html[dir="rtl"] .home-trust__security li {
  padding: 16px 34px 16px 0;
}
html[dir="rtl"] .home-trust__security li::before {
  left: auto;
  right: 0;
}
html[dir="rtl"] .pricing-preview__badge {
  right: auto;
  left: 14px;
}
html[dir="rtl"] .pricing-preview__features li {
  padding-left: 0;
  padding-right: 16px;
}
html[dir="rtl"] .pricing-preview__features li::before {
  left: auto;
  right: 0;
}
html[dir="rtl"] .pricing-preview__compare-arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn.demo-cta::after { content: "←"; }
html[dir="rtl"] .btn.demo-cta:hover::after { transform: translateX(-4px) scale(1.06); }
html[dir="rtl"] .mobile-nav-panel .nav-links a { padding: 13px 15px 13px 40px; }
html[dir="rtl"] .mobile-nav-panel .nav-links a::after {
  right: auto;
  left: 15px;
  content: "‹";
}
html[dir="rtl"] .footer-detail-grid,
html[dir="rtl"] .footer-top { direction: rtl; }

@media (max-width: 1080px) {
  html[dir="rtl"] .home-os-story__connector svg { transform: rotate(90deg); }
}

@media (max-width: 760px) {
  html[dir="rtl"] .home-device-mark {
    left: auto;
    margin: 34px auto 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow::before,
  .hero-eyebrow::after,
  .showcase-video__poster,
  .home-faq details,
  .home-faq details::before,
  .home-faq details::details-content,
  .home-faq__indicator {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .hero-eyebrow::after { opacity: 0 !important; }
  .hero-eyebrow::before {
    opacity: 1 !important;
    box-shadow:
      0 0 0 3px rgba(116, 240, 198, .12),
      0 0 14px rgba(116, 240, 198, .86) !important;
  }
  .home-os-story__connector-branch,
  .home-os-story__connector-node,
  .home-os-story__connector-core,
  .home-os-story__connector-core-ring,
  .home-os-story__connector-trunk,
  .home-os-story__connector-arrow,
  .home-capability-network__signal,
  .home-capability-module::after,
  .home-capability-module__port::after,
  .home-capability-hub__orbit,
  .home-capability-hub__core,
  .home-capability-hub__core::before,
  .home-capability-hub__core::after,
  .home-capability-hub__core i {
    animation: none !important;
  }
  .home-capability-network__signal,
  .home-capability-module::after,
  .home-capability-module__port::after,
  .home-capability-hub__core::before {
    display: none !important;
  }
}

@media (forced-colors: active) {
  .hero-eyebrow::before,
  .hero-eyebrow::after {
    animation: none;
  }
  .hero-eyebrow::after { display: none; }
  .home-os-story__fragmented,
  .home-os-story__tools li,
  .home-os-story__tool-icon,
  .home-os-card,
  .process-grid--nex .process-card,
  .home-value__journey,
  .home-control__panel,
  .home-capability-system,
  .home-capability-module,
  .home-capability-module__icon,
  .home-capability-hub__orbit,
  .home-capability-hub__core,
  .home-trust__mobile,
  .home-trust__security,
  .home-faq details,
  .home-faq__number,
  .home-faq__indicator {
    border: 1px solid CanvasText;
  }
  .home-faq details,
  .home-faq__number,
  .home-faq__indicator {
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
  .home-faq details[open] { border-color: Highlight; }
  .home-faq details::before { background: CanvasText; }
  .home-os-story__connector {
    color: CanvasText;
  }
  .home-os-story__connector svg,
  .home-os-story__connector-core {
    filter: none;
  }
  .home-os-story__connector-node { fill: CanvasText; }
  .home-capability-system,
  .home-capability-module,
  .home-capability-module__icon,
  .home-capability-hub__core {
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
  .home-capability-network {
    color: CanvasText;
    filter: none;
    opacity: 1;
  }
  .home-capability-module__port,
  .home-capability-hub__orbit::before,
  .home-capability-hub__orbit::after {
    background: CanvasText;
    box-shadow: none;
  }
  .home-os-story__connector-branch,
  .home-os-story__connector-node,
  .home-os-story__connector-core,
  .home-os-story__connector-core-ring,
  .home-os-story__connector-trunk,
  .home-os-story__connector-arrow,
  .home-capability-hub__orbit,
  .home-capability-hub__core,
  .home-capability-hub__core::after,
  .home-capability-hub__core i {
    animation: none;
  }
  .home-capability-network__signal,
  .home-capability-module::after,
  .home-capability-module__port::after,
  .home-capability-hub__core::before,
  .home-capability-hub__core::after {
    display: none;
  }
}

/* Persistent mobile auth actions. Tablets keep the compact inline group;
   phones get a dedicated action row so brand, actions and menu never compete. */
.nav-auth-mobile {
  display: none;
}
@media (max-width: 1320px) {
  .page-index .nav-wrap {
    flex-wrap: nowrap;
  }
  .page-index .nav-auth-mobile {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-left: 0;
  }
  .page-index .nav-auth-mobile .nav-login,
  .page-index .nav-auth-mobile .btn.demo-cta.demo-cta-nav-primary {
    min-width: 0;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: .84rem;
  }
}

@media (max-width: 640px) {
  :root {
    --cn-mobile-header-height: 108px;
  }
  .page-index .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: 44px 44px;
    grid-template-areas:
      "brand menu"
      "auth auth";
    column-gap: 12px;
    row-gap: 6px;
    min-height: calc(var(--cn-mobile-header-height) + var(--cn-mobile-safe-top));
    padding:
      calc(7px + var(--cn-mobile-safe-top))
      max(14px, env(safe-area-inset-right, 0px))
      7px
      max(14px, env(safe-area-inset-left, 0px));
  }
  .page-index .brand {
    grid-area: brand;
    min-width: 0;
    max-width: 100%;
  }
  .page-index .menu-toggle {
    grid-area: menu;
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    margin: 0;
  }
  .page-index .nav-auth-mobile {
    grid-area: auth;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  .page-index .nav-auth-mobile .nav-login,
  .page-index .nav-auth-mobile .btn.demo-cta.demo-cta-nav-primary {
    display: inline-flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 44px;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0 12px;
    border-radius: 13px;
    font-size: clamp(.8rem, 3.4vw, .88rem);
    line-height: 1.05;
    white-space: normal;
    text-align: center;
  }
  .page-index .nav-auth-mobile .demo-cta-nav-primary {
    overflow: hidden !important;
    animation: none;
  }
  .page-index .nav-auth-mobile .demo-cta-nav-primary::before,
  .page-index .nav-auth-mobile .demo-cta-nav-primary::after {
    display: none;
  }
}
