:root {
  --pico-primary: #1a4fa0;
  --pico-primary-hover: #133b7a;
  --pico-primary-focus: rgba(26, 79, 160, 0.25);
  --pico-primary-inverse: #fff;
  --pico-font-size: 92.5%;
}

/* Sticky header */
body > header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--pico-muted-border-color);
  background: var(--pico-background-color);
  padding: 0.5rem 0;
}

body > header nav {
  --pico-nav-element-spacing-vertical: 0.5rem;
}

.site-brand {
  font-size: 1.2rem;
  text-decoration: none;
}

.site-brand strong {
  color: var(--pico-primary);
}

.nav-github {
  font-weight: 600;
}

/* Main content spacing */
body > main {
  padding-top: 2rem;
  padding-bottom: 3rem;
  min-height: calc(100vh - 160px);
}

/* Footer */
body > footer {
  border-top: 1px solid var(--pico-muted-border-color);
  padding: 1.25rem 0;
  color: var(--pico-muted-color);
}

/* Hero section */
.hero {
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--pico-primary);
}

.hero-logo {
  max-width: 180px;
  width: 100%;
  margin: 0.75rem auto 1rem;
  display: block;
}

.hero .tagline {
  font-size: 1rem;
  color: var(--pico-muted-color);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Release banner */
.release-banner {
  border-left: 4px solid var(--pico-primary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0 2rem;
  background: color-mix(in srgb, var(--pico-primary) 8%, transparent);
  border-radius: 0 var(--pico-border-radius) var(--pico-border-radius) 0;
}

/* Two-column grid for homepage */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}

/* Responsive images */
img.responsive {
  max-width: 100%;
  height: auto;
  border-radius: var(--pico-border-radius);
}

/* Responsive iframe wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--pico-border-radius);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
