:root {
  --bg: #ffffff;
  --bg-soft: #f0f1f2;
  --bg-muted: #f7f8f9;
  --ink: #17191b;
  --ink-soft: #5f6469;
  --line: #e4e7eb;
  --line-strong: #d6dbe2;
  --dark: #1f2227;
  --dark-soft: #2b2b2b;
  --accent: #3b82f6;
  --accent-strong: #1f5fd1;
  --maxw: 1200px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

.wrap {
  width: min(var(--maxw), calc(100% - 2.5rem));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: #ffffff;
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease,
    box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.topbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: var(--accent);
  color: #ffffff;
}

.brand-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text small {
  display: block;
  margin-top: 0.06rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.78;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.35rem;
}

.desktop-nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.84;
  transition: opacity 0.25s ease;
}

.desktop-nav a:hover {
  opacity: 1;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

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

.btn-store,
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-store:hover,
.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.topbar.scrolled .btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.topbar.scrolled .btn-ghost:hover {
  background: var(--bg-muted);
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: max-height 0.28s ease, border-color 0.28s ease;
}

.mobile-menu.open {
  max-height: 26rem;
  border-bottom-color: var(--line);
}

.mobile-menu a {
  display: block;
  padding: 0.95rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-top: 1px solid var(--line);
}

.mobile-menu a:hover {
  background: var(--bg-muted);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 7.5rem 0 2.2rem;
  color: #ffffff;
  background: #0f1724;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 12, 18, 0.95) 8%, rgba(12, 21, 35, 0.72) 55%, rgba(18, 39, 67, 0.58) 100%),
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.34), transparent 42%),
    radial-gradient(circle at 80% 32%, rgba(66, 153, 225, 0.24), transparent 39%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 18px
    );
  transform: scale(1.08);
  animation: heroShift 18s ease-in-out infinite alternate;
}

@keyframes heroShift {
  from {
    transform: scale(1.08) translateX(0);
  }
  to {
    transform: scale(1.12) translateX(-1.6%);
  }
}

.hero-content,
.hero-product-rail {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 50rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.eyebrow-dark {
  color: var(--accent);
}

.hero h1,
.section-title,
.cta h2,
.timeline h3,
.spotlight-overlay h3,
.micro-media-overlay h3,
.hero-product-copy h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 8vw, 4.8rem);
  line-height: 0.95;
  font-weight: 800;
}

.hero-lead {
  margin: 1.25rem 0 2rem;
  max-width: 56ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
}

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

.hero-product-rail {
  margin-top: 2.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.hero-product-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(7, 12, 21, 0.45);
  backdrop-filter: blur(5px);
  min-height: 150px;
  display: grid;
  grid-template-columns: 108px 1fr;
}

.hero-product-media {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, #0c1624, var(--hero-accent) 20%);
}

.hero-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.02);
}

.hero-product-copy {
  padding: 0.92rem;
  display: grid;
  align-content: center;
  gap: 0.3rem;
}

.hero-product-copy p {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--hero-accent), white 34%);
}

.hero-product-copy h3 {
  font-size: 1rem;
  font-weight: 700;
}

.hero-product-copy small {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-size: 0.79rem;
}

.metric-strip {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

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

.stat-grid article {
  padding: 1.65rem 0.7rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat-grid article:last-child {
  border-right: 0;
}

.stat-grid h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: #101115;
}

.stat-grid p {
  margin: 0.42rem 0 0;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}

.section {
  padding: 5.6rem 0;
}

.surface {
  background: #ffffff;
}

.surface-soft {
  background: var(--bg-soft);
}

.surface-dark {
  background:
    radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.2), transparent 45%),
    linear-gradient(145deg, #161b23 0%, #1f2733 52%, #181b22 100%);
  color: #ffffff;
}

.section-title {
  font-size: clamp(2rem, 5.4vw, 3.7rem);
  line-height: 0.94;
  font-weight: 800;
}

.section-intro {
  margin: 1rem 0 1.7rem;
  color: var(--ink-soft);
  max-width: 66ch;
  line-height: 1.7;
}

.section-intro-dark {
  color: rgba(255, 255, 255, 0.78);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tab-buttons button {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  padding: 0.63rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-buttons button.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.system-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.06);
}

