@import url("https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@500;600;700&family=JetBrains+Mono:wght@500;700&family=Source+Serif+4:opsz,wght@8..60,700;8..60,800&display=swap");

:root {
  --bg: #050506;
  --ink: #101828;
  --paper: #ffffff;
  --paper-soft: #f7f9fc;
  --panel: rgba(8, 11, 17, 0.84);
  --panel-soft: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(16, 24, 40, 0.14);
  --text: #f8f5f7;
  --muted: #c7c2c8;
  --muted-dark: #667085;
  --pink: #e72e58;
  --pink-dark: #c91f49;
  --teal: #38c4d8;
  --green: #3fd18a;
  --gold: #f3bd6b;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  --font-sans: "Archivo Narrow", Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(5, 5, 6, 0.9), rgba(5, 5, 6, 0.98)),
    url("./assets/space-background.png") center top / 1300px auto fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 0;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(5, 5, 6, 0.64);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 5, 6, 0.92);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.34);
}

.site-nav {
  width: min(100%, 1500px);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(231, 46, 88, 0.42));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--paper);
}

.nav-phone {
  padding: 0 16px;
  border: 1px solid rgba(231, 46, 88, 0.56);
  border-radius: 6px;
  background: rgba(231, 46, 88, 0.14);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(90svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-overlay,
.star-canvas {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
}

.star-canvas {
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98), rgba(5, 5, 6, 0.58) 48%, rgba(5, 5, 6, 0.88)),
    linear-gradient(0deg, rgba(5, 5, 6, 0.98), rgba(5, 5, 6, 0.18) 52%, rgba(5, 5, 6, 0.72));
}

.hero-inner,
.section,
.site-footer {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.hero-inner {
  min-height: calc(90svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr);
  align-items: center;
  gap: 56px;
  padding: 54px 24px 70px;
}

.hero-copy {
  max-width: 840px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-family: var(--font-serif);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: 7rem;
  text-shadow: 0 0 34px rgba(231, 46, 88, 0.32);
}

h2 {
  font-size: 4.35rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.85rem;
  line-height: 1.05;
}

.hero-trust {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--paper);
  font-size: 1.32rem;
  line-height: 1.5;
}

.hero-support {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--paper);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.button.primary {
  background: var(--pink);
  box-shadow: 0 16px 44px rgba(231, 46, 88, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #f04468;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(56, 196, 216, 0.78);
  box-shadow: 0 12px 34px rgba(56, 196, 216, 0.16);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.trust-chips li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-card {
  position: relative;
  justify-self: end;
  width: min(100%, 540px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1654 / 951;
  object-fit: cover;
}

.hero-card-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--ink);
}

.hero-card-status span {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-card-status strong {
  color: var(--pink-dark);
  font-size: 1.1rem;
}

.cursor-spark {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  pointer-events: none;
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(231, 46, 88, 0.75),
    0 0 28px rgba(56, 196, 216, 0.55);
  animation: sparkFade 740ms ease-out forwards;
}

.section {
  padding: 88px 24px;
}

.section-copy {
  max-width: 980px;
}

.section-copy p,
.section-heading > p,
.command-copy p,
.proof-grid p,
.contact-copy p,
.service-card p,
.trust-card p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.58;
}

.section-copy p {
  max-width: 850px;
  margin-top: 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.5fr);
  gap: 44px;
  align-items: end;
}

.readiness-grid,
.service-grid,
.process-list,
.proof-grid {
  display: grid;
}

.readiness-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-card,
.service-card {
  min-height: 230px;
  padding: 26px;
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(16px);
}

.trust-card span,
.service-card span {
  display: block;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-card h3,
.service-card h3 {
  margin-top: 58px;
}

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

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.service-card {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 196, 216, 0.46);
  background: rgba(18, 22, 31, 0.86);
}

.command {
  width: 100%;
  max-width: none;
  padding-inline: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
  color: var(--ink);
}

