/* The landing page; colours, type, cards, buttons, the topbar and the 3D viewer come from assembly/guide.css. */
.page { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 80px; }
.page h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 64px 0 .5em; }
.page .lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.hero { padding-top: 40px; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); margin: 0; letter-spacing: -.04em; line-height: 1; }
.hero .tagline { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 750; letter-spacing: -.02em; margin: .25em 0 .6em; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.features { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.features li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }
.features svg {
  flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--accent-soft);
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hero .summary { margin: 10px 4px 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; }
a.btn { text-decoration: none; }
.btn.big { font-size: 1rem; padding: 10px 18px; border-radius: 11px; }
.hero-stage { margin: 0; position: relative; aspect-ratio: 3 / 2; overflow: hidden; touch-action: pan-y; }
.hero-stage .slide { position: absolute; inset: 0; margin: 0; }
.hero-stage .slide[hidden] { display: none; }
.hero-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stage .viewer { height: 100%; min-height: 0; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button {
  flex: 1 1 0; min-width: 0; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; border-radius: 9px; background: var(--card); opacity: .7; transition: opacity .15s, border-color .15s;
}
.thumbs button:hover, .thumbs button:focus-visible { opacity: 1; }
.thumbs button[aria-selected="true"] { opacity: 1; border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-3d {
  display: grid; place-items: center; width: 100%; height: 100%;
  font: 800 1.1rem var(--mono); color: var(--accent); background: var(--accent-soft);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.band {
  margin-top: 56px; padding: 26px clamp(18px, 3vw, 32px); border-radius: var(--radius);
  background: linear-gradient(120deg, var(--accent-soft), var(--orange-soft));
}
.band h2 { margin-top: 0; }
.band p { font-size: 1.08rem; max-width: 75ch; margin: 0; }
.band .signoff { margin-top: .5em; color: var(--muted); }

.cards.how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.ways { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card h3 { font-size: 1.12rem; margin: 2px 0 .4em; }
.card p { margin: 0 0 .6em; font-size: .95rem; }
.way { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.way p { flex: 1; color: var(--muted); }
.way .btn { align-self: flex-start; }
.way:hover { border-color: var(--accent); transform: translateY(-2px); }
.way:hover .btn:not(.primary) { border-color: var(--accent); color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery .photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: .82rem; color: var(--muted); padding: 8px 12px 12px; }

@media (max-width: 1100px) {
  .gallery, .cards.ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cards.how, .cards.ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
