@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, #10202c 0%, #0b151d 26%, #0b151d 60%) fixed;
  color: #0f1d27;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  display: flex;
}

.sidebar {
  width: 270px;
  background: linear-gradient(180deg, #0d1b25 0%, #0c1925 70%, #0d1f2b 100%);
  color: #eaf3fb;
  height: 100vh;
  position: fixed;
  padding: 32px 22px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10d6b0 0%, #6df4d8 100%);
  color: #0a131a;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: #7ce8cf;
}

.tagline {
  font-size: 14px;
  color: #c7d7e6;
}

.sidebar nav a {
  display: block;
  padding: 12px 14px;
  color: #eaf3fb;
  text-decoration: none;
  margin: 6px 0;
  border-radius: 10px;
  transition: 0.3s;
  font-weight: 600;
}

.sidebar nav a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
  color: #91f0d8;
}

.version-badge {
  margin-top: 24px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(145, 240, 216, 0.1);
  border: 1px solid rgba(145, 240, 216, 0.3);
  color: #9eeed8;
  font-size: 13px;
}

.content {
  margin-left: 290px;
  padding: 44px 60px 72px;
  max-width: 1060px;
  width: 100%;
  animation: fadeIn 0.6s ease-in-out;
}

section {
  margin-bottom: 48px;
  background: #f8fbff;
  padding: 30px 32px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(3, 10, 18, 0.12);
  transition: 0.3s ease;
  border: 1px solid rgba(16, 214, 176, 0.06);
}

section:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(3, 10, 18, 0.18);
}

section h2 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 22px;
  margin-bottom: 18px;
  color: #0f2733;
}

section p,
section li,
section pre {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1f2e38;
}

pre {
  background: #0f1f2d;
  color: #e8f2fb;
  padding: 12px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: 'SFMono-Regular', Consolas, monospace;
  border: 1px solid rgba(16, 214, 176, 0.12);
}

img {
  max-width: 100%;
  margin-top: 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

ul {
  padding-left: 20px;
  list-style: disc;
}

ol {
  padding-left: 20px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  background: linear-gradient(135deg, #102431 0%, #0f1b27 100%);
  color: #eaf3fb;
  border: 1px solid rgba(145, 240, 216, 0.2);
  align-items: stretch;
}

.hero h1 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 32px;
  line-height: 1.2;
  margin: 8px 0 14px;
}

.hero .lede {
  color: #c9d8e4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  background: rgba(145, 240, 216, 0.1);
  border: 1px solid rgba(145, 240, 216, 0.4);
  color: #9ff4dc;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.callout {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(145, 240, 216, 0.2);
  border-radius: 14px;
  padding: 12px;
  color: #dfe9f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout h3 {
  margin-bottom: 10px;
  color: #9ff4dc;
}

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

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(16, 214, 176, 0.08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0f2733;
}

.card .hint {
  color: #4a6475;
  font-size: 14px;
}

.two-col {
  grid-template-columns: 1fr;
}

.pill-list {
  list-style: none;
  padding: 0;
}

.callout-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(145, 240, 216, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.pill-list li {
  background: #eef5fb;
  border: 1px solid rgba(16, 214, 176, 0.1);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10d6b0, #6df4d8);
  color: #0b151d;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.images-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.figure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
}

.figure-grid figure {
  background: #ffffff;
  border: 1px solid rgba(16, 214, 176, 0.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.figure-grid figcaption {
  font-size: 13px;
  color: #4a6475;
  margin-top: 8px;
}

.figure-grid img {
  width: 100%;
  display: block;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .content {
    margin: 0 auto;
    padding: 22px 18px 44px;
  }
}
