@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --ink: #edf6ff;
  --ink-strong: #ffffff;
  --paper: #020817;
  --paper-warm: #061127;
  --white: #ffffff;
  --muted: #a9bdd6;
  --line: rgba(137, 191, 255, 0.18);
  --green: #20e6eb;
  --green-deep: #86fbff;
  --teal: #168bff;
  --coral: #286cff;
  --gold: #69f5ff;
  --void: #01050f;
  --panel: #07162f;
  --panel-strong: #0b2148;
  --ashline-cyan: #1ddcff;
  --ashline-orange: #ff7a2f;
  --ashline-purple: #3a145c;
  --shadow-day: #ffd34d;
  --shadow-night: #1d2f72;
  --shadow-violet: #6d4cff;
  --shadow: 0 28px 80px rgba(0, 5, 18, 0.5);
  --radius: 18px;
  --max: 1180px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(22, 139, 255, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(32, 230, 235, 0.07), transparent 38%),
    var(--paper);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  font-size: 4.6rem;
  margin-bottom: 1.4rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--void);
  background: var(--gold);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  background: rgba(1, 5, 15, 0.42);
  backdrop-filter: blur(22px) saturate(130%);
  border-bottom: 1px solid rgba(99, 177, 255, 0.14);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.compact,
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(2, 8, 23, 0.9);
  border-bottom-color: rgba(103, 184, 255, 0.18);
}

