:root {
  --navy: #07142d;
  --blue: #0b2f6b;
  --sky: #2563eb;
  --orange: #f97316;
  --ink: #111827;
  --muted: #64748b;
  --steel: #e5e7eb;
  --panel: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: white;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  padding: 15px 22px;
  font-weight: 800;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: white; box-shadow: 0 15px 35px rgba(249, 115, 22, .3); }
.btn-dark { background: var(--navy); color: white; }
.btn-ghost { border: 1px solid rgba(255,255,255,.65); color: white; background: rgba(255,255,255,.08); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--steel);
}
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 950; color: var(--navy); letter-spacing: -.04em; font-size: 1.35rem; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--navy), var(--sky)); }
.nav-links { display: flex; align-items: center; gap: 24px; color: #334155; font-weight: 700; }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,20,45,.94), rgba(7,20,45,.68), rgba(7,20,45,.25)),
    url("/images/web/Xgen-Website-Photos-1.jpg") center/cover;
}
.hero-content { position: relative; z-index: 1; padding: 96px 0; max-width: 850px; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 7rem); line-height: .88; letter-spacing: -.075em; margin: 16px 0 24px; }
.hero p { color: #dbeafe; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.55; max-width: 730px; }
.hero-actions, .hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-influencer-callout {
  display: grid;
  gap: 8px;
  max-width: 690px;
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,.24);
}
.hero-influencer-callout span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.12);
  color: #fde68a;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-influencer-callout p {
  margin: 0;
  max-width: 620px;
  color: #dbeafe;
  font-size: 1rem;
  line-height: 1.55;
}
.hero-influencer-callout a {
  width: fit-content;
  color: white;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.stat-pill { padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); border-radius: 14px; }
