:root {
  --bg: #070b14;
  --panel: #0f1726;
  --line: #22324f;
  --text: #e8eefc;
  --muted: #9eb0d0;
  --primary: #1fa6ff;
  --secondary: #2dd4bf;
  --accent: #ff8a3d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 10%, #12305d 0%, transparent 35%),
    radial-gradient(circle at 80% 80%, #154938 0%, transparent 30%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #ffffff1a;
  backdrop-filter: blur(8px);
  background: #05091399;
}

.site-header .container,
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.hero {
  padding: 6rem 0 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--secondary);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.06;
  max-width: 15ch;
}

.hero-copy {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 58ch;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta {
  display: inline-block;
  text-decoration: none;
  color: #041225;
  background: linear-gradient(125deg, var(--primary), var(--secondary));
  font-weight: 700;
  padding: 0.72rem 1rem;
  border-radius: 0.65rem;
}

.cta:hover {
  filter: brightness(1.06);
}

.cta-small {
  padding: 0.52rem 0.8rem;
}

.cta-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

#stack {
  padding: 2.5rem 0 4rem;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
  background: linear-gradient(170deg, #111d31, #0c1424);
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  min-height: 3.2em;
}

.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid #ffffff1a;
  color: var(--muted);
  padding-bottom: 0.3rem;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.35;
  filter: blur(32px);
}

.bg-orb-a {
  width: 260px;
  height: 260px;
  right: 4%;
  top: 8%;
  background: #1fa6ff;
}

.bg-orb-b {
  width: 220px;
  height: 220px;
  left: 6%;
  bottom: 10%;
  background: #2dd4bf;
}

@media (max-width: 680px) {
  .site-header .container,
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
