:root {
  --color-bg: #0F1113;
  --color-bg-soft: rgba(15, 17, 19, 0.74);
  --color-panel: rgba(255, 255, 255, 0.08);
  --color-panel-strong: rgba(255, 255, 255, 0.13);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.74);
  --color-accent: #005A2B;
  --color-accent-light: #19a65c;
  --color-border: rgba(255, 255, 255, 0.16);
  --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-main);
  background: var(--color-bg);
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(18px, 3vw, 42px);
}

.brand--logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.hero-bg,
.hero-bg-secondary,
.hero-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  z-index: -3;
  background-image: url("assets/diagnostics-hero.png");
  background-repeat: no-repeat;
  background-position: 63% center;
  background-size: cover;
  transform: translate3d(0, calc(var(--parallax-y, 0) * 1px), 0) scale(1.06);
  transition: transform 160ms linear;
  filter: saturate(0.92) contrast(1.06);
}

.hero-bg-secondary {
  z-index: -2;
  inset: auto 4vw 6vw auto;
  width: min(510px, 38vw);
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  background-image: url("assets/lr.png");
  background-size: cover;
  background-position: center;
  opacity: 0.78;
  transform: translate3d(0, calc(var(--parallax-y, 0) * -0.6px), 0);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 90, 43, 0.30), transparent 34%),
    linear-gradient(90deg, rgba(15, 17, 19, 0.96) 0%, rgba(15, 17, 19, 0.76) 45%, rgba(15, 17, 19, 0.50) 100%),
    rgba(15, 17, 19, 0.58);
}

.site-header,
.site-footer,
.hero-content {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 90, 43, 0.94), rgba(0, 90, 43, 0.48));
  font-weight: 800;
}

.brand__text {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.status-pill,
.launch-indicator {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.status-pill {
  gap: 10px;
}

.status-pill {
  padding: 10px 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.status-pill__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent-light);
  box-shadow: 0 0 0 rgba(25, 166, 92, 0.72);
  animation: pulse-dot 1.8s ease-out infinite;
}

.hero-content {
  align-self: center;
  max-width: 860px;
  padding-block: clamp(56px, 9vw, 110px);
}

.launch-indicator {
  position: relative;
  width: min(100%, 560px);
  min-height: 86px;
  margin-bottom: 26px;
  padding: 14px 18px 14px 14px;
  gap: 15px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(15, 17, 19, 0.36);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.launch-indicator::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -20%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(25, 166, 92, 0.30), transparent);
  transform: skewX(-18deg);
  animation: launch-sweep 4.8s ease-in-out infinite;
}

.launch-indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 72%);
  opacity: 0.55;
}

.launch-orb,
.launch-indicator__copy,
.launch-progress {
  position: relative;
  z-index: 1;
}

.launch-orb {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(25, 166, 92, 0.36), rgba(0, 90, 43, 0.12) 48%, transparent 72%);
}

.launch-orb__core {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 90, 43, 0.88);
  box-shadow: 0 0 28px rgba(25, 166, 92, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.launch-orb__orbit,
.launch-orb__scan {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.launch-orb__orbit {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--color-accent-light);
  border-right-color: rgba(25, 166, 92, 0.58);
}

.launch-orb__orbit--one {
  animation: rotate 2.8s linear infinite;
}

.launch-orb__orbit--two {
  inset: 8px;
  border-bottom-color: rgba(25, 166, 92, 0.78);
  border-top-color: rgba(255, 255, 255, 0.15);
  animation: rotate-reverse 2.1s linear infinite;
}

.launch-orb__scan {
  background: conic-gradient(from 0deg, rgba(25, 166, 92, 0.42), transparent 22%, transparent 100%);
  animation: rotate 3.6s linear infinite;
  mix-blend-mode: screen;
}

.launch-indicator__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.launch-indicator__label {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.launch-indicator__subtext {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.launch-progress {
  flex: 1 1 120px;
  align-self: end;
  min-width: 104px;
  height: 24px;
}

.launch-progress__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.launch-progress__track::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 44%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--color-accent-light), transparent);
  animation: progress-drive 2.6s ease-in-out infinite;
}

.launch-progress__pulse {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent-light);
  box-shadow: 0 0 18px rgba(25, 166, 92, 0.74);
  transform: translate(-50%, -50%);
  animation: waypoint 2.6s ease-in-out infinite;
}

.launch-progress__pulse--one { left: 18%; }
.launch-progress__pulse--two { left: 52%; animation-delay: 260ms; }
.launch-progress__pulse--three { left: 84%; animation-delay: 520ms; }

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.subheadline {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(1.06rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.copy-card,
.contact-panel {
  border: 1px solid var(--color-border);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.copy-card {
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  color: var(--color-text-muted);
}

.copy-card p {
  margin: 0;
  line-height: 1.7;
}

.copy-card p + p {
  margin-top: 18px;
}

.copy-card__intro {
  color: var(--color-text);
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-light);
  box-shadow: 0 0 18px rgba(25, 166, 92, 0.55);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button:focus-visible {
  outline: 3px solid rgba(25, 166, 92, 0.36);
  outline-offset: 3px;
}

.button--primary {
  color: #ffffff;
  background: var(--color-accent);
  box-shadow: 0 14px 40px rgba(0, 90, 43, 0.38);
}

.button--primary:hover {
  background: #007438;
}

.button--ghost {
  color: var(--color-text);
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.05);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.10);
}

.contact-panel {
  display: none;
  max-width: 430px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  color: var(--color-text-muted);
}

.contact-panel.is-open {
  display: grid;
  gap: 8px;
  animation: reveal 220ms ease both;
}

.contact-panel p {
  margin: 0;
}

.contact-panel__title {
  color: var(--color-text);
  font-weight: 800;
}

.contact-panel a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-panel a:hover {
  color: var(--color-accent-light);
}


.image-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(220px, 0.85fr);
  gap: 16px;
  max-width: 760px;
  margin-top: 28px;
}

.image-card {
  position: relative;
  min-height: 168px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}

.image-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(15, 17, 19, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-top: 30px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.site-footer strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 6px;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}

.site-footer span {
  white-space: nowrap;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 800ms cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(25, 166, 92, 0.72); }
  70% { box-shadow: 0 0 0 9px rgba(25, 166, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 166, 92, 0); }
}

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

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

@keyframes launch-sweep {
  0%, 18% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  42% { opacity: 1; }
  70%, 100% { transform: translateX(330%) skewX(-18deg); opacity: 0; }
}

@keyframes progress-drive {
  0% { transform: translateX(-115%); }
  55%, 100% { transform: translateX(260%); }
}

@keyframes waypoint {
  0%, 100% { opacity: 0.38; transform: translate(-50%, -50%) scale(0.78); }
  42% { opacity: 1; transform: translate(-50%, -50%) scale(1.24); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .page-shell {
    min-height: 100dvh;
    padding: 18px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand__text {
    font-size: 0.78rem;
  }

  .status-pill {
    padding: 9px 12px;
    font-size: 0.72rem;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-bg-secondary {
    display: none;
  }

  .hero-content {
    padding-block: 54px;
  }

  .launch-indicator {
    align-items: flex-start;
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .launch-progress {
    flex-basis: 100%;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    letter-spacing: -0.055em;
  }

  .actions,
  .button {
    width: 100%;
  }

  .site-footer span {
    white-space: normal;
  }
}

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

  .hero-bg {
    transform: scale(1.02);
  }

  .hero-bg-secondary {
    transform: none;
  }
}
