:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --paper-raised: #fffaf0;
  --ink: #26231f;
  --muted: #665f55;
  --green: #285b46;
  --green-soft: #dce8dd;
  --gold: #a96f22;
  --rule: #ded5c6;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.62 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 15px;
}

main {
  padding: 58px 0 88px;
}

.hero {
  padding: 30px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

h1 {
  max-width: 14ch;
  margin: 0 0 18px;
  font-size: clamp(38px, 8vw, 64px);
}

h2 {
  margin: 42px 0 12px;
  font-size: 27px;
}

p,
ul {
  max-width: 70ch;
}

.lede {
  max-width: 58ch;
  color: var(--muted);
  font-size: 20px;
}

.panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 14px;
  border-radius: 12px;
  background: var(--green-soft);
}

.eyebrow,
.meta {
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  color: var(--green);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.store-actions .button.secondary {
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screenshots figure {
  margin: 0;
}

.screenshots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.screenshots figcaption {
  padding: 10px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  padding: 24px 0 48px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

code {
  overflow-wrap: anywhere;
}

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

  main {
    padding-top: 34px;
  }

  .hero {
    padding: 22px;
  }

  .screenshots {
    grid-template-columns: 1fr;
  }
}
