:root {
  color-scheme: dark;
  --bg: #081211;
  --panel: #10201e;
  --panel-strong: #152c28;
  --text: #fff7d6;
  --muted: #bad0cc;
  --teal: #2dd4bf;
  --teal-deep: #0f766e;
  --gold: #f4c95d;
  --wood: #b98345;
  --red: #c94736;
  --line: rgba(244, 201, 93, 0.42);
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -20%, rgba(45, 212, 191, 0.2), transparent 34rem),
    linear-gradient(180deg, #07100f 0%, #0b1715 44%, #081211 100%);
  color: var(--text);
  font-family:
    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: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(5, 12, 11, 0.88), transparent);
}

.site-header.solid {
  position: sticky;
  background: rgba(5, 12, 11, 0.94);
  border-bottom: 1px solid rgba(244, 201, 93, 0.18);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: var(--teal-deep);
  color: var(--text);
  box-shadow: 0 10px 24px var(--shadow);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px clamp(20px, 6vw, 74px) 96px;
}

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

.hero-bg {
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(1.08) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 10, 10, 0.92) 0%, rgba(5, 10, 10, 0.72) 40%, rgba(5, 10, 10, 0.14) 100%),
    linear-gradient(0deg, rgba(8, 18, 17, 0.98) 0%, rgba(8, 18, 17, 0.2) 45%, rgba(8, 18, 17, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

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

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

h1 {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: clamp(54px, 10vw, 116px);
  line-height: 0.92;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.34), 0 22px 42px var(--shadow);
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: #f5f0d8;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 750;
  word-break: keep-all;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
}

.button.primary {
  background: var(--gold);
  color: #17201b;
}

.button.secondary {
  background: rgba(15, 118, 110, 0.72);
  color: var(--text);
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 44px);
  bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 1000;
  letter-spacing: 0;
}

.section-head p,
.rule-copy p,
.download-panel p,
.policy-lead,
.policy p,
.policy li {
  color: var(--muted);
  word-break: keep-all;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(244, 201, 93, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 44, 40, 0.92), rgba(12, 25, 23, 0.94)),
    var(--panel);
}

.feature-kicker {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 1000;
}

.feature h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.screenshots-section {
  width: min(1360px, calc(100% - 20px));
}

.screenshots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 300px);
  gap: 18px;
  overflow-x: auto;
  padding: 8px 10px 26px;
  scroll-snap-type: x mandatory;
}

.screenshots figure {
  scroll-snap-align: center;
  margin: 0;
}

.screenshots img {
  width: 100%;
  aspect-ratio: 1080 / 2408;
  object-fit: cover;
  border: 2px solid rgba(244, 201, 93, 0.46);
  border-radius: 22px;
  background: #000;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.46);
}

.screenshots figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.rule-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  border-top: 1px solid rgba(244, 201, 93, 0.16);
  border-bottom: 1px solid rgba(244, 201, 93, 0.16);
}

.rule-copy p {
  font-size: 18px;
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.stat-list div {
  padding: 20px 12px;
  border: 1px solid rgba(45, 212, 191, 0.32);
  border-radius: 8px;
  background: rgba(13, 32, 29, 0.92);
  text-align: center;
}

.stat-list dt {
  color: var(--gold);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 1000;
  line-height: 1;
}

.stat-list dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.download-section {
  padding-top: 34px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 5vw, 44px);
  border: 2px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.38), transparent 44%),
    var(--panel-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.download-panel h2 {
  margin-bottom: 10px;
}

.download-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 56px);
  border-top: 1px solid rgba(244, 201, 93, 0.18);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer strong {
  color: var(--text);
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.policy-page {
  background: var(--bg);
}

.policy {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 96px;
}

.policy h1 {
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(40px, 7vw, 68px);
  text-shadow: none;
}

.policy section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(244, 201, 93, 0.16);
}

.policy h2 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 22px;
}

.policy a {
  color: var(--teal);
  font-weight: 800;
}

.policy-date {
  margin-top: 28px;
  color: var(--text);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 154px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 10, 10, 0.92), rgba(5, 10, 10, 0.34)),
      linear-gradient(0deg, rgba(8, 18, 17, 0.98), rgba(8, 18, 17, 0.3), rgba(8, 18, 17, 0.88));
  }

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

  .rule-section,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  nav {
    font-size: 13px;
  }

  .hero {
    padding: 150px 20px 78px;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .feature-grid,
  .stat-list {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .screenshots {
    grid-auto-columns: minmax(210px, 76vw);
  }

  .site-footer {
    flex-direction: column;
  }
}
