@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('./assets/fonts/jakarta-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fredoka';
  src: url('./assets/fonts/fredoka-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2c1b1d;
  --ink-muted: #665254;
  --brick: #8b3a2b;
  --brick-dark: #6f2c20;
  --cream: #faf3e3;
  --cream-soft: #f4ead4;
  --white: #ffffff;
  --line: rgba(44, 27, 29, 0.12);
  --green: #3f7d3a;
  --green-hover: #346a30;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Fredoka', ui-rounded, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color: var(--ink);
  background: var(--white);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brick);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  background: #f5efe3;
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--ink);
}

.container {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

/* Slim GPGP-inspired terracotta top navigation */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--brick);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
}

.top-nav {
  width: min(1040px, 100%);
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.top-nav a {
  color: rgba(255, 250, 240, 0.9);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 16px 20px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.top-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.top-nav a.is-active {
  background: var(--white);
  color: var(--brick);
}

/* Full-bleed streetfront hero */
.hero {
  position: relative;
  min-height: clamp(430px, 60vh, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 56px 20px 48px;
  background: #e9d7bc;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(39, 17, 20, 0.32) 0%,
    rgba(39, 17, 20, 0.14) 55%,
    rgba(39, 17, 20, 0.38) 100%
  );
}

.hero-center {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
}

.logo-lockup {
  position: relative;
  display: inline-block;
  padding: 14px 0 8px;
}

.logo-medallion {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: clamp(130px, 18vw, 176px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fff1c9 0%, #f1be68 72%, #d88a45 100%);
  border: 6px solid #4a2229;
  box-shadow: 0 12px 28px rgba(34, 14, 18, 0.34);
  display: grid;
  place-items: center;
  opacity: 0.96;
}

.logo-medallion img {
  width: 66%;
  height: auto;
  opacity: 0.34;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-logo);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.logo-top,
.logo-bottom {
  display: block;
  -webkit-text-stroke: 8px #4a2229;
  paint-order: stroke fill;
  filter: drop-shadow(0 5px 0 rgba(74, 34, 41, 0.42));
}

.logo-top {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  color: #ffe8ad;
}

.logo-bottom {
  font-size: clamp(2.65rem, 6.4vw, 4.45rem);
  color: #ff9c5e;
}

.hero-badges {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.88;
}

.store-btn strong {
  font-size: 15px;
  font-weight: 700;
}

.store-btn-primary {
  background: #1f1416;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(24, 10, 12, 0.32);
}

.store-btn-primary:hover {
  background: #2f1d20;
  color: #ffffff;
  transform: translateY(-1px);
}

.store-btn-soon {
  background: rgba(255, 250, 241, 0.92);
  color: var(--ink);
  border: 1.5px solid rgba(74, 34, 41, 0.25);
  box-shadow: 0 8px 18px rgba(24, 10, 12, 0.18);
}

.store-btn-soon:hover {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-1px);
}

.hero-footnote {
  margin: 16px auto 0;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #fffaf0;
  background: rgba(44, 22, 26, 0.62);
  padding: 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Alternating calm bands */
.band {
  padding: 76px 0;
}

.band-cream {
  background: var(--cream);
}

.band-white {
  background: var(--white);
}

.band-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.band-sub {
  margin: 0 auto 44px;
  text-align: center;
  max-width: 540px;
  color: var(--ink-muted);
  font-size: 16px;
}

/* Centered Showcase Carousel (GPGP media-first feel) */
.showcase {
  max-width: 820px;
  margin: 0 auto 48px;
}

.showcase-stage {
  position: relative;
  display: flex;
  align-items: center;
}

.stage-frame {
  width: 100%;
  padding: 0;
  border: 1px solid rgba(44, 27, 29, 0.16);
  border-radius: 14px;
  overflow: hidden;
  background: #231416;
  box-shadow: 0 18px 40px rgba(44, 27, 29, 0.14);
  cursor: zoom-in;
}

.stage-frame img {
  width: 100%;
  aspect-ratio: 20 / 9;
  object-fit: cover;
}

.stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(44, 27, 29, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transition: background-color 0.14s ease, transform 0.14s ease;
}

.stage-arrow:hover {
  background: #ffffff;
}

.stage-prev {
  left: -20px;
}

.stage-next {
  right: -20px;
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.showcase-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  text-align: center;
}

.stage-dots {
  display: flex;
  gap: 8px;
}

.stage-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(44, 27, 29, 0.22);
  cursor: pointer;
  transition: width 0.18s ease, background-color 0.18s ease;
}

.stage-dot.is-active {
  width: 24px;
  background: var(--brick);
}

/* Intro copy */
.intro-copy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.intro-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.intro-copy p {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 16.5px;
  line-height: 1.72;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

/* Clean borderless feature row */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 14px;
}

.feature-icon img {
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Cast strip */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.cast-item {
  text-align: center;
}

.cast-portrait {
  width: 112px;
  height: 112px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #f0e2c3;
  border: 1px solid rgba(44, 27, 29, 0.1);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.cast-portrait img {
  width: 96%;
  height: auto;
  object-fit: contain;
}

.cast-item h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
}

.cast-item p {
  margin: 0 auto;
  max-width: 190px;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-muted);
}

/* Install band */
.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.install-steps h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.install-lead {
  margin: 0 0 28px;
  color: var(--ink-muted);
  font-size: 15.5px;
}

.step-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(44, 27, 29, 0.18);
  color: var(--brick);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.step-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-list p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.download-pill {
  display: inline-block;
  text-decoration: none;
  background: var(--green);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background-color 0.14s ease;
}

.download-pill:hover {
  background: var(--green-hover);
  color: #ffffff;
}

.muted-note {
  font-size: 14px;
  color: var(--ink-muted);
}

.spec-panel {
  background: #fcfaf6;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.spec-panel h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
}

.spec-list {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.spec-list dt {
  color: var(--ink-muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.checksum {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

.checksum-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.copy-sha {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
}

.copy-sha:hover {
  background: var(--cream-soft);
}

.checksum code {
  display: block;
  background: transparent;
  padding: 0;
  font-size: 11.5px;
  word-break: break-all;
  color: var(--ink-muted);
}

.spec-foot {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Privacy document */
.privacy-container {
  max-width: 680px;
}

.privacy-container h1 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.privacy-meta {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--ink-muted);
}

.privacy-container h2 {
  margin: 28px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

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

.privacy-back {
  margin-top: 32px;
}

/* Footer */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brick);
  text-decoration: underline;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 10, 12, 0.9);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1140px, 94vw);
  text-align: center;
}

.lightbox-figure img {
  border-radius: 10px;
  max-height: 80vh;
  margin-inline: auto;
}

.lightbox-figure figcaption {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 250, 240, 0.9);
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .install-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stage-prev {
    left: 10px;
  }
  .stage-next {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .top-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .top-nav a {
    padding: 13px 9px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .band {
    padding: 54px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
  .store-btn {
    width: min(260px, 100%);
    justify-content: center;
  }
}
