:root {
  --bg: #0b1220;
  --bg-soft: #111b2e;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: #0f172a;
  --text: #e5eefc;
  --muted: #a8b7cf;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #3b82f6;
  --accent-2: #93c5fd;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(2, 8, 23, 0.32);
  --radius: 20px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(147, 197, 253, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  padding: 7rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.eyebrow,
.section-label,
.card-label,
.timeline-date,
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-2);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 1.5rem 0 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  border-color: rgba(147, 197, 253, 0.35);
  background: rgba(15, 23, 42, 0.46);
  color: var(--text);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.hero-points li,
.card p,
.section-copy,
.stack-card p,
.contact-card p,
.timeline-item li,
.section p {
  color: var(--muted);
}

.hero-points li {
  padding-left: 1.2rem;
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card,
.card,
.stack-card,
.contact-card,
.timeline-item {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.metric-block + .metric-block {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.metric-block strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.metric-block span {
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.alt {
  background: rgba(15, 23, 42, 0.38);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.section h2,
.cta-grid h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-copy {
  max-width: 54ch;
}

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

.card,
.stack-card,
.contact-card {
  padding: 1.4rem;
}

.card h3,
.stack-card h3,
.timeline-meta h3 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.timeline-item {
  padding: 1.5rem;
}

.timeline-item ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.cta-band {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.82));
}

.cta-grid,
.contact-grid,
.footer-wrap {
  display: grid;
  gap: 2rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.contact-item + .contact-item {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.contact-card a {
  color: var(--white);
  font-weight: 700;
  word-break: break-word;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-wrap {
  grid-template-columns: 1fr auto;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  margin: 0;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent-2);
}

@media (max-width: 920px) {
  .hero-grid,
  .contact-grid,
  .cards,
  .stack-grid,
  .section-heading,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: static;
  }

  .section-heading {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 5.75rem;
  }

  .nav {
    display: none;
  }

  .btn {
    width: 100%;
  }
}