.stat-pill strong { display: block; font-size: 1.25rem; }
.stat-pill span { color: #bfdbfe; font-size: .82rem; }

.section { padding: 92px 0; }
.section.alt { background: var(--panel); }
.section.dark { background: var(--navy); color: white; }
.section-header { max-width: 760px; margin-bottom: 44px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section h2 { font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: .98; letter-spacing: -.06em; margin: 10px 0 18px; color: inherit; }
.section p { color: var(--muted); line-height: 1.7; font-size: 1.05rem; }
.dark p { color: #cbd5e1; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-grid img { height: 260px; width: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(15,23,42,.18); }
.photo-grid img:nth-child(2) { transform: translateY(34px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 28px;
  background: white;
  border: 1px solid var(--steel);
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(15,23,42,.06);
}
.dark .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.card-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #dbeafe; color: var(--blue); font-size: 1.5rem; margin-bottom: 18px; }
.dark .card-icon { background: rgba(249,115,22,.18); color: #fdba74; }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.25rem; }
.dark .card h3 { color: white; }

.metric-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 38px; overflow: hidden; border-radius: 28px; background: rgba(255,255,255,.16); }
.metric { padding: 28px; background: linear-gradient(135deg, #f97316, #ea580c); text-align: center; }
.metric strong { display: block; font-size: 2.4rem; }
.metric span { color: #ffedd5; font-weight: 700; }

.technology-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  overflow: hidden;
}
.technology-headline {
  max-width: 980px;
  margin-bottom: 48px;
}
.technology-headline h2 {
  max-width: 960px;
  margin-inline: auto;
}
.technology-headline p {
  max-width: 860px;
  margin-inline: auto;
  font-size: 1.16rem;
}
.tech-story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.tech-proof-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.tech-proof {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-left: 5px solid var(--orange);
  background: white;
  box-shadow: 0 12px 35px rgba(15,23,42,.07);
}
.tech-proof strong {
  color: var(--navy);
  font-size: 1.02rem;
}
.tech-proof span {
  color: var(--muted);
  line-height: 1.5;
}
.tech-media {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  align-items: stretch;
}
.tech-photo {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(15,23,42,.16);
  background: var(--navy);
}
.tech-photo.primary {
  grid-row: span 2;
  min-height: 506px;
}
.tech-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tech-photo.primary img {
  object-position: center;
}
.tech-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7,20,45,.82);
  color: white;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.xr-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(7,20,45,.95), rgba(11,47,107,.82)),
    radial-gradient(circle at 28% 24%, rgba(249,115,22,.34), rgba(249,115,22,0) 34%);
}
.xr-placeholder span {
  max-width: 220px;
  color: white;
  font-weight: 950;
  font-size: 1.35rem;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.xr-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.xr-gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15,23,42,.12);
}

.xccelerator-section {
  background:
    radial-gradient(circle at 14% 10%, rgba(249,115,22,.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.pov-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
.pov-card {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 18px 45px rgba(15,23,42,.12);
}
.pov-card.large {
  grid-row: span 2;
  min-height: 454px;
}
.pov-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pov-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7,20,45,.82));
  pointer-events: none;
}
.pov-card figcaption {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: white;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.engine-teaser-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(37,99,235,.14), transparent 30%),
    linear-gradient(180deg, #07142d 0%, #0b2f6b 100%);
  color: white;
}
.engine-teaser-section p { color: #cbd5e1; }
.engine-teaser-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 42px;
  align-items: center;
}
.engine-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.engine-teaser-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: #07142d;
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
}
.engine-teaser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,20,45,0) 50%, rgba(7,20,45,.86) 100%),
    linear-gradient(90deg, rgba(249,115,22,.22), transparent 32%);
}
.engine-teaser-overlay {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.engine-teaser-overlay span {
  color: #fdba74;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.engine-teaser-overlay strong {
  max-width: 280px;
  text-align: right;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: .95;
  letter-spacing: -.04em;
}
.engine-scene-mount,
.engine-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.engine-canvas {
  display: block;
  cursor: grab;
  touch-action: none;
}
.engine-canvas:active { cursor: grabbing; }
.engine-loading,
.engine-fallback {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background: #07142d;
  color: white;
  text-align: center;
}
.engine-loading strong {
  color: var(--orange);
  font-size: 2rem;
  letter-spacing: .08em;
}
.engine-loading span {
  color: #dbeafe;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.engine-lab-body {
  min-height: 100vh;
  overflow: hidden;
  background: #07142d;
}
.engine-lab-experience {
  --rpm-level: 23%;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background: #07142d;
}
.engine-lab-experience::before,
.engine-lab-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.engine-lab-experience::before {
  background:
    linear-gradient(90deg, transparent 49.96%, rgba(255,255,255,.04) 50%, transparent 50.04%),
    linear-gradient(transparent 49.96%, rgba(255,255,255,.025) 50%, transparent 50.04%);
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
.engine-lab-experience::after {
  box-shadow: inset 0 0 170px rgba(0,0,0,.64);
}
.engine-lab-header {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 76px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(7,20,45,.92), rgba(7,20,45,.2));
  backdrop-filter: blur(12px);
}
.engine-brand { color: white; }
.engine-lab-datum {
  display: flex;
  gap: 24px;
  color: #bfdbfe;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.engine-back { justify-self: end; padding: 11px 16px; }
.engine-lab-copy {
  position: absolute;
  z-index: 5;
  top: 116px;
  left: 32px;
  width: min(390px, 31vw);
  pointer-events: none;
}
.engine-lab-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.8rem, 4.2vw, 4.6rem);
  line-height: .9;
  letter-spacing: -.055em;
}
.engine-lab-copy p {
  color: #dbeafe;
  line-height: 1.6;
  font-size: 1rem;
}
.engine-telemetry,
.engine-component-card,
.engine-cycle-panel,
.engine-control-dock {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(7,20,45,.74);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}
.engine-telemetry {
  top: 104px;
  right: 32px;
  width: 260px;
  padding: 16px;
}
.engine-status-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dbeafe;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.engine-status-led {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(249,115,22,.85);
}
.engine-telemetry dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 0;
}
.engine-telemetry dt {
  color: #93a4bc;
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
}
.engine-telemetry dd {
  margin: 5px 0 0;
  color: white;
  font-weight: 900;
}
.engine-motion-toggle {
  position: absolute;
  z-index: 5;
  right: 32px;
  top: 226px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.08);
  color: #dbeafe;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.engine-component-card {
  right: 32px;
  bottom: 144px;
  width: 340px;
  padding: 18px;
}
.engine-component-head,
.engine-cycle-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #fdba74;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.engine-component-head button {
  border: 0;
  background: transparent;
  color: #bfdbfe;
  font-weight: 900;
  cursor: pointer;
}
.engine-component-card h2 {
  margin: 14px 0 8px;
  font-size: 1.65rem;
  letter-spacing: -.04em;
}
.engine-component-card p {
  color: #cbd5e1;
  line-height: 1.55;
}
.engine-component-card strong {
  display: block;
  margin-top: 14px;
  color: white;
}
.engine-cycle-panel {
  left: 32px;
  bottom: 136px;
  width: 410px;
  padding: 18px;
}
.engine-cycle-buttons,
.engine-part-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.engine-cycle-buttons { margin-top: 14px; }
.engine-cycle-buttons button,
.engine-part-strip button,
.engine-mode-buttons button {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: white;
  padding: 9px 11px;
  font-weight: 900;
  cursor: pointer;
}
.engine-cycle-buttons button span,
.engine-part-strip button span,
.engine-mode-buttons button span:first-child {
  color: #fdba74;
  margin-right: 6px;
}
.engine-cycle-buttons button.is-active,
.engine-part-strip button.is-active,
.engine-mode-buttons button.is-active {
  background: var(--orange);
  border-color: var(--orange);
}
.engine-cycle-buttons button.is-active span,
.engine-part-strip button.is-active span,
.engine-mode-buttons button.is-active span:first-child {
  color: white;
}
.engine-cycle-panel p {
  margin-bottom: 0;
  color: #cbd5e1;
}
.engine-control-dock {
  left: 32px;
  right: 32px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
}
.engine-start-button,
.engine-immersive-button {
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: white;
  padding: 13px 16px;
  font-weight: 900;
  cursor: pointer;
}
.engine-start-button {
  display: flex;
  align-items: center;
  gap: 12px;
}
.engine-start-button small,
.engine-immersive-button small {
  display: block;
  color: #ffedd5;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.engine-start-glyph {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 0 18px rgba(255,255,255,.9);
}
.engine-start-button.is-running .engine-start-glyph {
  background: #16a34a;
}
.engine-rpm-control {
  margin: 0;
  color: white;
}
.engine-rpm-control > span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
  font-size: .82rem;
  text-transform: uppercase;
}
.engine-rpm-control input {
  padding: 0;
  accent-color: var(--orange);
}
.engine-mode-buttons {
  display: flex;
  gap: 8px;
}
.engine-immersive-button {
  background: #2563eb;
}
.engine-part-strip {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 112px;
  transform: translateX(-50%);
  justify-content: center;
  width: min(620px, calc(100% - 64px));
}
.engine-hotspot {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: white;
  font-weight: 900;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
  cursor: pointer;
}
.hotspot-core {
  width: 14px;
  height: 14px;
  border: 3px solid #fed7aa;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(249,115,22,.85);
}
.hotspot-label {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(7,20,45,.8);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.engine-hotspot.is-selected .hotspot-label {
  background: var(--orange);
}

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { counter-increment: steps; padding: 26px; border-radius: 24px; background: white; border: 1px solid var(--steel); position: relative; }
.step::before { content: counter(steps); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-weight: 900; margin-bottom: 30px; }

.hub { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.hub-screen { background: #0f172a; color: white; border-radius: 30px; padding: 24px; box-shadow: 0 30px 80px rgba(15,23,42,.35); }
.profile-card { background: white; color: var(--ink); border-radius: 22px; padding: 20px; margin-top: 14px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.skill-tags span { background: #dbeafe; color: var(--blue); border-radius: 999px; padding: 6px 10px; font-size: .8rem; font-weight: 800; }

.partners-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--steel);
}
.partner-marquee {
  position: relative;
  margin-top: 10px;
  padding: 10px 0 24px;
}
.partner-marquee::before,
.partner-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(160px, 18vw);
  pointer-events: none;
}
.partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc, rgba(248,250,252,0));
}
.partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc, rgba(248,250,252,0));
}
.partner-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: partner-scroll 46s linear infinite;
}
.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}
.partner-card {
  flex: 0 0 auto;
  width: 260px;
  height: 126px;
  display: grid;
  place-items: center;
  padding: 20px 24px;
  border: 1px solid #d7dee9;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-2px);
  border-color: #9aa9bc;
  box-shadow: 0 22px 50px rgba(15,23,42,.12);
  outline: none;
}
.partner-card img {
  display: block;
  width: 100%;
  max-width: 205px;
  max-height: 78px;
  object-fit: contain;
}
.partner-card.wide-logo img {
  max-width: 220px;
  max-height: 84px;
}
.partner-card.square-logo img {
  max-width: 136px;
  max-height: 92px;
}
.partner-card span {
  display: block;
  color: var(--navy);
  font-weight: 950;
  font-size: 1.18rem;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.partner-card.dealer img {
  max-width: 210px;
  max-height: 54px;
}
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-grid img { height: 240px; width: 100%; object-fit: cover; border-radius: 22px; }

.cta { text-align: center; background: linear-gradient(135deg, var(--navy), #0b2f6b); color: white; border-radius: 36px; padding: 62px 28px; }
.cta p { margin-inline: auto; max-width: 720px; }

.footer { background: #050b18; color: white; padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 32px; }
.footer a, .footer p { color: #cbd5e1; }
.footer ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }

.portal-body { background: #eef2f7; }
.public-application-body {
  background: #f8fafc;
}
.application-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 58px;
  color: white;
  background:
    linear-gradient(90deg, rgba(7,20,45,.95), rgba(11,47,107,.82)),
    url("/images/web/Xgen-Website-Photos-1.jpg") center/cover;
}
.application-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.96%, rgba(255,255,255,.05) 50%, transparent 50.04%),
    linear-gradient(transparent 49.96%, rgba(255,255,255,.03) 50%, transparent 50.04%);
  mask-image: linear-gradient(to bottom, black, transparent 74%);
  pointer-events: none;
}
.application-hero .container {
  position: relative;
  z-index: 1;
}
.application-hero h1 {
  max-width: 780px;
  margin: 12px 0 16px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.application-hero p {
  max-width: 680px;
  color: #dbeafe;
  font-size: 1.18rem;
  line-height: 1.6;
}
.portal { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; }
.portal.public-application {
  grid-template-columns: 1fr;
  min-height: auto;
  padding: 42px 0 72px;
}
.portal.public-application .main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}
.sidebar { background: var(--navy); color: white; padding: 28px; }
.sidebar a { color: white; }
.main { padding: 34px; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel { background: white; border-radius: 24px; border: 1px solid var(--steel); padding: 24px; }
.table { width: 100%; border-collapse: collapse; background: white; border-radius: 22px; overflow: hidden; }
.table th, .table td { padding: 16px; border-bottom: 1px solid var(--steel); text-align: left; }
.badge { display: inline-flex; border-radius: 999px; padding: 6px 10px; font-size: .78rem; font-weight: 900; background: #dbeafe; color: var(--blue); }
.muted { color: var(--muted); line-height: 1.7; }

.auth-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(7,20,45,.94), rgba(11,47,107,.88)),
    url("/images/web/Xgen-Website-Photos-1.jpg") center/cover;
}
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; }
.auth-card {
  width: min(620px, 100%);
  background: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.auth-card h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.06em; margin: 18px 0 12px; }
.auth-foot { color: var(--muted); margin-top: 22px; }
.auth-foot a { color: var(--sky); font-weight: 900; }

label { display: grid; gap: 8px; margin-top: 16px; color: #334155; font-weight: 800; }
input, textarea, select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: white;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
select { color: var(--ink); }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-section { margin-top: 20px; }
.form-section h2 { margin-top: 0; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 40px; }
.btn.compact {
  width: fit-content;
  padding: 10px 14px;
  font-size: .92rem;
}
.alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin: 18px 0;
  font-weight: 800;
}
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }
.success-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 11, 24, .72);
  backdrop-filter: blur(10px);
}
.success-modal {
  width: min(560px, 100%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 34px;
  background: white;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
  text-align: center;
}
.success-modal-mark {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 18px 38px rgba(249, 115, 22, .32);
}
.success-modal h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  line-height: .95;
  letter-spacing: -.06em;
}
.success-modal p:not(.eyebrow) {
  max-width: 390px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}
