:root {
  color-scheme: dark;
  --bg: #0b0d0b;
  --bg-soft: #121712;
  --panel: #181d17;
  --panel-2: #20251c;
  --text: #f1ead8;
  --muted: #b9b29f;
  --dim: #847c69;
  --line: #343a2f;
  --accent: #d6a34d;
  --accent-2: #7ea66a;
  --danger: #b96d54;
  --sky: #7aa1b7;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(241, 234, 216, 0.1);
  background: rgba(11, 13, 11, 0.86);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: #15100a;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero {
  min-height: 82svh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(11, 13, 11, 0.88), rgba(11, 13, 11, 0.66)),
    url("./assets/app-icon-dust-and-stars-1024.png") right 8vw center / min(52vw, 620px) no-repeat,
    #0b0d0b;
}

.hero-inner,
.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 640px;
  padding: 68px 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  min-height: 118px;
  padding: 24px;
  background: var(--bg-soft);
}

.fact strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

section {
  padding: 78px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.copy p {
  color: var(--muted);
  margin: 18px 0 0;
}

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

.media-card,
.card,
.doc-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.media-card {
  padding: 18px;
}

.media-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: #0f130f;
}

.media-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.band {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

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

.card,
.doc-card {
  padding: 22px;
}

.card p,
.doc-card p,
.page-copy p,
.page-copy li {
  color: var(--muted);
}

.card a,
.doc-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.page-hero {
  padding: 74px 0 54px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.page-hero p {
  max-width: 760px;
}

.page-copy {
  max-width: 860px;
}

.page-copy h2 {
  margin-top: 44px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.page-copy h3 {
  margin-top: 28px;
}

.page-copy a {
  color: var(--accent);
}

.callout {
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--accent-2);
  background: var(--panel);
}

.soon {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(214, 163, 77, 0.48);
  border-radius: 6px;
  color: var(--accent);
  background: rgba(214, 163, 77, 0.1);
  font-size: 0.92rem;
  font-weight: 800;
}

.showcase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.showcase-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

.showcase-links a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--dim);
  background: #080a08;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(11, 13, 11, 0.54), #0b0d0b 58%),
      url("./assets/app-icon-dust-and-stars-1024.png") center 26px / min(70vw, 360px) no-repeat,
      #0b0d0b;
  }

  .hero-copy {
    padding-top: min(72vw, 380px);
  }

  .facts,
  .grid,
  .split,
  .doc-list {
    grid-template-columns: 1fr;
  }
}
