:root {
  color-scheme: light;
  --bg: #f6f6f4;
  --panel: #ffffff;
  --soft: #f0f0f0;
  --text: #1b1b1b;
  --muted: #666;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --max: 1180px;
  --pad: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.nav a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  font-size: .92rem;
}
.nav a.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.hero,
.section {
  border-radius: calc(var(--radius) + 4px);
}
.hero {
  margin-top: 8px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-split {
  display: grid;
  gap: 20px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.03em;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.05;
}
h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.lead {
  max-width: 60ch;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  color: var(--muted);
}
.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button {
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}
.button.primary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.hero-media {
  display: grid;
  gap: 12px;
}
.hero-image,
.tile-image {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-image { aspect-ratio: 4 / 3; }
.hero-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-strip img {
  aspect-ratio: 1.25 / 1;
}

.section {
  margin-top: 22px;
  padding: clamp(20px, 3.5vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.section.soft { background: var(--soft); }
.section-header {
  max-width: 720px;
  margin-bottom: 18px;
}
.center { text-align: center; max-width: none; }
.subtle {
  color: var(--muted);
  max-width: 62ch;
}

.feature-grid,
.catalog-grid,
.support-cards {
  display: grid;
  gap: 16px;
}
.feature-card,
.catalog-card,
.support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.feature-card .card-body,
.catalog-card .card-body,
.support-card .card-body {
  padding: 18px;
}
.feature-card p,
.catalog-card p,
.support-card p,
.meta {
  color: var(--muted);
  margin-bottom: 0;
}
.feature-card img,
.catalog-card img,
.support-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-card .tile-image {
  aspect-ratio: 16 / 10;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.two-up {
  display: grid;
  gap: 16px;
}
.stack {
  display: grid;
  gap: 16px;
}
.stack .feature-card {
  display: grid;
  grid-template-columns: 1fr;
}
.feature-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.03);
  font-size: .92rem;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.download-link img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}
.badge-row img {
  height: 42px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.product-spotlight {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
.product-spotlight img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.product-spotlight .card-body {
  padding: 0;
}
.spotlight-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.spotlight-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.support-download {
  display: grid;
  gap: 18px;
}
.support-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.support-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.note-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.footer {
  padding: 26px 0 0;
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
  display: grid;
  gap: 6px;
}


@media (min-width: 720px) {
  .hero-split {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .support-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-spotlight {
    grid-template-columns: 1.05fr .95fr;
    align-items: stretch;
  }
  .support-download {
    grid-template-columns: 1fr .85fr;
    align-items: center;
  }
}
