:root {
  --bg: #f6efe2;
  --paper: #fffaf0;
  --ink: #26211d;
  --soft: #675f55;
  --muted: #8a8072;
  --rule: #d8c8aa;
  --gold: #c8a24a;
  --gold-dark: #8e6d25;
  --blue: #263f67;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(38, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(200, 162, 74, 0.22), transparent 28rem),
    radial-gradient(circle at top right, rgba(38, 63, 103, 0.13), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  width: min(1050px, 100%);
  margin: 0 auto;
  padding: 24px 16px 42px;
}

.hero {
  text-align: center;
  padding: 50px 10px 22px;
}

.brand {
  margin: 0;
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

h1 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.subtitle {
  margin: 12px 0 0;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
}

.app-icon {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 26px;
  margin-top: 24px;
  border: 1px solid var(--rule);
  box-shadow: 0 16px 40px rgba(38, 33, 29, 0.16);
  background: var(--paper);
}

.card {
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 36px);
  margin: 18px 0;
}

.card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.05;
}

.card p,
.card li {
  color: var(--soft);
  line-height: 1.65;
  font-size: 1.03rem;
}

.section-text {
  margin-top: 0;
}

.screenshots-card {
  overflow: hidden;
}

.screenshot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 2px 20px;
  margin: 10px -2px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.screenshot-strip img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid var(--rule);
  background: #111;
  box-shadow: 0 14px 34px rgba(38, 33, 29, 0.16);
  scroll-snap-align: start;
}

.downloads-card {
  margin-top: 18px;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.download {
  min-height: 120px;
  border-radius: 18px;
  border: 1px solid var(--rule);
  padding: 18px;
  display: grid;
  align-content: center;
  text-decoration: none;
  background: var(--paper);
}

.download span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download strong {
  color: var(--ink);
  font-size: 1.15rem;
  margin-top: 6px;
}

.download small {
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.35;
}

.download.available {
  border-color: var(--blue);
  background: linear-gradient(180deg, #fffaf0, #f4ead8);
  box-shadow: 0 12px 28px rgba(38, 63, 103, 0.14);
}

.download.available:hover {
  transform: translateY(-2px);
}

.download.soon {
  opacity: 0.72;
}

.checksum {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.55;
  word-break: break-word;
}

.checksum code {
  color: var(--ink);
  font-size: 0.82rem;
}

.steps {
  margin: 14px 0 0;
  padding-left: 22px;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #e4bd72;
  border-radius: 14px;
  background: #fff2d9;
}

.footer {
  text-align: center;
  padding: 30px 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 820px) {
  .download-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 38px;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 18px 12px 34px;
  }

  .download-list {
    grid-template-columns: 1fr;
  }

  .card {
    border-radius: 18px;
  }

  .app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }
}
