:root {
  color-scheme: light;
  --background: #eff0f1;
  --surface: #fcfcfc;
  --text: #232629;
  --muted: #5d6165;
  --accent: #3daee9;
  --accent-strong: #2980b9;
  --border: #d1d5d9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 "Noto Sans", "Segoe UI", system-ui, sans-serif;
}

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

.hero {
  padding: 72px 16px 40px;
  text-align: center;
}

.logo { display: block; margin: 0 auto 16px; }

h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 600; }

.tagline {
  max-width: 36ch;
  margin: 12px auto 28px;
  color: var(--muted);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

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

.button.primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.note { margin-top: 20px; color: var(--muted); font-size: 0.9rem; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.shots { display: grid; gap: 24px; }

.shots img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.18);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 64px 0;
}

.highlights article,
.grid > div,
.install {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.highlights h2 { margin: 0 0 6px; font-size: 1.15rem; }

.highlights p { margin: 0; color: var(--muted); }

.tour > h2,
.features > h2,
.install h2 { text-align: center; font-weight: 600; }

.tour { margin-bottom: 64px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px 24px;
}

figure { margin: 0; }

figure > a > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1410 / 978;
  object-fit: contain;
}

figcaption { padding: 4px 8px 0; color: var(--muted); }

figcaption strong { display: block; color: var(--text); }

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

.grid h3 { margin: 0 0 8px; font-size: 1rem; color: var(--accent-strong); }

.grid ul { margin: 0; padding-left: 18px; color: var(--muted); }

.install { margin: 64px 0; }

pre {
  overflow-x: auto;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--background);
  font-size: 0.85rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 32px 16px 48px;
  border-top: 1px solid var(--border);
}

.icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: -6px;
}

.button {
  display: inline-flex;
  align-items: center;
}

.button .icon { width: 20px; height: 20px; vertical-align: 0; }


.badge { display: block; margin-bottom: 12px; }

.install h2 .icon { width: 32px; height: 32px; vertical-align: -7px; }

footer a { display: inline-flex; align-items: center; text-decoration: none; }

footer a:hover { text-decoration: underline; }

.credits { flex-basis: 100%; margin: 0; text-align: center; color: var(--muted); font-size: 0.85rem; }

.shots a, .zoom { display: block; cursor: zoom-in; }

dialog {
  max-width: 96vw;
  max-height: 96vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

dialog::backdrop { background: rgb(0 0 0 / 0.8); }

dialog img {
  display: block;
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  cursor: zoom-out;
}

dialog .close {
  position: fixed;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

.spotlights > h2 { text-align: center; font-weight: 600; }

.spotlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px;
  align-items: center;
  margin: 0 0 72px;
}

.spotlight.reverse .spotlight-text { order: 2; }

.spotlight h3 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 600; }

.spotlight p { margin: 0 0 12px; color: var(--muted); }

.spotlight ul { margin: 0; padding-left: 20px; }

.spotlight-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.thumbs img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border: 1px solid var(--border);
  background: var(--surface);
}

@media (max-width: 700px) {
  .spotlight.reverse .spotlight-text { order: 0; }
}
