:root {
  --bg: #09090b;
  --surface: #111114;
  --line: rgba(255, 255, 255, 0.09);
  --line-hover: rgba(255, 255, 255, 0.2);
  --text: #fafafa;
  --muted: #8a8f98;
  --subtle: #5c606a;
  --accent: #dcfc35;
  --accent-hover: #e8ff6e;
  --on-accent: #09090b;
  --max: 1040px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

.domain-banner {
  position: relative;
  z-index: 20;
  background: linear-gradient(90deg, rgba(220, 252, 53, 0.13) 0%, rgba(220, 252, 53, 0.06) 50%, rgba(220, 252, 53, 0.13) 100%), #111217;
  border-bottom: 1px solid rgba(220, 252, 53, 0.28);
  padding: 11px 20px;
}

.domain-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

.domain-banner__main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.domain-banner__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(220, 252, 53, 0.85);
  flex-shrink: 0;
}

.domain-banner__link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.domain-banner__link:hover {
  color: var(--accent-hover);
}

.domain-banner__date {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.top-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.top-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("assets/posters-bg.png") center top / cover no-repeat;
  opacity: 0.14;
  filter: saturate(0.75);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
}

.nav-wrap {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand--sm {
  font-size: 0.94rem;
}

.brand--sm img {
  width: 22px;
  height: 22px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav__links a {
  transition: color 140ms ease;
}

.nav__links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn--sm {
  height: 34px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--line-hover);
  background: #17171c;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 24px 72px;
}

.hero__head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0 auto 28px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.code-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 8px;
  border-radius: 8px;
  background: #ff7a1a;
  border: 1px solid transparent;
  color: #1a0e04;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease;
}

.code-box:hover {
  background: #ff8c38;
}

.code-box__label {
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.16);
  color: #1a0e04;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.code-box__value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.hero__meta {
  margin: 16px 0 0;
  color: var(--subtle);
  font-size: 0.82rem;
}

.hero__shot {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.hero__shot img {
  width: 100%;
}

.specs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.spec h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.spec p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.install {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 96px;
  border-top: 1px solid var(--line);
}

.install__head {
  margin-bottom: 56px;
}

.install__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.install__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
  border-top: none;
}

.step:last-child {
  padding-bottom: 0;
}

.step--reverse .step__copy {
  order: 2;
}

.step--reverse .step__media {
  order: 1;
}

.step__num {
  display: block;
  margin-bottom: 10px;
  color: var(--subtle);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.step__copy h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 38ch;
}

.step__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-card {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.step__media--finger {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  padding-bottom: 56px;
}

.step__media--finger .step-card {
  max-width: none;
}

.step-finger {
  position: absolute;
  width: 88px;
  height: auto;
  left: 18%;
  bottom: 8px;
  transform: rotate(-8deg);
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  z-index: 2;
}

.step-tv {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 48px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer__links a {
  transition: color 140ms ease;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  padding-top: 24px;
  display: grid;
  gap: 12px;
}

.footer__disclaimer {
  margin: 0;
  color: var(--subtle);
  font-size: 0.8rem;
  line-height: 1.65;
  max-width: 86ch;
}

.footer__copy {
  margin: 0;
  color: var(--subtle);
  font-size: 0.8rem;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.legal-page__back {
  display: inline-block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
  transition: color 140ms ease;
}

.legal-page__back:hover {
  color: var(--text);
}

.legal-page h1 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.legal-page__updated {
  margin: 0 0 36px;
  color: var(--subtle);
  font-size: 0.85rem;
}

.legal-page h2 {
  margin: 32px 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.legal-page ul {
  padding-left: 20px;
}

.auth-modal,
.code-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-modal__scrim,
.code-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.auth-modal__card,
.code-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 28px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.auth-modal__close:hover {
  color: var(--text);
  border-color: var(--line-hover);
}

.auth-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.auth-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 0.82rem;
  color: var(--muted);
}

.field__input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-error {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.85rem;
}

.auth-reset-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.auth-fine {
  margin: 4px 0 0;
  color: var(--subtle);
  font-size: 0.78rem;
  text-align: center;
}

.auth-fine a {
  color: var(--muted);
  text-decoration: underline;
}

.account-card__head {
  margin-bottom: 16px;
}

.account-user-strip {
  padding: 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.account-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-user-info h3 {
  margin: 0;
  font-size: 0.94rem;
}

.account-user-info p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.account-meta-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.account-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-label {
  color: var(--muted);
}

.account-actions {
  display: grid;
  gap: 8px;
}

.account-signout-btn {
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.88rem;
  cursor: pointer;
}

.code-modal__title {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 600;
}

.code-display {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.code-char {
  width: 54px;
  height: 62px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--accent);
}

.code-bar {
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 10px;
}

.code-bar__fill {
  height: 100%;
  background: var(--accent);
  width: 100%;
}

.code-modal__hint {
  margin: 0 0 16px;
  text-align: center;
  color: var(--subtle);
  font-size: 0.82rem;
}

.code-steps {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  display: grid;
  gap: 6px;
}

.code-copy {
  width: 100%;
}

@media (max-width: 860px) {
  .hero {
    padding: 56px 20px 52px;
  }

  .specs {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step,
  .step--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }

  .step--reverse .step__copy,
  .step--reverse .step__media {
    order: initial;
  }
}

@media (max-width: 600px) {
  .nav {
    height: 58px;
    padding: 0 18px;
  }

  .nav__links {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 44px 18px 44px;
  }

  .hero__head {
    margin-bottom: 36px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .lede {
    font-size: 0.96rem;
    margin-bottom: 24px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn,
  .hero__cta .code-box {
    width: 100%;
    height: 46px;
    justify-content: center;
  }

  .hero__shot {
    border-radius: 10px;
  }

  .specs {
    padding: 40px 18px;
    gap: 24px;
  }

  .install {
    padding: 52px 18px 64px;
  }

  .install__head {
    margin-bottom: 36px;
  }

  .step__media--finger {
    padding-bottom: 42px;
  }

  .step-finger {
    width: 68px;
    bottom: 4px;
  }

  .footer__inner {
    padding: 32px 18px 40px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .legal-page {
    padding: 40px 18px 64px;
  }
}
