:root {
  color-scheme: dark;
  --paper: #f7f1e4;
  --muted: rgba(247, 241, 228, 0.66);
  --quiet: rgba(247, 241, 228, 0.44);
  --line: rgba(247, 241, 228, 0.18);
  --ink: #070806;
  --surface: rgba(11, 13, 11, 0.58);
  --warm: #e8c57e;
  --mint: #9bd5c7;
  --rose: #d8757c;
  --button: #f8f0df;
  --button-ink: #11120e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #070806;
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

#ambient,
.texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#ambient {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.texture {
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent, black 13%, black 87%, transparent);
}

.topbar,
main {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 820;
}

.brand::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm), var(--mint));
  box-shadow: 0 0 30px rgba(155, 213, 199, 0.36);
}

nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a {
  transition: color 160ms ease;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 136px);
  padding: clamp(32px, 7vw, 92px) clamp(20px, 5vw, 72px) clamp(44px, 8vw, 88px);
  align-items: center;
}

.hero-copy {
  width: min(720px, 92vw);
}

.eyebrow,
.section-label,
.status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 15vw, 190px);
  font-weight: 820;
  line-height: 0.82;
}

.lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.28;
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 820;
}

.button.primary {
  background: var(--button);
  color: var(--button-ink);
}

.button.secondary {
  background: rgba(247, 241, 228, 0.06);
  color: var(--paper);
}

.button.disabled {
  cursor: not-allowed;
  color: var(--quiet);
}

.status {
  margin: 18px 0 0;
}

.install-note {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.signal-preview {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: clamp(18px, 4vw, 48px);
  width: min(660px, 48vw);
  opacity: 0.42;
  text-align: left;
}

.signal-preview p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.signal-preview p::before {
  content: "";
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--warm), var(--mint));
}

.signal-preview strong {
  display: block;
  font-size: clamp(46px, 6.4vw, 102px);
  line-height: 0.96;
  font-weight: 820;
  background: linear-gradient(92deg, #fff8ed, var(--warm), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.signal-preview span {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 760;
}

.release {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 228, 0.035);
}

.release h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
}

.release p:not(.section-label) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
}

.text-link {
  justify-self: end;
  color: var(--paper);
  font-size: 14px;
  font-weight: 820;
  border-bottom: 1px solid var(--warm);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(20px, 5vw, 72px) 72px;
}

.facts span {
  min-height: 84px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 920px) {
  .hero {
    min-height: calc(100svh - 118px);
    align-items: start;
    padding-top: 52px;
  }

  .signal-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(520px, 92vw);
    margin-top: 44px;
    opacity: 0.5;
  }

  .release {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .text-link {
    justify-self: start;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 64px;
  }

  nav {
    gap: 14px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 66px);
  }

  .button {
    width: 100%;
  }

  .signal-preview strong {
    font-size: clamp(38px, 13vw, 64px);
  }

  .facts {
    grid-template-columns: 1fr;
    padding-bottom: 44px;
  }
}

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