.spotlight-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #0e1724;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.01);
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.system-card:hover .spotlight-media img {
  transform: scale(1.05);
}

.spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 15, 23, 0.12), rgba(10, 15, 23, 0.84)),
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--spotlight-accent), transparent 58%), transparent 44%);
}

.spotlight-overlay {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.1rem;
  z-index: 1;
  color: #ffffff;
}

.spotlight-overlay p {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--spotlight-accent), white 38%);
}

.spotlight-overlay h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.55rem);
  line-height: 1;
  font-weight: 800;
}

.spotlight-overlay small {
  display: block;
  margin-top: 0.45rem;
  max-width: 35ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.spotlight-body {
  padding: 1.4rem;
}

.system-sub {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.system-desc {
  margin: 0.72rem 0 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.system-list,
.spec-list,
.timeline ul,
.micro-specs,
.hud-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.system-list li {
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.spec-box {
  margin-top: 1.1rem;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.spec-box h4 {
  margin: 0 0 0.55rem;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink-soft);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding: 0.5rem 0;
  font-size: 0.76rem;
}

.spec-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.spec-list strong {
  color: var(--spotlight-accent, var(--accent));
}

.micro-grid {
  margin-top: 0.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.micro-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.micro-media {
  position: relative;
  background: #0e1724;
  aspect-ratio: 4 / 3;
}

.micro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.micro-card:hover .micro-media img {
  transform: scale(1.06);
}

.micro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(9, 15, 24, 0.08), rgba(9, 15, 24, 0.84)),
    radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--micro-accent), transparent 54%), transparent 42%);
}

.micro-media-overlay {
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.9rem;
  z-index: 1;
  color: #ffffff;
}

.micro-media-overlay p {
  margin: 0 0 0.3rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: color-mix(in srgb, var(--micro-accent), white 38%);
}

.micro-media-overlay h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.micro-copy {
  padding: 0.95rem;
  display: grid;
  gap: 0.8rem;
}

.micro-copy p {
  margin: 0;
  line-height: 1.65;
  color: var(--ink-soft);
}

.micro-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding: 0.46rem 0;
  font-size: 0.74rem;
}

.micro-specs li strong {
  color: var(--micro-accent);
}

.micro-why {
  border: 1px solid color-mix(in srgb, var(--micro-accent), transparent 70%);
  background: color-mix(in srgb, var(--micro-accent), transparent 94%);
  border-radius: 12px;
  padding: 0.72rem;
}

.micro-why h4 {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--micro-accent);
}

.micro-why p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.86rem;
}

.loop-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.loop-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem;
}

.loop-step {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.loop-card p:not(.loop-step) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.immersive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.immersive-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.immersive-button.active {
  border-color: var(--immersive-accent, #8eb6ff);
  background: color-mix(in srgb, var(--immersive-accent, #8eb6ff), transparent 84%);
  color: var(--immersive-accent, #8eb6ff);
}

.immersive-lab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(9, 13, 20, 0.34);
}

.lab-shell {
  --lab-accent: #76a7ff;
  padding: 1rem;
}

.lab-header {
  margin-bottom: 0.85rem;
}

.hud-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lab-accent);
  font-weight: 700;
}

.lab-header h3 {
  margin: 0;
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  line-height: 0.96;
  font-weight: 800;
}

.lab-header p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.lab-stage {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  min-height: 350px;
  background:
    radial-gradient(circle at 40% 25%, rgba(255, 255, 255, 0.09), transparent 48%),
    linear-gradient(150deg, #121923, #0a0d12);
}

.lab-canvas {
  width: 100%;
  min-height: 350px;
  height: 56vh;
  max-height: 520px;
}

.lab-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.lab-overlay {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: rgba(7, 11, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.66rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lab-fallback {
  margin: 0;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.hud-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0.7rem;
}

.hud-block {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.36);
  padding: 0.75rem;
}

.hud-block h4 {
  margin: 0 0 0.42rem;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lab-accent);
}

.hud-block li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.44rem 0;
  font-size: 0.72rem;
}

.hud-block li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hud-block li strong {
  color: var(--lab-accent);
}

.hud-mission {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  line-height: 1.65;
}

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

.dossier-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.dossier-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef1f4;
}

.dossier-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dossier-card:hover .dossier-media img {
  transform: scale(1.05);
}

.dossier-content {
  padding: 0.9rem;
}

.dossier-tag {
  margin: 0 0 0.45rem;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.23rem 0.5rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--accent);
}

