/* Brand surfaces: home, product, kit index, studio.
   Colours come from site.css tokens, so these pages follow the system
   light/dark setting; only the hero backdrop has a per-scheme variant. */

[data-surface="cinema"] body,
body[data-surface="cinema"] { background: var(--bg-canvas); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 55% at 16% 14%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 38% 50% at 80% 6%, rgba(52, 198, 232, 0.14), transparent 72%),
    radial-gradient(ellipse 60% 45% at 55% 100%, rgba(79, 46, 232, 0.08), transparent 75%);
}
@media (prefers-color-scheme: dark) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.72) 48%, rgba(8, 10, 15, 0.42) 100%),
      radial-gradient(ellipse 55% 60% at 18% 18%, rgba(124, 92, 255, 0.22), transparent 70%),
      url("/assets/brand/hero.webp") center / cover no-repeat;
  }
}
.hero > .container-wide { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero .eyebrow { color: var(--brand); }
.display {
  margin: 0 0 var(--space-4);
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}
.display em {
  font-style: normal;
  color: var(--brand);
}
.hero .lede { margin-bottom: var(--space-6); font-size: clamp(1rem, 1.4vw, 1.125rem); }
.hero-actions { margin-bottom: var(--space-5); }
.hero-note { color: var(--text-faint); font-size: var(--text-xs); }

.hero-visual { position: relative; min-height: 260px; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 6% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.30), transparent 68%);
  filter: blur(28px);
}
.device {
  position: relative;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(15, 20, 28, 0.12);
  border-radius: var(--radius-xl);
  background: #0c1118;
  box-shadow: var(--shadow-3);
}
@media (prefers-color-scheme: dark) {
  .device { border-color: rgba(255, 255, 255, 0.14); }
}
.device img { display: block; width: 100%; border-radius: 13px; }
.device-phone {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: 27%;
  padding: 5px;
  border-radius: 18px;
}
.device-phone img { border-radius: 14px; }
.device-caption {
  position: absolute;
  left: 0;
  bottom: -28px;
  color: var(--text-faint);
  font-size: var(--text-xs);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: var(--space-6); }
  .device-phone { width: 24%; right: 0; bottom: -6%; }
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.source-strip span {
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-faint);
  font-size: var(--text-xs);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.section-head h2 { margin: 0; }
.section-head p { max-width: 52ch; margin: 0; color: var(--text-muted); font-size: var(--text-sm); }
.section-head .more { flex: none; font-size: var(--text-sm); }
@media (max-width: 700px) {
  .section-head { display: block; }
  .section-head .more { display: inline-block; margin-top: var(--space-2); }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.feature-card {
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}
.feature-card h3 { margin: var(--space-4) 0 var(--space-2); font-size: 1.08rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); }
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
.icon-tile svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.kit-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  color: inherit;
  text-decoration: none;
}
.kit-card:hover { border-color: var(--brand); text-decoration: none; }
.kit-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(52, 198, 232, 0.18));
  border-bottom: 1px solid var(--border-subtle);
}
.kit-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.kit-card .body { padding: var(--space-5); }
.kit-card h3 { margin: 0 0 var(--space-2); font-size: 1.08rem; }
.kit-card p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); }
@media (max-width: 900px) { .kit-grid { grid-template-columns: 1fr; } }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 50% 80% at 12% 20%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 70% at 88% 80%, rgba(52, 198, 232, 0.16), transparent 70%),
    var(--bg-surface);
}
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band p { max-width: 56ch; color: var(--text-muted); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.showcase + .showcase { margin-top: var(--space-8); }
.showcase h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.showcase p { color: var(--text-muted); }
.showcase .device { max-width: 620px; }
.showcase.reverse .showcase-media { order: 2; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-media { order: 0; }
}

.anchor-bar {
  position: sticky;
  top: 64px;
  z-index: 30;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}
.anchor-bar nav {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.anchor-bar nav::-webkit-scrollbar { display: none; }
.anchor-bar a { color: var(--text-muted); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.anchor-bar a:hover { color: var(--text-strong); }
@media (max-width: 900px) { .anchor-bar { top: 58px; } }

.platform-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.platform-row .chip { min-height: 34px; }
.platform-row .chip.off { opacity: 0.55; }

.price-card {
  padding: var(--space-6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
}
.price-card .amount { margin: var(--space-2) 0; color: var(--text-strong); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.1; }
.price-card ul { margin: var(--space-4) 0 var(--space-5); padding-left: 1.1em; color: var(--text-muted); font-size: var(--text-sm); }

.faq-list { border-top: 1px solid var(--border-subtle); }
.faq-list details { border-bottom: 1px solid var(--border-subtle); padding: var(--space-4) 0; }
.faq-list summary { cursor: pointer; color: var(--text-strong); font-weight: 600; }
.faq-list p { margin: var(--space-3) 0 0; color: var(--text-muted); }

.studio-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.studio-band img { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); }
@media (max-width: 900px) { .studio-band { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .device-phone { display: none; }
}

/* Generated art used as page imagery (not fake product UI). */
.studio-art, .about-art {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  object-fit: cover;
}
.about-art { aspect-ratio: 16 / 10; }
