:root {
  --bg: #08101d;
  --bg-alt: #0d1729;
  --panel: #121f38;
  --panel-alt: #182748;
  --text: #eef4ff;
  --muted: #b7c6e1;
  --accent: #63c2ff;
  --accent-strong: #91d4ff;
  --border: #243756;
  --max-width: 1080px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #07101c 0%, #0b1324 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(8, 16, 29, 0.92);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 88px 0 64px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  max-width: 920px;
}

h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

h3 {
  margin-bottom: 12px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: rgba(13, 23, 41, 0.82);
  border-top: 1px solid rgba(36, 55, 86, 0.5);
  border-bottom: 1px solid rgba(36, 55, 86, 0.5);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.project-card {
  max-width: 860px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

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

.btn-primary:hover {
  color: #08101d;
  background: var(--accent-strong);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.meta {
  color: var(--muted);
  margin-top: -4px;
}

.clean-list {
  margin: 0;
  padding-left: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

code {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.95em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    padding-top: 60px;
  }
}