@font-face {
  font-family: Cinzel;
  src: url("/fonts/Cinzel-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("/fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --cream: #f9efd6;
  --gilt: #f4d38a;
  --ember: #d8672a;
  --ink: #3b2a18;
  --muted: #d7c4a2;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #120a07;
  color: var(--cream);
  font-family: "Noto Sans", Georgia, sans-serif;
}

.stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
}

.panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 42px 36px 36px;
  background:
    linear-gradient(180deg, rgba(36, 20, 12, 0.94), rgba(16, 9, 6, 0.97));
  border-right: 1px solid rgba(244, 211, 138, 0.38);
  box-shadow: 16px 0 48px rgba(0, 0, 0, 0.45);
}

.hero {
  background:
    linear-gradient(90deg, rgba(18, 10, 7, 0.72), rgba(18, 10, 7, 0.08) 22%, transparent 40%),
    url("/hero.png") center 18% / cover no-repeat;
}

.mark {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid rgba(244, 211, 138, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  margin: 8px 0 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gilt);
}

h1 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--gilt);
  text-shadow: 0 2px 0 rgba(90, 46, 14, 0.65);
}

.lede {
  margin: 0;
  max-width: 36ch;
  line-height: 1.45;
  color: var(--muted);
}

.version {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gilt);
}

.downloads {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 13px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.btn:focus-visible {
  outline: 2px solid var(--gilt);
  outline-offset: 3px;
}

.btn-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn-title {
  font-family: Cinzel, Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.btn-meta {
  font-size: 0.82rem;
  opacity: 0.85;
}

.win {
  background: linear-gradient(180deg, #ed7830 0%, #d8672a 42%, #9a3d16 100%);
  color: #fff7e6;
  border-color: #f4d38a;
}

.mac {
  background: linear-gradient(180deg, #f8e2ae 0%, #e2b861 48%, #a87432 100%);
  color: var(--ink);
  border-color: #8a5a2b;
}

.btn.primary {
  transform: translateY(-1px);
}

.alt {
  margin: 0;
  font-size: 0.92rem;
}

.alt a {
  color: var(--gilt);
}

.steps {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.steps li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 8px;
  line-height: 1.4;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps span {
  color: var(--gilt);
  font-family: Cinzel, Georgia, serif;
}

.notes {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 211, 138, 0.28);
}

.notes h2,
.notes h3 {
  margin: 0 0 8px;
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  color: var(--gilt);
}

.notes h2 { font-size: 1.15rem; }
.notes h3 { margin-top: 14px; font-size: 0.95rem; }

.notes p,
.notes li {
  margin: 0;
  line-height: 1.45;
  color: var(--muted);
}

.notes ul {
  margin: 6px 0 0;
  padding-left: 1.1rem;
}

.error { color: #ffb4a2; }

@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; }
  .hero {
    min-height: 52vw;
    order: -1;
    background:
      linear-gradient(180deg, transparent 40%, rgba(16, 9, 6, 0.95)),
      url("/hero.png") center 22% / cover no-repeat;
  }
  .panel {
    border-right: 0;
    box-shadow: none;
    padding: 28px 22px 40px;
  }
}