.dossier-content h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dossier-content p {
  margin: 0.45rem 0 0;
  line-height: 1.6;
  color: var(--ink-soft);
}

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

.app-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: #ffffff;
}

.app-index {
  margin: 0 0 0.55rem;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.app-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
}

.app-card p {
  margin: 0.55rem 0 0;
  line-height: 1.62;
  color: var(--ink-soft);
}

.table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem;
}

.row:first-child {
  border-top: 0;
}

.row p {
  margin: 0;
}

.row-head {
  background: var(--bg-muted);
}

.row-head p {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 700;
}

.metric {
  color: var(--ink);
  font-weight: 600;
}

.humanoid {
  color: var(--ink-soft);
}

.titan {
  color: var(--accent);
  font-weight: 700;
}

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

.timeline article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.95rem;
  border-top: 3px solid var(--accent);
}

.timeline time {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
}

.timeline h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.timeline li {
  padding: 0.28rem 0;
  line-height: 1.45;
  color: var(--ink-soft);
}

.support-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.support-card {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.support-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.support-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.support-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.14;
  font-weight: 700;
}

.support-card p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  line-height: 1.64;
}

.cta {
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.35), transparent 43%),
    linear-gradient(145deg, #1a2029, #222831);
  color: #ffffff;
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 6vw, 3.9rem);
  line-height: 0.94;
  font-weight: 800;
}

.cta p {
  margin: 1rem auto 1.9rem;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.actions-center {
  justify-content: center;
}

/* Newsletter */
.newsletter-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.newsletter-copy .section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.newsletter-copy .section-intro {
  margin-bottom: 0;
}

.newsletter-input-group {
  display: flex;
  gap: 0.6rem;
}

.newsletter-input-group input[type="email"] {
  flex: 1;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--ink);
}

.newsletter-input-group input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Contact Form */
.contact-form {
  max-width: 640px;
  margin: 2rem auto 0;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.68rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-field select {
  appearance: none;
  cursor: pointer;
}

.form-field select option {
  background: #1a2029;
  color: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-field textarea {
  resize: vertical;
}

.contact-alt {
  margin-top: 1.4rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.contact-alt a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer {
  background: var(--dark-soft);
  color: #ffffff;
  padding: 2.8rem 0 1.2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.footer-brand p {
  margin: 0.34rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

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

.footer-links h4 {
  margin: 0 0 0.56rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.67);
}

.footer-links a {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.footer-bottom {
  margin-top: 1.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.85);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .topbar-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .desktop-nav,
  .btn-store {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-product-rail,
  .micro-grid,
  .loop-grid,
  .dossier-grid,
  .app-grid,
  .timeline,
  .support-grid,
  .hud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .spotlight-media {
    min-height: 300px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid article:nth-child(2n) {
    border-right: 0;
  }

  .stat-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .newsletter-band {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--maxw), calc(100% - 1.3rem));
  }

  .topbar-inner {
    min-height: 4rem;
  }

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

  .brand-text small {
    font-size: 0.62rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 12vw, 2.9rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-product-rail,
  .micro-grid,
  .loop-grid,
  .dossier-grid,
  .app-grid,
  .timeline,
  .support-grid,
  .hud-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-product-card {
    grid-template-columns: 92px 1fr;
  }

  .section {
    padding: 4.4rem 0;
  }

  .section-title {
    font-size: clamp(1.7rem, 11vw, 2.5rem);
  }

  .lab-shell {
    padding: 0.8rem;
  }

  .lab-canvas {
    min-height: 290px;
    height: 46vh;
  }

  .footer-main {
    gap: 1.3rem;
  }

  .footer-bottom p {
    line-height: 1.5;
  }

  .newsletter-input-group {
    flex-direction: column;
  }
}