.nav-shell {
  width: min(100% - 2rem, var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  width: max-content;
  padding: 0.15rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 220ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  display: inline-grid;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  color: transparent;
  background: #ffffff url("vynadex-logo.png") center / contain no-repeat;
  filter: none;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 12%;
  box-shadow: 0 0 14px rgba(31, 186, 255, 0.24);
  text-indent: -9999px;
  transition: filter 220ms ease, box-shadow 220ms ease;
}

.brand-name {
  display: block;
  width: 22rem;
  height: 3.05rem;
  flex: 0 0 auto;
  overflow: hidden;
  color: transparent;
  background: transparent url("vynadex-name.jpg") center 72% / 100% auto no-repeat;
  filter: grayscale(1) invert(1) contrast(1.35) brightness(1.55);
  mix-blend-mode: screen;
  text-indent: -9999px;
  transition: filter 220ms ease;
}

.brand:hover .brand-mark {
  filter: none;
  box-shadow: 0 0 18px rgba(32, 230, 235, 0.34);
}

.brand:hover .brand-name {
  filter: grayscale(1) invert(1) contrast(1.42) brightness(1.72);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  min-height: 2.7rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  color: currentColor;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--void);
  background: linear-gradient(105deg, var(--green), var(--teal));
  box-shadow: 0 10px 26px rgba(22, 139, 255, 0.25);
}

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--void);
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(1, 5, 15, 0.98) 0%, rgba(2, 10, 28, 0.88) 46%, rgba(2, 15, 40, 0.22) 100%),
    linear-gradient(0deg, rgba(9, 101, 255, 0.16) 0%, rgba(32, 230, 235, 0.03) 48%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero-content h1 {
  max-width: 800px;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  margin-bottom: 2rem;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow {
  color: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--void);
  background: linear-gradient(105deg, var(--green), #24b9ff 54%, var(--teal));
  box-shadow: 0 16px 42px rgba(32, 230, 235, 0.18), 0 8px 30px rgba(22, 139, 255, 0.26);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-secondary.light {
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-scroll {
  position: absolute;
  right: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 1rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  font-weight: 800;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 2rem, var(--max));
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 5;
  background: rgba(6, 17, 39, 0.88);
  border: 1px solid rgba(110, 189, 255, 0.2);
  backdrop-filter: blur(22px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal {
  min-height: 8.5rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.signal:last-child {
  border-right: 0;
}

.signal strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink-strong);
  font-size: 1.1rem;
}

.signal span {
  display: block;
  color: var(--muted);
}

.section {
  padding: 6rem 0;
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section-light {
  background: var(--paper);
}

.section-paper {
  background:
    linear-gradient(135deg, rgba(22, 139, 255, 0.11), rgba(32, 230, 235, 0.04)),
    var(--paper-warm);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 139, 255, 0.17), rgba(32, 230, 235, 0.1)),
    var(--void);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.split h2,
.split h1 {
  margin-bottom: 0;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
}

.lede p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-note {
  margin: 1.5rem 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 18rem;
  padding: 1.35rem;
  background: rgba(7, 22, 47, 0.86);
  border: 1px solid rgba(111, 188, 255, 0.17);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(16, 32, 29, 0.08);
}

.feature-card:nth-child(2n) {
  border-top: 4px solid var(--teal);
}

.feature-card:nth-child(2n + 1) {
  border-top: 4px solid var(--green);
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-index {
  display: block;
  margin-bottom: 2.6rem;
  color: var(--green-deep);
  font-weight: 900;
}

.wide-statement {
  max-width: 900px;
  margin-bottom: 3rem;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-row div {
  min-height: 13rem;
  padding: 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.process-row div:last-child {
  border-right: 0;
}

.process-row span {
  display: block;
  margin-bottom: 2rem;
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 900;
}

.process-row p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  color: var(--ink-strong);
  font-weight: 900;
  border-bottom: 2px solid var(--green);
}

.text-link:hover {
  color: var(--green-deep);
}

.cta-band {
  padding: 4rem 0;
  color: var(--void);
  background: linear-gradient(105deg, var(--green), #29baff 48%, var(--teal));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-band .button-primary {
  background: var(--ink-strong);
  color: var(--void);
  box-shadow: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--void);
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  min-height: 11rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 2rem 0;
}

.footer-brand {
  color: var(--white);
  justify-self: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: flex-end;
}

.footer-links a {
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-inner p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
}

.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  padding: 5rem 0 4rem;
  background:
    linear-gradient(115deg, rgba(22, 139, 255, 0.18), rgba(32, 230, 235, 0.06)),
    var(--paper);
}

.page-hero h1 {
  font-size: 3.6rem;
}

.page-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.1rem;
}

.system-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(7, 22, 47, 0.78);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.system-node {
  position: absolute;
  width: 9.5rem;
  height: 6.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(16, 32, 29, 0.1);
}

.system-node::before,
.system-node::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 0.55rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}

.system-node::before {
  top: 1.5rem;
}

.system-node::after {
  top: 2.6rem;
  right: 3rem;
}

.node-app {
  top: 2.8rem;
  left: 2.2rem;
}

.node-web {
  top: 4.8rem;
  right: 2.1rem;
  border-top-color: var(--teal);
}

.node-api {
  bottom: 3rem;
  left: 5rem;
  border-top-color: var(--coral);
}

.node-data {
  bottom: 4.5rem;
  right: 5rem;
  border-top-color: var(--gold);
}

.system-line {
  position: absolute;
  height: 3px;
  transform-origin: left center;
  background: var(--ink);
  opacity: 0.28;
}

.line-one {
  width: 14rem;
  top: 9rem;
  left: 10.5rem;
  transform: rotate(9deg);
}

.line-two {
  width: 15rem;
  top: 14.6rem;
  left: 8.8rem;
  transform: rotate(47deg);
}

.line-three {
  width: 15rem;
  bottom: 9.7rem;
  left: 14rem;
  transform: rotate(-9deg);
}

.apps-hero {
  background:
    linear-gradient(115deg, rgba(22, 139, 255, 0.2), rgba(32, 230, 235, 0.06)),
    var(--paper);
}

.apps-orbit {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(29, 220, 255, 0.16), transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(7, 22, 47, 0.78);
  background-size: auto, 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orbit-card {
  position: absolute;
  width: 8.5rem;
  height: 8.5rem;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 46px rgba(16, 32, 29, 0.18);
}

.orbit-ash {
  top: 3.6rem;
  left: 4rem;
  background: var(--green);
}

.orbit-shadow {
  right: 4rem;
  bottom: 3.8rem;
  color: var(--white);
  background:
    linear-gradient(90deg, var(--gold) 0 50%, var(--ink-strong) 50% 100%);
}

.orbit-line {
  position: absolute;
  height: 3px;
  background: rgba(16, 32, 29, 0.24);
  transform-origin: left center;
}

.orbit-one {
  width: 18rem;
  top: 10.8rem;
  left: 12rem;
  transform: rotate(22deg);
}

.orbit-two {
  width: 14rem;
  right: 9rem;
  bottom: 10rem;
  transform: rotate(-38deg);
}

.orbit-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--green);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1rem rgba(32, 230, 235, 0.11);
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.app-showcase-grid.compact .app-card {
  min-height: 0;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  min-height: 28rem;
  overflow: hidden;
  background: rgba(24, 16, 38, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(16, 32, 29, 0.1);
}

.app-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.app-card-body h3 {
  font-size: 2rem;
  margin-bottom: 0;
}

.app-card-body p {
  color: var(--muted);
  margin-bottom: 0;
}

.app-visual {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
}

.ashline-visual {
  background:
    linear-gradient(90deg, rgba(29, 220, 255, 0.24), rgba(255, 122, 47, 0.22)),
    linear-gradient(135deg, #100620, var(--ashline-purple));
}

.shadow-visual {
  background:
    linear-gradient(90deg, rgba(255, 211, 77, 0.92) 0 50%, rgba(29, 47, 114, 0.94) 50% 100%);
}

.app-icon-card {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: min(58%, 190px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24%;
  transform: translate(-50%, -50%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.visual-signal {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 3px;
  opacity: 0.78;
  filter: blur(0.2px);
}

.visual-signal.cyan,
.visual-signal.gold {
  top: 34%;
}

.visual-signal.orange,
.visual-signal.violet {
  bottom: 34%;
}

.visual-signal.cyan {
  background: var(--ashline-cyan);
  box-shadow: 0 0 28px var(--ashline-cyan);
}

.visual-signal.orange {
  background: var(--ashline-orange);
  box-shadow: 0 0 28px var(--ashline-orange);
}

.visual-signal.gold {
  background: var(--shadow-day);
  box-shadow: 0 0 28px var(--shadow-day);
}

.visual-signal.violet {
  background: var(--shadow-violet);
  box-shadow: 0 0 28px var(--shadow-violet);
}

.phone-mock {
  position: absolute;
  inset: 2.2rem auto auto 50%;
  width: min(78%, 220px);
  aspect-ratio: 9 / 16;
  padding: 1.2rem 0.9rem;
  border: 8px solid rgba(7, 17, 15, 0.9);
  border-radius: 30px;
  background: var(--paper);
  transform: translateX(-50%) rotate(-4deg);
  box-shadow: 0 28px 52px rgba(7, 17, 15, 0.28);
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 4rem;
  height: 0.42rem;
  border-radius: 99px;
  background: rgba(7, 17, 15, 0.72);
  transform: translateX(-50%);
}

.feed-card {
  height: 52%;
  margin-top: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 107, 74, 0.9), rgba(243, 179, 49, 0.92)),
    var(--coral);
  box-shadow: inset 0 -42px 0 rgba(7, 17, 15, 0.18);
}

.feed-card.small {
  width: 68%;
  height: 18%;
  margin: 0.8rem 0 0 auto;
  background:
    linear-gradient(135deg, rgba(19, 213, 121, 0.92), rgba(10, 168, 166, 0.86)),
    var(--green);
}

.vote-chip {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 0.45rem 0.7rem;
  color: var(--ink-strong);
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 950;
  box-shadow: 0 12px 22px rgba(7, 17, 15, 0.22);
}

.shadow-stage {
  position: absolute;
  inset: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: var(--ink-strong);
  box-shadow: 0 24px 50px rgba(7, 17, 15, 0.28);
}

.sky-half {
  position: absolute;
  inset: 0;
}

.sky-half.day {
  right: 50%;
  background:
    radial-gradient(circle at 34% 24%, #fff8ce 0 9%, transparent 10%),
    linear-gradient(180deg, #f4c658 0%, #f19d4b 54%, #4f6b50 100%);
}

.sky-half.night {
  left: 50%;
  background:
    radial-gradient(circle at 68% 20%, #f7f8f3 0 7%, transparent 8%),
    radial-gradient(circle at 82% 34%, rgba(255, 255, 255, 0.8) 0 1.4%, transparent 1.6%),
    linear-gradient(180deg, #082449 0%, #030a18 70%, #020817 100%);
}

.path-block {
  position: absolute;
  height: 1.1rem;
  border-radius: 5px;
  background: var(--green);
  box-shadow: 0 12px 0 rgba(7, 17, 15, 0.16);
}

.block-one {
  left: 9%;
  bottom: 18%;
  width: 34%;
}

.block-two {
  left: 38%;
  bottom: 39%;
  width: 28%;
  background: var(--gold);
}

.block-three {
  right: 8%;
  bottom: 62%;
  width: 32%;
  background: var(--teal);
}

.block-four {
  left: 12%;
  bottom: 74%;
  width: 24%;
  background: var(--coral);
}

.runner {
  position: absolute;
  left: 45%;
  bottom: 47%;
  width: 1.35rem;
  height: 2.6rem;
  background: var(--white);
  border-radius: 99px 99px 8px 8px;
  box-shadow: 0 0 0 0.45rem rgba(19, 213, 121, 0.16);
}

.runner::before {
  content: "";
  position: absolute;
  top: -0.72rem;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--white);
  transform: translateX(-50%);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-live {
  color: var(--void);
  background: linear-gradient(90deg, var(--green), var(--coral));
}

.badge-soon {
  color: var(--ink-strong);
  background: rgba(243, 179, 49, 0.24);
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.58rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 800;
}

.launch-meta {
  margin-top: 1.35rem;
}

.app-detail-hero {
  padding-bottom: 5rem;
}

.app-detail-panel,
.shadow-preview {
  min-height: 380px;
  padding: 1.5rem;
  background: rgba(24, 16, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.app-detail-panel {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.app-icon-large {
  display: grid;
  width: 9rem;
  height: 9rem;
  place-items: center;
  border-radius: 24px;
  font-size: 2.2rem;
  font-weight: 950;
  color: var(--ink-strong);
  box-shadow: 0 22px 42px rgba(16, 32, 29, 0.18);
}

.ashline-icon-large {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, var(--ashline-cyan), var(--ashline-orange));
}

.app-icon-image {
  display: block;
  object-fit: cover;
}

.app-icon-inline {
  width: 5.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24%;
  margin-bottom: 1.1rem;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35);
}

.app-icon-inline.compact {
  width: 4rem;
  margin-bottom: 0;
}

.app-detail-panel h2 {
  font-size: 2rem;
}

.app-detail-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.app-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.shadow-preview {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 211, 77, 0.24), rgba(29, 47, 114, 0.22)),
    rgba(24, 16, 38, 0.92);
}

.detail-stage {
  inset: 1.5rem;
}

.shadow-video-panel {
  width: min(100%, 340px);
  height: min(72svh, 640px);
  min-height: 420px;
  justify-self: center;
  padding: 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 211, 77, 0.22), rgba(109, 76, 255, 0.2)),
    var(--void);
  border: 1px solid rgba(16, 32, 29, 0.13);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.shadow-gameplay-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius) - 2px);
  background: var(--void);
}

.shadow-score-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 211, 77, 0.92) 0 48%, rgba(29, 47, 114, 0.96) 48% 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.shadow-score-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shadow-score-card strong {
  font-size: 4rem;
  line-height: 1;
}

.release-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.release-list li {
  padding-left: 1rem;
  color: var(--muted);
  border-left: 4px solid var(--green);
}

.app-theme-ashline .page-hero {
  background:
    linear-gradient(115deg, rgba(29, 220, 255, 0.18), rgba(255, 122, 47, 0.16)),
    var(--paper);
}

.app-theme-ashline .button-primary {
  background: linear-gradient(90deg, var(--ashline-cyan), var(--ashline-orange));
}

.app-theme-ashline .feature-card:nth-child(2n),
.app-theme-ashline .release-list li {
  border-top-color: var(--ashline-cyan);
  border-left-color: var(--ashline-cyan);
}

.app-theme-ashline .feature-card:nth-child(2n + 1) {
  border-top-color: var(--ashline-orange);
}

.ashline-band {
  background:
    linear-gradient(100deg, rgba(29, 220, 255, 0.18), rgba(255, 122, 47, 0.16)),
    var(--void);
}

.app-theme-shadow .page-hero {
  background:
    linear-gradient(115deg, rgba(255, 211, 77, 0.18), rgba(109, 76, 255, 0.16)),
    var(--paper);
}

.app-theme-shadow .button-primary {
  background: linear-gradient(90deg, var(--shadow-day), var(--coral));
}

.app-theme-shadow .feature-card:nth-child(2n),
.app-theme-shadow .release-list li {
  border-top-color: var(--shadow-day);
  border-left-color: var(--shadow-day);
}

.app-theme-shadow .feature-card:nth-child(2n + 1) {
  border-top-color: var(--shadow-violet);
}

.section-dark .lede {
  color: rgba(255, 255, 255, 0.76);
}

.text-link.on-dark {
  color: var(--white);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-item {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem;
  background: rgba(24, 16, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.service-item h2 {
  font-size: 2rem;
}

.service-item p {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 0;
}

.service-kicker {
  color: var(--green-deep);
  font-weight: 900;
  font-size: 1.2rem;
}

.contact-panel,
.contact-aside,
.legal-card {
  padding: 1.5rem;
  background: rgba(24, 16, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(16, 32, 29, 0.08);
}

.contact-panel h2 {
  font-size: 1.6rem;
}

.contact-panel p:last-child,
.contact-aside p:last-child {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink-strong);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted);
  margin-bottom: 0;
}

.legal-main {
  padding-top: var(--header-h);
  background: var(--paper);
}

.legal-hero {
  padding: 4rem 0 2.5rem;
  background: var(--paper);
}

.legal-hero h1 {
  font-size: 3.4rem;
  max-width: 840px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  background: rgba(7, 22, 47, 0.92);
  border: 1px solid rgba(111, 188, 255, 0.17);
  border-radius: var(--radius);
}

.legal-nav a {
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--void);
  background: linear-gradient(105deg, var(--green), var(--teal));
}

.legal-card {
  margin-bottom: 1rem;
}

.legal-card h2 {
  font-size: 1.7rem;
}

.legal-card h3 {
  font-size: 1.15rem;
  margin-top: 1.4rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card a {
  color: var(--green-deep);
  font-weight: 800;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.2rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.check-table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.check-table th,
.check-table td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.check-table th {
  color: var(--void);
  background: linear-gradient(105deg, rgba(32, 230, 235, 0.94), rgba(22, 139, 255, 0.92));
}

.contact-form select option {
  color: var(--ink);
  background: var(--panel);
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: 1rem;
  width: min(100% - 2rem, 680px);
  margin: 0 auto;
  text-align: center;
}

.error-page .brand {
  justify-content: center;
}

/* Brand motion system */
.gradient-text {
  color: transparent;
  background: linear-gradient(105deg, #ffffff 0%, var(--green-deep) 44%, #4cb7ff 72%, #8ca9ff 100%);
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-drift 8s ease-in-out infinite;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  opacity: 0.65;
  background: linear-gradient(90deg, transparent 0%, var(--green) 35%, var(--teal) 65%, transparent 100%);
  background-size: 240% 100%;
  animation: header-beam 7s linear infinite;
}

.hero-brand-orbit {
  position: absolute;
  top: 50%;
  left: calc(50% + 165px);
  z-index: 1;
  width: min(43vw, 560px);
  aspect-ratio: 1;
  transform: translateY(-48%);
  filter: drop-shadow(0 28px 60px rgba(0, 87, 255, 0.25));
}

.orbit-ring {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(98, 218, 255, 0.24);
  border-radius: 50%;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px var(--green);
}

.orbit-ring::before {
  left: -0.28rem;
}

.orbit-ring::after {
  right: -0.28rem;
}

.orbit-ring-outer {
  animation: orbit-spin 24s linear infinite;
}

.orbit-ring-inner {
  inset: 13%;
  border-style: dashed;
  border-color: rgba(70, 132, 255, 0.3);
  animation: orbit-spin-reverse 18s linear infinite;
}

.hero-logo-plate {
  position: absolute;
  inset: 21%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px;
  box-shadow:
    0 35px 75px rgba(0, 5, 18, 0.55),
    0 0 0 1px rgba(32, 230, 235, 0.25),
    0 0 70px rgba(22, 139, 255, 0.24);
  animation: logo-float 7s ease-in-out infinite;
}

.hero-logo-plate::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-18deg);
  animation: plate-sheen 6s ease-in-out infinite;
}

.hero-logo-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.orbit-dot {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 28px rgba(116, 236, 255, 0.9);
  animation: dot-pulse 2.6s ease-in-out infinite;
}

.orbit-dot-one {
  top: 17%;
  right: 12%;
}

.orbit-dot-two {
  bottom: 12%;
  left: 20%;
  animation-delay: -1.3s;
}

.orbit-label {
  position: absolute;
  padding: 0.42rem 0.7rem;
  color: rgba(225, 245, 255, 0.78);
  background: rgba(3, 15, 37, 0.72);
  border: 1px solid rgba(111, 206, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.orbit-label-one {
  top: 12%;
  left: 3%;
  animation: label-float 5s ease-in-out infinite;
}

.orbit-label-two {
  right: 0;
  bottom: 18%;
  animation: label-float 5s ease-in-out -2.5s infinite;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-enter 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content > :nth-child(1) {
  animation-delay: 120ms;
}

.hero-content > :nth-child(2) {
  animation-delay: 220ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 340ms;
}

.hero-content > :nth-child(4) {
  animation-delay: 460ms;
}

.hero-scroll::after {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  animation: scroll-nudge 1.8s ease-in-out infinite;
}

.signal-strip {
  overflow: hidden;
}

.signal-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(38, 197, 255, 0.09), transparent);
  transform: skewX(-16deg);
  animation: signal-scan 8s ease-in-out infinite;
}

.feature-card,
.app-card,
.service-item,
.contact-panel,
.contact-aside,
.legal-card,
.app-detail-panel,
.shadow-preview,
.shadow-video-panel {
  position: relative;
  background-color: rgba(7, 22, 47, 0.88);
  border-color: rgba(111, 188, 255, 0.17);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.feature-card::after,
.service-item::after,
.contact-panel::after,
.contact-aside::after,
.legal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(43, 190, 255, 0.14), transparent 48%);
  transition: opacity 260ms ease;
}

.feature-card:hover,
.app-card:hover,
.service-item:hover,
.contact-panel:hover,
.contact-aside:hover,
.legal-card:hover {
  transform: translateY(-7px);
  border-color: rgba(74, 209, 255, 0.42);
  box-shadow: 0 26px 64px rgba(0, 28, 88, 0.3);
}

.feature-card:hover::after,
.service-item:hover::after,
.contact-panel:hover::after,
.contact-aside:hover::after,
.legal-card:hover::after {
  opacity: 1;
}

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -55%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 520ms ease;
}

.button:hover::after {
  left: 115%;
}

.system-node {
  background-color: rgba(9, 29, 60, 0.9);
  animation: node-hover 6s ease-in-out infinite;
}

.system-node:nth-of-type(2) {
  animation-delay: -1.5s;
}

.system-node:nth-of-type(3) {
  animation-delay: -3s;
}

.system-node:nth-of-type(4) {
  animation-delay: -4.5s;
}

.apps-orbit::after,
.system-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(71, 199, 255, 0.08) 50%, transparent 62%);
  transform: translateX(-100%);
  animation: visual-sweep 8s ease-in-out infinite;
}

.apps-orbit .orbit-card,
.app-icon-card {
  animation: icon-float 6s ease-in-out infinite;
}

.apps-orbit .orbit-shadow,
.app-card:nth-child(2) .app-icon-card {
  animation-delay: -3s;
}

.apps-orbit .orbit-core {
  animation: core-pulse 2.8s ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--green), var(--teal));
  box-shadow: 0 0 14px rgba(32, 230, 235, 0.75);
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 720ms ease var(--reveal-delay, 0ms), transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.is-visible:hover {
  transform: translateY(-7px);
}

@keyframes gradient-drift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes header-beam {
  from { background-position: 240% 0; }
  to { background-position: -240% 0; }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes logo-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(-2deg); }
}

@keyframes plate-sheen {
  0%, 28% { left: -70%; }
  62%, 100% { left: 135%; }
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(0.75); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes label-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-nudge {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(4px, 4px); }
}

@keyframes signal-scan {
  0%, 18% { left: -30%; }
  70%, 100% { left: 115%; }
}

@keyframes node-hover {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes visual-sweep {
  0%, 18% { transform: translateX(-100%); }
  68%, 100% { transform: translateX(100%); }
}

@keyframes icon-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 0 0.8rem rgba(32, 230, 235, 0.08), 0 0 28px rgba(32, 230, 235, 0.18); }
  50% { box-shadow: 0 0 0 1.5rem rgba(32, 230, 235, 0.02), 0 0 44px rgba(32, 230, 235, 0.42); }
}