.success-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.influencer-hero {
  background:
    linear-gradient(90deg, rgba(7,20,45,.95), rgba(11,47,107,.78)),
    url("/images/xr/xgen-napa-xr-group.jpg") center/cover;
}
.influencer-social-section {
  margin-top: 26px;
}
.social-channel-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--steel);
  border-radius: 8px;
  background: #f8fafc;
}
.social-channel-card .btn {
  margin-top: 14px;
}
.admin-social-list {
  display: grid;
  gap: 4px;
  padding: 8px 0;
}
.admin-social-list + .admin-social-list {
  border-top: 1px solid var(--steel);
}
.admin-social-list strong {
  color: var(--navy);
  font-size: .82rem;
}
.admin-social-list a,
.admin-social-list small {
  overflow-wrap: anywhere;
}
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.choice-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px;
  border: 2px solid var(--steel);
  border-radius: 22px;
  cursor: pointer;
  background: #f8fafc;
}
.choice-card input { width: auto; }
.choice-card strong { color: var(--navy); font-size: 1.15rem; }
.choice-card span { color: var(--muted); line-height: 1.55; }
.choice-card.selected { border-color: var(--orange); background: #fff7ed; }
.candidate-editor {
  margin: 20px 0 28px;
  padding: 22px;
  border: 1px solid var(--steel);
  background: #f8fafc;
  border-radius: 24px;
}
.checkbox-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}
.checkbox-row input {
  width: auto;
}
.stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -.06em;
}
.section-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.search-input {
  max-width: 360px;
  margin-top: 0;
}
.talent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.candidate-card {
  border: 1px solid var(--steel);
  background: #f8fafc;
  border-radius: 24px;
  padding: 20px;
}
.candidate-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.candidate-head h3 { margin: 0 0 4px; color: var(--navy); }
.candidate-head p, .candidate-card p, .mini-item p { color: var(--muted); line-height: 1.55; }
.text-link { color: var(--sky); font-weight: 900; }
.list-stack { display: grid; gap: 12px; margin-top: 16px; }
.mini-item {
  border: 1px solid var(--steel);
  background: #f8fafc;
  border-radius: 18px;
  padding: 16px;
}
.mini-item strong { color: var(--navy); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .split, .hub, .tech-story, .tech-media, .pov-grid, .footer-grid, .portal, .engine-teaser-grid { grid-template-columns: 1fr; }
  .cards, .steps, .panel-grid, .metric-band, .media-grid, .xr-gallery, .form-grid.two, .form-grid.three, .choice-grid, .talent-grid { grid-template-columns: 1fr; }
  .section-row { display: grid; }
  .search-input { max-width: none; }
  .partner-card { width: 220px; height: 112px; }
  .partner-card span { font-size: 1rem; }
  .tech-photo, .tech-photo.primary { min-height: 280px; }
  .pov-card, .pov-card.large { min-height: 260px; }
  .xr-gallery img { height: 320px; }
  .engine-teaser-card { height: 360px; }
  .engine-teaser-overlay {
    align-items: start;
    flex-direction: column;
  }
  .engine-teaser-overlay strong { text-align: left; }
  .engine-lab-body {
    overflow: auto;
    background: #07142d;
  }
  .engine-lab-experience {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 0 0 18px;
  }
  .engine-lab-experience::before { opacity: .55; }
  .engine-scene-mount {
    position: relative;
    order: 2;
    inset: auto;
    height: min(48svh, 430px);
    min-height: 330px;
    margin-top: 4px;
    border-block: 1px solid rgba(255,255,255,.1);
    background: #07142d;
  }
  .engine-lab-header {
    position: sticky;
    order: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    min-height: 62px;
    padding: 10px 14px;
    background: rgba(7,20,45,.94);
  }
  .engine-lab-datum { display: none; }
  .engine-brand {
    min-width: 0;
    font-size: .9rem;
  }
  .engine-brand .brand-mark {
    width: 34px;
    height: 34px;
  }
  .engine-back {
    padding: 9px 10px;
    font-size: .78rem;
    white-space: nowrap;
  }
  .engine-lab-copy,
  .engine-telemetry,
  .engine-component-card,
  .engine-cycle-panel,
  .engine-control-dock,
  .engine-part-strip {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }
  .engine-lab-copy {
    order: 1;
    max-width: 460px;
    padding: 18px 20px 0;
    pointer-events: auto;
  }
  .engine-lab-copy h1 {
    max-width: 9ch;
    margin: 8px 0 10px;
    font-size: 2.65rem;
    line-height: .94;
  }
  .engine-lab-copy p {
    max-width: 34rem;
    margin: 0;
    font-size: .94rem;
    line-height: 1.48;
  }
  .engine-telemetry {
    order: 3;
    margin: 0 14px;
    padding: 11px 12px;
  }
  .engine-telemetry dl { display: none; }
  .engine-status-row { font-size: .66rem; }
  .engine-motion-toggle {
    position: relative;
    order: 6;
    align-self: flex-start;
    inset: auto;
    margin: 0 20px;
    padding: 8px 10px;
    font-size: .68rem;
  }
  .engine-component-card {
    order: 7;
    margin: 0 14px;
    padding: 15px;
  }
  .engine-cycle-panel {
    order: 8;
    margin: 0 14px;
    padding: 15px;
  }
  .engine-control-dock {
    position: sticky;
    order: 4;
    bottom: 8px;
    z-index: 12;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 10px;
    padding: 10px;
    background: rgba(7,20,45,.9);
    box-shadow: 0 18px 60px rgba(0,0,0,.48);
  }
  .engine-start-button,
  .engine-immersive-button {
    justify-content: center;
    padding: 11px 12px;
  }
  .engine-rpm-control > span {
    font-size: .74rem;
  }
  .engine-mode-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .engine-mode-buttons button {
    min-height: 42px;
  }
  .engine-immersive-button small { display: none; }
  .engine-part-strip {
    display: flex;
    order: 5;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0 14px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .engine-part-strip::-webkit-scrollbar { display: none; }
  .engine-part-strip button {
    flex: 0 0 auto;
    padding: 9px 12px;
  }
  .engine-hotspot {
    display: none;
  }
  .hero-content { padding: 72px 0; }
  .section { padding: 68px 0; }
  .photo-grid img:nth-child(2) { transform: none; }
}

@media (max-width: 420px) {
  .engine-lab-copy h1 {
    font-size: 2.35rem;
  }
  .engine-scene-mount {
    min-height: 300px;
  }
}

@media (max-height: 760px) and (min-width: 881px) {
  .engine-lab-copy p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }
}
