*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0a0d11;
  --bg-soft: #11161d;
  --surface: rgba(17, 22, 29, 0.78);
  --surface-strong: rgba(12, 17, 23, 0.94);
  --border: rgba(217, 227, 237, 0.12);
  --text: #ecf2f7;
  --muted: #9fb0bf;
  --accent: #d7ff5b;
  --accent-strong: #edffad;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(215, 255, 91, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(77, 192, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #091016 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: -12rem;
  left: -10rem;
  background: #d7ff5b;
}

.ambient-right {
  right: -12rem;
  bottom: -16rem;
  background: #2f8dff;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 4rem;
}

.logo,
h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--accent);
}

.status {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero {
  padding-bottom: 3.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.lead {
  max-width: 45rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #081012;
}

.btn-primary:hover {
  background: #e5ff90;
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(215, 255, 91, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.card,
.panel {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.card {
  min-height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
}

.card-tag {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.card p:last-child {
  margin: 0;
  color: var(--muted);
}

.panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: var(--surface-strong);
}

.panel h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.panel p {
  margin: 0;
  color: var(--muted);
  align-self: end;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  header,
  .panel,
  footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page {
    padding-inline: 1rem;
  }

  header {
    padding-bottom: 2.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