/* Flowing space backdrop */
.space-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 16%, rgba(20, 119, 255, 0.1), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(32, 230, 235, 0.08), transparent 35%),
    linear-gradient(90deg, rgba(1, 5, 15, 0.2), transparent 35%, rgba(1, 5, 15, 0.12));
  box-shadow: inset 0 0 170px rgba(0, 3, 12, 0.44);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-light {
  background:
    linear-gradient(120deg, rgba(2, 8, 23, 0.72), rgba(2, 8, 23, 0.4) 54%, rgba(4, 18, 42, 0.34));
  backdrop-filter: blur(1px);
}

.section-paper {
  background:
    linear-gradient(135deg, rgba(8, 31, 69, 0.6), rgba(3, 13, 32, 0.48) 58%, rgba(3, 21, 48, 0.3));
  backdrop-filter: blur(1px);
}

.section-dark {
  background:
    linear-gradient(125deg, rgba(2, 10, 27, 0.72), rgba(5, 36, 74, 0.38) 56%, rgba(2, 14, 33, 0.54));
}

.page-hero,
.apps-hero {
  background:
    linear-gradient(112deg, rgba(4, 26, 61, 0.78), rgba(2, 12, 31, 0.48) 58%, rgba(3, 31, 65, 0.3));
  backdrop-filter: blur(1px);
}

