:root {
  --orange: #dd6828;
  --orange-dark: #c55a20;
  --ink: #141414;
  --nav: #0a0a0a;
  --card: #1a1a1a;
  --fuchsia: #f0abfc;
  --fuchsia-bright: #e879f9;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: Poppins, ui-sans-serif, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

button,
a { cursor: pointer; }

button,
input { font: inherit; color: inherit; }

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #1f2937;
  background: var(--nav);
}

.header-account {
  position: absolute;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.header-account a,
.header-account button {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.logo-link { display: flex; }

.logo { height: 2rem; width: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn svg { width: 1rem; height: 1rem; }

.hero { position: relative; overflow: hidden; }

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.5) 0%, rgba(8, 10, 14, 0.22) 42%, rgba(8, 10, 14, 0.78) 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-copy {
  max-width: 56rem;
  min-height: 28rem;
  margin: 0 auto;
  padding: 5rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0.85rem 0 0;
  max-width: 18ch;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.btn {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--orange-dark); }

.btn-lg {
  margin-top: 1.75rem;
  padding: 0.95rem 1.85rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(221, 104, 40, 0.32);
}

.platforms {
  margin-top: 3.5rem;
  background: rgba(0, 0, 0, 0.7);
}

.platforms-inner {
  padding: 1.25rem 1.5rem 2.25rem;
}

.platforms h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
}

.platform-row img { height: 0.875rem; width: auto; }

.platform-row img.platform-samsung { height: 0.75rem; }

.tv-band,
.pro-band { position: relative; overflow: hidden; }

.tv-band {
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
  background: var(--card);
  padding: 4rem 0;
}

.pro-band {
  border-bottom: 1px solid #1f2937;
  background: var(--nav);
  padding: 3.5rem 0;
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(64px);
}

.glow-right {
  top: 0;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(221, 104, 40, 0.2);
}

.glow-left {
  left: -4rem;
  bottom: 0;
  width: 14rem;
  height: 14rem;
  background: rgba(221, 104, 40, 0.1);
}

.glow-low { background: rgba(221, 104, 40, 0.1); }

.tv-grid,
.pro-card {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tv-copy { max-width: 36rem; }

.tv-copy h2,
.pro-copy h2 {
  margin: 0.75rem 0 0;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tv-copy p,
.pro-copy p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.65;
}

.tv-copy .btn { margin-top: 1.5rem; padding: 0.9rem 1.5rem; font-size: 0.875rem; }

.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 2.5rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.75rem;
  background: #000;
  text-align: left;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.video-card:hover::after { background: rgba(0, 0, 0, 0.35); }

.play-badge {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-badge svg {
  width: 4rem;
  height: 4rem;
  padding: 1.1rem;
  border-radius: 999px;
  background: var(--orange);
  fill: #fff;
  stroke: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.video-card:hover .play-badge svg { transform: scale(1.1); }

.pro-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(26, 26, 26, 0.8);
}

.pro-copy { max-width: 36rem; }
.pro-copy h2 { font-size: 1.5rem; }

.pro-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.studio-logo { height: 2.75rem; width: auto; }

.pro-actions .btn-lg {
  margin-top: 0;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
}

.footer {
  margin-top: auto;
  border-top: 1px solid #1f2937;
  background: var(--nav);
}

.footer-logo-link {
  display: flex;
  justify-content: center;
  padding: 3rem 1.25rem 2rem;
}

.footer-logo-link img { height: 2.75rem; width: auto; }

.footer-legal {
  border-top: 1px solid #1f2937;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.footer-legal p { margin: 0; }

.equal-housing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.equal-housing img { height: 1.25rem; width: auto; opacity: 0.8; }

.cs-modal { position: fixed; inset: 0; z-index: 80; }
.cs-modal[hidden] { display: none !important; pointer-events: none !important; }

.cs-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cs-modal-video .cs-backdrop { background: rgba(0, 0, 0, 0.8); }

.cs-sheet {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 2.5rem 1rem;
}

.connect-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 28rem;
  margin: auto 0;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: var(--ink);
  pointer-events: auto;
}

.icon-button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  border: 0;
  border-radius: 5px;
  padding: 0.5rem;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}

.icon-button svg { width: 1rem; height: 1rem; display: block; }
.icon-button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.tv-mark {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  object-fit: contain;
}

.connect-card h2 {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.connect-card > p {
  margin: 0.5rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.connect-card input {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: var(--nav);
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.35em;
  outline: none;
}

.connect-card input::placeholder {
  letter-spacing: normal;
  color: #6b7280;
}

.connect-card input:focus { border-color: var(--orange); }

.account-card input {
  position: relative;
  z-index: 3;
  letter-spacing: normal;
  text-align: left;
  font-size: 1rem;
  margin-top: 0.75rem;
}

.account-switch {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.account-switch button,
.account-switch a {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.account-switch a + a { margin-left: 1rem; }

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 280px;
  max-width: 100%;
  height: 40px;
  margin: 0.75rem auto 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.social-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  stroke: none;
}

.social-btn:hover { background: rgba(255, 255, 255, 0.1); }

.google-slot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  height: 40px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.account-or {
  margin: 1rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.connect-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.connect-actions .btn {
  border-radius: 5px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.connect-message {
  margin: 1rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: var(--nav);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.connect-help {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: var(--nav);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.65;
}

.help-title { margin: 0; font-weight: 500; color: #fff; }

.connect-help ol { margin: 0.75rem 0 0; padding-left: 1.25rem; }
.connect-help li + li { margin-top: 0.5rem; }
.connect-help span { color: #fff; }

.help-note { margin: 0.75rem 0 0; color: rgba(255, 255, 255, 0.55); }

.video-sheet {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(1100px, calc(100% - 2rem));
  margin: 4.5rem auto 2rem;
}

.video-close {
  position: absolute;
  top: -3rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.video-close svg { width: 1rem; height: 1rem; }
.video-close:hover { background: #000; }

.video-frame {
  overflow: hidden;
  border-radius: 0.75rem;
  background: #000;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-fade-up { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.home-fade-up-delay { animation-delay: 0.12s; }

@media (min-width: 640px) {
  .header { padding: 1rem 2rem; }
  .logo { height: 2.75rem; }
  .hero-copy h1 { max-width: none; font-size: 2.25rem; }
  .platforms h2 { font-size: 0.875rem; }
  .tv-band { padding: 5rem 0; }
  .tv-copy h2 { font-size: 2.25rem; }
  .tv-grid,
  .pro-band .pro-card { padding-left: 2rem; padding-right: 2rem; }
  .pro-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .pro-copy h2 { font-size: 1.875rem; }
  .pro-actions { align-items: center; }
  .studio-logo { height: 3rem; }
  .footer-legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .cs-sheet { align-items: center; padding: 4rem 1rem; }
  .connect-card { padding: 1.75rem; }
  .footer-logo-link img { height: 3.25rem; }
}

@media (min-width: 768px) {
  .hero-copy {
    min-height: 22rem;
    padding: 4rem 2rem 2rem;
  }
}

@media (min-width: 1024px) {
  .platforms { margin-top: 4rem; }
  .platforms-inner { padding: 1.5rem 2.5rem 2.75rem; }
  .platform-row { gap: 0.75rem 2.5rem; }
  .platform-row img { height: 1rem; }
  .platform-row img.platform-samsung { height: 0.875rem; }
  .tv-grid {
    display: grid;
    grid-template-columns: 1fr minmax(0, 28rem);
    align-items: center;
    gap: 2.5rem;
  }
  .video-card { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-fade-up,
  .play-badge svg { animation: none; transition: none; }
}
