/* v1.5.5: header and hero matched to the original reference deployment. */

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 0;
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #343c46;
  border-radius: 18px;
  background: rgba(8, 11, 15, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.45);
  isolation: isolate;
  overflow: hidden;
}
.site-header::before {
  content: none;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(90deg, transparent 0 68%, rgba(255, 36, 61, 0.75), transparent 83%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: referenceHeaderSweep 7s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.site-header > * {
  position: relative;
  z-index: 1;
}
@keyframes referenceHeaderSweep {
  to { background-position: 1180px 0; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 43px;
  height: 43px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(255, 36, 61, 0.25));
}
.brand-name {
  font: italic 800 28px/1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.3px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c2c8cf;
  font-size: 14px;
}
.main-nav a,
.main-nav a.active {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #c2c8cf;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--red);
  background: transparent;
  box-shadow: none;
  text-shadow: 0 0 14px rgba(255, 36, 61, 0.38);
}
.main-nav .nav-cta,
.main-nav .nav-cta.active {
  padding: 12px 18px;
  color: #fff;
  border: 1px solid rgba(255, 36, 61, 0.75);
  border-radius: 11px;
  background: transparent;
  box-shadow: 0 0 20px rgba(255, 36, 61, 0.16) inset, 0 0 16px rgba(255, 36, 61, 0.12);
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible,
.main-nav .nav-cta.active {
  color: var(--red);
  border-color: var(--red);
  background: rgba(255, 36, 61, 0.04);
  box-shadow: 0 0 22px rgba(255, 36, 61, 0.18) inset, 0 0 20px rgba(255, 36, 61, 0.16);
}
.nav-toggle {
  display: none;
  width: auto;
  height: auto;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: #fff;
}

.hero {
  min-height: 760px;
  padding: 110px 0 80px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 44px;
}
.hero-visual {
  width: 100%;
  height: 590px;
  min-height: 590px;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 5% 8% 12%;
  background: radial-gradient(circle, rgba(255, 36, 61, 0.18), transparent 62%);
  filter: blur(12px);
  opacity: 1;
  z-index: -3;
}
.hero-visual::after {
  content: none;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  animation: referenceSpin 20s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 8%;
  left: 18%;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
}
.orbit-one {
  width: 470px;
  height: 470px;
  right: 25px;
  top: 65px;
}
.orbit-two {
  width: 330px;
  height: 330px;
  right: 110px;
  top: 135px;
  animation-direction: reverse;
  animation-duration: 14s;
}
@keyframes referenceSpin {
  to { transform: rotate(360deg); }
}
.speed-lines,
.speed-lines::before,
.speed-lines::after {
  content: none;
}
.speed-lines {
  content: "";
  position: absolute;
  inset: 8% 0 0 0;
  z-index: -2;
  background: repeating-linear-gradient(147deg, transparent 0 38px, rgba(255, 36, 61, 0.08) 39px 40px, transparent 41px 75px);
  clip-path: polygon(15% 0, 100% 8%, 85% 100%, 0 85%);
  animation: referenceLines 8s linear infinite;
}
@keyframes referenceLines {
  to { background-position: 180px 0; }
}
.phone {
  position: absolute;
  width: 300px;
  height: 600px;
  right: 32px;
  top: 2px;
  padding: 10px;
  z-index: 3;
  border: 3px solid #363e48;
  border-radius: 43px;
  background: #05070a;
  box-shadow: -14px 30px 70px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 36, 61, 0.1);
  transform: rotate(4deg);
}
.phone::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid #606975;
  border-radius: 38px;
  pointer-events: none;
}
.phone-speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 74px;
  height: 6px;
  z-index: 4;
  transform: translateX(-50%);
  border-radius: 8px;
  background: #161b21;
}
.phone-screen {
  height: 100%;
  padding: 32px 14px 15px;
  overflow: hidden;
  border-radius: 32px;
  background: radial-gradient(circle at 80% 0, rgba(255, 36, 61, 0.08), transparent 25%), #0a0e13;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 700 10px "Barlow Condensed";
}
.mini-brand {
  display: block;
  font-size: inherit;
}
.mini-logo {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  border: 1px solid var(--red);
  border-radius: 50%;
  font-style: italic;
}
.status-pill {
  padding: 6px 8px;
  border: 1px solid rgba(255, 36, 61, 0.55);
  border-radius: 9px;
  background: transparent;
  color: #ff5265;
  font-size: 8px;
}
.status-pill i,
.controller-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: referencePulse 1.4s infinite;
}
@keyframes referencePulse {
  50% { opacity: 0.35; transform: scale(0.8); }
}
.app-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 16px 0 10px;
}
.app-tabs span {
  padding: 7px 2px;
  border: 1px solid #242b34;
  border-radius: 6px;
  background: transparent;
  color: #8d96a1;
  text-align: center;
  font: 600 7px Inter;
}
.app-tabs .active {
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(255, 36, 61, 0.15);
}
.app-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #303945;
  border-radius: 12px;
  background: linear-gradient(180deg, #12171d, #0c1015);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}
.app-panel + .app-panel {
  margin-top: 10px;
}
.panel-label,
.panel-heading,
.panel-heading span {
  color: var(--red);
  font: 700 8px "Barlow Condensed";
  letter-spacing: 0.5px;
}
.vehicle-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 12px 0 8px;
}
.vehicle-row span {
  color: #76808a;
  font-size: 7px;
}
.vehicle-row strong {
  display: inline;
  margin: 0;
  font: 700 12px "Barlow Condensed";
}
.profile-select {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border: 1px solid #2d343e;
  border-radius: 5px;
  background: transparent;
  color: #b9c0c7;
  font-size: 8px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
}
.panel-heading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 11px 0;
  padding: 0;
  border: 0;
  color: #aab2bb;
  font-size: 8px;
}
.control-row strong {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.toggle {
  width: 27px;
  height: 14px;
  padding: 2px;
  border-radius: 10px;
  background: #222a33;
  box-shadow: none;
}
.toggle b {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #777;
  transform: none;
}
.toggle.on {
  background: var(--red);
  box-shadow: none;
}
.toggle.on b {
  margin-left: 13px;
  background: #fff;
  transform: none;
}
.rpm-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.rpm-ring {
  width: 92px;
  height: 92px;
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from 215deg, var(--red) 0 56%, #242b34 56% 75%, transparent 75%);
  box-shadow: inset 0 0 0 8px #10151b;
}
.rpm-ring::before {
  content: none;
}
.rpm-ring::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #0b0f13;
}
.rpm-ring span {
  z-index: 2;
  color: #fff;
  font: 800 19px "Barlow Condensed";
}
.rpm-ring small {
  display: block;
  color: #7f8994;
  text-align: center;
  font-size: 7px;
}
.rpm-needle {
  position: absolute;
  width: 2px;
  height: 32px;
  bottom: 46px;
  left: 45px;
  z-index: 3;
  transform: rotate(58deg);
  transform-origin: bottom;
  border-radius: 0;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: referenceNeedle 2.8s ease-in-out infinite alternate;
}
@keyframes referenceNeedle {
  to { transform: rotate(106deg); }
}
.rpm-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 55px;
}
.rpm-bars i {
  width: 5px;
  border-radius: 3px 3px 0 0;
  background: #2a313a;
  animation: referenceBars 1.2s ease-in-out infinite alternate;
}
.rpm-bars i:nth-child(1) { height: 16px; }
.rpm-bars i:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.rpm-bars i:nth-child(3) { height: 34px; animation-delay: 0.2s; }
.rpm-bars i:nth-child(4) { height: 45px; animation-delay: 0.3s; background: #ff243d; }
.rpm-bars i:nth-child(5) { height: 52px; animation-delay: 0.4s; background: #ff243d; }
.rpm-bars i:nth-child(6) { height: 38px; animation-delay: 0.5s; }
.rpm-bars i:nth-child(7) { height: 28px; animation-delay: 0.6s; }
.rpm-bars i:nth-child(8) { height: 18px; animation-delay: 0.7s; }
@keyframes referenceBars {
  to { height: 12px; opacity: 0.5; }
}
.controller-unit {
  position: absolute;
  width: 305px;
  height: 185px;
  left: 10px;
  top: auto;
  bottom: 46px;
  padding: 0;
  z-index: 4;
  border: 1px solid #464e58;
  border-radius: 30px 30px 23px 23px;
  background: linear-gradient(145deg, #242a31, #0c0f13 60%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 36, 61, 0.08);
  transform: rotate(-8deg);
}
.controller-top {
  height: 100px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
}
.controller-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #707985;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 18px rgba(255, 36, 61, 0.2);
  font: italic 800 24px "Barlow Condensed";
}
.controller-status {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b9c0c7;
  font: 700 9px "Barlow Condensed";
}
.controller-face {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 58px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border: 1px solid #313842;
  border-radius: 12px;
  background: linear-gradient(#171c22, #090c10);
}
.controller-face span {
  width: 18px;
  height: 18px;
  border: 4px solid #3b434d;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 8px #000;
}
.controller-edge {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -14px;
  height: 24px;
  margin: 0;
  border: 1px solid #2d343d;
  border-radius: 0 0 16px 16px;
  background: #0c0f13;
}
.floating-card {
  animation: referenceFloatCard 5s ease-in-out infinite;
}
@keyframes referenceFloatCard {
  50% { transform: translateY(-13px) rotate(-6deg); }
}
.floating-phone {
  animation: referenceFloatPhone 6s ease-in-out infinite;
}
@keyframes referenceFloatPhone {
  50% { transform: translateY(11px) rotate(2deg); }
}
.telemetry-card {
  position: absolute;
  width: 150px;
  min-width: 0;
  padding: 12px 14px;
  z-index: 7;
  border: 1px solid #38414c;
  border-radius: 13px;
  background: rgba(13, 17, 22, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}
.telemetry-card span,
.telemetry-card small {
  display: block;
  color: #7f8994;
  letter-spacing: 1px;
  font: 700 8px "Barlow Condensed";
}
.telemetry-card strong {
  display: block;
  margin: 0;
  color: #fff;
  font: 800 24px "Barlow Condensed";
}
.telemetry-card small {
  color: var(--red);
}
.telemetry-rpm {
  left: 120px;
  top: 100px;
  bottom: auto;
  animation: referenceFloatSmall 4.5s ease-in-out infinite;
}
.telemetry-throttle {
  right: -6px;
  bottom: 42px;
  animation: referenceFloatSmall 4.5s 1s ease-in-out infinite;
}
@keyframes referenceFloatSmall {
  50% { transform: translateY(-9px); }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 20px;
    border: 1px solid #303843;
    border-radius: 16px;
    background: #0b0f13;
    flex-direction: column;
  }
  .main-nav.open { display: flex; }
  .main-nav a,
  .main-nav a.active {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
  }
  .nav-toggle { display: block; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 75px;
  }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions,
  .hero-highlights { justify-content: center; }
  .hero-visual {
    max-width: 650px;
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 650px) {
  .section-shell,
  .site-header {
    width: min(100% - 22px, 1180px);
  }
  .site-header {
    top: 8px;
    margin-top: 8px;
    padding: 12px 14px 12px 18px;
    border-radius: 18px;
  }
  .site-header::after { border-radius: 18px; }
  .brand-name { font-size: 23px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero {
    min-height: auto;
    padding-top: 75px;
  }
  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    text-align: left;
  }
  .hero-visual {
    height: 490px;
    min-height: 490px;
    margin-bottom: -70px;
    transform: scale(0.86);
    transform-origin: top center;
  }
  .phone { right: -20px; }
  .controller-unit { left: -25px; }
  .telemetry-card { display: block; }
  .telemetry-rpm { left: 10px; }
  .telemetry-throttle { right: -30px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::after,
  .orbit,
  .speed-lines,
  .floating-card,
  .floating-phone,
  .telemetry-card,
  .rpm-needle,
  .rpm-bars i {
    animation: none !important;
  }
}

/* Preserve the reference proportions without allowing the headline to force
   the visual column narrower on systems using a fallback font. */
.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}
.hero-copy,
.hero-visual {
  min-width: 0;
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   v1.5.7 safety presentation
   Open shield composition with lightweight floating protection labels.
   ======================================================================== */

.safety-redesign {
  display: block;
  padding-top: 50px;
}
.safety-head {
  margin-bottom: 8px;
}
.safety-head h2 {
  max-width: 740px;
  margin-top: 14px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 0.93;
}
.safety-stage {
  position: relative;
  min-height: 540px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.safety-stage::before {
  content: "";
  position: absolute;
  inset: 7% 6%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 36, 61, 0.16), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.035), transparent 52%);
  opacity: 1;
  filter: blur(3px);
  pointer-events: none;
}
.shield-core-wrap {
  width: 214px;
  height: 244px;
  animation: safetyShieldFloat 5.8s ease-in-out infinite;
}
.shield-core-glow {
  inset: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 36, 61, 0.28), rgba(255, 36, 61, 0.08) 38%, transparent 70%);
}
.shield-outline,
.shield-core {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 88% 14%, 91% 48%, 82% 72%, 50% 100%, 18% 72%, 9% 48%, 12% 14%);
}
.shield-outline {
  z-index: 1;
  background: linear-gradient(145deg, rgba(255, 88, 107, 0.98), rgba(255, 36, 61, 0.5) 42%, rgba(87, 96, 108, 0.66) 74%, rgba(255, 36, 61, 0.88));
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 24px rgba(255, 36, 61, 0.2));
}
.shield-core {
  inset: 3px;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  gap: 7px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.09), transparent 25%),
    linear-gradient(155deg, rgba(24, 31, 39, 0.99), rgba(7, 10, 14, 0.98) 67%);
  box-shadow: none;
}
.shield-logo {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(255, 36, 61, 0.28));
}
.shield-core strong {
  max-width: 150px;
  font-size: 23px;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.shield-core small {
  max-width: 140px;
  color: #aeb7c1;
  font-size: 8px;
  letter-spacing: 0.11em;
  text-align: center;
  white-space: nowrap;
}
@keyframes safetyShieldFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}

