:root {
  color-scheme: dark;
  --home-ink: #05080e;
  --home-ink-2: #080d15;
  --home-panel: #0b121d;
  --home-line: rgba(136, 178, 220, 0.18);
  --home-line-strong: rgba(122, 198, 255, 0.34);
  --home-white: #f7fbff;
  --home-muted: #a9b7c6;
  --home-blue: #25a7ff;
  --home-blue-2: #5cc9ff;
  --home-electric: #176bff;
  --home-max: 1240px;
  --home-gutter: clamp(20px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--home-ink);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.page-home {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--home-white);
  background: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-home img,
.page-home video {
  display: block;
  max-width: 100%;
}

.page-home a {
  color: inherit;
}

.page-home button,
.page-home a {
  -webkit-tap-highlight-color: transparent;
}

.home-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navigation */
.page-home .autonomous-nav {
  position: absolute;
  z-index: 60;
  top: 22px;
  right: 0;
  left: 0;
  width: 100%;
  padding: 0 var(--home-gutter);
  transition: transform 220ms ease;
}

.page-home .autonomous-nav__inner {
  position: relative;
  display: grid;
  width: min(var(--home-max), 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 14px 0 20px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(145, 195, 238, 0.18);
  border-radius: 18px;
  background: rgba(3, 8, 15, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.page-home .autonomous-nav__brand {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .autonomous-nav__mark {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid rgba(69, 170, 255, 0.28);
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(25, 133, 255, 0.14);
}

.page-home .autonomous-nav__brand > span > span {
  color: var(--home-blue-2);
}

.page-home .autonomous-nav__links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.page-home .autonomous-nav__link {
  display: inline-flex;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #cfdae5;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.page-home .autonomous-nav__link:hover,
.page-home .autonomous-nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
}

.page-home .autonomous-nav__link--cta {
  min-width: 116px;
  margin-left: 8px;
  border: 1px solid rgba(112, 212, 255, 0.56);
  color: #fff;
  background: linear-gradient(135deg, rgba(26, 173, 243, 0.96), rgba(31, 100, 255, 0.96));
  box-shadow: 0 10px 28px rgba(23, 108, 255, 0.18);
}

.page-home .autonomous-nav__link--cta:hover,
.page-home .autonomous-nav__link--cta:focus-visible {
  background: linear-gradient(135deg, #24baff, #1f73ff);
}

.page-home .autonomous-nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(140, 187, 229, 0.25);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.page-home .autonomous-nav__toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Cinematic hero */
.page-home .ait-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(790px, 100svh);
  overflow: hidden;
  background: #030811;
}

.page-home .ait-hero__media,
.page-home .ait-hero__video,
.page-home .ait-hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .ait-hero__media {
  z-index: -3;
  overflow: hidden;
  background: #06101c url("/assets/home-redesign/reel-automation-product-poster.jpg") 58% center / cover no-repeat;
}

.page-home .ait-hero__video {
  z-index: 0;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0;
  filter: saturate(0.92) contrast(1.04) brightness(0.9);
  transform: scale(1.015);
  transition: opacity 820ms cubic-bezier(0.4, 0, 0.2, 1);
}

.page-home .ait-hero__video.is-active {
  z-index: 1;
  opacity: 1;
}

.page-home .ait-hero__media::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 13, 0.88) 0%, rgba(2, 7, 14, 0.64) 36%, rgba(2, 7, 14, 0.12) 71%, rgba(2, 7, 14, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 6, 12, 0.22) 0%, rgba(2, 6, 12, 0.03) 45%, rgba(3, 7, 13, 0.78) 100%);
}

.page-home .ait-hero__scrim {
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 45%, rgba(29, 127, 255, 0.06), transparent 32%),
    linear-gradient(180deg, transparent 65%, var(--home-ink) 100%);
}

.page-home .ait-hero__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(115, 176, 226, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 176, 226, 0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.76), transparent 76%);
}

