:root {
  --background: #090c0f;
  --background-soft: #0c1113;
  --surface: #12181b;
  --surface-elevated: #192124;
  --card: #162025;
  --border: #2a383d;
  --text-primary: #f2f4f3;
  --text-secondary: #b9c6c1;
  --text-muted: #7c8c87;
  --accent: #8fae97;
  --accent-strong: #b6d0b6;
  --brand: #597667;
  --danger: #ca7777;
  --max-page: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% 4%, rgba(143, 174, 151, 0.16), transparent 31rem),
    linear-gradient(180deg, #101518 0%, var(--background) 42rem);
  color: var(--text-primary);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 46rem);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(9, 12, 15, 0.78);
  border-bottom: 1px solid rgba(42, 56, 61, 0.74);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px max(22px, calc((100vw - var(--max-page)) / 2));
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand-lockup,
.nav-links,
.hero-actions,
.phone-row,
.site-footer {
  align-items: center;
  display: flex;
}

.brand-lockup {
  color: var(--brand);
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0;
}

.brand-lockup img {
  border-radius: 8px;
  height: 34px;
  width: 34px;
}

.nav-links {
  color: var(--text-secondary);
  font-size: 14px;
  gap: 24px;
}

.nav-links a,
.header-action,
.button {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.header-action,
.button {
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
}

.header-action {
  color: var(--accent-strong);
  font-size: 14px;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--text-primary);
}

.button-secondary {
  background: rgba(18, 24, 27, 0.78);
  color: var(--accent-strong);
}

.hero-section,
.screen-section,
.player-section,
.creator-section,
.story-band,
.intro-band {
  margin-inline: auto;
  max-width: var(--max-page);
  padding-inline: 22px;
}

.hero-section {
  column-gap: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 620px);
  justify-content: center;
  min-height: calc(100vh - 73px);
  padding-bottom: 72px;
  padding-top: 64px;
  place-items: center;
}

.hero-media {
  aspect-ratio: 1;
  border-radius: 8px;
  box-shadow:
    0 0 90px rgba(143, 174, 151, 0.22),
    0 30px 80px rgba(0, 0, 0, 0.45);
  max-width: 460px;
  overflow: hidden;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 7vw, 112px);
  font-weight: 900;
  line-height: 0.84;
  margin-bottom: 28px;
  max-width: 100%;
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  line-height: 1.08;
  margin-bottom: 10px;
}

.hero-copy,
.section-copy p,
.creator-panel p,
.site-footer p,
.story-card p,
.document-page p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-copy {
  font-size: clamp(19px, 3vw, 28px);
  max-width: 620px;
}

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

.intro-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 90px;
}

.intro-band article {
  background: rgba(18, 24, 27, 0.76);
  border: 1px solid rgba(42, 56, 61, 0.78);
  min-height: 166px;
  padding: 24px;
}

.intro-band article:first-child {
  border-radius: 18px 0 0 18px;
}

.intro-band article:last-child {
  border-radius: 0 18px 18px 0;
}

.intro-band span,
.story-card span {
  color: var(--accent-strong);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.intro-band p {
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

.screen-section,
.player-section,
.creator-section {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(260px, 0.86fr) minmax(340px, 1.14fr);
  padding-bottom: 112px;
  place-items: center;
}

.section-copy {
  max-width: 560px;
}

.phone-row {
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.phone-frame {
  background: #111618;
  border: 1px solid rgba(143, 174, 151, 0.18);
  border-radius: 34px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.5),
    inset 0 0 0 8px #0b0f11;
  margin: 0;
  overflow: hidden;
  padding: 8px;
}

.phone-frame img {
  border-radius: 26px;
  height: auto;
  width: 100%;
}

.phone-small {
  max-width: 226px;
  transform: translateY(46px);
}

.phone-large {
  max-width: 292px;
}

.story-band {
  padding-bottom: 118px;
}

.centered-copy {
  margin-inline: auto;
  max-width: 720px;
  text-align: center;
}

.story-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  margin-top: 38px;
}

.story-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  min-height: 100%;
  overflow: hidden;
}

.story-card img {
  aspect-ratio: 1.12;
  object-fit: cover;
  width: 100%;
}

.story-card div {
  padding: 20px;
}

.story-card p {
  margin-bottom: 0;
}

.featured-card {
  grid-row: span 2;
}

.featured-card img {
  aspect-ratio: 0.86;
}

.player-section {
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
}

.player-phone {
  max-width: 292px;
}

.feature-list {
  color: var(--text-primary);
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.feature-list li {
  background: rgba(18, 24, 27, 0.72);
  border: 1px solid rgba(42, 56, 61, 0.78);
  border-radius: 14px;
  padding: 14px 16px;
}

.creator-section {
  align-items: start;
  background: linear-gradient(135deg, rgba(18, 24, 27, 0.86), rgba(22, 32, 37, 0.7));
  border: 1px solid rgba(42, 56, 61, 0.84);
  border-radius: 24px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 72px;
  padding-block: 48px;
}

.creator-panel {
  max-width: 520px;
}

.creator-panel .button {
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid rgba(42, 56, 61, 0.72);
  color: var(--text-muted);
  gap: 16px;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--max-page);
  padding: 28px 22px 42px;
}

.site-footer span {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 900;
}

.site-footer p {
  margin-bottom: 0;
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}

.footer-links a,
.document-page a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(182, 208, 182, 0.38);
  text-underline-offset: 3px;
}

.document-page {
  margin-inline: auto;
  max-width: 920px;
  padding: 76px 22px 92px;
}

.document-hero {
  margin-bottom: 34px;
}

.document-hero h1 {
  font-size: clamp(54px, 9vw, 108px);
  line-height: 0.9;
}

.document-hero p {
  font-size: 20px;
  max-width: 760px;
}

.document-card {
  background: rgba(18, 24, 27, 0.82);
  border: 1px solid rgba(42, 56, 61, 0.82);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px);
}

.document-card h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  margin: 34px 0 12px;
}

.document-card h2:first-child {
  margin-top: 0;
}

.document-card p {
  margin-bottom: 18px;
}

.document-card p:last-child {
  margin-bottom: 0;
}

.document-flow {
  counter-reset: document-section;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero-section,
  .screen-section,
  .player-section,
  .creator-section {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    max-width: 360px;
    order: 2;
  }

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

  .intro-band article,
  .intro-band article:first-child,
  .intro-band article:last-child {
    border-radius: 18px;
  }

  .screen-section,
  .player-section,
  .story-band,
  .intro-band {
    padding-bottom: 84px;
  }

  .phone-small {
    display: none;
  }

  .story-card img,
  .featured-card img {
    aspect-ratio: 1.35;
  }

  .creator-section {
    margin-inline: 22px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .brand-lockup span {
    font-size: 20px;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero-section,
  .screen-section,
  .player-section,
  .story-band,
  .intro-band {
    padding-inline: 16px;
  }

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

  .button {
    width: 100%;
  }

  .phone-large,
  .player-phone {
    max-width: 286px;
  }

  .creator-section {
    border-radius: 18px;
    margin-inline: 16px;
    padding-inline: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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