.safety-chip {
  position: absolute;
  z-index: 2;
  padding: 8px 10px 8px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #dbe1e8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  animation: safetyLabelFloat 6.2s ease-in-out infinite;
}
.safety-chip::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 36, 61, 0.72);
  transform: translateY(-50%);
}
.chip-top-left { top: 86px; left: 105px; animation-delay: -0.7s; }
.chip-top { top: 48px; left: 50%; transform: translateX(-50%); animation-name: safetyLabelFloatCentre; animation-delay: -1.4s; }
.chip-top-right { top: 88px; right: 94px; animation-delay: -2.1s; }
.chip-right { top: 50%; right: 48px; transform: translateY(-50%); animation-name: safetyLabelFloatSide; animation-delay: -2.8s; }
.chip-bottom-right { right: 88px; bottom: 88px; animation-delay: -3.5s; }
.chip-bottom { left: 50%; bottom: 42px; transform: translateX(-50%); animation-name: safetyLabelFloatCentre; animation-delay: -4.2s; }
.chip-bottom-left { left: 88px; bottom: 90px; animation-delay: -4.9s; }
.chip-left { top: 50%; left: 48px; transform: translateY(-50%); animation-name: safetyLabelFloatSide; animation-delay: -5.6s; }

@keyframes safetyLabelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes safetyLabelFloatCentre {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}
@keyframes safetyLabelFloatSide {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 7px)); }
}

