:root {
  --bg: #070511;
  --bg-2: #130f21;
  --ink: #fff9f2;
  --muted: #cfc6d8;
  --dim: #91879f;
  --line: rgba(255, 255, 255, 0.13);
  --glass: rgba(14, 11, 24, 0.72);
  --glass-2: rgba(28, 23, 43, 0.72);
  --gold: #ffd36d;
  --amber: #ff9e57;
  --teal: #5de8d1;
  --blue: #77c7ff;
  --green: #7df0a0;
  --violet: #b98aff;
  --danger: #ff6f66;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 111, 102, 0.13) 0 18%, transparent 18% 100%),
    linear-gradient(245deg, transparent 0 64%, rgba(93, 232, 209, 0.12) 64% 78%, transparent 78%),
    linear-gradient(180deg, #070511 0%, #130f21 46%, #080511 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 74%);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.82rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(7, 5, 17, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
.store-button,
.button,
.run-chip,
.final-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 950;
}

.brand-mark {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff8c7 0 20%, #ffd36d 21% 42%, transparent 43%),
    conic-gradient(from 28deg, var(--teal), var(--gold), var(--danger), var(--violet), var(--teal));
  box-shadow: 0 0 22px rgba(255, 211, 109, 0.78);
}

nav {
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.65rem);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 820;
}

nav a,
.nav-store,
.button,
.store-button,
.contact-links a,
footer a {
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--gold);
}

.nav-store {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  color: #120b08;
  background: linear-gradient(135deg, #fff4b7, var(--gold) 55%, var(--amber));
  border-radius: 0.5rem;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(255, 158, 87, 0.22);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(25rem, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  max-width: 1380px;
  margin-inline: auto;
  padding: 7rem clamp(1rem, 4vw, 3.5rem) 4rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 4vw, 3.5rem);
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 109, 0.48), rgba(93, 232, 209, 0.28), transparent);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.05rem;
  font-size: clamp(5rem, 9.6vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.hero-lede,
.section-heading p,
.shrine-copy p,
.pressure-copy p,
.play-notes p,
.quick-signals p,
.shrine-details span {
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.store-button {
  width: fit-content;
  min-height: 3.85rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  color: #130d08;
  background: linear-gradient(135deg, #fff6c4 0%, var(--gold) 54%, var(--amber) 100%);
  border-radius: 0.65rem;
  font-weight: 950;
  box-shadow: 0 22px 55px rgba(255, 158, 87, 0.24);
}

.store-button span {
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.store-button strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.button {
  min-height: 3.85rem;
  justify-content: center;
  padding: 0.86rem 1.05rem;
  border-radius: 0.65rem;
  font-weight: 920;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
}

.hero-showcase {
  position: relative;
  z-index: 4;
  min-height: 43rem;
}

.hero-backdrop {
  position: absolute;
  inset: 9% 0 14% 8%;
  border: 1px solid rgba(255, 211, 109, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 211, 109, 0.15), rgba(119, 199, 255, 0.12) 46%, rgba(255, 111, 102, 0.16)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 4.75rem);
  transform: skewY(-7deg);
}

.device {
  margin: 0;
  border-radius: 2.35rem;
  padding: 0.45rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.58);
}

.device img {
  width: 100%;
  border-radius: 1.9rem;
}

.primary-device {
  position: absolute;
  right: 6%;
  top: 0;
  width: min(37vw, 24rem);
  transform: rotate(2.6deg);
}

.secondary-device {
  position: absolute;
  left: 2%;
  bottom: 1rem;
  width: min(29vw, 17rem);
  transform: rotate(-8deg);
}

.run-chip {
  position: absolute;
  z-index: 6;
  min-width: 9.4rem;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(7, 5, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.8rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.run-chip span {
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 850;
}

.run-chip strong {
  font-size: 1.25rem;
}

.chip-score {
  left: 0;
  top: 20%;
}

.chip-chain {
  right: 0;
  bottom: 18%;
}

.quick-signals {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 3.5rem);
}

.quick-signals div {
  min-height: 11rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.055);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-signals div:first-child {
  border-left: 1px solid var(--line);
}

.quick-signals div:last-child {
  border-right: 1px solid var(--line);
}

.quick-signals span,
.quick-signals strong {
  display: block;
}

.quick-signals span {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-weight: 950;
}

.quick-signals strong {
  margin-bottom: 0.45rem;
  font-size: 1.24rem;
}

.quick-signals p {
  margin-bottom: 0;
  font-size: 1rem;
}

.section {
  max-width: 1380px;
  margin-inline: auto;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 4vw, 3.5rem);
}

.section-heading {
  max-width: 63rem;
  margin-bottom: 3rem;
}

.section-heading.compact {
  max-width: 58rem;
}

.play-layout {
  display: grid;
  grid-template-columns: minmax(21rem, 0.74fr) minmax(20rem, 0.46fr);
  align-items: stretch;
  gap: 1.2rem;
}

.wide-shot {
  margin: 0;
  min-height: 38rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass);
}

.wide-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.play-notes {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
}

.play-notes article {
  min-height: 12rem;
  padding: 1.35rem;
  background: rgba(11, 8, 20, 0.88);
}

.note-mark {
  display: block;
  width: 2.3rem;
  height: 0.32rem;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  box-shadow: 0 0 24px currentColor;
}

.note-mark.gold {
  color: var(--gold);
  background: var(--gold);
}

.note-mark.blue {
  color: var(--blue);
  background: var(--blue);
}

.note-mark.green {
  color: var(--green);
  background: var(--green);
}

.shrine-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(24rem, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.shrine-copy {
  max-width: 39rem;
}

.shrine-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(15rem, 0.55fr);
  align-items: center;
  gap: 1rem;
}

.shrine-device {
  width: min(100%, 22rem);
  justify-self: end;
}

.shrine-details {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.11);
}

