.site-header {
  background: linear-gradient(180deg, #152a46f5, #071326fa);
  border-bottom-color: #39628e;
  box-shadow: inset 0 1px #92c5ff38, 0 12px 26px #01091670;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, #32c8ff 50%, transparent 85%);
  pointer-events: none;
}
.main-nav {
  gap: 4px;
  padding: 5px;
  border: 1px solid #426a935e;
  border-radius: 16px;
  background: linear-gradient(180deg, #122743, #09172d);
  box-shadow: inset 0 1px #9ecbff26, 0 8px 18px #020a1870;
}
.main-nav a {
  padding: 8px clamp(9px, 1.1vw, 17px);
  border: 1px solid transparent;
  border-radius: 10px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: #e9faff;
  background: linear-gradient(180deg, #245789, #153656);
  border-color: #59baff68;
  box-shadow: inset 0 1px #adddff40, 0 4px 12px #020a1859;
}
.main-nav a.active::after {
  inset: auto 26% 2px;
  height: 1px;
  box-shadow: 0 0 8px #22d3ee;
}
.site-header .header-cta {
  background: linear-gradient(180deg, #1c4777, #10294b);
  box-shadow: inset 0 1px #b7dcff45, 0 6px 17px #0006;
}
.site-header .header-cta:hover { background: linear-gradient(180deg, #285e93, #143862); }
@media (761px <= width <= 1050px) {
  .site-header .brand { width: 126px; min-width: 126px; height: 54px; }
  .site-header .brand img { width: 112px; max-height: 48px; }
  .main-nav a { padding-inline: 7px; }
  .site-header .header-cta { padding-inline: 9px; }
}
@media (max-width: 760px) {
  .main-nav {
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    padding: 8px;
    background: linear-gradient(180deg, #142d4c, #08162c);
  }
  .main-nav a { padding: 10px 14px; }
}

.hero {
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 77% 76%, #113364 0%, #08182e 34%, #050f20 73%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  min-height: 0;
  padding-block: clamp(52px, 7vw, 102px);
}

.hero-inner .hero-copy { position: relative; z-index: 1; min-width: 0; padding: 0; }
.hero h1 { font-size: clamp(35px, 4.2vw, 62px); text-wrap: balance; }

.hero-showcase {
  position: relative;
  aspect-ratio: 1.25;
}

.hero-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  mask-image: linear-gradient(to right, transparent, #000 26%, #000 96%, transparent),
              linear-gradient(to bottom, transparent, #000 14%, #000 79%, transparent);
  mask-composite: intersect;
}

.service-card, .portfolio-card {
  box-shadow: inset 0 1px 0 #91c7ff36, 0 14px 28px -18px #000d;
}

.service-card:hover, .portfolio-card:hover {
  box-shadow: inset 0 1px 0 #aadcff66, 0 22px 38px -22px #000, 0 0 24px -12px #3d9fff;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(32px, 6vw, 51px); }
  .hero-showcase { width: min(100%, 680px); margin-inline: auto; }
  .hero-showcase img {
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 96%, transparent),
                linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .portfolio-card { transition: none; }
  .service-card:hover, .portfolio-card:hover { transform: none; }
}

.demo-flow { list-style: none; padding: 0; margin: 24px 0; border-left: 1px solid #327ab4; }
.demo-flow li { position: relative; padding: 0 0 20px 20px; }
.demo-flow li:last-child { padding-bottom: 0; }
.demo-flow li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: #6ae6ff; box-shadow: 0 0 14px #36b9ff; }
.demo-flow strong, .demo-flow span { display: block; }
.demo-flow span { color: #bfd4ec; margin-top: 3px; }
.privacy-footer { padding: 14px 24px; text-align: center; background: #041224; border-top: 1px solid #173b62; }
.privacy-footer a, .privacy-page a { color: #75dbff; text-decoration: underline; text-underline-offset: .2em; }
.privacy-page { background: #061124; color: #eef6ff; }
.privacy-head, .privacy-body { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.privacy-head { padding-block: clamp(36px, 7vw, 84px) 28px; }
.privacy-head h1 { font-size: clamp(30px, 6vw, 54px); line-height: 1.18; margin: 24px 0 12px; }
.privacy-head p, .privacy-body p { color: #c5d8ef; line-height: 1.8; }
.privacy-body { display: grid; gap: 14px; padding-bottom: 60px; }
.privacy-body nav, .privacy-body section { padding: clamp(18px, 4vw, 34px); border: 1px solid #25466c; border-radius: 20px; background: linear-gradient(145deg, #0d2441, #09182d); }
.privacy-body nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.privacy-body h2 { font-size: clamp(20px, 4vw, 27px); margin: 0 0 10px; }
.privacy-body p + p { margin-top: .85em; }

/* Keep the homepage sections aligned on one reading width. */
.shell, .nav-shell, .hero-inner { width: min(1240px, calc(100% - 64px)); }
.privacy-page { color-scheme: dark; }
body { color-scheme: dark; }
.hero {
  background: radial-gradient(ellipse at 77% 68%, #17386b 0%, #08162f 42%, #050e1e 79%);
}
.hero-inner {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 42px);
  padding-block: clamp(50px, 6vw, 86px);
}
.hero h1 {
  font-size: clamp(36px, 4.3vw, 66px);
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: initial;
}
.hero-brand-name {
  margin: 0 0 18px;
  color: #d2e7ff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .16em;
}
.hero h1 .hero-title-accent { color: #65dcff; }
.hero-lead { max-width: 49ch; color: #c9d9ed; }
.hero-showcase { aspect-ratio: 1.47; }
.hero-showcase img { mask-image: linear-gradient(to right, transparent, #000 19%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 78%, transparent); }
.button-primary { background: linear-gradient(115deg, #0679b4, #2563eb); }
@media (min-width: 1050px) {
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ai-section, .stack-section { background: #08162f; }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ai-grid article {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #335277;
  border-radius: 20px;
  background: linear-gradient(150deg, #1d3c6480, #0e2036b3);
  box-shadow: inset 0 1px #b6dbff20, 0 16px 32px -24px #000;
}
.ai-grid h3 { margin: 0 0 8px; }
.ai-grid p, .stack-layout p { margin: 0; color: #c9d9ed; }
.stack-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; }
.stack-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.stack-list li { padding: 8px 15px; color: #e4efff; background: #102644; border: 1px solid #365678; border-radius: 999px; }
:where(a, button):focus-visible { outline: 2px solid #22d3ee; outline-offset: 4px; }

@media (max-width: 880px) {
  .shell, .nav-shell, .hero-inner { width: calc(100% - 40px); }
  .hero-inner, .stack-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(34px, 7vw, 58px); }
  .hero-showcase { max-width: 570px; }
}
@media (max-width: 600px) {
  .ai-grid { grid-template-columns: 1fr; }
  .hero-showcase { aspect-ratio: 1.28; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.hero {
  background: radial-gradient(ellipse at 82% 78%, #12386d 0%, #08162f 42%, #050d1c 77%);
}
.hero-inner {
  position: relative;
  min-height: clamp(520px, 44vw, 650px);
}
.hero h1 {
  font-size: clamp(38px, 5vw, 76px);
  letter-spacing: -.055em;
}
.hero-inner .hero-copy { grid-column: 1; }
.hero-showcase {
  position: absolute;
  inset: -4% -9% -5% 38%;
  aspect-ratio: auto;
  min-width: 0;
}
.hero-showcase img {
  mask-image: linear-gradient(to right, transparent, #000 32%, #000 94%, transparent),
              linear-gradient(to bottom, transparent, #000 14%, #000 77%, transparent);
}
.promo-section .promo-layout {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid #4170a180;
  border-radius: 28px;
  background: radial-gradient(ellipse at 88% 0%, #214c83a0, transparent 57%), #091a32;
  box-shadow: inset 0 1px #c6e1ff32, 0 28px 58px -32px #000;
}
@media (max-width: 880px) {
  .hero-inner { min-height: 0; }
  .hero h1 { font-size: clamp(35px, 8.1vw, 64px); }
  .hero-showcase { position: relative; inset: auto; width: 100%; aspect-ratio: 1.38; }
  .hero-showcase img {
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 96%, transparent),
                linear-gradient(to bottom, transparent, #000 13%, #000 78%, transparent);
  }
  .promo-section .promo-layout { grid-template-columns: 1fr; }
}