@media (min-width: 721px) {
  .page-home .ait-hero__video {
    filter: saturate(0.98) contrast(1.02) brightness(0.98);
  }

  .page-home .ait-hero__media::after {
    background:
      linear-gradient(90deg, rgba(2, 6, 13, 0.9) 0%, rgba(2, 7, 14, 0.68) 34%, rgba(2, 7, 14, 0.2) 54%, rgba(2, 7, 14, 0.035) 72%, rgba(2, 7, 14, 0.008) 100%),
      radial-gradient(ellipse at 18% 100%, rgba(3, 7, 13, 0.58) 0%, rgba(3, 7, 13, 0.2) 42%, transparent 72%),
      linear-gradient(180deg, rgba(2, 6, 12, 0.08) 0%, transparent 42%, rgba(3, 7, 13, 0.03) 100%);
  }

  .page-home .ait-hero__scrim {
    background:
      radial-gradient(circle at 72% 45%, rgba(29, 127, 255, 0.035), transparent 32%),
      linear-gradient(180deg, transparent 86%, rgba(3, 8, 17, 0.2) 100%);
  }
}

.page-home .ait-hero__shell {
  position: relative;
  display: grid;
  width: min(var(--home-max), 100%);
  min-height: max(790px, 100svh);
  margin: 0 auto;
  padding: 150px var(--home-gutter) 90px;
  align-items: center;
}

.page-home .ait-hero__content {
  width: min(850px, 100%);
}

.page-home .ait-hero__eyebrow,
.page-home .section-eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 10px;
  color: #b9d3e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-home .ait-hero__eyebrow::before,
.page-home .section-eyebrow::before {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  content: "";
  background: var(--home-blue-2);
  box-shadow: 0 0 18px rgba(75, 194, 255, 0.82);
}