.app-theme-ashline .page-hero {
  background:
    linear-gradient(112deg, rgba(8, 42, 78, 0.76), rgba(2, 12, 31, 0.58) 58%, rgba(61, 22, 68, 0.34));
}

.app-theme-shadow .page-hero {
  background:
    linear-gradient(112deg, rgba(66, 52, 18, 0.38), rgba(2, 12, 31, 0.6) 58%, rgba(28, 30, 84, 0.42));
}

.legal-main,
.legal-hero {
  background: rgba(2, 8, 23, 0.48);
}

.site-footer {
  background: rgba(1, 5, 15, 0.88);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(83, 201, 255, 0.14);
}

.services-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(101, 206, 255, 0.28);
  border-radius: var(--radius);
  background: #020817;
  box-shadow: var(--shadow), 0 0 70px rgba(0, 101, 255, 0.13);
}

.services-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1, 5, 15, 0.12), transparent 54%, rgba(1, 5, 15, 0.42)),
    radial-gradient(circle at 72% 54%, transparent 0 18%, rgba(2, 8, 23, 0.12) 50%, rgba(2, 8, 23, 0.38) 100%);
}

.services-visual::after {
  content: "";
  position: absolute;
  inset: -45% -20%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(115, 239, 255, 0.16) 49%, transparent 60%);
  transform: translateX(-62%);
  animation: services-sheen 8s ease-in-out infinite;
}