.shrine-details div {
  padding: 1.2rem;
  background: rgba(15, 11, 25, 0.82);
}

.shrine-details strong,
.shrine-details span {
  display: block;
}

.shrine-details strong {
  margin-bottom: 0.4rem;
}

.shrine-details span {
  font-size: 0.98rem;
}

.pressure-section {
  display: grid;
  grid-template-columns: minmax(20rem, 0.86fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(115deg, rgba(255, 111, 102, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pressure-shot {
  margin: 0;
  max-height: 44rem;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 109, 0.2);
}

.pressure-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pressure-copy {
  max-width: 34rem;
}

.screens-section {
  overflow: hidden;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(10rem, 1fr));
  gap: 0.85rem;
}

.screens-grid img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.screens-grid img:nth-child(2),
.screens-grid img:nth-child(5) {
  transform: translateY(2rem);
}

.screens-grid img:nth-child(3) {
  transform: translateY(-1.2rem);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.62fr);
  align-items: center;
  gap: 2rem;
  background:
    linear-gradient(100deg, rgba(255, 211, 109, 0.14), rgba(119, 199, 255, 0.08) 48%, rgba(185, 138, 255, 0.12)),
    rgba(255, 255, 255, 0.035);
  border-top: 1px solid var(--line);
}

.final-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.contact-links {
  display: grid;
  gap: 0.55rem;
}

.contact-links a {
  padding: 0.95rem 1rem;
  color: var(--muted);
  background: rgba(7, 5, 17, 0.48);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  font-weight: 820;
}

.contact-links a:hover {
  color: var(--ink);
  border-color: rgba(255, 211, 109, 0.38);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  color: var(--dim);
  background: #05030b;
}

.legal-page {
  max-width: 58rem;
  margin-inline: auto;
  padding: 8rem clamp(1rem, 5vw, 5rem) 5rem;
}

.legal-page h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
}

.legal-page h2 {
  margin-top: 2.5rem;
  font-size: 1.7rem;
  line-height: 1.15;
}

.legal-page p {
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-page a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  nav {
    display: none;
  }

  .hero,
  .shrine-section,
  .pressure-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
  }

  .hero-showcase {
    order: -1;
    min-height: 35rem;
  }

  .primary-device {
    width: min(58vw, 22rem);
    right: 3%;
  }

  .secondary-device {
    width: min(42vw, 14rem);
    left: 3%;
  }

  .quick-signals {
    grid-template-columns: 1fr;
  }

  .quick-signals div,
  .quick-signals div:first-child,
  .quick-signals div:last-child {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .play-layout,
  .shrine-grid {
    grid-template-columns: 1fr;
  }

  .shrine-device {
    justify-self: start;
  }

  .screens-grid {
    grid-template-columns: repeat(6, minmax(10rem, 38vw));
    overflow-x: auto;
    padding: 1.5rem 0 2.8rem;
    scroll-snap-type: x mandatory;
  }

  .screens-grid img {
    scroll-snap-align: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 1rem;
  }

  .nav-store {
    min-height: 2.25rem;
    padding-inline: 0.72rem;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 4.55rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-lede,
  .section-heading p,
  .shrine-copy p,
  .pressure-copy p,
  .play-notes p,
  .legal-page p {
    font-size: 1.02rem;
  }

  .hero-showcase {
    min-height: 30rem;
  }

  .hero-backdrop {
    inset: 12% 0 20% 0;
  }

  .run-chip {
    min-width: 8.2rem;
    padding: 0.75rem;
  }

  .chip-score {
    top: 16%;
  }

  .chip-chain {
    bottom: 12%;
  }

  .wide-shot,
  .pressure-shot {
    min-height: 30rem;
  }

  .screens-grid {
    grid-template-columns: repeat(6, minmax(10rem, 72vw));
  }

  footer {
    flex-direction: column;
  }
}
