:root {
  color-scheme: dark;
  font-size: clamp(16px, 0.45vw + 12px, 24px);
  --bg: #050613;
  --text: #f7f5ff;
  --muted: #b9b4ca;
  --line: rgba(255,255,255,.12);
  --purple: #8b5cf6;
  --pink: #ec4899;
  --cyan: #22d3ee;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 82% 10%, rgba(139,92,246,.26), transparent 36rem),
    radial-gradient(circle at 10% 82%, rgba(236,72,153,.14), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.header {
  width: min(90%, 1400px);
  margin: 0 auto;
  padding: 1.5rem 0 0;
  text-align: center;
}

.brand {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand span {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shell {
  min-height: calc(100svh - 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 24px;
  padding: 10px 0 4rem;
}

.copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--cyan);
  font-size: .9rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.copy h1 {
  margin: 0 0 .8rem;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  white-space: nowrap;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.lead {
  margin: 0 0 .4rem;
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  line-height: 1.25;
  font-weight: 780;
  text-wrap: balance;
}

.sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: .82;
  text-wrap: pretty;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
}

.button {
  min-height: 3.5rem;
  padding: .8rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: .95rem;
  text-decoration: none;
  font-weight: 850;
  font-size: 1rem;
}

.primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 1rem 2.5rem rgba(139,92,246,.3);
}

.secondary {
  background: rgba(255,255,255,.04);
}

.visual {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(18,19,35,.84);
  box-shadow: 0 1.25rem 3.125rem rgba(0,0,0,.3);
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.local-preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
}

.local-preview[hidden],
.video iframe[hidden] {
  display: none;
}

.local-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.local-preview span {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  padding: .7rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .75rem;
  background: rgba(5,6,19,.88);
  font-weight: 800;
  white-space: nowrap;
}

@media (min-width: 1920px) {
  :root { font-size: 19px; }

  .header,
  .shell {
    max-width: 1600px;
  }

  .copy {
    max-width: 1100px;
  }

  .visual {
    max-width: 1300px;
  }
}

@media (min-width: 2560px) {
  :root { font-size: 22px; }

  .header,
  .shell {
    max-width: 1900px;
  }

  .copy {
    max-width: 1400px;
  }

  .visual {
    max-width: 1550px;
  }
}

@media (min-width: 3200px) {
  :root { font-size: 24px; }

  .header,
  .shell {
    max-width: 2200px;
  }

  .visual {
    max-width: 1800px;
  }
}

@media (max-width: 1100px) {
  .copy h1 {
    white-space: normal;
    text-wrap: balance;
  }

  .shell {
    width: min(100% - 24px, 1400px);
    gap: 20px;
    padding-top: 10px;
  }

  .header {
    width: min(100% - 24px, 1400px);
  }
}

@media (max-width: 640px) {
  .button {
    width: 100%;
  }

  .local-preview span {
    max-width: calc(100% - 2rem);
    white-space: normal;
  }
}