.page-home .ait-hero__title {
  max-width: 10.5ch;
  margin: 0;
  color: #fff;
  font-size: clamp(60px, 7vw, 98px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-wrap: balance;
}

.page-home .ait-hero__title em {
  display: block;
  color: #7ad6ff;
  font-style: normal;
  text-shadow: 0 0 38px rgba(25, 151, 255, 0.28);
}

.page-home .ait-hero__summary {
  width: min(600px, 100%);
  margin: 30px 0 0;
  color: #d3dce5;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.page-home .ait-hero__actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .home-button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(133, 191, 234, 0.26);
  border-radius: 11px;
  color: #fff;
  background: rgba(6, 15, 26, 0.6);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.page-home .home-button:hover,
.page-home .home-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(130, 211, 255, 0.56);
  background: rgba(12, 28, 45, 0.78);
}

.page-home .home-button--primary {
  border-color: rgba(122, 218, 255, 0.7);
  color: #fff;
  background: linear-gradient(135deg, #1bb8ef, #195cff);
  box-shadow: 0 17px 45px rgba(19, 95, 245, 0.26);
}

.page-home .home-button--primary:hover,
.page-home .home-button--primary:focus-visible {
  background: linear-gradient(135deg, #2bc3f7, #2870ff);
  box-shadow: 0 20px 52px rgba(19, 95, 245, 0.36);
}

.page-home .home-button__arrow {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

/* New body */
.page-home .home-body {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 5%, rgba(31, 113, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, #05080e 0%, #070c14 58%, #05080e 100%);
}

.page-home .home-section {
  width: min(var(--home-max), 100%);
  margin: 0 auto;
  padding-right: var(--home-gutter);
  padding-left: var(--home-gutter);
}

.page-home .home-intro {
  display: grid;
  padding-top: clamp(96px, 11vw, 150px);
  padding-bottom: clamp(72px, 9vw, 120px);
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(40px, 8vw, 112px);
}

.page-home .section-eyebrow {
  margin-bottom: 20px;
  color: #8fc7eb;
}

.page-home .home-intro h2,
.page-home .process-heading h2,
.page-home .home-cta h2 {
  margin: 0;
  color: #f6faff;
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.page-home .home-intro__copy {
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.page-home .home-intro__copy strong {
  display: block;
  margin-bottom: 14px;
  color: #eaf6ff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .service-stack {
  padding-top: clamp(72px, 9vw, 116px);
  border-top: 1px solid var(--home-line);
}

.page-home .service-band {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: clamp(46px, 7vw, 86px) 0;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(44px, 8vw, 116px);
  border-bottom: 1px solid var(--home-line);
}

.page-home .service-band:nth-child(even) .service-band__copy {
  order: 2;
}

.page-home .service-band:nth-child(even) .service-band__visual {
  order: 1;
}

.page-home .service-band__number {
  display: inline-flex;
  margin-bottom: 28px;
  align-items: center;
  gap: 10px;
  color: #6ebfec;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.page-home .service-band__number::after {
  width: 42px;
  height: 1px;
  content: "";
  background: rgba(103, 194, 244, 0.5);
}

.page-home .service-band h3 {
  max-width: 8ch;
  margin: 0;
  color: #f6faff;
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 840;
  letter-spacing: -0.048em;
  line-height: 0.95;
}

.page-home .service-band__copy > p {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.65;
}

.page-home .service-band__tags {
  display: flex;
  margin: 25px 0 0;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.page-home .service-band__tags li {
  padding: 8px 10px;
  border: 1px solid rgba(122, 184, 229, 0.18);
  border-radius: 7px;
  color: #bfd0de;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  font-weight: 700;
}

.page-home .service-band__link {
  display: inline-flex;
  min-height: 46px;
  margin-top: 27px;
  align-items: center;
  gap: 12px;
  color: #7fd1ff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.page-home .service-band__link span {
  transition: transform 180ms ease;
}

.page-home .service-band__link:hover span,
.page-home .service-band__link:focus-visible span {
  transform: translateX(4px);
}

.page-home .service-band__visual {
  position: relative;
  min-width: 0;
}

.page-home .interface-frame {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(115, 188, 243, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(14, 28, 45, 0.96), rgba(5, 12, 21, 0.98));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.page-home .interface-frame::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(103, 175, 229, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 175, 229, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.page-home .interface-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 58px;
  padding: 0 18px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(119, 186, 235, 0.15);
  color: #a9bfce;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .interface-dots {
  display: flex;
  gap: 5px;
}

.page-home .interface-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148, 190, 222, 0.34);
}

.page-home .interface-header strong {
  margin-left: 8px;
  color: #cfe5f4;
  font-size: 10px;
}

.page-home .interface-status {
  display: inline-flex;
  min-height: 26px;
  margin-left: auto;
  padding: 0 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(67, 192, 255, 0.28);
  border-radius: 999px;
  color: #aee7ff;
  background: rgba(29, 133, 223, 0.1);
  font-size: 8px;
}

.page-home .interface-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: #6ed4ff;
  box-shadow: 0 0 12px rgba(84, 208, 255, 0.8);
}

/* Security visual */
.page-home .security-screen {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.9fr);
  gap: 18px;
}

.page-home .security-list {
  display: grid;
  gap: 10px;
}

.page-home .security-row {
  display: grid;
  min-height: 76px;
  padding: 15px 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(123, 181, 228, 0.14);
  border-radius: 12px;
  background: rgba(8, 20, 33, 0.74);
}

.page-home .security-row small,
.page-home .workflow-node small,
.page-home .site-preview small {
  display: block;
  margin-bottom: 5px;
  color: #7293aa;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-home .security-row strong {
  display: block;
  color: #e5f2fb;
  font-size: 13px;
}

.page-home .security-row span {
  display: inline-flex;
  min-height: 27px;
  padding: 0 9px;
  align-items: center;
  border: 1px solid rgba(89, 202, 255, 0.26);
  border-radius: 999px;
  color: #a8e4ff;
  background: rgba(28, 137, 221, 0.11);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-home .security-practices {
  display: grid;
  min-height: 248px;
  padding: 14px;
  grid-template-rows: auto 1fr;
  gap: 10px;
  border: 1px solid rgba(109, 178, 231, 0.17);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(16, 35, 55, 0.82), rgba(4, 13, 23, 0.88));
}

.page-home .security-practices__header {
  display: flex;
  min-height: 30px;
  padding: 0 2px 9px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(123, 181, 228, 0.13);
}

.page-home .security-practices__header small {
  color: #7e9cb1;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-home .security-practices__header > span {
  color: #a9dfff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-home .security-practices__header i {
  margin: 0 3px;
  color: #49bdff;
  font-style: normal;
}

.page-home .security-practices__levels {
  display: grid;
  min-width: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.page-home .security-level {
  position: relative;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(122, 184, 229, 0.14);
  border-radius: 11px;
  background: rgba(3, 11, 20, 0.62);
}

.page-home .security-level--advanced {
  border-color: rgba(80, 194, 255, 0.28);
  background: linear-gradient(135deg, rgba(21, 101, 166, 0.2), rgba(3, 12, 23, 0.68));
  box-shadow: 0 0 32px rgba(30, 145, 224, 0.07) inset;
}

.page-home .security-level__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .security-level__title span {
  color: #4dbfff;
  font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.page-home .security-level__title strong {
  color: #e9f6ff;
  font-size: 11px;
}

.page-home .security-level ul {
  display: grid;
  margin: 9px 0 0;
  padding: 0;
  gap: 5px;
  list-style: none;
}

.page-home .security-level li {
  position: relative;
  padding-left: 12px;
  color: #9db4c4;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.25;
}

.page-home .security-level li::before {
  position: absolute;
  top: 0.45em;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: #57c8ff;
  box-shadow: 0 0 9px rgba(87, 200, 255, 0.55);
}

/* Website visual */
.page-home .browser-bar {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 48px;
  padding: 0 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(119, 186, 235, 0.14);
  background: rgba(4, 12, 21, 0.5);
}

.page-home .browser-url {
  overflow: hidden;
  padding: 8px 12px;
  border: 1px solid rgba(123, 181, 228, 0.14);
  border-radius: 7px;
  color: #9ab1c3;
  background: rgba(255, 255, 255, 0.025);
  font: 500 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .site-preview {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 332px;
  padding: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.78fr);
  align-items: center;
  gap: 26px;
  background:
    radial-gradient(circle at 80% 35%, rgba(39, 131, 255, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(11, 29, 50, 0.76), rgba(4, 11, 20, 0.9));
}

.page-home .site-preview h4 {
  max-width: 7ch;
  margin: 0;
  color: #f6fbff;
  font-size: clamp(34px, 4vw, 53px);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.page-home .site-preview__lines {
  display: grid;
  gap: 10px;
}

.page-home .site-preview__lines span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(136, 187, 226, 0.16);
}

.page-home .site-preview__lines span:nth-child(1) { width: 88%; }
.page-home .site-preview__lines span:nth-child(2) { width: 70%; }
.page-home .site-preview__lines span:nth-child(3) { width: 54%; }

.page-home .site-preview__button {
  width: 92px;
  height: 34px;
  margin-top: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #24b7f2, #2868ff);
  box-shadow: 0 12px 30px rgba(25, 102, 255, 0.2);
}

.page-home .search-card {
  padding: 18px;
  border: 1px solid rgba(103, 194, 244, 0.22);
  border-radius: 14px;
  background: rgba(6, 17, 30, 0.8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.page-home .search-card__label {
  color: #78cfff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .search-card strong {
  display: block;
  margin-top: 14px;
  color: #eaf7ff;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.page-home .search-card p {
  margin: 6px 0 0;
  color: #869dad;
  font-size: 10px;
  line-height: 1.45;
}

/* Automation visual */
.page-home .workflow-canvas {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 330px;
  padding: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 154px;
  align-content: center;
  align-items: center;
  gap: 42px;
}

.page-home .workflow-node {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  height: 154px;
  min-height: 154px;
  padding: 20px;
  grid-template-rows: auto 48px auto;
  align-content: center;
  border: 1px solid rgba(117, 185, 237, 0.2);
  border-radius: 15px;
  background: rgba(8, 22, 37, 0.82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.page-home .workflow-node:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 9px);
  width: 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(87, 192, 255, 0.76), rgba(87, 192, 255, 0.12));
}

.page-home .workflow-node strong {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  color: #eef9ff;
  font-size: 20px;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.page-home .workflow-node span {
  min-height: 32px;
  margin-top: 6px;
  color: #8fa9bb;
  font-size: 11px;
  line-height: 1.45;
}

.page-home .workflow-node--active {
  border-color: rgba(94, 210, 255, 0.5);
  background: linear-gradient(145deg, rgba(27, 132, 223, 0.26), rgba(10, 37, 75, 0.72));
  box-shadow: 0 0 50px rgba(22, 135, 255, 0.14);
}

/* Operating result */
.page-home .operating-strip {
  width: min(var(--home-max), calc(100% - (2 * var(--home-gutter))));
  margin: clamp(86px, 10vw, 132px) auto 0;
  overflow: hidden;
  border: 1px solid rgba(120, 203, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(57, 184, 255, 0.26), transparent 35%),
    linear-gradient(135deg, #0d65ee 0%, #0a42b8 50%, #09266c 100%);
  box-shadow: 0 38px 110px rgba(9, 59, 168, 0.24);
}

.page-home .operating-strip__top {
  display: grid;
  padding: clamp(34px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: 56px;
}

.page-home .operating-strip h2 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 860;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.page-home .operating-strip__top p {
  margin: 0;
  color: rgba(234, 246, 255, 0.82);
  font-size: 17px;
  line-height: 1.6;
}

.page-home .operating-strip__grid {
  display: grid;
  border-top: 1px solid rgba(229, 248, 255, 0.2);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .operating-outcome {
  min-height: 168px;
  padding: 28px 30px;
  border-right: 1px solid rgba(229, 248, 255, 0.18);
}

.page-home .operating-outcome:last-child {
  border-right: 0;
}

.page-home .operating-outcome span {
  display: block;
  color: rgba(222, 244, 255, 0.72);
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .operating-outcome strong {
  display: block;
  margin-top: 30px;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.045em;
}

.page-home .operating-outcome p {
  margin: 8px 0 0;
  color: rgba(230, 246, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

/* Process */
.page-home .process-section {
  display: grid;
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(96px, 12vw, 160px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(60px, 10vw, 140px);
}

.page-home .process-heading {
  align-self: start;
}

.page-home .process-heading h2 {
  max-width: 8ch;
  font-size: clamp(48px, 6vw, 76px);
}

.page-home .process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .process-step {
  display: grid;
  min-height: 118px;
  padding: 25px 0;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--home-line);
}

.page-home .process-step:last-child {
  border-bottom: 1px solid var(--home-line);
}

.page-home .process-step > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(112, 191, 242, 0.28);
  border-radius: 12px;
  color: #76cbfa;
  background: rgba(28, 116, 202, 0.08);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.page-home .process-step strong {
  display: block;
  color: #edf7ff;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.page-home .process-step p {
  margin: 7px 0 0;
  color: #8fa0af;
  font-size: 14px;
  line-height: 1.5;
}

/* CTA */
.page-home .home-cta-wrap {
  padding: 0 var(--home-gutter) clamp(100px, 11vw, 150px);
}

.page-home .home-cta {
  position: relative;
  display: grid;
  width: min(var(--home-max), 100%);
  min-height: 410px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 38px;
  border: 1px solid rgba(120, 194, 245, 0.24);
  border-radius: 25px;
  background:
    radial-gradient(circle at 83% 20%, rgba(39, 161, 255, 0.24), transparent 28rem),
    linear-gradient(145deg, #0b1828, #060b12);
}

.page-home .home-cta::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(113, 181, 233, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 181, 233, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 80% 40%, #000, transparent 58%);
}

.page-home .home-cta__copy,
.page-home .home-cta__actions {
  position: relative;
  z-index: 2;
}

.page-home .home-cta h2 {
  max-width: 9ch;
}

.page-home .home-cta p {
  max-width: 520px;
  margin: 24px 0 0;
  color: #a8b7c4;
  font-size: 17px;
  line-height: 1.6;
}

.page-home .home-cta__actions {
  display: grid;
  min-width: 210px;
  gap: 10px;
}

/* Motion */
.has-js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.has-js .page-home [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-js .page-home [data-reveal-delay="1"] { transition-delay: 80ms; }
.has-js .page-home [data-reveal-delay="2"] { transition-delay: 150ms; }

@media (min-width: 981px) {
  .page-home .service-band:nth-child(even) {
    grid-template-columns: minmax(420px, 1.22fr) minmax(280px, 0.78fr);
  }
}

@media (max-width: 980px) {
  .page-home .autonomous-nav__links {
    gap: 0;
  }

  .page-home .autonomous-nav__link {
    padding-inline: 11px;
    font-size: 12px;
  }

  .page-home .home-intro,
  .page-home .operating-strip__top,
  .page-home .process-section {
    grid-template-columns: 1fr;
  }

  .page-home .home-intro {
    align-items: start;
    gap: 34px;
  }

  .page-home .home-intro__copy {
    max-width: 640px;
  }

  .page-home .service-band {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .page-home .service-band:nth-child(even) .service-band__copy,
  .page-home .service-band:nth-child(even) .service-band__visual {
    order: initial;
  }

  .page-home .service-band h3 {
    max-width: none;
  }

  .page-home .operating-strip__top {
    gap: 28px;
  }

  .page-home .process-section {
    gap: 50px;
  }
}

@media (max-width: 720px), (max-height: 520px) and (pointer: coarse) {
  html {
    scroll-padding-top: 72px;
  }

  .page-home .autonomous-nav {
    top: 0;
    padding: 0;
    border-bottom: 1px solid rgba(145, 195, 238, 0.18);
    background: rgba(3, 8, 15, 0.88);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
  }

  .page-home .autonomous-nav__inner {
    width: 100%;
    min-height: 72px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    gap: 10px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .page-home .autonomous-nav__brand {
    gap: 9px;
    font-size: 17px;
  }

  .page-home .autonomous-nav__mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .page-home .autonomous-nav__toggle {
    display: flex;
    justify-self: end;
  }

  .page-home .autonomous-nav__links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 96px);
    padding: 10px;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(128, 184, 229, 0.24);
    border-radius: 13px;
    background: rgba(3, 9, 16, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54);
  }

  .page-home .autonomous-nav.is-open .autonomous-nav__links {
    display: flex;
  }

  .page-home .autonomous-nav__link {
    min-height: 48px;
    padding: 0 15px;
    justify-content: flex-start;
    font-size: 15px;
  }

  .page-home .autonomous-nav__link--cta {
    margin: 4px 0 0;
    justify-content: center;
  }

  .page-home .autonomous-nav.is-open .autonomous-nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .page-home .autonomous-nav.is-open .autonomous-nav__toggle span:nth-child(2) {
    opacity: 0;
  }

  .page-home .autonomous-nav.is-open .autonomous-nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .page-home .ait-hero {
    display: grid;
    min-height: max(850px, 100svh);
    padding-top: 0;
    overflow: hidden;
  }

  .page-home .ait-hero__video {
    object-fit: cover;
    object-position: center;
    filter: saturate(0.98) contrast(1.01) brightness(0.98);
    transform: none;
  }

  .page-home .ait-hero__media {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-position: center;
    background-size: cover;
    background-image: url("/assets/home-redesign/reel-automation-product-mobile-poster.jpg?v=20260816-native");
  }

  .page-home .ait-hero__media::after {
    background:
      linear-gradient(180deg, rgba(2, 6, 13, 0.05) 0%, rgba(2, 6, 13, 0.08) 42%, rgba(2, 6, 13, 0.2) 70%, rgba(2, 6, 13, 0.5) 100%),
      linear-gradient(90deg, rgba(2, 6, 13, 0.28), rgba(2, 7, 14, 0.05));
  }

  .page-home .ait-hero__media[data-reel-index="0"]::after {
    background:
      linear-gradient(180deg, rgba(2, 6, 13, 0.14) 0%, rgba(2, 6, 13, 0.2) 42%, rgba(2, 6, 13, 0.38) 70%, rgba(2, 6, 13, 0.66) 100%),
      linear-gradient(90deg, rgba(2, 6, 13, 0.56), rgba(2, 7, 14, 0.14));
  }

  .page-home .ait-hero__media[data-reel-index="1"]::after {
    background:
      linear-gradient(180deg, rgba(2, 6, 13, 0.02) 0%, rgba(2, 6, 13, 0.03) 28%, rgba(2, 6, 13, 0.06) 52%, rgba(2, 6, 13, 0.1) 74%, rgba(2, 6, 13, 0.26) 100%),
      linear-gradient(90deg, rgba(2, 6, 13, 0.1) 0%, rgba(2, 7, 14, 0.01) 76%);
  }

  .page-home .ait-hero__media[data-reel-index="1"] .ait-hero__video {
    filter: saturate(1.02) contrast(1.01) brightness(1);
  }

  .page-home .ait-hero__media[data-reel-index="1"] ~ .ait-hero__grid {
    display: none;
  }

  .page-home .ait-hero__media[data-reel-index="1"] ~ .ait-hero__shell .ait-hero__content::before {
    inset: -36px -22px -42px;
    border-radius: 30px;
    background: radial-gradient(ellipse at 38% 48%, rgba(2, 6, 13, 0.8) 0%, rgba(2, 6, 13, 0.66) 52%, rgba(2, 6, 13, 0.3) 76%, rgba(2, 6, 13, 0) 100%);
    filter: blur(14px);
  }

  .page-home .ait-hero__scrim {
    background:
      radial-gradient(circle at 72% 45%, rgba(29, 127, 255, 0.04), transparent 36%),
      linear-gradient(180deg, transparent 72%, rgba(3, 8, 17, 0.48) 100%);
  }

  .page-home .ait-hero__grid,
  .page-home .ait-hero__scrim {
    display: block;
  }

  .page-home .ait-hero__shell {
    z-index: 1;
    display: grid;
    min-height: max(850px, 100svh);
    padding: 132px 20px 92px;
    align-items: center;
  }

  .page-home .ait-hero__content {
    position: relative;
    isolation: isolate;
  }

  .page-home .ait-hero__content::before {
    position: absolute;
    z-index: -1;
    inset: -28px -18px -34px;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, rgba(2, 6, 13, 0.28) 0%, rgba(2, 6, 13, 0.18) 76%, rgba(2, 6, 13, 0.02) 100%);
    filter: blur(14px);
  }

  .page-home .ait-hero__eyebrow {
    max-width: 32ch;
    margin-bottom: 18px;
    font-size: 9px;
  }

  .page-home .ait-hero__title {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 52px);
    letter-spacing: -0.045em;
    line-height: 0.94;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.66);
  }

  .page-home .ait-hero__summary {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.55;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  }

  .page-home .ait-hero__actions {
    margin-top: 28px;
    align-items: stretch;
    flex-direction: column;
  }

  .page-home .home-button {
    width: 100%;
    min-height: 52px;
  }

  .page-home .home-intro {
    padding-top: 82px;
    padding-bottom: 64px;
  }

  .page-home .home-intro h2,
  .page-home .process-heading h2,
  .page-home .home-cta h2 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .page-home .service-band {
    padding: 56px 0;
  }

  .page-home .service-band h3 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .page-home .interface-frame {
    min-height: 0;
    border-radius: 17px;
  }

  .page-home .security-screen,
  .page-home .site-preview {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .page-home .security-practices {
    min-height: 0;
    padding: 12px;
  }

  .page-home .security-practices__levels {
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .security-level {
    min-height: 124px;
    padding: 14px;
  }

  .page-home .security-level__title strong {
    font-size: 13px;
  }

  .page-home .security-level li {
    font-size: 10px;
  }

  .page-home .site-preview {
    min-height: 360px;
  }

  .page-home .site-preview h4 {
    font-size: 44px;
  }

  .page-home .workflow-canvas {
    padding: 22px;
    grid-template-columns: 1fr;
    grid-auto-rows: 134px;
    gap: 18px;
  }

  .page-home .workflow-node {
    height: 134px;
    min-height: 134px;
    padding: 16px 18px;
  }

  .page-home .workflow-node:not(:last-child)::after {
    top: calc(100% + 5px);
    left: 50%;
    width: 1px;
    height: 10px;
    background: linear-gradient(180deg, rgba(87, 192, 255, 0.76), rgba(87, 192, 255, 0.12));
  }

  .page-home .operating-strip {
    width: calc(100% - 32px);
    margin-top: 76px;
    border-radius: 18px;
  }

  .page-home .operating-strip__top {
    padding: 34px 24px;
  }

  .page-home .operating-strip h2 {
    font-size: 47px;
  }

  .page-home .operating-strip__grid {
    grid-template-columns: 1fr;
  }

  .page-home .operating-outcome {
    min-height: 132px;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(229, 248, 255, 0.18);
  }

  .page-home .operating-outcome:last-child {
    border-bottom: 0;
  }

  .page-home .operating-outcome strong {
    margin-top: 20px;
  }

  .page-home .process-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .page-home .process-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .page-home .process-step strong {
    font-size: 21px;
  }

  .page-home .home-cta-wrap {
    padding-right: 16px;
    padding-bottom: 90px;
    padding-left: 16px;
  }

  .page-home .home-cta {
    min-height: 0;
    padding: 42px 24px;
    grid-template-columns: 1fr;
    gap: 30px;
    border-radius: 18px;
  }

  .page-home .home-cta__actions {
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .page-home .autonomous-nav__brand {
    font-size: 15px;
  }

  .page-home .ait-hero__title {
    font-size: 40px;
  }

  .page-home .ait-hero__summary {
    font-size: 16px;
  }

  .page-home .security-row {
    padding-inline: 12px;
    gap: 8px;
  }

  .page-home .security-practices__levels {
    grid-template-columns: 1fr;
  }

  .page-home .security-level {
    min-height: 0;
  }
}

@media (min-width: 721px) and (max-height: 520px) and (pointer: coarse) {
  .page-home .ait-hero__media {
    background-image: url("/assets/home-redesign/reel-automation-product-poster.jpg");
  }
}

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

  .page-home *,
  .page-home *::before,
  .page-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .page-home [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
