/* Copyright (C) 2024-2026 Tristan Heilman. All rights reserved.
   SPDX-License-Identifier: LicenseRef-Proprietary

   Shared by the download page and the version history, so the two cannot
   drift apart. */

:root {
  --bg: #fbfaf7; --fg: #1a1815; --muted: #6b6660;
  --rule: #e2ded6; --accent: #8a5a2b; --card: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14130f; --fg: #ece8e0; --muted: #9a938a;
    --rule: #2c2a24; --accent: #d09a5c; --card: #1c1a16;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.65 ui-serif, Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
header { text-align: center; margin-bottom: 3rem; }
header img {
  width: 128px; height: 128px; margin-bottom: 1rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
}
h1 { font-size: 2.2rem; margin: 0; letter-spacing: -0.01em; }
.tagline { color: var(--muted); margin: 0.3rem 0 0; }
h2 {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin: 3rem 0 0.75rem;
  font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 600;
}
a { color: var(--accent); }
ul { padding-left: 1.2rem; }
li { margin: 0.4rem 0; }
.download {
  border-left: 3px solid var(--accent); background: var(--card);
  padding: 1.25rem 1.35rem; margin: 2rem 0; border-radius: 0 6px 6px 0;
}
.download .btn {
  display: inline-block; font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 600; text-decoration: none; color: var(--bg);
  background: var(--accent); padding: 0.6rem 1.2rem; border-radius: 6px;
}
.download .req {
  color: var(--muted); font-size: 0.9rem; margin: 0.85rem 0 0;
}
footer {
  margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  color: var(--muted); font-size: 0.9rem;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.87em; background: var(--card); padding: 0.1em 0.35em;
  border-radius: 3px; border: 1px solid var(--rule);
}

/* The version history page. A release heading is a title, not one of the
   small uppercase section labels above, so it opts out of that h2 styling. */
.release { margin: 2.5rem 0; }
.release h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.5rem; font-weight: 600; text-transform: none;
  letter-spacing: -0.01em; color: var(--fg);
  margin: 0 0 0.6rem; padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}
.release:first-of-type h2 { border-top: 0; padding-top: 0; }
.release .date {
  display: block; margin-top: 0.2rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.85rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--muted);
}
.download .history {
  display: block; margin: 0.9rem 0 0;
  font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.92rem;
}
/* The iPhone beta. Deliberately quieter than the download box: it is not
   the thing most visitors came for, and it is not generally available. */
.beta {
  border-left: 3px solid var(--rule); background: var(--card);
  padding: 1.25rem 1.35rem; margin: 2rem 0; border-radius: 0 6px 6px 0;
}
.beta p { margin: 0; }
.beta p + p { margin-top: 0.7rem; }
.beta .status {
  color: var(--muted); font-size: 0.9rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
