* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.18), transparent 38%),
    radial-gradient(circle at left, rgba(16, 185, 129, 0.12), transparent 32%),
    #070b12;
  color: #e2e8f0;
  font-family: "Inter", "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer,
.hero,
.tracks,
.principles {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(8, 12, 20, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img,
.footer-brand img {
  width: auto;
  height: 42px;
  border-radius: 12px;
}

.brand span,
.footer-brand strong,
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.brand span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand em {
  color: #67e8f9;
  font-style: normal;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-nav a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.site-nav a:hover,
.track-card a:hover,
.footer-links a:hover {
  color: #67e8f9;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 72px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: #67e8f9;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: #94a3b8;
  font-size: 1.08rem;
  line-height: 1.8;
}

code {
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8f7ff;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: #22d3ee;
  color: #082f49;
}

.button-primary:hover {
  background: #67e8f9;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel,
.track-card,
.principle,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 24, 0.88);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 28px;
  border-radius: 28px;
}

.hero-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 1.15rem;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #94a3b8;
}

.hero-card li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-card li span {
  color: #f8fafc;
  font-weight: 700;
}

.tracks,
.principles {
  display: grid;
  gap: 22px;
}

.tracks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 28px;
}

.track-card,
.principle {
  padding: 26px;
  border-radius: 26px;
}

.track-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.track-label.cloud {
  color: #6ee7b7;
}

.track-label.git {
  color: #93c5fd;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
}

.track-card p,
.principle p,
.footer-brand p {
  margin: 0 0 18px;
  color: #94a3b8;
  line-height: 1.75;
}

.track-card a {
  color: #d8f7ff;
  font-weight: 700;
}

.principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 48px;
  padding: 28px;
  border-radius: 26px;
}

.footer-brand {
  align-items: flex-start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 24px;
}

.footer-links h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero,
  .tracks,
  .principles,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 2.8rem;
  }
}
