:root {
  --lux-text: rgba(250, 252, 255, 0.97);
  --lux-title-muted: rgba(236, 240, 247, 0.72);
  --lux-title-emphasis: #f7f8fa;
  --lux-muted: rgba(219, 227, 239, 0.67);
  --lux-faint: rgba(199, 210, 226, 0.43);
  --lux-line: rgba(222, 232, 246, 0.1);
  --lux-line-strong: rgba(232, 239, 250, 0.15);
  --lux-gradient: linear-gradient(105deg, #edf3ff 0%, #9ebcff 36%, #c89de5 69%, #9ed9df 100%);
}

/* Keep the glass LEAD artwork intact; only align its subtitle to the supplied logo. */
body .page-home .brand-subtitle,
body .page-home .brand-subtitle-light {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.84fr) minmax(0, 1fr) !important;
  column-gap: 3.5% !important;
}

.brand-subtitle-wordmark {
  display: grid;
  grid-template-columns: repeat(2, max-content) var(--subtitle-word-gap) repeat(7, max-content);
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.brand-subtitle-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.08), 0 5px 12px rgba(0, 0, 0, 0.46);
  opacity: 0.72;
}

.brand-subtitle-light .brand-subtitle-rule {
  background: #e5ebf3;
  box-shadow: 0 0 8px rgba(181, 205, 234, 0.26), 0 0 13px rgba(239, 244, 250, 0.12);
  opacity: calc(0.08 + var(--logo-light) * 0.62);
}

.brand-subtitle-light {
  background:
    radial-gradient(circle clamp(130px, 18vw, 320px) at var(--logo-x) var(--logo-y),
      rgba(255, 255, 255, calc(var(--logo-light) * 0.98)),
      rgba(219, 229, 242, calc(var(--logo-light) * 0.82)) 24%,
      rgba(162, 185, 216, calc(var(--logo-light) * 0.46)) 44%,
      transparent 74%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 9px rgba(187, 209, 237, calc(var(--logo-light) * 0.34)))
    drop-shadow(0 0 14px rgba(239, 244, 250, calc(var(--logo-light) * 0.14)));
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wave-video,
.wave-video-still {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
  filter: grayscale(1) contrast(1.12) brightness(0.82) blur(0.35px);
  transform: scale(1.025);
  transition: opacity 850ms ease;
}

.wave-video-still {
  background-image: url("assets/waves.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wave-video.is-visible {
  opacity: 0.62;
}

.video-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 1px, transparent 1px);
  background-position: center;
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

body.is-wave-video-ready[data-page="home"] .wave-print {
  opacity: 0.18;
}

body.is-wave-video-ready[data-page="home"] .wave-canvas {
  opacity: 0;
}

body.is-wave-video-ready:not([data-page="home"]) .wave-print {
  opacity: 0.12;
}

body.is-wave-video-ready:not([data-page="home"]) .wave-canvas {
  opacity: 0;
}

.scroll-cue {
  position: absolute;
  z-index: 26;
  top: 50%;
  right: clamp(20px, 2.2vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(224, 232, 244, 0.58);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 420ms ease;
}

body:not(.is-loading) .scroll-cue {
  opacity: 0.72;
}

.side-rail.is-open + .scroll-cue {
  opacity: 0;
}

.scroll-cue__label {
  writing-mode: vertical-rl;
  color: rgba(218, 227, 240, 0.42);
  font-family: var(--font-ui);
  font-size: 7px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: rotate(180deg);
}

.scroll-cue__mouse {
  position: relative;
  display: block;
  width: 21px;
  height: 33px;
  border: 1px solid rgba(226, 235, 248, 0.34);
  border-radius: 12px;
  background: rgba(7, 9, 13, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(188, 208, 238, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.scroll-cue__mouse i {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: rgba(247, 250, 255, 0.9);
  box-shadow: 0 0 8px rgba(215, 231, 255, 0.52);
  transform: translateX(-50%);
  animation: scrollCueWheel 1600ms ease-in-out infinite;
}

.scroll-cue__rail {
  position: relative;
  display: block;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(218, 228, 243, 0.16);
}

.scroll-cue__rail i {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 8px;
  background: rgba(241, 247, 255, 0.78);
  box-shadow: 0 0 8px rgba(210, 228, 255, 0.38);
  animation: scrollCueRail 1600ms ease-in-out infinite;
}

@keyframes scrollCueWheel {
  0%, 15% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  78%, 100% { opacity: 0; transform: translate(-50%, 9px); }
}

@keyframes scrollCueRail {
  0%, 24% { opacity: 0; transform: translateY(-8px); }
  46% { opacity: 0.9; }
  88%, 100% { opacity: 0; transform: translateY(28px); }
}

.app-page {
  --lux-panel: rgba(6, 8, 12, 0.82);
  --lux-heading: transparent;
  --lux-primary: transparent;
  --lux-card: transparent;
  --lux-accent: #b8d0f6;
  --lux-icon: rgba(184, 208, 245, 0.78);
  padding: clamp(48px, 6vh, 74px) clamp(104px, 9vw, 156px);
  overflow: hidden;
  color: var(--lux-text);
  font-family: var(--font-ui);
  text-align: left;
  transition-duration: 560ms;
  will-change: auto;
}

#about.app-page {
  --lux-accent: #b9cdf0;
}

#ai-tools.app-page {
  --lux-accent: #aebff0;
}

#ai-sites.app-page {
  --lux-accent: #c7b5df;
}

#ai-design.app-page {
  --lux-accent: #fff;
}

#contacts.app-page {
  --lux-accent: #afced2;
}

.app-screen {
  position: relative;
  display: grid;
  grid-template-rows: 220px minmax(0, 1fr);
  gap: 18px;
  width: min(1180px, calc(100vw - 250px));
  height: clamp(540px, calc(100vh - 132px), 650px);
  margin: 0 auto;
}

.app-heading,
.app-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lux-line);
  border-color: rgba(228, 236, 248, 0.11);
  border-radius: 8px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.095),
    inset 1px 0 0 rgba(255, 255, 255, 0.026),
    inset 0 -1px 0 rgba(255, 255, 255, 0.018),
    inset 0 0 46px rgba(255, 255, 255, 0.012),
    0 22px 58px rgba(0, 0, 0, 0.34),
    0 0 24px color-mix(in srgb, var(--lux-accent) 2%, transparent);
}

