:root {
  --ink: #f7fbf7;
  --muted: #cbd7d1;
  --deep: #07100e;
  --panel: rgba(7, 16, 14, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --emerald: #14b87a;
  --amber: #e9ad54;
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--deep);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--deep);
}

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

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px clamp(20px, 4vw, 64px);
  isolation: isolate;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/hero-autoport.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 10, 9, 0.94) 0%, rgba(4, 10, 9, 0.78) 38%, rgba(4, 10, 9, 0.2) 76%),
    linear-gradient(180deg, rgba(4, 10, 9, 0.7) 0%, rgba(4, 10, 9, 0.08) 48%, rgba(4, 10, 9, 0.78) 100%);
}

.motion-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.motion-layer::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, transparent 64%);
  opacity: 0.42;
  animation: gridGlide 16s linear infinite;
}

.light-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -28%;
  width: 22%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  filter: blur(8px);
  opacity: 0.65;
  animation: lightSweep 8s ease-in-out infinite;
}

.road-line {
  position: absolute;
  right: -16%;
  bottom: 15%;
  width: 36%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 122, 0.85), transparent);
  filter: drop-shadow(0 0 14px rgba(20, 184, 122, 0.72));
  opacity: 0;
  transform: rotate(-7deg);
  animation: roadPulse 4.5s ease-in-out infinite;
}

.road-line-two {
  bottom: 20%;
  animation-delay: 1.25s;
  background: linear-gradient(90deg, transparent, rgba(233, 173, 84, 0.76), transparent);
  filter: drop-shadow(0 0 14px rgba(233, 173, 84, 0.64));
}

.listing-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 16, 14, 0.54);
  color: #eaf7f0;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  opacity: 0.86;
  animation: chipFloat 7s ease-in-out infinite;
}

.listing-chip::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  content: "";
  background: var(--emerald);
  box-shadow: 0 0 16px rgba(20, 184, 122, 0.9);
}

.chip-one {
  top: 26%;
  right: clamp(28px, 9vw, 132px);
}

.chip-two {
  top: 43%;
  right: clamp(22px, 4vw, 74px);
  animation-delay: 1.6s;
}

.chip-three {
  right: clamp(36px, 13vw, 180px);
  bottom: 33%;
  animation-delay: 3.1s;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 16px 40px var(--shadow);
  animation: markPulse 4s ease-in-out infinite;
}

.brand strong,
.brand small {
  display: block;
  overflow-wrap: anywhere;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.top-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #eaf5ef;
  font-size: 0.9rem;
  backdrop-filter: blur(12px);
}

.hero-content {
  align-self: center;
  width: min(720px, 100%);
  padding: 72px 0 52px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.status-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  padding: 0 22px;
  color: #06110d;
  background: var(--emerald);
  box-shadow: 0 20px 52px rgba(20, 184, 122, 0.24);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  background: #36d497;
  box-shadow: 0 24px 60px rgba(20, 184, 122, 0.32);
  transform: translateY(-2px);
}

.status-pill {
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: #e7f2ec;
}

.status-pill span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(233, 173, 84, 0.72);
  animation: statusPing 1.8s ease-out infinite;
}

.launch-panel {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-self: end;
}

.launch-card {
  position: relative;
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(7, 16, 14, 0.68);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.launch-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 18% 18%, rgba(20, 184, 122, 0.2), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.launch-card::after {
  position: absolute;
  right: -34%;
  bottom: 0;
  width: 58%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(20, 184, 122, 0.9), transparent);
  animation: panelScan 4.8s ease-in-out infinite;
}

.launch-card:nth-child(2)::after {
  animation-delay: 0.8s;
}

.launch-card:nth-child(3)::after {
  animation-delay: 1.6s;
}

.launch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 122, 0.46);
  background:
    linear-gradient(145deg, rgba(20, 184, 122, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(7, 16, 14, 0.74);
}

.launch-card:hover::before {
  opacity: 1;
}

.card-topline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--emerald);
  box-shadow: inset 0 0 18px rgba(20, 184, 122, 0.08);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.metric {
  position: relative;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
}

.launch-card h2 {
  position: relative;
  margin: 18px 0 0;
  color: #ecf6f0;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.launch-card p {
  position: relative;
  margin: 9px 0 0;
  color: rgba(236, 246, 240, 0.72);
  font-size: 0.9rem;
  line-height: 1.52;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    padding: 20px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 10, 9, 0.92) 0%, rgba(4, 10, 9, 0.78) 44%, rgba(4, 10, 9, 0.86) 100%),
      linear-gradient(90deg, rgba(4, 10, 9, 0.82), rgba(4, 10, 9, 0.4));
  }

  .topbar {
    align-items: flex-start;
  }

  .brand {
    max-width: 100%;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 0.95rem;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .top-link {
    display: none;
  }

  .hero-content {
    padding: 58px 0 36px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 13vw, 3.95rem);
    line-height: 0.96;
  }

  .headline-domain {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  .intro {
    line-height: 1.58;
  }

  .actions {
    align-items: stretch;
  }

  .primary-action,
  .status-pill {
    width: 100%;
  }

  .launch-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .launch-card {
    min-height: 128px;
    padding: 18px;
  }

  .launch-card h2 {
    margin-top: 14px;
  }

  .listing-chip {
    display: none;
  }

  .road-line {
    right: -28%;
    bottom: 29%;
    width: 74%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes gridGlide {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes lightSweep {
  0%,
  36% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  52% {
    opacity: 0.62;
  }

  76%,
  100% {
    transform: translateX(650%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes roadPulse {
  0%,
  34% {
    transform: translateX(0) rotate(-7deg);
    opacity: 0;
  }

  48% {
    opacity: 0.8;
  }

  100% {
    transform: translateX(-120%) rotate(-7deg);
    opacity: 0;
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-10px, -12px, 0);
  }
}

@keyframes markPulse {
  0%,
  100% {
    box-shadow: 0 16px 40px var(--shadow), inset 0 0 0 rgba(20, 184, 122, 0);
  }

  50% {
    box-shadow: 0 18px 46px var(--shadow), inset 0 0 28px rgba(20, 184, 122, 0.16);
  }
}

@keyframes statusPing {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 173, 84, 0.72);
  }

  80%,
  100% {
    box-shadow: 0 0 0 10px rgba(233, 173, 84, 0);
  }
}

@keyframes panelScan {
  0%,
  38% {
    transform: translateX(0);
    opacity: 0;
  }

  50% {
    opacity: 0.85;
  }

  100% {
    transform: translateX(-260%);
    opacity: 0;
  }
}
