/* The page follows the app's own rule (D7): system font, system colours, no chrome. */
:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --soft: #6e6e73;
  --page: #ffffff;
  --band: #f5f5f7;
  --line: #d2d2d7;
  --accent: #0a6cff;
  --on-accent: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --soft: #a1a1a6;
    --page: #000000;
    --band: #1d1d1f;
    --line: #424245;
    --accent: #2f8cff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); }

h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0.6em 0 0.4em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.hero, main > section, main > figure, footer {
  max-width: 62rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero { text-align: center; padding-top: 5rem; }
.hero .shot { display: block; margin: 2.5rem auto 1.5rem; }
.icon { border-radius: 22%; }
.lede { font-size: 1.25rem; color: var(--soft); max-width: 40rem; margin: 0 auto 1.5em; }
.fine { font-size: 0.875rem; color: var(--soft); }

.button {
  display: inline-block;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

main > section { border-top: 1px solid var(--line); }

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
}
.points div { background: var(--band); border-radius: 16px; padding: 1.5rem; }
.points h3 { font-size: 1.125rem; line-height: 1.25; margin: 0 0 0.5em; }
.points p { margin: 0; color: var(--soft); font-size: 0.9375rem; }

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 2.5rem;
  align-items: center;
}
.feature .shot { justify-self: center; }
.feature p, section > p, .plain, .kinds { color: var(--soft); max-width: 40rem; }
.feature strong, .plain strong, .kinds dt { color: var(--text); }

.wide { margin: 0 auto; padding-top: 0; text-align: center; }
/* The screenshots are of a light Mac. A frame keeps the white one from glaring on a dark page. */
.framed { border: 1px solid var(--line); border-radius: 12px; }

.plain { padding-left: 1.2em; }
.plain li { margin-bottom: 0.7em; }

.kinds { margin: 0; }
.kinds div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.kinds div:first-child { border-top: 0; }
.kinds dt { font-weight: 600; }
.kinds dd { margin: 0; }

.buy { text-align: center; }
.buy p { margin-left: auto; margin-right: auto; }
.buy .button { font-size: 1.125rem; margin-bottom: 1rem; }
.thanks { margin-top: 1rem; }

footer { border-top: 1px solid var(--line); padding-top: 1.5rem; padding-bottom: 2.5rem; text-align: center; }
footer p { margin: 0; font-size: 0.875rem; color: var(--soft); }
