:root {
  --bg: #020407;
  --text: #f7f7f7;
  --muted: #d1d2d5;
  --soft: #a2a5aa;
  --red: #ef202b;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
  font-family: var(--font);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(1.5rem, 5vh, 4rem) clamp(1.5rem, 5.8vw, 5.8rem) clamp(1.5rem, 4vh, 3.2rem);
  background: #020407;
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("/assets/cinema-room.webp") center / cover no-repeat;
  transform: scale(1.004);
}

.page-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(1, 4, 8, 0.96) 0%, rgba(2, 5, 9, 0.82) 25%, rgba(2, 5, 9, 0.2) 52%, rgba(1, 3, 6, 0.08) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 30%, rgba(0, 0, 0, 0.1));
}

.site-header {
  position: relative;
  z-index: 3;
}

.site-wordmark {
  width: clamp(10.5rem, 13vw, 14.5rem);
  filter: drop-shadow(0 0.65rem 1.5rem rgba(0, 0, 0, 0.55));
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  padding-block: clamp(2rem, 6vh, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(45rem, 48vw);
}

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 6.2vw, 7.2rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h1 span {
  color: var(--red);
  text-shadow: 0 0 2rem rgba(239, 32, 43, 0.24);
}

.lead {
  margin: clamp(1.4rem, 2.8vh, 2.25rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
  line-height: 1.48;
}

.cta-slot {
  display: flex;
  margin-top: clamp(1.65rem, 3.5vh, 2.8rem);
}

.status-cta,
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.45rem;
  padding: 0.9rem 1.65rem;
  border: 1.5px solid var(--red);
  border-radius: 0.48rem;
  color: #fff;
  background: rgba(3, 6, 10, 0.48);
  box-shadow: inset 0 0 1.5rem rgba(239, 32, 43, 0.025), 0 0 2rem rgba(0, 0, 0, 0.38);
  font-size: clamp(0.78rem, 0.9vw, 1rem);
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1;
  text-decoration: none;
}

.status-cta { cursor: default; user-select: none; }

.status-cta svg,
.cta-link svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.cta-link { transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.cta-link:hover { transform: translateY(-2px); background: rgba(239, 32, 43, 0.12); box-shadow: 0 0 2rem rgba(239, 32, 43, 0.18); }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 3rem);
  width: min(46rem, 48vw);
  margin-top: clamp(2.5rem, 6vh, 5.2rem);
}

.feature-card {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
  min-width: 0;
}

.feature-card > svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.feature-card > svg .icon-fill { fill: var(--red); stroke: none; }
.feature-card h2 { margin: 0 0 0.38rem; font-size: clamp(0.9rem, 1vw, 1.05rem); line-height: 1.1; }
.feature-card p { margin: 0; color: var(--soft); font-size: clamp(0.72rem, 0.8vw, 0.88rem); line-height: 1.45; }

.screen-brand {
  position: absolute;
  top: 27.4%;
  left: 81.4%;
  z-index: 1;
  display: flex;
  width: clamp(9rem, 12vw, 13.5rem);
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
  filter: drop-shadow(0 0.8rem 2rem rgba(0, 0, 0, 0.65));
}

.screen-mark { width: 46%; }
.screen-wordmark { width: 79%; margin-top: 0.55rem; }
.screen-brand p { margin: 0.7rem -3rem 0; color: #f0f0f0; font-size: clamp(0.43rem, 0.55vw, 0.64rem); font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.72rem, 0.78vw, 0.86rem);
  line-height: 1.2;
}

@media (max-width: 70rem) {
  .page-shell { padding-inline: clamp(1.5rem, 4vw, 3.5rem); }
  .hero-copy, .features { width: min(36rem, 53vw); }
  .screen-brand { left: 74%; }
}

@media (max-width: 52rem) {
  .page-shell { min-height: 100svh; padding: 1.3rem 1.5rem 1.35rem; }
  .page-shell::before { background-position: 58% center; }
  .page-shell::after {
    background:
      linear-gradient(90deg, rgba(1, 4, 8, 0.96) 0%, rgba(2, 5, 9, 0.76) 43%, rgba(2, 5, 9, 0.19) 76%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 45%);
  }

  .site-wordmark { width: 9.8rem; }
  .hero { padding-block: 2.2rem 1.6rem; }
  .hero-copy { width: min(34rem, 67vw); }
  h1 { font-size: clamp(3rem, 7.6vw, 4.2rem); }
  .lead { font-size: clamp(0.9rem, 2vw, 1.08rem); }
  .features { width: min(38rem, 77vw); gap: 1.15rem; margin-top: 2.4rem; }
  .feature-card { grid-template-columns: 1.65rem minmax(0, 1fr); gap: 0.65rem; }
  .feature-card > svg { width: 1.65rem; height: 1.65rem; }
  .screen-brand { top: 45%; left: 82%; width: 8rem; }
}

@media (max-width: 40rem) {
  .page-shell {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 1.1rem 1.15rem 1rem;
    overflow: hidden;
  }

  .page-shell::before { background-position: 62% center; transform: scale(1.02); }
  .page-shell::after {
    background:
      linear-gradient(90deg, rgba(1, 4, 8, 0.99) 0%, rgba(2, 5, 9, 0.87) 56%, rgba(2, 5, 9, 0.5) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, transparent 58%, rgba(0, 0, 0, 0.22));
  }

  .site-wordmark { width: 7.6rem; }
  .hero { flex: 1; align-items: flex-start; padding: clamp(2.7rem, 10vh, 5.5rem) 0 2rem; }
  .hero-copy { width: 100%; }
  h1 { max-width: 7.6ch; font-size: clamp(3.2rem, 16vw, 5.2rem); line-height: 0.91; }
  .lead { max-width: 20rem; margin-top: 1.25rem; font-size: clamp(0.9rem, 4vw, 1.08rem); line-height: 1.42; }
  .cta-slot { margin-top: 1.45rem; }
  .status-cta, .cta-link { min-height: 2.85rem; padding: 0.75rem 1rem; font-size: 0.68rem; letter-spacing: 0.055em; }
  .status-cta svg, .cta-link svg { width: 1.05rem; height: 1.05rem; }

  .features {
    display: flex;
    width: min(100%, 22rem);
    margin-top: clamp(2rem, 6vh, 3.4rem);
    flex-direction: column;
    gap: 1.05rem;
  }

  .feature-card { grid-template-columns: 1.65rem minmax(0, 1fr); }
  .feature-card h2 { font-size: 0.82rem; }
  .feature-card p { font-size: 0.69rem; line-height: 1.32; }
  .feature-card p br { display: none; }
  .screen-brand { display: none; }
  .site-footer { padding-top: 0.7rem; font-size: 0.66rem; }
}

@media (max-width: 23rem) {
  .page-shell { padding-inline: 0.9rem; }
  h1 { font-size: 2.95rem; }
  .lead { font-size: 0.84rem; }
}

@media (max-height: 43rem) and (min-width: 40.01rem) {
  .page-shell { padding-block: 1.1rem; }
  .site-wordmark { width: 8.5rem; }
  .hero { padding-block: 1rem; }
  h1 { font-size: clamp(3rem, 7.8vh, 4.4rem); }
  .lead { margin-top: 0.85rem; font-size: 0.9rem; }
  .cta-slot { margin-top: 1rem; }
  .status-cta, .cta-link { min-height: 2.8rem; padding-block: 0.65rem; }
  .features { margin-top: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