.command-panel {
  width: min(100%, 1500px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  margin: 0 auto;
}

.command-copy,
.command-metrics {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.command-copy {
  padding: 30px;
}

.command-copy .kicker {
  color: var(--pink-dark);
}

.command-copy h2,
.proof h2,
.contact h2 {
  color: var(--ink);
}

.command-copy p,
.proof-grid p,
.contact-copy p {
  color: #475467;
}

.command-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line-dark);
}

.command-metrics div {
  padding: 22px;
  background: var(--paper);
}

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

.command-metrics span {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.command-metrics strong {
  margin-top: 16px;
  color: var(--pink-dark);
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1;
}

.command-metrics small {
  margin-top: 8px;
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.process-list {
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 142px;
  padding: 28px;
  background: rgba(5, 5, 6, 0.84);
}

.process-list article > span {
  color: var(--pink);
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.proof {
  width: 100%;
  max-width: none;
  background: var(--paper);
  color: var(--ink);
}

.proof-grid {
  width: min(100%, 1500px);
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.58fr);
  gap: 44px;
  align-items: start;
  margin: 0 auto;
}

.proof .kicker {
  color: var(--pink-dark);
}

.proof-grid p {
  max-width: 760px;
  margin-top: 24px;
}

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

.proof-list li {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font-weight: 800;
}

.proof-list li::before {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.contact {
  width: 100%;
  max-width: none;
  padding-inline: 24px;
  background:
    linear-gradient(rgba(5, 5, 6, 0.9), rgba(5, 5, 6, 0.96)),
    url("./assets/space-background.png") center / cover;
}

.contact-panel {
  width: min(100%, 1500px);
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(420px, 0.7fr);
  gap: 30px;
  align-items: start;
  margin: 0 auto;
}

.contact-copy,
.request-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-copy {
  padding: 30px;
}

.contact h2 {
  color: var(--text);
}

.contact-copy p {
  margin-top: 22px;
  color: var(--muted);
}

.contact-copy a,
.modal-panel a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 5px;
}

.request-form,
.modal-panel form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  outline: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  line-height: 1.4;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(56, 196, 216, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-submit,
.modal-submit {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.form-status.is-error {
  color: #ff9bad;
}

.form-status.is-success {
  color: #72efb1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--paper);
  font-weight: 700;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(820px, calc(100svh - 44px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.94);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  color: var(--text);
  font-size: 3.6rem;
}

.modal-panel p:not(.kicker) {
  color: var(--muted);
  line-height: 1.5;
}

.modal-panel form {
  padding: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sparkFade {
  0% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(-50%, -130%, 0) scale(0.15);
  }
}

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

@media (max-width: 1180px) {
  h1 {
    font-size: 5.4rem;
  }

  h2 {
    font-size: 3.65rem;
  }

  .hero-inner,
  .command-panel,
  .proof-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
    width: min(100%, 660px);
  }

  .service-grid,
  .readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-nav {
    padding-inline: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 12px;
    right: 12px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 5, 6, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
    gap: 4px;
  }

  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 12px;
  }

  h1 {
    font-size: 4.1rem;
  }

  h2,
  .modal-panel h2 {
    font-size: 2.9rem;
  }

  .hero-inner,
  .section,
  .site-footer {
    padding-inline: 16px;
  }

  .hero-inner {
    padding-top: 42px;
    gap: 34px;
  }

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

  .section-heading,
  .form-grid,
  .service-grid,
  .readiness-grid,
  .command-metrics {
    grid-template-columns: 1fr;
  }

  .trust-card h3,
  .service-card h3 {
    margin-top: 34px;
  }

  .process-list article {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }

  .process-list article > span {
    font-size: 2.5rem;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .button,
  .form-submit,
  .modal-submit {
    width: 100%;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

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

  h1 {
    font-size: 3.25rem;
  }

  h2,
  .modal-panel h2 {
    font-size: 2.35rem;
  }

  .hero-trust {
    font-size: 1.14rem;
  }

  .hero-card-status,
  .process-list article {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    padding: 22px;
  }
}