@media (max-width: 900px) {
  .safety-stage {
    min-height: 620px;
  }
  .chip-top-left { top: 62px; left: 28px; }
  .chip-top { top: 30px; }
  .chip-top-right { top: 104px; right: 26px; }
  .chip-right { top: auto; right: 28px; bottom: 184px; transform: none; animation-name: safetyLabelFloat; }
  .chip-bottom-right { right: 28px; bottom: 92px; }
  .chip-bottom { bottom: 34px; }
  .chip-bottom-left { left: 28px; bottom: 92px; }
  .chip-left { top: auto; left: 28px; bottom: 184px; transform: none; animation-name: safetyLabelFloat; }
}

@media (max-width: 640px) {
  .safety-redesign {
    padding-top: 38px;
  }
  .safety-head h2 {
    font-size: clamp(38px, 12vw, 48px);
  }
  .safety-stage {
    min-height: 700px;
  }
  .shield-core-wrap {
    width: 176px;
    height: 202px;
  }
  .shield-logo {
    width: 62px;
    height: 62px;
  }
  .shield-core strong {
    max-width: 126px;
    font-size: 20px;
  }
  .shield-core small {
    max-width: 118px;
    font-size: 7px;
  }
  .safety-chip {
    max-width: 156px;
    padding: 7px 6px 7px 20px;
    font-size: 9.5px;
    line-height: 1.25;
  }
  .safety-chip::before {
    left: 5px;
    width: 5px;
    height: 5px;
  }
  .chip-top-left { top: 30px; left: 8px; }
  .chip-top { top: 84px; }
  .chip-top-right { top: 144px; right: 8px; }
  .chip-right { right: 8px; bottom: 214px; }
  .chip-bottom-right { right: 8px; bottom: 126px; }
  .chip-bottom { bottom: 54px; }
  .chip-bottom-left { left: 8px; bottom: 126px; }
  .chip-left { left: 8px; bottom: 214px; }
}

