:root {
  color-scheme: dark;
  --bg: #0f0e0c;
  --bg-soft: #17130f;
  --surface: #211911;
  --surface-strong: #2b2017;
  --text: #fff8ef;
  --muted: #cbb9a7;
  --faint: #917d6c;
  --line: rgba(255, 248, 239, 0.14);
  --accent: #e95420;
  --accent-soft: rgba(233, 84, 32, 0.18);
  --accent-line: rgba(233, 84, 32, 0.42);
  --green: #9add9a;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(22px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(15, 14, 12, 0.88), rgba(15, 14, 12, 0.58));
  border-bottom: 1px solid rgba(255, 248, 239, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 820;
}

.brand-mark {
  width: 12px;
  height: 28px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 34px rgba(233, 84, 32, 0.65);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: rgba(255, 248, 239, 0.76);
  text-decoration: none;
  font-size: 0.94rem;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(22px, 5vw, 72px) 64px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/theatre-hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.05);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 14, 12, 0.94) 0%, rgba(15, 14, 12, 0.72) 42%, rgba(15, 14, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 14, 12, 0.2), rgba(15, 14, 12, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow,
.section-kicker,
.release-label {
  margin: 0 0 14px;
  color: #ff7a42;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(4.2rem, 10vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.lead {
  max-width: 710px;
  margin: 28px 0 0;
  color: rgba(255, 248, 239, 0.82);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.download-card a,
.support-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 780;
}

.button.primary {
  background: var(--accent);
  color: #fff7ef;
}

.button.ghost,
.download-card a,
.support-links a {
  border: 1px solid var(--line);
  background: rgba(255, 248, 239, 0.07);
  color: var(--text);
}

.button:hover,
.download-card a:hover,
.support-links a:hover {
  border-color: var(--accent-line);
  transform: translateY(-1px);
}

.release-card {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 64px;
  z-index: 3;
  width: min(330px, calc(100vw - 44px));
  padding: 22px;
  border: 1px solid rgba(255, 248, 239, 0.18);
  border-radius: 8px;
  background: rgba(15, 14, 12, 0.72);
  backdrop-filter: blur(20px);
}

.release-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.release-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(22px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.intro-grid p,
.support p,
.download-note,
.status {
  color: var(--muted);
  line-height: 1.62;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 0;
}

.feature-strip article {
  min-height: 260px;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.feature-strip article:first-child {
  border-left: 1px solid var(--line);
}

.feature-strip span {
  display: block;
  margin-bottom: 72px;
  color: var(--accent);
  font-weight: 820;
}

.feature-strip p {
  color: var(--muted);
  line-height: 1.58;
}

.download-section {
  max-width: none;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-section > * {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.download-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.065), rgba(255, 248, 239, 0.025));
}

.download-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-card .os {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.28rem;
  font-weight: 850;
}

.download-card .os svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: currentColor;
  color: #fff8ef;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.asset-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.download-note {
  margin-top: 22px;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.support-links {
  display: grid;
  gap: 10px;
}

.legal-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 132px clamp(22px, 5vw, 72px) 80px;
}

.legal-hero {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.legal-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.58;
}

.legal-hero span {
  color: var(--faint);
  font-size: 0.92rem;
}

.legal-content {
  max-width: 820px;
  padding-top: 44px;
}

.legal-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.68;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 248, 239, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 720;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(22px, 5vw, 72px);
  color: var(--faint);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .release-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }

  .intro-grid,
  .support {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .download-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  h1 {
    font-size: clamp(3.7rem, 20vw, 5.4rem);
  }

  .feature-strip,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    min-height: auto;
    border-left: 1px solid var(--line);
  }

  .feature-strip span {
    margin-bottom: 32px;
  }

  .button,
  .download-card a {
    width: 100%;
  }
}
