:root {
  --canvas: #f4f7fc;
  --surface: #ffffff;
  --ink: #10233f;
  --muted: #53647b;
  --cobalt: #225bff;
  --violet: #7a20ff;
  --line: rgba(16, 35, 63, 0.12);
  --line-strong: rgba(34, 91, 255, 0.24);
  --surface-soft: rgba(255, 255, 255, 0.78);
  --shadow-soft: 0 16px 46px rgba(32, 54, 92, 0.08);
  --shadow-card: 0 10px 30px rgba(32, 54, 92, 0.06);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 5%, rgba(34, 91, 255, 0.11), transparent 28rem),
    linear-gradient(180deg, #f8faff 0%, var(--canvas) 38%, #eef3fb 100%);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font-family: "Space Grotesk", sans-serif;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(34, 91, 255, 0.12);
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid rgba(34, 91, 255, 0.42);
  outline-offset: 3px;
}

.space-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(34, 91, 255, 0.16) 1px, transparent 1.5px),
    radial-gradient(circle at 78% 58%, rgba(122, 32, 255, 0.11) 1px, transparent 1.5px),
    radial-gradient(circle at 43% 86%, rgba(34, 91, 255, 0.09) 1px, transparent 1.5px);
  background-size: 260px 260px, 360px 360px, 300px 300px;
  opacity: 0.55;
}

#rocket-trail {
  position: fixed;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1140px) / 2));
  border-bottom: 1px solid rgba(16, 35, 63, 0.09);
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(31, 53, 89, 0.04);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: clamp(164px, 18vw, 220px);
  height: 50px;
  overflow: hidden;
  text-decoration: none;
}

.logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  position: relative;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cobalt), var(--violet));
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 7px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

main {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

main:focus-visible {
  outline: none;
  box-shadow: inset 0 3px 0 rgba(34, 91, 255, 0.34);
}

#top {
  scroll-margin-top: 0;
}

.section {
  scroll-margin-top: 92px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 8vh, 88px) 0 clamp(64px, 9vh, 100px);
}

.hero-content {
  min-width: 0;
}

.eyebrow,
.service-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cobalt);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 5.2vw, 4.45rem);
}

.hero h1 span {
  background: linear-gradient(115deg, var(--cobalt) 0%, var(--violet) 88%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 59ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--cobalt), var(--violet));
  box-shadow: 0 12px 28px rgba(34, 91, 255, 0.2);
  color: var(--surface);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  min-width: 0;
  padding: 13px 14px;
  border-top: 2px solid rgba(34, 91, 255, 0.28);
  background: rgba(255, 255, 255, 0.54);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.hero-metrics span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-wrap: pretty;
}

