/* Landing page -- Win95-flavoured marketing site, built on win95.css */

:root {
  --l-max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--w95-desktop);
  min-height: 100vh;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------------- Nav ---------------- */

.l-nav {
  background: linear-gradient(90deg, var(--w95-titlebar-active-1), var(--w95-titlebar-active-2));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.l-nav-inner {
  max-width: var(--l-max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.l-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
}

.l-nav-links {
  display: flex;
  gap: 18px;
  flex: 1;
  font-size: 13px;
}

.l-nav-links a {
  text-decoration: none;
  color: #dce8fb;
}
.l-nav-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.l-nav-cta {
  flex: none;
}

/* ---------------- Hero ---------------- */

.l-hero {
  max-width: var(--l-max-width);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.l-hero-badge {
  display: inline-block;
  background: #fff;
  color: var(--w95-titlebar-active-1);
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  box-shadow: inset -1px -1px 0 0 var(--w95-face-dark), inset 1px 1px 0 0 var(--w95-face-lighter);
}

.l-hero-text h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.l-hero-text p {
  font-size: 15px;
  line-height: 1.55;
  color: #eef4fb;
  margin: 0 0 24px;
  max-width: 480px;
}

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

.l-hero-actions .w95-btn,
.l-nav-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 8px 16px;
}

.l-btn-primary {
  font-weight: bold;
}

.l-hero-shot {
  background: var(--w95-face);
  padding: 8px;
  box-shadow: inset -1px -1px 0 0 var(--w95-face-darker),
    inset 1px 1px 0 0 var(--w95-face-lighter),
    inset -2px -2px 0 0 var(--w95-face-dark),
    inset 2px 2px 0 0 var(--w95-face-light);
}

.l-hero-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--w95-face-darker);
}

/* ---------------- Features ---------------- */

.l-features {
  max-width: var(--l-max-width);
  margin: 0 auto;
  padding: 20px 20px 50px;
}

.l-features h2,
.l-screenshots h2 {
  color: #fff;
  text-align: center;
  font-size: 24px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  margin: 0 0 28px;
}

.l-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.l-feature-card {
  background: var(--w95-face);
  padding: 18px;
}

.l-feature-card svg {
  background: var(--w95-titlebar-active-2);
  padding: 6px;
  border-radius: 2px;
}

.l-feature-card h3 {
  font-size: 14px;
  margin: 12px 0 6px;
}

.l-feature-card p {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  color: #333;
}

/* ---------------- Screenshots ---------------- */

.l-screenshots {
  max-width: var(--l-max-width);
  margin: 0 auto;
  padding: 20px 20px 50px;
}

.l-screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.l-screenshot-row figure {
  margin: 0;
  background: var(--w95-face);
  padding: 8px;
  box-shadow: inset -1px -1px 0 0 var(--w95-face-darker),
    inset 1px 1px 0 0 var(--w95-face-lighter),
    inset -2px -2px 0 0 var(--w95-face-dark),
    inset 2px 2px 0 0 var(--w95-face-light);
}

.l-screenshot-row img {
  border: 1px solid var(--w95-face-darker);
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
}

.l-screenshot-row figcaption {
  font-size: 11px;
  text-align: center;
  padding-top: 6px;
  color: #333;
}

/* ---------------- CTA ---------------- */

.l-cta {
  max-width: var(--l-max-width);
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.l-cta-box {
  background: var(--w95-face);
  text-align: center;
  padding: 36px 20px;
}

.l-cta-box svg {
  background: var(--w95-titlebar-active-2);
  padding: 8px;
  border-radius: 4px;
}

.l-cta-box h2 {
  font-size: 22px;
  margin: 14px 0 8px;
}

.l-cta-box p {
  font-size: 13px;
  color: #333;
  margin: 0 0 18px;
}

.l-cta-box .l-hero-actions {
  justify-content: center;
}

/* ---------------- Footer ---------------- */

.l-footer {
  text-align: center;
  padding: 24px 20px 32px;
  color: #dce8fb;
  font-size: 12px;
}

.l-footer a {
  color: #fff;
  text-decoration: underline;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 820px) {
  .l-hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
  .l-hero-text h1 {
    font-size: 28px;
  }
  .l-feature-grid,
  .l-screenshot-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-nav-links {
    display: none;
  }
}

@media (max-width: 540px) {
  .l-feature-grid,
  .l-screenshot-row {
    grid-template-columns: 1fr;
  }
  .l-hero-text h1 {
    font-size: 24px;
  }
  .l-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .l-hero-actions .w95-btn {
    justify-content: center;
  }
}
