:root {
  --bg: #021a2a;
  --bg-soft: #0a2a3d;
  --surface: rgba(9, 44, 63, 0.55);
  --surface-strong: rgba(8, 56, 80, 0.75);
  --text: #f5fbff;
  --muted: #b2cbda;
  --primary: #2f9dbb;
  --primary-strong: #017ea5;
  --accent: #71b0cd;
  --line: rgba(130, 193, 218, 0.28);
  --shadow: 0 20px 50px rgba(1, 18, 32, 0.35);
  --radius-lg: 1.4rem;
  --radius-md: 0.95rem;
  --max-w: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 5% 0%, #106081 0%, var(--bg) 42%),
    radial-gradient(circle at 95% 15%, #0e4f69 0%, transparent 38%),
    linear-gradient(145deg, #031a2b 10%, #04111d 100%);
  line-height: 1.5;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 42vmax;
  aspect-ratio: 1;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.3;
  pointer-events: none;
}

.site-bg::before {
  top: -10vmax;
  right: -15vmax;
  background: conic-gradient(from 45deg, #9ad0e5, #2f9dbb, #0f4d67, #9ad0e5);
  animation: floatA 20s linear infinite;
}

.site-bg::after {
  bottom: -18vmax;
  left: -12vmax;
  background: conic-gradient(from 0deg, #2f9dbb, #023650, #6bc0df, #2f9dbb);
  animation: floatB 22s linear infinite;
}

.topbar,
main,
.footer {
  width: min(var(--max-w), 92vw);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  filter: drop-shadow(0 0 0.2rem rgba(157, 221, 246, 0.35));
}

.brand-word {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 1.1rem;
}

nav a,
.footer a {
  color: var(--text);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: #8fd5ec;
}

.cta {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(14, 88, 120, 0.4);
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.cta:hover {
  transform: translateY(-1px);
  background: rgba(37, 125, 162, 0.56);
}

main {
  padding-top: 1.2rem;
  padding-bottom: 4rem;
}

.section-stack {
  display: grid;
  gap: 2rem;
}

.hero {
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(13, 58, 83, 0.75), rgba(6, 25, 39, 0.74));
  box-shadow: var(--shadow);
}

.hero.compact {
  padding: 2.1rem;
}

.eyebrow {
  color: #92d8ee;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.55rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: clamp(1.05rem, 2.1vw, 1.26rem);
  color: var(--muted);
  max-width: 68ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cta-solid {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: transparent;
}

.cta-ghost {
  background: transparent;
}

.section {
  margin-top: 2rem;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.pill-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: var(--surface-strong);
}

.contact-card {
  text-align: center;
}

.big-link {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-family: "Sora", sans-serif;
  color: #9edcf0;
}

.muted {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 2.4rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 520ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 120ms;
}

.reveal:nth-child(3) {
  animation-delay: 200ms;
}

.reveal:nth-child(4) {
  animation-delay: 280ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

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

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

  .hero {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