.mission-panel {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(34, 91, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 91, 255, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 243, 255, 0.86));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.mission-panel::before {
  position: absolute;
  top: -110px;
  right: -90px;
  z-index: -1;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(122, 32, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(34, 91, 255, 0.035),
    0 0 0 96px rgba(122, 32, 255, 0.022);
  content: "";
  animation: orbit-pulse 6s ease-in-out infinite;
}

.mission-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mission-header img {
  display: block;
  width: 126px;
  height: 44px;
  object-fit: cover;
  object-position: center;
}

.mission-header span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mission-kicker {
  max-width: 18ch;
  margin: 22px 0 18px;
  font-family: "Sora", sans-serif;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mission-path {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mission-path::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 18px;
  width: 1px;
  background: linear-gradient(var(--cobalt), var(--violet));
  content: "";
  opacity: 0.35;
}

.mission-path li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 8px 10px 8px 0;
  border-radius: 13px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mission-step {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(34, 91, 255, 0.24);
  border-radius: 50%;
  background: var(--surface);
  color: var(--cobalt);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mission-path strong,
.mission-path small {
  display: block;
}

.mission-path strong {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
}

.mission-path small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.35;
}

.mission-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(34, 91, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mission-status > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 5px rgba(34, 91, 255, 0.1);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.mission-status p,
.mission-status small,
.mission-status strong {
  display: block;
  margin: 0;
}

.mission-status small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-status strong {
  margin-top: 2px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.section {
  margin-top: clamp(80px, 10vw, 124px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.references-intro {
  max-width: 68ch;
  margin: -10px 0 30px;
  color: var(--muted);
  text-wrap: pretty;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reference-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 290px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.reference-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cobalt), var(--violet));
  content: "";
  opacity: 0.58;
}

.reference-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.reference-head h3 {
  min-width: 0;
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.reference-type {
  flex: 0 0 auto;
  max-width: 48%;
  padding: 4px 9px;
  border: 1px solid rgba(34, 91, 255, 0.18);
  border-radius: 999px;
  background: rgba(34, 91, 255, 0.045);
  color: var(--cobalt);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.reference-card > a {
  align-self: flex-start;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.reference-card > a::after {
  margin-left: 5px;
  content: "↗";
  text-decoration: none;
}

.reference-card ul {
  margin: 18px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.reference-card li {
  padding-left: 3px;
}

.reference-card li::marker {
  color: var(--cobalt);
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}

.reference-tags span {
  padding: 4px 9px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 999px;
  background: #f6f8fc;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.services-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
}

.tabs {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 9px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.tab {
  flex: 1 0 auto;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.tab.active {
  border-color: rgba(34, 91, 255, 0.15);
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(32, 54, 92, 0.08);
  color: var(--cobalt);
}

.tab-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  min-height: 285px;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 100% 0%, rgba(122, 32, 255, 0.065), transparent 20rem),
    var(--surface-soft);
}

.service-label {
  margin-bottom: 10px;
  font-size: 0.68rem;
}

.service-label::before {
  display: none;
}

.service-copy h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.service-copy > p:last-child {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--muted);
  text-wrap: pretty;
}

.tab-content > ul {
  display: grid;
  gap: 10px;
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
}

.tab-content > ul li {
  position: relative;
  padding: 12px 12px 12px 38px;
  border: 1px solid rgba(34, 91, 255, 0.11);
  border-radius: 12px;
  background: rgba(244, 247, 252, 0.8);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.tab-content > ul li::before {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cobalt), var(--violet));
  content: "";
}

.tab-content > ul li::after {
  position: absolute;
  top: 18px;
  left: 19px;
  width: 5px;
  height: 3px;
  border-bottom: 1.5px solid white;
  border-left: 1.5px solid white;
  content: "";
  transform: rotate(-45deg);
}

.contact-section {
  padding-bottom: 64px;
}

.contact-section .section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.contact-intro {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
  padding: clamp(30px, 5vw, 54px);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.contact-label {
  margin: 0 0 9px;
  color: var(--cobalt);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form-heading h3,
.contact-aside-heading h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.contact-form-heading > p:last-child,
.contact-aside-heading > p:last-child {
  max-width: 48ch;
  margin: 12px 0 0;
  color: var(--muted);
  text-wrap: pretty;
}

.form-fields {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-group {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.field-group label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.field-group label span {
  color: var(--muted);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(16, 35, 63, 0.16);
  border-radius: 11px;
  background: #f8faff;
  color: var(--ink);
  font: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(34, 91, 255, 0.48);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(34, 91, 255, 0.08);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-submit .btn {
  flex: 0 0 auto;
}

.form-submit p {
  max-width: 29ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-status {
  min-height: 22px;
  margin: -14px 0 0;
  color: var(--cobalt);
  font-size: 0.85rem;
}

.contact-aside {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  padding: clamp(30px, 5vw, 48px);
  overflow: hidden;
  background:
    linear-gradient(rgba(34, 91, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 91, 255, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, rgba(244, 247, 252, 0.92), rgba(238, 243, 255, 0.96));
  background-size: 28px 28px, 28px 28px, auto;
  isolation: isolate;
}

.contact-aside::before {
  position: absolute;
  top: -120px;
  right: -120px;
  z-index: -1;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(122, 32, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(34, 91, 255, 0.025),
    0 0 0 92px rgba(122, 32, 255, 0.018);
  content: "";
}

.contact-channels {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-channel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.contact-icon-wrap {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cobalt), var(--violet));
  box-shadow: 0 8px 18px rgba(34, 91, 255, 0.16);
}

.contact-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.contact-channel small,
.contact-channel strong {
  display: block;
}

.contact-channel small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-channel strong {
  margin-top: 2px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.channel-arrow {
  color: var(--cobalt);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.company-details {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(100px, 0.65fr);
  gap: 12px;
  margin: 24px 0 0;
}

.company-details div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(34, 91, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.company-details dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-details dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-next-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(34, 91, 255, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-next-step > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 5px rgba(34, 91, 255, 0.09);
}

.contact-next-step p,
.contact-next-step small,
.contact-next-step strong {
  display: block;
  margin: 0;
}

.contact-next-step small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-next-step strong {
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.legal {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.copyright {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

@keyframes orbit-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(34, 91, 255, 0.1);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(34, 91, 255, 0.035);
  }
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: url("./rocket.png") 13 13, auto;
  }

  a,
  button,
  .tab {
    cursor: pointer;
  }

  input,
  textarea {
    cursor: text;
  }

  .main-nav a:hover {
    color: var(--ink);
  }

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

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

  .btn-primary:hover {
    box-shadow: 0 16px 34px rgba(34, 91, 255, 0.28);
  }

  .btn-ghost:hover {
    border-color: var(--line-strong);
    background: var(--surface);
  }

  .mission-path li:hover {
    background: rgba(255, 255, 255, 0.62);
    transform: translateX(3px);
  }

  .reference-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 18px 40px rgba(32, 54, 92, 0.1);
    transform: translateY(-3px);
  }

  .reference-card > a:hover,
  .contact-channel:hover {
    color: var(--cobalt);
  }

  .tab:hover:not(.active) {
    background: rgba(34, 91, 255, 0.055);
    color: var(--ink);
  }

  .contact-channel:hover {
    padding-left: 7px;
  }

  .contact-channel:hover .channel-arrow {
    transform: translate(2px, -2px);
  }
}

@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .mission-panel {
    min-height: auto;
  }

  .mission-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .mission-path::before {
    display: none;
  }

  .tab-content {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-form {
    border-right: 0;
  }

  .contact-aside {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  main {
    width: calc(100% - 28px);
  }

  .section {
    scroll-margin-top: 82px;
  }

  .site-header {
    height: 68px;
    padding: 0 14px;
  }

  .logo {
    width: 166px;
    height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    z-index: 29;
    align-items: stretch;
    gap: 2px;
    padding: 12px 14px 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(248, 250, 255, 0.98);
    box-shadow: 0 18px 32px rgba(32, 54, 92, 0.1);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .main-nav a {
    padding: 11px 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

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

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

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

  .hero {
    gap: 24px;
    padding: 34px 0 58px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 11vw, 3.15rem);
  }

  .hero-lead {
    margin-top: 17px;
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 23px;
  }

  .hero-metrics {
    gap: 6px;
    margin-top: 23px;
  }

  .hero-metrics li {
    padding: 10px 8px;
  }

  .hero-metrics strong {
    font-size: 0.76rem;
  }

  .hero-metrics span {
    font-size: 0.67rem;
  }

  .mission-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .mission-header {
    padding-bottom: 12px;
  }

  .mission-header img {
    width: 110px;
    height: 39px;
  }

  .mission-header span {
    font-size: 0.6rem;
  }

  .mission-kicker {
    margin: 16px 0 12px;
    font-size: 1.15rem;
  }

  .mission-path {
    gap: 5px 12px;
  }

  .mission-path li {
    grid-template-columns: 31px 1fr;
    gap: 8px;
    padding: 5px 3px 5px 0;
  }

  .mission-step {
    width: 31px;
    height: 31px;
    font-size: 0.6rem;
  }

  .mission-path strong {
    font-size: 0.8rem;
  }

  .mission-path small {
    font-size: 0.67rem;
  }

  .mission-status {
    display: none;
  }

  .section {
    margin-top: 78px;
  }

  .section h2 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .references-intro {
    margin-bottom: 22px;
  }

  .reference-list {
    grid-template-columns: 1fr;
  }

  .reference-card {
    min-height: 0;
    padding: 20px;
  }

  .reference-head {
    flex-direction: column;
    gap: 9px;
  }

  .reference-type {
    max-width: 100%;
  }

  .reference-tags {
    margin-top: 18px;
    padding-top: 0;
  }

  .services-shell {
    margin-right: -4px;
    margin-left: -4px;
    border-radius: 22px;
  }

  .tabs {
    padding: 7px;
  }

  .tab {
    min-height: 43px;
    padding: 9px 13px;
    font-size: 0.85rem;
  }

  .tab-content {
    min-height: 0;
    padding: 25px 20px 28px;
  }

  .service-copy h3 {
    font-size: 1.45rem;
  }

  .contact-shell {
    margin-right: -4px;
    margin-left: -4px;
    border-radius: 22px;
  }

  .contact-form,
  .contact-aside {
    padding: 24px 20px;
  }

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

  .form-submit {
    display: grid;
    gap: 10px;
  }

  .form-submit .btn {
    width: 100%;
  }

  .form-submit p {
    max-width: none;
  }

  .contact-channels {
    margin-top: 24px;
  }

  .company-details {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.42fr);
  }
}

@media (max-width: 420px) {
  .hero-metrics span {
    line-height: 1.3;
  }

  .mission-header span {
    max-width: 10ch;
    text-align: right;
  }

  .mission-path small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #rocket-trail {
    display: none;
  }
}