.app-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.68fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "label label" "title description";
  align-items: end;
  gap: 18px 48px;
  height: 100%;
  padding: 32px 36px;
  background: var(--lux-heading);
  border-left-color: rgba(235, 241, 250, 0.12);
}

.app-heading::before,
.app-card::before,
.app-heading::after,
.app-card-primary::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.app-heading::before {
  z-index: 0;
  inset: 0;
  display: block;
  background-color: var(--lux-panel);
  background-image: url("assets/waves-panel-soft.jpg?v=20260911-2");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.app-heading::after {
  display: none;
}

.app-kicker {
  position: relative;
  z-index: 2;
  grid-area: label;
  display: inline-flex;
  align-items: center;
  color: rgba(230, 237, 248, 0.58);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-kicker::before {
  display: none;
}

.app-kicker-badge {
  justify-self: start;
  padding: 6px 11px;
  border: 1px solid rgba(235, 241, 250, 0.1);
  border-radius: 5px;
  background: rgba(29, 31, 34, 0.72);
  color: rgba(230, 237, 248, 0.74);
}

.app-heading-editorial {
  --editorial-heading-size: 36px;
}

.app-heading.app-heading-editorial h2 {
  font-size: var(--editorial-heading-size);
  line-height: 1.16;
}

.app-brand-quote {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  gap: 16px 8px;
  grid-area: description;
  grid-row: 1 / -1;
  justify-self: end;
  align-self: end;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  text-align: right;
}

.app-heading-aside {
  grid-area: description;
  grid-row: 1 / -1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.app-heading-aside .app-brand-quote { flex-shrink: 0; }

.app-brand-motto {
  display: block;
  flex: none;
  max-width: 100%;
  margin: 0;
  color: rgba(219, 227, 239, 0.46);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0;
  word-spacing: normal;
  text-align: right;
  white-space: nowrap;
}

.app-quote-mark {
  grid-row: 1;
  height: auto;
  color: rgba(229, 234, 244, 0.48);
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

.app-quote-mark-open {
  grid-column: 1;
  align-self: start;
}

.app-quote-mark-close {
  grid-column: 3;
  align-self: end;
}

.app-brand-quote p {
  grid-area: 1 / 2;
  min-width: 0;
  margin: 0;
  color: rgba(229, 234, 244, 0.82);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  text-wrap: balance;
}

.app-heading h2 {
  position: relative;
  z-index: 2;
  grid-area: title;
  max-width: 720px;
  margin: 0;
  color: var(--lux-title-muted);
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: 0;
  word-spacing: normal;
  text-transform: uppercase;
  text-wrap: balance;
}

.app-heading h2 span {
  color: var(--lux-title-emphasis);
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  font-weight: 300;
}

.app-heading > p {
  position: relative;
  z-index: 2;
  grid-area: description;
  max-width: 32ch;
  margin: 0 0 3px;
  justify-self: end;
  color: rgba(219, 227, 239, 0.68);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-align: right;
  text-wrap: pretty;
}

.app-heading-icon {
  position: absolute;
  z-index: 1;
  top: 31px;
  right: clamp(38px, 4.3vw, 66px);
  width: clamp(68px, 7vw, 102px);
  height: clamp(68px, 7vw, 102px);
  color: color-mix(in srgb, var(--lux-accent) 18%, transparent);
  display: none;
}

.app-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: 18px;
  min-height: 0;
  height: 100%;
}

.app-card {
  background: var(--lux-card);
}

.app-card::before {
  z-index: 0;
  inset: 0;
  display: block;
  background-color: var(--lux-panel);
  background-image: url("assets/waves-panel-soft.jpg?v=20260911-2");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.app-heading > *,
.app-card > * {
  z-index: 1;
}

.app-card-primary {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  row-gap: 24px;
  height: 100%;
  padding: 36px;
  border-color: rgba(232, 239, 250, 0.14);
  background: var(--lux-primary);
}

.app-card-primary::after {
  display: none;
}

.app-card-copy {
  align-self: start;
  min-width: 0;
  width: 100%;
  max-width: 580px;
}

.app-card-primary > .app-cta {
  justify-self: start;
  align-self: end;
  margin-top: 0;
}

.app-card-primary.app-card-about {
  --about-copy-size: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "copy sketch";
  column-gap: 18px;
}

.app-card-about .app-card-copy {
  grid-area: copy;
  align-self: end;
}

.app-card-about .app-card-copy h3 {
  margin-bottom: 18px;
  font-size: var(--about-copy-size);
  line-height: 1.18;
}

.app-card-primary.app-card-product {
  --product-copy-size: 28px;
  grid-template-columns: minmax(260px, 1.2fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "copy sketch";
  column-gap: 20px;
}

.app-card-product .app-card-content {
  grid-area: copy;
  align-self: end;
  display: grid;
  justify-items: start;
  gap: 24px;
  min-width: 0;
}

.app-card-product .app-card-copy h3 {
  margin-bottom: 18px;
  font-size: var(--product-copy-size);
  line-height: 1.18;
}

.app-direct-cta {
  position: relative;
  grid-area: sketch;
  align-self: end;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 8px 9px 8px 17px;
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: #d1d4d8;
  color: #1c2025;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 420ms ease;
}

.app-direct-cta-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 32, 37, 0.055);
  box-shadow: inset 0 0 0 1px rgba(28, 32, 37, 0.13);
  transition: background-color 420ms ease, box-shadow 420ms ease;
}

.app-direct-cta-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-direct-cta:focus-visible {
  outline: 2px solid rgba(235, 241, 250, 0.75);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .app-direct-cta:hover { background-color: #e0e2e5; }
  .app-direct-cta:hover .app-direct-cta-arrow {
    background-color: rgba(28, 32, 37, 0.09);
    box-shadow: inset 0 0 0 1px rgba(28, 32, 37, 0.2);
  }
  .app-direct-cta:hover svg { transform: translate(2px, -2px); }
}

.app-direct-cta:active { background-color: #bfc4ca; }

@media (prefers-reduced-motion: reduce) {
  .app-direct-cta,
  .app-direct-cta svg { transition: none; }
  .app-direct-cta:hover svg { transform: none; }
}

.app-corner-sketch {
  position: relative;
  grid-area: sketch;
  align-self: start;
  justify-self: end;
  min-width: 0;
  width: min(100%, 280px);
  aspect-ratio: 33 / 28;
  color: rgba(223, 231, 242, 0.8);
  pointer-events: none;
}

.app-corner-sketch svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-corner-sketch :is(path, circle) {
  vector-effect: non-scaling-stroke;
}

.app-corner-sketch [data-sketch-draw] {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

.app-corner-sketch .sketch-guides {
  opacity: 0.27;
  stroke-width: 0.75;
}

.app-corner-sketch .sketch-detail {
  opacity: 0.62;
  stroke-width: 0.9;
}

.app-analysis-sketch, .app-website-sketch { aspect-ratio: 7 / 6; }

.app-website-sketch { color: rgba(238, 239, 241, 0.86); }
.app-website-sketch :is(path, circle) { vector-effect: none; }
.app-website-sketch .website-outline { stroke-width: 1.15; }
.app-website-sketch .website-headline { stroke-width: 1.7; }
.app-website-sketch .website-visual { stroke-width: 1; }

.app-card h3,
.app-card p,
.app-card a {
  position: relative;
  z-index: 2;
}

.app-card h3 {
  text-wrap: balance;
}

.app-card p {
  text-wrap: pretty;
}

.app-card-primary h3 {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--lux-title-muted);
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: 0;
  word-spacing: normal;
  text-transform: uppercase;
}

.app-card-primary h3 strong {
  color: var(--lux-title-emphasis);
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  font-weight: 300;
}

.app-card-copy > p {
  max-width: 48ch;
  margin: 0;
  color: rgba(214, 223, 237, 0.7);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.app-card-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
  counter-reset: app-card-index;
}

.app-card-compact {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}

.app-index,
.app-feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(222, 233, 248, 0.15);
  border-radius: 50%;
  color: color-mix(in srgb, var(--lux-accent) 86%, white 14%);
  background: rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 16px rgba(255, 255, 255, 0.018),
    0 0 20px color-mix(in srgb, var(--lux-accent) 5%, transparent);
}

.app-index svg,
.app-feature-icon svg,
.app-heading-icon,
.app-primary-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-index svg,
.app-feature-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}

.app-index::after,
.app-feature-icon::after {
  display: none;
}

.app-card-compact div {
  min-width: 0;
}

.app-card-compact h3,
.app-feature-card h3 {
  margin: 0 0 8px;
  color: rgba(246, 249, 253, 0.91);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.app-card-compact p,
.app-feature-card p {
  margin: 0;
  color: rgba(205, 216, 232, 0.64);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.48;
}

.app-primary-icon {
  position: absolute;
  z-index: 1;
  top: clamp(64px, 8vh, 88px);
  right: clamp(34px, 4vw, 58px);
  width: clamp(112px, 11vw, 158px);
  height: clamp(112px, 11vw, 158px);
  color: color-mix(in srgb, var(--lux-accent) 19%, transparent);
  display: none;
}

.app-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: 100%;
  margin-top: 0;
  isolation: isolate;
}

.app-process::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 22px;
  right: 22px;
  left: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(146, 188, 255, 0.22), rgba(195, 151, 243, 0.46), rgba(133, 220, 231, 0.24));
  box-shadow: 0 0 14px rgba(174, 180, 245, 0.14);
}

.app-process::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(238, 244, 255, 0.92);
  box-shadow: 0 0 6px rgba(231, 239, 255, 0.8), 0 0 17px rgba(173, 176, 255, 0.65);
  animation: app-process-pulse 5.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.app-process-step {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.app-process-step:first-child {
  justify-items: start;
  text-align: left;
}

.app-process-step:last-of-type {
  justify-items: end;
  text-align: right;
}

.app-process-node {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid rgba(220, 229, 245, 0.18);
  border-radius: 50%;
  color: rgba(224, 232, 248, 0.78);
  background: rgba(13, 16, 22, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 22px rgba(0, 0, 0, 0.26);
}

.app-process-node::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 35%, rgba(185, 176, 242, 0.1), transparent 68%);
}

.app-process-node svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-process-node i {
  position: absolute;
  top: -5px;
  right: -8px;
  min-width: 20px;
  padding: 3px 4px;
  border: 1px solid rgba(220, 229, 245, 0.13);
  border-radius: 8px;
  color: rgba(216, 225, 240, 0.48);
  background: rgba(7, 9, 13, 0.94);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.app-process-step strong {
  color: rgba(240, 244, 251, 0.86);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.app-process-step small {
  margin-top: 4px;
  color: rgba(203, 213, 229, 0.56);
  font-size: 11px;
  line-height: 1.25;
}

@keyframes app-process-pulse {
  0%, 8% { left: 22px; opacity: 0; }
  16% { opacity: 1; }
  84% { opacity: 1; }
  92%, 100% { left: calc(100% - 29px); opacity: 0; }
}

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
  counter-reset: app-card-index;
}

.app-dashboard-product .app-feature-grid {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 0;
}

.app-card-compact,
.app-feature-card,
.app-contact-card {
  counter-increment: app-card-index;
}

.app-feature-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
}

.app-feature-card > .app-feature-icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.app-dashboard-product .app-feature-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.app-feature-card h3 { margin-top: auto; }

.app-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  min-height: 58px;
  margin-top: 26px;
  padding: 0 26px 0 10px;
  overflow: hidden;
  border: 1px solid rgba(222, 232, 247, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.9);
  color: rgba(248, 250, 253, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(158, 188, 255, 0.035);
  text-decoration: none;
  transition:
    border-color 420ms ease,
    background-color 420ms ease,
    box-shadow 420ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  pointer-events: none;
  background: var(--lux-gradient);
  opacity: 0.055;
  transform: scaleX(0.16);
  transform-origin: left center;
  transition:
    opacity 520ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-cta::after {
  display: none;
}

.app-cta > span {
  position: relative;
  z-index: 1;
}

.app-cta-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(218, 229, 246, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--lux-accent);
  font-size: 18px;
  transition:
    color 360ms ease,
    background-color 360ms ease,
    border-color 360ms ease,
    box-shadow 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-cta-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-cta > span:last-child {
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.app-cta:hover,
.app-cta:focus-visible {
  border-color: rgba(225, 234, 247, 0.28);
  background-color: rgba(13, 16, 22, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 20px 44px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(174, 191, 240, 0.13);
  outline: none;
  transform: translateY(-3px);
}

.app-cta:hover::before,
.app-cta:focus-visible::before {
  opacity: 0.12;
  transform: scaleX(1);
}

.app-contact-card:hover,
.app-contact-card:focus-visible {
  border-color: rgba(229, 237, 248, 0.46);
  background-color: rgba(20, 22, 26, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 28px color-mix(in srgb, var(--lux-accent) 8%, transparent);
  transform: translateY(-2px);
}

.app-cta:hover .app-cta-icon,
.app-cta:focus-visible .app-cta-icon {
  border-color: transparent;
  background: #b7c8f2;
  color: #080a0f;
  box-shadow:
    0 0 22px rgba(174, 191, 240, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transform: translateX(4px);
}

.app-cta:active {
  transform: translateY(0) scale(0.985);
}

.app-system-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 25px;
}

.app-system-map span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(208, 221, 240, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(221, 229, 241, 0.48);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-card-design {
  isolation: isolate;
  display: block;
  padding: 0;
}

.app-card-design::before {
  display: none;
}

.app-card-design::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.42), transparent 44%, rgba(2, 3, 6, 0.18)),
    linear-gradient(180deg, rgba(3, 5, 8, 0.1), transparent 58%, rgba(2, 3, 6, 0.58));
}

.app-design-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
}

.app-design-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.82) brightness(0.72) contrast(1.06);
  animation: app-design-breathe 16s ease-in-out infinite alternate;
  will-change: transform;
}