.services-visual img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: services-breathe 12s ease-in-out infinite;
}

.services-visual-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(90deg, rgba(111, 221, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(111, 221, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(125deg, transparent, #000 35%, #000 68%, transparent);
}

.services-visual-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.45rem 0.7rem;
  color: rgba(225, 248, 255, 0.9);
  background: rgba(2, 12, 31, 0.66);
  border: 1px solid rgba(104, 218, 255, 0.26);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

@keyframes services-sheen {
  0%, 22% { transform: translateX(-62%); }
  72%, 100% { transform: translateX(62%); }
}

@keyframes services-breathe {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.075); }
}

@media (max-width: 980px) {
  .nav-shell {
    gap: 1.25rem;
  }

  .brand-mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .brand-name {
    width: 16.5rem;
    height: 2.35rem;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .split,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-grid,
  .feature-grid.three,
  .app-detail-grid,
  .process-row,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase-grid {
    grid-template-columns: 1fr;
  }

  .signal:nth-child(2) {
    border-right: 0;
  }

  .signal:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .process-row div:nth-child(2) {
    border-right: 0;
  }

  .process-row div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .legal-nav {
    position: static;
  }

  .hero-brand-orbit {
    left: 58%;
    width: 52vw;
    opacity: 0.5;
  }

  .services-visual,
  .services-visual img {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .nav-shell,
  .hero-content,
  .section-inner,
  .footer-inner,
  .signal-strip {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  h1,
  .page-hero h1,
  .legal-hero h1 {
    font-size: 2.35rem;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 2rem;
  }

  .site-header {
    background: rgba(1, 5, 15, 0.94);
  }

  .site-header.compact,
  .site-header.is-scrolled {
    background: rgba(2, 8, 23, 0.97);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid rgba(16, 32, 29, 0.12);
    box-shadow: 0 18px 34px rgba(16, 32, 29, 0.14);
  }

  .brand-name {
    width: 14.2rem;
    height: 2rem;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .nav-shell {
    gap: 0.75rem;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    color: var(--ink);
    min-height: 3.2rem;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-brand-orbit {
    top: 38%;
    left: 58%;
    width: 76vw;
    opacity: 0.24;
  }

  .hero-logo-plate {
    border-radius: 24px;
  }

  .services-visual,
  .services-visual img {
    min-height: 280px;
  }

  .services-visual-label {
    left: 0.75rem;
    bottom: 0.75rem;
    max-width: calc(100% - 1.5rem);
    white-space: normal;
  }

  .hero-content {
    padding: calc(var(--header-h) + 2rem) 0 4.2rem;
  }

  .hero-content h1 {
    max-width: 10ch;
  }

  .hero .eyebrow {
    max-width: 31ch;
  }

  .hero-copy,
  .page-copy {
    font-size: 1rem;
    max-width: 31ch;
    overflow-wrap: break-word;
  }

  .hero-scroll {
    left: 1rem;
    right: auto;
  }

  .signal-strip,
  .feature-grid,
  .feature-grid.three,
  .app-detail-grid,
  .process-row,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-visual {
    min-height: 18rem;
  }

  .apps-orbit,
  .app-detail-panel,
  .shadow-preview {
    min-height: 300px;
  }

  .shadow-video-panel {
    width: min(100%, 320px);
    height: min(70svh, 560px);
    min-height: 380px;
  }

  .app-detail-panel {
    grid-template-columns: 1fr;
  }

  .app-icon-large {
    width: 7rem;
    height: 7rem;
    border-radius: 18px;
    font-size: 1.7rem;
  }

  .orbit-card {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 18px;
    font-size: 1.5rem;
  }

  .orbit-ash {
    left: 2rem;
  }

  .orbit-shadow {
    right: 2rem;
  }

  .orbit-one,
  .orbit-two {
    width: 10rem;
  }

  .signal,
  .signal:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 4rem 0;
  }

  .process-row div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .process-row div:last-child {
    border-bottom: 0;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.3rem;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .system-visual {
    min-height: 310px;
  }

  .system-node {
    width: 8rem;
  }

  .node-data {
    right: 2.2rem;
  }

  .line-one,
  .line-two,
  .line-three {
    width: 9rem;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Log Rush */
:root {
  --logrush-gold: #ffd766;
  --logrush-green: #3f9a4a;
  --logrush-forest: #1d4422;
  --logrush-asphalt: #3a3b42;
}

/* Top-down road: forest shoulders, white edge lines, and a dashed gold centre line. */
.logrush-visual {
  background:
    repeating-linear-gradient(180deg, var(--logrush-gold) 0 26px, transparent 26px 52px) center top / 6px 100% no-repeat,
    linear-gradient(90deg, var(--logrush-forest) 0 18%, rgba(255, 255, 255, 0.55) 18% 19%, var(--logrush-asphalt) 19% 81%, rgba(255, 255, 255, 0.55) 81% 82%, var(--logrush-forest) 82% 100%);
}

.app-showcase-grid > .app-card-wide {
  grid-column: 1 / -1;
}

/* Third icon in the apps-page orbit. The orbit grows so the left column fits two cards. */
.apps-orbit {
  min-height: 470px;
}

.orbit-logrush {
  left: 4rem;
  bottom: 3.8rem;
}

.apps-orbit .orbit-logrush {
  animation-delay: -1.5s;
}

.logrush-shot-panel {
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  padding: 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 215, 102, 0.22), rgba(63, 154, 74, 0.22)),
    var(--void);
  border: 1px solid rgba(111, 188, 255, 0.17);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logrush-shot {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(70svh, 620px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius) - 2px);
}

.app-theme-logrush .page-hero {
  background:
    linear-gradient(112deg, rgba(29, 68, 34, 0.55), rgba(2, 12, 31, 0.6) 58%, rgba(84, 66, 18, 0.38));
}

.app-theme-logrush .button-primary {
  background: linear-gradient(90deg, var(--logrush-gold), var(--logrush-green));
}

.app-theme-logrush .feature-card:nth-child(2n),
.app-theme-logrush .release-list li {
  border-top-color: var(--logrush-gold);
  border-left-color: var(--logrush-gold);
}

.app-theme-logrush .feature-card:nth-child(2n + 1) {
  border-top-color: var(--logrush-green);
}

.logrush-boards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.logrush-board {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(7, 22, 47, 0.88);
  border: 1px solid rgba(111, 188, 255, 0.17);
  border-top: 4px solid var(--logrush-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logrush-board + .logrush-board {
  border-top-color: var(--logrush-green);
}

.logrush-board span {
  color: var(--logrush-gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logrush-board + .logrush-board span {
  color: #7fd88a;
}

.logrush-board h3 {
  margin: 0;
  font-size: 1.5rem;
}

.logrush-board p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .logrush-boards {
    grid-template-columns: 1fr;
  }

  .apps-orbit {
    min-height: 380px;
  }

  .orbit-logrush {
    left: 2rem;
  }
}


/* All That Blurs: fourth portfolio app, using the existing site components. */
:root { --blurs-gold: #ffc94d; --blurs-teal: #36b8b2; }
.blurs-visual {
  background: repeating-linear-gradient(180deg, var(--blurs-gold) 0 24px, transparent 24px 48px) center / 4px 100% no-repeat,
    linear-gradient(90deg, #204c51 0 16%, #353f49 16% 84%, #204c51 84% 100%);
}
.orbit-blurs { top: 3.6rem; right: 4rem; }
.apps-orbit .orbit-blurs { animation-delay: -2.3s; }
.app-theme-blurs .page-hero { background: linear-gradient(115deg, rgba(24,77,83,.62), rgba(2,12,31,.65) 58%, rgba(131,99,25,.34)); }
.app-theme-blurs .button-primary { background: linear-gradient(90deg, var(--blurs-gold), var(--blurs-teal)); }
.app-theme-blurs .feature-card:nth-child(2n), .app-theme-blurs .release-list li { border-top-color: var(--blurs-gold); border-left-color: var(--blurs-gold); }
.app-theme-blurs .feature-card:nth-child(2n + 1) { border-top-color: var(--blurs-teal); }
.app-theme-blurs .app-icon-inline { height: auto; }
.blurs-tagline { margin: .7rem 0 0; color: var(--blurs-gold); font-size: clamp(1.2rem, 2.3vw, 1.65rem); font-weight: 800; }
.blurs-shot-panel { width: fit-content; max-width: 100%; margin: 0; padding: .8rem; justify-self: center; background: linear-gradient(135deg, rgba(255,201,77,.18), rgba(54,184,178,.18)), var(--void); border: 1px solid rgba(111,188,255,.17); border-radius: var(--radius); box-shadow: var(--shadow); }
.blurs-shot { display: block; width: auto; max-width: 100%; height: min(70svh, 620px); object-fit: contain; border: 1px solid rgba(255,255,255,.18); border-radius: calc(var(--radius) - 2px); }
.blurs-shot-panel figcaption { max-width: 280px; margin: .75rem auto .15rem; color: var(--muted); font-size: .85rem; text-align: center; }
.blurs-help { display: grid; gap: 1.2rem; justify-items: start; }
@media (max-width: 760px) { .orbit-blurs { right: 2rem; } }

.blurs-section-copy { max-width: 40rem; color: var(--muted); font-size: 1.15rem; }
.blurs-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.blurs-mode { padding: 1.6rem; background: rgba(7,22,47,.75); border: 1px solid rgba(111,188,255,.17); border-top: 3px solid var(--blurs-teal); border-radius: var(--radius); }
.blurs-mode:nth-child(2) { border-top-color: var(--blurs-gold); }
.blurs-mode > span { color: var(--blurs-gold); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blurs-mode h3 { font-size: 1.45rem; }
.blurs-mode p, .blurs-purchase-note p { color: var(--muted); line-height: 1.7; }
.blurs-shot-panel { scroll-margin-top: 6rem; }
.blurs-shot:focus-visible { outline: 3px solid var(--blurs-gold); outline-offset: 4px; }
@media (max-width: 760px) { .blurs-mode-grid { grid-template-columns: 1fr; } }

@media (max-width: 760px) { .nav-toggle { min-width: 44px; min-height: 44px; } }

.blurs-shot { margin-inline: auto; }
