:root {
  color-scheme: dark;
  --ink: #0d1014;
  --steel: #171d24;
  --steel-2: #222a33;
  --paper: #f4ead8;
  --muted: #b9c0bc;
  --gold: #d6a94d;
  --red: #c44636;
  --green: #6fa06e;
  --line: rgba(244, 234, 216, 0.18);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
  --bg: var(--ink);
  --panel: var(--steel);
  --text: var(--paper);
  --accent: var(--gold);
  --accent-strong: #f1c871;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

a {
  color: inherit;
}

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

.site-header {
  align-items: center;
  background: rgba(13, 16, 20, 0.82);
  border-bottom: 1px solid rgba(244, 234, 216, 0.14);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.site-footer nav {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--gold);
  border: 1px solid rgba(13, 16, 20, 0.45);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  justify-content: center;
}

.nav-links a,
.site-footer a {
  color: rgba(244, 234, 216, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--paper);
}

.nav-action,
.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-action,
.button.primary {
  background: var(--red);
  color: #fff7ed;
}

.button.secondary {
  background: rgba(244, 234, 216, 0.1);
  border: 1px solid var(--line);
  color: var(--paper);
}

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

.hero {
  min-height: 86vh;
  overflow: hidden;
  position: relative;
}

.hero-art,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-art {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 16, 20, 0.96) 0%, rgba(13, 16, 20, 0.7) 46%, rgba(13, 16, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 16, 20, 0.92) 0%, rgba(13, 16, 20, 0.18) 42%, rgba(13, 16, 20, 0.48) 100%);
}

.hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86vh;
  padding: 110px clamp(20px, 6vw, 88px) 70px;
  position: relative;
  width: min(760px, 100%);
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 12vw, 10.5rem);
  line-height: 0.84;
  margin-bottom: 24px;
  max-width: 760px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(244, 234, 216, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  max-width: 620px;
}

.countdown {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  margin: 20px 0 26px;
  width: min(520px, 100%);
}

.countdown div,
.brief-grid article,
.launch-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.countdown div {
  background: rgba(13, 16, 20, 0.54);
  padding: 14px 12px;
}

.countdown strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.countdown span,
.launch-strip span,
.mini-stats dt,
.preview-card span {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.page {
  margin: 0 auto;
  padding: 28px 0 56px;
  width: min(1100px, calc(100vw - 32px));
}

.panel {
  background: rgba(23, 29, 36, 0.95);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 18px;
}

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

.admin-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid.single {
  grid-template-columns: 1fr;
}

.checks {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0;
}

.checks label {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.align-end {
  align-items: end;
}

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

.launch-strip {
  background: #151a20;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px clamp(20px, 6vw, 88px);
}

.launch-strip div {
  background: rgba(244, 234, 216, 0.04);
  padding: 16px;
}

.launch-strip strong {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-top: 4px;
}

.brief-section,
.feature-split,
.preview-section,
.download-section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 88px);
}

.brief-section {
  background: var(--ink);
}

.section-copy,
.section-heading {
  max-width: 860px;
}

.section-copy p,
.feature-split p,
.download-section p {
  color: rgba(244, 234, 216, 0.76);
  font-size: 1.08rem;
}

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

.brief-grid article {
  background: #151a20;
  padding: 24px;
}

.brief-grid article span {
  color: var(--green);
  display: block;
  font-weight: 900;
  margin-bottom: 34px;
}

.brief-grid p {
  color: rgba(244, 234, 216, 0.72);
  margin-bottom: 0;
}

.feature-split {
  align-items: center;
  background: #11161b;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

figure {
  margin: 0;
}

.feature-split figure,
.preview-card {
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-split figure {
  border-radius: 8px;
}

.feature-split img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.mini-stats {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}

.mini-stats div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.mini-stats dd {
  margin: 3px 0 0;
}

.preview-section {
  background: #171d24;
}

.preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.preview-card {
  background: var(--ink);
  border-radius: 8px;
  min-height: 360px;
  position: relative;
}

.preview-card.wide {
  grid-row: span 2;
}

.preview-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.preview-card figcaption {
  background: linear-gradient(0deg, rgba(13, 16, 20, 0.9), rgba(13, 16, 20, 0));
  bottom: 0;
  left: 0;
  padding: 72px 22px 22px;
  position: absolute;
  right: 0;
}

.preview-card strong {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.1;
  margin-top: 6px;
}

.download-section {
  align-items: start;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.66fr);
}

.download-section .eyebrow {
  color: #89512a;
}

.download-section p {
  color: rgba(13, 16, 20, 0.72);
  margin-bottom: 0;
}

.download-section .button.secondary {
  border-color: rgba(13, 16, 20, 0.22);
  color: var(--ink);
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  background: #11161b;
  border: 1px solid rgba(244, 234, 216, 0.18);
  border-radius: 8px;
  color: var(--paper);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(214, 169, 77, 0.72);
  box-shadow: 0 0 0 3px rgba(214, 169, 77, 0.14);
  outline: none;
}

.beta-form {
  background: var(--ink);
  border: 1px solid rgba(13, 16, 20, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 16, 20, 0.18);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.beta-form .button {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.beta-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  color: rgba(244, 234, 216, 0.82);
  margin: 0;
}

.site-footer {
  align-items: center;
  background: #0a0d10;
  border-top: 1px solid rgba(244, 234, 216, 0.12);
  color: rgba(244, 234, 216, 0.7);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 88px);
}

.site-footer span {
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer nav {
  gap: 18px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .launch-strip,
  .admin-grid,
  .brief-grid,
  .feature-split,
  .preview-grid,
  .download-section {
    grid-template-columns: 1fr;
  }

  .feature-split {
    padding-top: 74px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-action {
    font-size: 0.76rem;
    min-height: 38px;
    padding: 9px 11px;
  }

  .hero,
  .hero-content {
    min-height: 84vh;
  }

  .hero-content {
    padding: 88px 16px 46px;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5.8rem);
  }

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

  .button {
    width: 100%;
  }

  .preview-card {
    min-height: 300px;
  }

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