.app-brand-showcase::after { display: none; }
.app-brand-showcase .app-design-media { background: #080909; }
.app-card-design.app-brand-showcase .app-design-visual {
  display: block;
  object-fit: contain;
  object-position: center;
  filter: none;
  animation: none;
  transform: none;
  translate: none;
  will-change: auto;
}

.app-brand-canvas { pointer-events: none; }
.app-brand-mark {
  isolation: isolate;
  mix-blend-mode: screen;
}

.app-brand-mark-banner { opacity: 0.82; }
.app-brand-mark-card { opacity: 0.74; }
.app-brand-mark-phone { opacity: 0.9; }
.app-brand-phone-sheen { pointer-events: none; }

.app-brand-phone text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  fill: #dedede;
}
.app-brand-phone-avatar {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.24);
}
.app-brand-phone .app-brand-phone-avatar-text {
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
  fill: #f2f2f2;
}
.app-brand-phone .app-brand-phone-eyebrow {
  font-size: 10px;
  font-weight: 600;
  fill: #858585;
}
.app-brand-phone .app-brand-phone-title {
  font-size: 21px;
  font-weight: 650;
  fill: #f1f1f1;
}
.app-brand-phone-metric rect,
.app-brand-phone-activity rect {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1;
}
.app-brand-phone .app-brand-phone-metric-label {
  font-size: 11px;
  font-weight: 400;
  fill: #949494;
}
.app-brand-phone .app-brand-phone-metric-value {
  font-size: 23px;
  font-weight: 600;
  fill: #f0f0f0;
}
.app-brand-phone-metric-icon,
.app-brand-phone-project-arrow,
.app-brand-phone-activity use,
.app-brand-phone-nav use {
  fill: none;
  stroke: #b9b9b9;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-brand-phone-project-card {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.19);
  stroke-width: 1;
}
.app-brand-phone .app-brand-phone-project-kicker {
  font-size: 10px;
  font-weight: 650;
  fill: #8f8f8f;
}
.app-brand-phone .app-brand-phone-project-title {
  font-size: 20px;
  font-weight: 650;
  fill: #f3f3f3;
}
.app-brand-phone .app-brand-phone-project-percent {
  font-size: 14px;
  font-weight: 600;
  text-anchor: end;
  fill: #d0d0d0;
}
.app-brand-phone-progress-track { fill: rgba(255, 255, 255, 0.1); }
.app-brand-phone-progress-value { fill: #dedede; }
.app-brand-phone .app-brand-phone-project-meta,
.app-brand-phone .app-brand-phone-activity-meta {
  font-size: 10px;
  font-weight: 400;
  fill: #858585;
}
.app-brand-phone .app-brand-phone-section-title {
  font-size: 15px;
  font-weight: 600;
  fill: #e5e5e5;
}
.app-brand-phone .app-brand-phone-activity-title {
  font-size: 11px;
  font-weight: 550;
  fill: #d8d8d8;
}
.app-brand-phone-nav-bar {
  fill: rgba(4, 5, 6, 0.82);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}
.app-brand-phone-nav-active { fill: rgba(255, 255, 255, 0.09); }
.app-brand-phone-nav use { stroke-width: 1.35; }
.app-brand-phone-home {
  fill: rgba(222, 222, 222, 0.42);
}

@keyframes app-design-breathe {
  from { transform: scale(1.02) translate3d(-0.45%, 0, 0); }
  to { transform: scale(1.065) translate3d(0.45%, -0.35%, 0); }
}

.app-visual-composition {
  position: absolute !important;
  z-index: 2;
  inset: 66px 34px 28px;
  display: grid;
  place-items: center;
}

.visual-frame {
  position: absolute;
  border: 1px solid rgba(202, 218, 240, 0.1);
  border-radius: 5px;
}

.visual-frame-a {
  inset: 5% 18% 15% 10%;
  background: rgba(174, 200, 238, 0.035);
  transform: rotate(-3deg);
}

.visual-frame-b {
  inset: 15% 8% 6% 18%;
  border-color: rgba(211, 182, 225, 0.16);
  background: rgba(206, 181, 221, 0.025);
  transform: rotate(2deg);
}

.visual-frame-c {
  inset: 25% 24%;
  border-color: rgba(230, 236, 246, 0.24);
  background: rgba(7, 9, 13, 0.62);
}

.app-visual-composition strong {
  position: relative;
  z-index: 2;
  color: var(--lux-accent);
  background-image: var(--lux-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;
}

.app-dashboard-contacts {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.95fr);
}

.app-card-primary.app-card-contact-editorial {
  --contact-copy-size: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "copy sketch";
  column-gap: 20px;
}

.app-card-contact-editorial .app-card-copy {
  grid-area: copy;
  align-self: end;
}

.app-card-contact-editorial .app-card-copy h3 {
  margin-bottom: 18px;
  font-size: var(--contact-copy-size);
  line-height: 1.18;
}

.app-card-contact-editorial > .app-contact-form-trigger {
  grid-area: sketch;
  align-self: end;
  justify-self: end;
}

.app-contact-signal-sketch {
  width: min(100%, 280px);
  color: rgba(238, 239, 241, 0.82);
}

.contact-dialog {
  width: min(700px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(228, 236, 248, 0.12);
  border-radius: 8px;
  background: rgba(6, 8, 12, 0.72);
  color: var(--lux-text);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  backdrop-filter: blur(24px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 1px 0 0 rgba(255, 255, 255, 0.025),
    inset 0 -1px 0 rgba(255, 255, 255, 0.018),
    inset 0 0 46px rgba(255, 255, 255, 0.012),
    0 34px 110px rgba(0, 0, 0, 0.72);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.contact-dialog[open] {
  animation: contact-dialog-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-dialog-shell {
  position: relative;
  padding: 40px 42px 36px;
  overflow: hidden;
  background: rgba(6, 8, 12, 0.5);
}

.contact-dialog-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: rgba(6, 8, 12, 0.74);
  background-image: url("assets/waves-panel-soft.jpg?v=20260911-2");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  pointer-events: none;
}

.contact-dialog-shell > * {
  position: relative;
  z-index: 1;
}

.contact-dialog-close {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(229, 236, 247, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(242, 246, 252, 0.78);
  cursor: pointer;
  transition: border-color 240ms ease, background-color 240ms ease, color 240ms ease;
}

.contact-dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.contact-dialog-heading {
  display: grid;
  gap: 12px;
  max-width: none;
  padding: 0 64px 0 0;
}

.contact-dialog-kicker {
  color: rgba(218, 226, 239, 0.52);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-dialog-heading h2 {
  margin: 0;
  color: rgba(248, 250, 253, 0.96);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-dialog-heading p {
  margin: 0;
  color: rgba(213, 221, 233, 0.56);
  font-size: 13px;
  line-height: 1.55;
}

.contact-dialog-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 24px;
  margin-top: 30px;
}

.contact-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-field-wide,
.contact-consent,
.contact-dialog-action {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: rgba(221, 228, 239, 0.56);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.contact-field :is(input, textarea) {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(226, 234, 246, 0.11);
  border-radius: 6px;
  outline: 0;
  background: rgba(4, 6, 9, 0.36);
  color: rgba(249, 251, 254, 0.92);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.contact-field input {
  height: 50px;
  padding: 0 14px;
}

.contact-field textarea {
  min-height: 106px;
  padding: 14px;
  resize: vertical;
}

.contact-field :is(input, textarea)::placeholder {
  color: rgba(205, 214, 228, 0.28);
}

.contact-field :is(input, textarea):focus {
  border-color: rgba(235, 240, 248, 0.26);
  background-color: rgba(10, 13, 18, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 0 0 1px rgba(226, 235, 247, 0.018);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(213, 222, 235, 0.5);
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.contact-consent input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #d2aa65;
}

.contact-consent a {
  color: rgba(232, 237, 245, 0.72);
  text-underline-offset: 3px;
}

.contact-dialog-action {
  display: grid;
  grid-template-columns: max-content;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
}

.contact-dialog-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 54px;
  padding: 8px 9px 8px 17px;
  border: 0;
  border-radius: 6px;
  background: #d1d4d8;
  color: #1c2025;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 240ms ease;
}

.contact-dialog-submit-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 32, 37, 0.055);
  box-shadow: inset 0 0 0 1px rgba(28, 32, 37, 0.13);
  transition: background-color 420ms ease, box-shadow 420ms ease;
}

.contact-dialog-submit-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-dialog button:focus-visible,
.contact-consent input:focus-visible {
  outline: 2px solid rgba(235, 241, 250, 0.7);
  outline-offset: 3px;
}

.contact-field :is(input, textarea):focus-visible {
  outline: 0;
}

@media (hover: hover) and (pointer: fine) {
  .contact-dialog-close:hover {
    border-color: rgba(232, 239, 250, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .contact-field :is(input, textarea):hover:not(:focus) {
    border-color: rgba(229, 236, 247, 0.18);
    background-color: rgba(9, 12, 16, 0.44);
  }

  .contact-dialog-submit:hover { background: #e0e2e5; }
  .contact-dialog-submit:hover .contact-dialog-submit-arrow {
    background-color: rgba(28, 32, 37, 0.09);
    box-shadow: inset 0 0 0 1px rgba(28, 32, 37, 0.2);
  }
  .contact-dialog-submit:hover svg { transform: translate(2px, -2px); }
}

@keyframes contact-dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.app-contact-stack {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.app-contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 26px 66px 26px 26px;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.app-contact-card div {
  display: grid;
  gap: 6px;
}

.app-contact-card small {
  color: rgba(205, 216, 232, 0.58);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-contact-card strong {
  color: rgba(245, 248, 252, 0.88);
  font-size: 17px;
  font-weight: 500;
}

.app-contact-card i {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 28px;
  height: 28px;
  color: rgba(198, 216, 242, 0.48);
  font-style: normal;
  opacity: 0.42;
  transition: opacity 360ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-contact-card i svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-contact-card:hover i,
.app-contact-card:focus-visible i {
  opacity: 0.82;
  transform: translate3d(3px, -3px, 0);
}

body:not([data-page="home"]) .wave-canvas {
  opacity: 0;
}

body:not(.is-wave-video-ready):not([data-page="home"]) .wave-print {
  opacity: 0.34;
  animation-play-state: paused;
}

body:not([data-page="home"]) .grain {
  opacity: 0.025;
  animation-play-state: paused;
}

body:not(.is-wave-video-ready)[data-page="home"] .wave-print {
  opacity: 0.9;
  filter: grayscale(1) contrast(1.38) brightness(1.48);
}

body:not(.is-wave-video-ready)[data-page="home"] .wave-canvas {
  opacity: 1;
  filter: contrast(1.3) brightness(1.16);
}

@media (hover: hover) and (pointer: fine) {
  .app-card-compact,
  .app-feature-card {
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }

  .app-card-compact:hover,
  .app-feature-card:hover {
    border-color: rgba(222, 232, 246, 0.17);
    background-color: rgba(6, 8, 12, 0.52);
    transform: translateY(-2px);
  }
}

@media (max-width: 1100px) {
  .app-card-primary.app-card-about { --about-copy-size: 24px; }
  .app-card-primary.app-card-product { --product-copy-size: 24px; }
  .app-card-primary.app-card-contact-editorial { --contact-copy-size: 24px; }

  .app-page {
    padding-right: 50px;
    padding-left: 104px;
  }

  .app-screen {
    width: min(900px, calc(100vw - 164px));
  }

  .app-heading {
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
    column-gap: 32px;
  }

  .app-heading h2 {
    font-size: 40px;
  }

  .app-heading-editorial { --editorial-heading-size: 32px; }

  .app-dashboard {
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.85fr);
  }
}

@media (min-width: 1201px) and (max-width: 1360px), (min-width: 1201px) and (max-height: 760px) {
  .app-dashboard-product .app-feature-card { padding: 18px 16px; }
  .app-dashboard-product .app-feature-card > .app-feature-icon { margin-bottom: 12px; }
  .app-dashboard-product .app-feature-card h3 { font-size: 14px; }
  .app-dashboard-product .app-feature-card p { font-size: 13px; }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .app-dashboard-product .app-feature-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .app-dashboard-product .app-feature-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    padding: 12px;
  }
  .app-dashboard-product .app-feature-icon {
    grid-area: 1 / 1 / 3 / 2;
    align-self: center;
    width: 30px;
    height: 30px;
    margin: 0;
  }
  .app-dashboard-product .app-feature-card h3 { grid-area: 1 / 2; margin: 0 0 4px; font-size: 13.5px; }
  .app-dashboard-product .app-feature-card p { grid-area: 2 / 2; font-size: 12.5px; line-height: 1.4; }
}

@media (max-height: 760px) and (min-width: 681px) {
  .app-page {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .app-screen {
    grid-template-rows: 190px minmax(0, 1fr);
    height: clamp(500px, calc(100vh - 110px), 588px);
  }

  .app-heading {
    padding: 26px 28px;
    row-gap: 16px;
  }

  .app-heading h2 {
    font-size: 42px;
  }

  .app-heading-editorial { --editorial-heading-size: 34px; }

  .app-card-primary {
    padding: 28px;
    row-gap: 20px;
  }

  .app-card-primary h3 {
    font-size: 36px;
  }

  .app-card-primary.app-card-about { --about-copy-size: 26px; }
  .app-card-primary.app-card-product { --product-copy-size: 26px; }
  .app-card-primary.app-card-contact-editorial { --contact-copy-size: 26px; }

  .app-card-copy > p {
    font-size: 16px;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .app-heading {
    grid-template-columns: minmax(0, 1fr) 190px;
    column-gap: 24px;
    padding: 24px;
  }

  .app-heading h2 { font-size: 34px; }
  .app-heading-editorial { --editorial-heading-size: 28px; }
  #contacts .app-heading-editorial { --editorial-heading-size: 26px; }
  .app-heading > p { font-size: 15px; }
  .app-brand-quote p { font-size: 16px; }
  .app-card-primary { padding: 24px; row-gap: 18px; }
  .app-card-primary h3 { font-size: 28px; }
  .app-card-copy > p { font-size: 15px; }
  .app-card-primary.app-card-about {
    --about-copy-size: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 150px minmax(0, 1fr);
    grid-template-areas: "sketch" "copy";
    row-gap: 16px;
  }
  .app-rocket-sketch { width: 166px; }

  .app-card-primary.app-card-contact-editorial {
    --contact-copy-size: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 108px minmax(0, 1fr) auto;
    grid-template-areas: "sketch" "copy" "action";
    row-gap: 18px;
    padding-top: 22px;
  }

  .app-card-contact-editorial > .app-contact-form-trigger {
    grid-area: action;
    justify-self: end;
  }

  .app-contact-signal-sketch { width: 126px; }

  :is(#ai-tools, #ai-sites).app-page { overflow-y: auto; align-content: start; row-gap: 24px; }
  body:has(:is(#ai-tools, #ai-sites).is-active) .site-legal { display: none; }
  :is(#ai-tools, #ai-sites) .mobile-page-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    width: min(900px, calc(100vw - 164px));
    margin: 0 auto;
    color: rgba(235, 241, 255, 0.45);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: uppercase;
  }
  :is(#ai-tools, #ai-sites) .mobile-page-legal a { color: inherit; }
  :is(#ai-tools, #ai-sites) .app-screen {
    height: 1084px;
    min-height: 1084px;
    grid-template-rows: 304px minmax(0, 1fr);
  }
  :is(#ai-tools, #ai-sites) .app-heading {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "label" "title" "description";
    gap: 18px;
  }
  :is(#ai-tools, #ai-sites) .app-brand-quote { grid-row: auto; max-width: 340px; }
  :is(#ai-tools, #ai-sites) .app-heading-aside { grid-row: auto; }
  .app-dashboard-product {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 400px minmax(0, 1fr);
  }

  .app-feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .app-feature-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    padding: 12px;
  }

  .app-feature-card > .app-feature-icon {
    position: static;
    grid-area: 1 / 1 / 3 / 2;
    align-self: center;
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .app-feature-card h3 { grid-area: 1 / 2; margin-bottom: 4px; font-size: 13.5px; }
  .app-feature-card p { grid-area: 2 / 2; font-size: 12.5px; line-height: 1.4; }
  .app-dashboard-product .app-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .app-dashboard-product .app-feature-card { display: flex; padding: 24px; }
  .app-dashboard-product .app-feature-icon { align-self: start; margin-bottom: auto; }
  .app-dashboard-product .app-feature-card h3 { font-size: 14px; }
  .app-dashboard-product .app-feature-card p { font-size: 14px; }
  .app-card-compact { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .app-card-compact .app-index { width: 36px; height: 36px; }
  .app-process { gap: 10px; }
  .app-process-step strong { font-size: 11px; }
  .app-process-step small { font-size: 10px; }
}

@media (max-height: 680px) and (min-width: 981px) {
  .app-page { padding-top: 28px; padding-bottom: 28px; }
  .app-screen { height: calc(100vh - 88px); min-height: 480px; grid-template-rows: 164px minmax(0, 1fr); }
  .app-heading { padding: 22px 28px; row-gap: 12px; }
  .app-heading h2 { font-size: 36px; }
  .app-heading-editorial { --editorial-heading-size: 30px; }
  .app-heading > p { font-size: 15px; line-height: 1.4; }
  .app-brand-quote p { font-size: 16px; line-height: 1.4; }
  .app-brand-quote { row-gap: 12px; }
  .app-card-primary { padding: 24px 28px; row-gap: 18px; }
  .app-card-primary h3 { margin-bottom: 14px; font-size: 32px; }
  .app-card-primary.app-card-about { --about-copy-size: 26px; padding-top: 28px; }
  .app-card-primary.app-card-product { --product-copy-size: 26px; padding-top: 28px; }
  .app-card-product .app-card-content { gap: 20px; }
  .app-card-copy > p { font-size: 15px; line-height: 1.45; }
}

@media (max-width: 680px) {
  .scroll-cue {
    display: none;
  }

  .app-heading,
  .app-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .video-grid {
    opacity: 0.5;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.72) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.72) 1px, transparent 1px);
    background-position: center;
    background-size: 4px 4px;
  }

  .wave-video.is-visible {
    opacity: 0.68;
    object-position: 55% center;
    transform: scale(1.08);
  }

  .wave-video-still {
    background-position: 55% center;
    transform: scale(1.08);
  }

  body.is-wave-video-ready .wave-print {
    opacity: 0.2 !important;
  }

  body.is-wave-video-ready .wave-canvas {
    opacity: 0 !important;
  }

  body:not(.is-wave-video-ready)[data-page="home"] .wave-print {
    opacity: 1 !important;
    filter: grayscale(1) contrast(1.28) brightness(1.36) !important;
  }

  body:not(.is-wave-video-ready)[data-page="home"] .wave-canvas {
    opacity: 0.78 !important;
    filter: contrast(1.24) brightness(1.2) !important;
  }

  body[data-page="home"] .page-home::before {
    opacity: 0.09 !important;
  }

  body #about.page.content-page.app-page,
  body #ai-tools.page.content-page.app-page,
  body #ai-sites.page.content-page.app-page,
  body #ai-design.page.content-page.app-page,
  body #contacts.page.content-page.app-page {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: 100svh !important;
    padding: max(98px, calc(env(safe-area-inset-top) + 86px)) 20px 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .app-screen {
    display: grid;
    flex: 0 0 auto;
    grid-template-rows: 304px minmax(0, 1fr);
    gap: 18px;
    width: min(100%, 420px) !important;
    min-height: 1120px !important;
    height: 1120px !important;
    max-height: none !important;
    margin: 0 auto;
  }

  .app-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "label" "title" "description";
    gap: 18px;
    height: 100%;
    padding: 24px;
    border-left-width: 1px;
  }

  .app-heading::before {
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    background-color: var(--lux-panel);
  }

  .app-heading::after {
    right: 48px;
  }

  .app-kicker {
    font-size: 11px;
  }

  .app-kicker::before {
    width: 26px;
  }

  .app-heading h2 {
    align-self: center;
    max-width: 100%;
    margin: 0;
    font-size: 32px;
    font-weight: 200;
    line-height: 1.1;
  }

  #ai-tools .app-heading h2 {
    font-size: 26px;
  }

  .app-heading-editorial { --editorial-heading-size: 26px; }
  .app-brand-quote {
    grid-row: auto;
    grid-template-columns: 12px minmax(0, 1fr) 12px;
    column-gap: 4px;
  }
  .app-quote-mark { font-size: 36px; }
  .app-brand-quote p { font-size: 16px; }

  .app-heading-aside { grid-row: auto; }

  #ai-tools .app-heading h2 span {
    white-space: nowrap;
  }

  .app-heading > p {
    max-width: 100%;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .app-heading-icon {
    top: 23px;
    right: 21px;
    width: 56px;
    height: 56px;
    opacity: 0.8;
  }

  .app-dashboard,
  .app-dashboard-contacts {
    grid-template-columns: 1fr;
    grid-template-rows: 380px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    height: 100%;
  }

  .app-card-primary {
    height: 100%;
    padding: 26px 24px;
    row-gap: 20px;
  }

  .app-card-primary.app-card-design {
    padding: 0;
  }

  .app-card-primary.app-card-about {
    --about-copy-size: 24px;
    padding-top: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 166px minmax(0, 1fr);
    grid-template-areas: "sketch" "copy";
    row-gap: 16px;
  }

  .app-rocket-sketch { width: 180px; }
  .app-card-about .app-card-copy h3 { margin-bottom: 14px; }

  .app-card-primary.app-card-contact-editorial {
    --contact-copy-size: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 120px minmax(0, 1fr) auto;
    grid-template-areas: "sketch" "copy" "action";
    row-gap: 18px;
    padding-top: 22px;
  }

  .app-card-contact-editorial > .app-contact-form-trigger {
    grid-area: action;
    justify-self: end;
  }

  .app-contact-signal-sketch {
    justify-self: end;
    width: 140px;
  }

  .app-card-contact-editorial .app-card-copy h3 { margin-bottom: 12px; }

  :is(#ai-tools, #ai-sites) .app-screen {
    height: 1180px !important;
    min-height: 1180px !important;
  }

  .app-dashboard-product { grid-template-rows: 440px minmax(0, 1fr); }

  .app-card-primary.app-card-product {
    --product-copy-size: 24px;
    padding-top: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "sketch" "copy" "action";
    row-gap: 18px;
  }

  .app-analysis-sketch, .app-website-sketch { width: 126px; }
  .app-direct-cta { grid-area: action; }
  .app-card-product .app-card-content { gap: 20px; }
  .app-card-product .app-card-copy h3 { margin-bottom: 14px; }

  .app-card-primary h3 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 30px;
    font-weight: 200;
    line-height: 1.12;
  }

  .app-card-copy > p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
  }

  .app-primary-icon {
    top: 64px;
    right: 23px;
    width: 118px;
    height: 118px;
  }

  .app-process {
    gap: 8px;
    margin-top: 0;
  }

  .app-process-node {
    width: 39px;
    height: 39px;
    margin-bottom: 8px;
  }

  .app-process::before {
    top: 19px;
  }

  .app-process::after {
    top: 16px;
  }

  .app-process-node svg {
    width: 16px;
    height: 16px;
  }

  .app-process-step strong {
    font-size: 11px;
  }

  .app-process-step small {
    font-size: 10px;
  }

  .app-card-stack {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .app-card-compact {
    gap: 18px;
    padding: 18px;
  }

  .app-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .app-feature-card {
    padding: 19px 17px;
  }

  .app-feature-card > .app-feature-icon {
    width: 34px;
    height: 34px;
  }

  .app-feature-card h3 {
    font-size: 14px;
  }

  .app-feature-card p,
  .app-card-compact p {
    font-size: 13px;
  }

  .app-system-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 20px;
  }

  .app-system-map span {
    min-height: 36px;
    font-size: 8.5px;
  }

  .app-visual-composition {
    inset: 62px 20px 22px;
  }

  .app-design-visual {
    object-position: center center;
  }

  .app-contact-stack {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .app-contact-card {
    gap: 18px;
    padding: 22px 58px 22px 20px;
  }

  .app-contact-card i {
    right: 20px;
    bottom: 18px;
    width: 26px;
    height: 26px;
  }

  body .app-page .app-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    gap: 13px !important;
    width: fit-content !important;
    min-height: 52px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 21px 0 8px !important;
    border: 1px solid rgba(222, 232, 247, 0.16) !important;
    background: rgba(8, 10, 14, 0.9) !important;
  }

  body .app-page .app-cta::before {
    display: block !important;
  }

  body .app-page .app-cta::after {
    display: none !important;
  }

  body .app-page .app-cta .app-cta-icon {
    display: grid !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--lux-accent) !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: none !important;
  }

  body .app-page .app-cta:hover .app-cta-icon,
  body .app-page .app-cta:focus-visible .app-cta-icon {
    border-color: rgba(218, 229, 246, 0.3) !important;
    background: rgba(219, 230, 252, 0.055) !important;
    color: var(--lux-accent) !important;
    transform: none !important;
  }

  body .app-page .app-cta .app-cta-icon svg {
    display: block !important;
    flex: none !important;
    width: 16px !important;
    height: 16px !important;
    padding: 0 !important;
    transform: none !important;
  }

  body .app-page .app-cta > span:last-child {
    display: block !important;
    margin: 0 !important;
    color: rgba(246, 249, 253, 0.88) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
    font-size: 13px !important;
  }

  .app-page .mobile-page-legal {
    flex: 0 0 auto !important;
    width: min(100%, 420px) !important;
    margin: auto auto max(18px, env(safe-area-inset-bottom)) !important;
    padding-top: 34px !important;
  }
}

@media (max-width: 420px) {
  #ai-tools .app-heading h2 { font-size: 23px; }

  .contact-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }

  .contact-dialog-shell { padding: 30px 20px 22px; }
  .contact-dialog-shell::before { inset: 0; }
  .contact-dialog-close { top: 16px; right: 16px; }
  .contact-dialog-heading { padding-right: 44px; }
  .contact-dialog-heading h2 { font-size: 27px; }
  .contact-dialog-form { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
  .contact-field-wide,
  .contact-consent,
  .contact-dialog-action { grid-column: auto; }
  .contact-field textarea { min-height: 96px; }
  .contact-dialog-action { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 380px) {
  body #about.page.content-page.app-page,
  body #ai-tools.page.content-page.app-page,
  body #ai-sites.page.content-page.app-page,
  body #ai-design.page.content-page.app-page,
  body #contacts.page.content-page.app-page {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .app-card-primary.app-card-contact-editorial {
    grid-template-rows: 104px minmax(0, 1fr) auto;
  }

  .app-contact-signal-sketch { width: 118px; }

  .app-screen {
    grid-template-rows: 304px minmax(0, 1fr);
    min-height: 1120px !important;
    height: 1120px !important;
  }

  .app-heading h2 {
    font-size: 30px;
  }

  #ai-tools .app-heading h2 { font-size: 21px; }
  .app-heading-editorial { --editorial-heading-size: 24px; }
  .app-card-primary.app-card-about { grid-template-rows: 140px minmax(0, 1fr); }
  .app-rocket-sketch { width: 152px; }
  .app-analysis-sketch, .app-website-sketch { width: 112px; }

  .app-card-primary h3 {
    font-size: 28px;
  }
}

@media (max-width: 350px) {
  .app-heading h2 { font-size: 28px; }
  #ai-tools .app-heading h2 { font-size: 18.5px; }
  .app-heading-editorial { --editorial-heading-size: 22px; }
  .app-card-primary h3 { font-size: 22px; }
  .app-card-primary.app-card-about { --about-copy-size: 22px; grid-template-rows: 128px minmax(0, 1fr); }
  .app-rocket-sketch { width: 140px; }
  .app-card-primary.app-card-product { --product-copy-size: 22px; }
  .app-analysis-sketch, .app-website-sketch { width: 100px; }
  .app-feature-card h3 { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__mouse i,
  .scroll-cue__rail i {
    animation: none;
  }

  .app-cta,
  .app-cta::before,
  .app-cta-icon {
    transition: none;
  }

  .contact-dialog[open] { animation: none; }
  .contact-dialog :is(button, input, textarea, svg) { transition: none; }

  .app-design-visual {
    animation: none;
  }

  .app-process::after {
    display: none;
  }

}

@media (max-width: 1100px) {
  #ai-design.app-page {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    row-gap: 24px;
  }
  body:has(#ai-design.is-active) .site-legal { display: none; }
  #ai-design .app-screen {
    flex: 0 0 auto;
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: 220px auto;
  }
  #ai-design .app-dashboard-design {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
  }
  #ai-design .app-brand-showcase { height: auto; aspect-ratio: 1692 / 930; }
  #ai-design .app-card-stack { grid-template-rows: repeat(3, minmax(112px, auto)); }
  #ai-design .mobile-page-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    width: min(900px, calc(100vw - 164px));
    margin: 0 auto;
    color: rgba(235, 241, 255, 0.45);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: uppercase;
  }
  #ai-design .mobile-page-legal a { color: inherit; }
}

@media (max-width: 980px) {
  #ai-design .app-screen { grid-template-rows: 304px auto; }
  #ai-design .app-heading {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "label" "title" "description";
    gap: 18px;
  }
  #ai-design .app-heading-aside,
  #ai-design .app-brand-quote { grid-row: auto; }
}

@media (max-width: 680px) {
  #ai-design .mobile-page-legal { width: min(100%, 420px); }
}