@media (prefers-reduced-motion: reduce) {
  .shield-core-wrap,
  .safety-chip {
    animation: none !important;
  }
}


/* Lightweight device optimisations. */
.cursor-glow {
  left: 0;
  top: 0;
  transform: translate3d(-500px, -500px, 0);
  will-change: transform;
}
.button,
.main-nav a,
.nav-toggle,
.waitlist-form button {
  touch-action: manipulation;
}
.phone,
.controller-unit,
.telemetry-card,
.shield-core-wrap {
  backface-visibility: hidden;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none !important; }
}

/* ========================================================================
   v1.5.8 footer
   Mirrors the v1.5.5 header's dark glass, spacing and red interaction colour.
   ======================================================================== */

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 20px;
  padding: 12px 14px 12px 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #343c46;
  border-radius: 18px;
  background: rgba(8, 11, 15, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.45);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  padding: 1px;
  border-radius: 18px;
  background: linear-gradient(90deg, transparent 0 68%, rgba(255, 36, 61, 0.75), transparent 83%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: referenceFooterSweep 7s linear infinite;
  pointer-events: none;
}
.site-footer > * {
  position: relative;
  z-index: 1;
}
@keyframes referenceFooterSweep {
  to { background-position: 1180px 0; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.footer-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  border-radius: 50%;
}
.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(255, 36, 61, 0.25));
}
.site-footer .brand-name {
  font: italic 800 28px/1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.3px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;
}
.footer-links a {
  padding: 0;
  color: #c2c8cf;
  font-size: 14px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--red);
  text-shadow: 0 0 14px rgba(255, 36, 61, 0.38);
}
.footer-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: max-content;
}
.footer-cta {
  padding: 11px 17px;
  color: #fff;
  border: 1px solid rgba(255, 36, 61, 0.75);
  border-radius: 11px;
  background: transparent;
  box-shadow: 0 0 20px rgba(255, 36, 61, 0.16) inset, 0 0 16px rgba(255, 36, 61, 0.12);
  font-size: 14px;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.footer-cta:hover,
.footer-cta:focus-visible {
  color: var(--red);
  border-color: var(--red);
  background: rgba(255, 36, 61, 0.04);
  box-shadow: 0 0 22px rgba(255, 36, 61, 0.18) inset, 0 0 20px rgba(255, 36, 61, 0.16);
}
.footer-actions small {
  color: #7f8994;
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 12px 22px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .site-footer {
    width: min(100% - 22px, 1180px);
    margin-top: 28px;
    margin-bottom: 10px;
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 18px;
  }
  .site-footer::after { border-radius: 18px; }
  .footer-brand {
    justify-self: start;
  }
  .footer-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .site-footer .brand-name {
    font-size: 23px;
  }
  .footer-links {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
  }
  .footer-links a {
    padding: 9px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    font-size: 12px;
  }
  .footer-actions {
    width: 100%;
    justify-items: stretch;
  }
  .footer-cta {
    text-align: center;
  }
  .footer-actions small {
    text-align: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer::after {
    animation: none !important;
  }
}
