/* CastLens — cinematic dark theme. Dependency-free, system fonts for performance. */

:root {
  --bg: #0b0b12;
  --bg-2: #11111c;
  --surface: #161626;
  --surface-2: #1d1d31;
  --border: #2a2a40;
  --text: #ececf3;
  --muted: #a3a3b8;
  --brand-a: #ff5e7e;
  --brand-b: #7a5cff;
  --ring: rgba(122, 92, 255, 0.55);
  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}
h3 {
  font-size: 1.18rem;
}
p {
  margin: 0 0 1rem;
}
a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-a);
  margin-bottom: 0.8rem;
}
.eyebrow.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 10px 30px -10px var(--ring);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px var(--ring);
}
.btn--primary:active {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 18, 0.75);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand__name {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav__links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav__links a:hover {
  color: var(--text);
}
.nav__cta {
  margin-left: 4px;
  padding: 10px 18px;
}

@media (max-width: 820px) {
  .nav__links {
    display: none;
  }
  .nav__cta {
    margin-left: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--muted);
  max-width: 60ch;
}
.hero__tagline {
  font-style: italic;
  color: var(--text);
  opacity: 0.85;
  margin-top: -0.2rem;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      40% 60% at 20% 10%,
      rgba(255, 94, 126, 0.22),
      transparent 70%
    ),
    radial-gradient(
      45% 65% at 85% 0%,
      rgba(122, 92, 255, 0.26),
      transparent 70%
    );
  filter: blur(6px);
}

/* Waitlist form */
.waitlist {
  margin-top: 28px;
  max-width: 620px;
}
.waitlist--cta {
  margin-inline: auto;
}
.waitlist__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.waitlist input,
.waitlist select {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 15px;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  appearance: none;
}
.waitlist select {
  flex: 0 1 190px;
}
.waitlist input::placeholder {
  color: #6f6f86;
}
.waitlist input:focus,
.waitlist select:focus {
  border-color: var(--brand-b);
}
.waitlist .btn {
  flex: 0 0 auto;
}
.waitlist__status {
  margin: 12px 2px 0;
  font-size: 0.92rem;
  color: var(--muted);
  min-height: 1.2em;
}
.waitlist__status.is-error {
  color: #ff9aa9;
}
.waitlist__status.is-success {
  color: #7ee0a8;
}

/* Store badges */
.stores {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.stores__soon {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-a);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  opacity: 0.72;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}
.store-badge:hover {
  opacity: 1;
  border-color: var(--brand-b);
}
.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 600;
}
.store-badge small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Bands & sections */
.band {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--border);
  padding: clamp(44px, 7vw, 80px) 0;
}
.band__title {
  max-width: 18ch;
}
.band__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
}
.section--alt {
  background: var(--bg-2);
}
.section__title {
  margin-bottom: 1.4em;
}
.section__title.center,
.section .center {
  text-align: center;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
}
.step p {
  color: var(--muted);
  margin: 0;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.split__text .btn {
  margin-top: 18px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
.ticks--sm li {
  color: var(--muted);
}

/* Phone mock */
.split__media {
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 18;
  border-radius: 38px;
  background: linear-gradient(160deg, #20203a, #121221);
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: var(--shadow);
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0b0b12;
  border-radius: 0 0 14px 14px;
}
.phone__screen {
  height: 100%;
  border-radius: 26px;
  background: radial-gradient(120% 80% at 50% 0%, #1c1c33, #0e0e1a);
  padding: 40px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-stub {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.82rem;
  color: var(--text);
}
.card-stub--ghost {
  color: var(--muted);
  font-style: italic;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.dot--rec {
  background: var(--brand-a);
  box-shadow: 0 0 0 4px rgba(255, 94, 126, 0.2);
}
.rating {
  font-size: 0.82rem;
  color: #ffd166;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rating__off {
  color: #4a4a63;
}
.rating em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.76rem;
}
.bar {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
  opacity: 0.8;
}
.bar--short {
  width: 60%;
  opacity: 0.4;
}

/* Cards & features */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 {
  color: var(--text);
}
.card > p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature h3 {
  margin-bottom: 0.3em;
}
.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}

/* FAQ */
.faq {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-a);
  line-height: 1;
}
.faq[open] summary::after {
  content: "\2212";
}
.faq p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
}

/* Final CTA */
.cta {
  padding: clamp(60px, 9vw, 110px) 0;
  background:
    radial-gradient(
      60% 100% at 50% 0%,
      rgba(122, 92, 255, 0.18),
      transparent 70%
    ),
    radial-gradient(
      50% 100% at 50% 100%,
      rgba(255, 94, 126, 0.14),
      transparent 70%
    ),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.cta__sub {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 44px 0 28px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__brand p {
  color: var(--muted);
  max-width: 36ch;
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
}
.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer__links a:hover {
  color: var(--text);
}
.footer__legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.footer__legal p {
  color: #6f6f86;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .steps,
  .cards,
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split__media {
    order: -1;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .steps,
  .cards,
  .features {
    grid-template-columns: 1fr;
  }
  .waitlist select {
    flex-basis: 100%;
  }
  .waitlist .btn {
    width: 100%;
  }
}
