/*
 * One stylesheet, no framework, no web fonts: the site is four pages and every
 * request it does not make is one the visitor does not wait for.
 */

:root {
  --ink: #1b1d21;
  --muted: #5d636d;
  --line: #e2e5ea;
  --bg: #ffffff;
  --soft: #f6f7f9;
  --accent: #3b6cf0;
  --accent-dark: #2f57c4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaee;
    --muted: #9aa1ab;
    --line: #2d3037;
    --bg: #16181c;
    --soft: #1d2025;
    --accent: #6f95ff;
    --accent-dark: #587ded;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* --- frame ---------------------------------------------------------------- */

.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img { display: block; height: 30px; width: auto; }

/* The wordmark is drawn in dark ink; on a dark page it would disappear. */
@media (prefers-color-scheme: dark) {
  .brand img { filter: invert(1) hue-rotate(180deg); }
}

.bar nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
  font-size: 14px;
}

.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover, .bar nav a.on { color: var(--ink); }

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

section { padding: 40px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 0 0 16px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 0 0 8px; }
p { margin: 0 0 14px; }

.lead { font-size: 18px; color: var(--muted); max-width: 42em; }
.small { font-size: 13px; color: var(--muted); }

/* --- hero ----------------------------------------------------------------- */

.hero { padding-top: 56px; }

.downloads {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 10px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: var(--accent-dark); color: #fff; }

/* Nothing to download yet: say so rather than link to a file that is not there. */
.button.off {
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 500;
  cursor: default;
}

/* --- pictures of the app ---------------------------------------------------
   Shown at their own shape, never stretched, and never wider than the column
   they sit in. The border keeps a pale screenshot from bleeding into a pale
   page. */

.shot {
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
}

.shot.wide { margin-top: 32px; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.two .shot { margin-top: 0; }

/* A warning that has to be read, without shouting at everyone who does not
   need it. */

.note-mac {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--warn-line, var(--line));
  border-radius: 10px;
  background: var(--soft);
  max-width: 46em;
}

.note-mac summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.note-mac p { margin: 12px 0 0; font-size: 14px; }
.note-mac .keyline code { font-size: 13px; }

/* --- cards ---------------------------------------------------------------- */

.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.card p:last-child { margin-bottom: 0; }
.card.wide { max-width: 34em; }

.price { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.price .small { font-weight: 400; }

/* --- features --------------------------------------------------------------
   Six short lists rather than one long one: someone scanning for the thing
   they need finds it by heading instead of reading to the end. */

.feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px 32px;
  margin-bottom: 28px;
}

.feats h3 { margin-bottom: 8px; }

.feats ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.feats li { margin-bottom: 6px; }

/* A licence key: long, and every character matters when it is read aloud
   or copied by hand. */

.keyline { margin: 0; }

.keyline code {
  display: block;
  font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  user-select: all;
  color: var(--ink);
}

/* --- lists ---------------------------------------------------------------- */

.points { margin: 0; padding-left: 20px; max-width: 46em; }
.points li { margin-bottom: 10px; }

.steps { margin: 0; padding-left: 22px; max-width: 46em; }
.steps > li { margin-bottom: 24px; }
.steps h3 { margin-bottom: 4px; }

.faq h3 { margin-top: 22px; }
.faq p { max-width: 46em; color: var(--muted); }

.next p { margin-bottom: 18px; }

/* --- foot ----------------------------------------------------------------- */

.foot {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.foot p { margin: 0 0 6px; }

@media (max-width: 600px) {
  h1 { font-size: 27px; }
  .lead { font-size: 17px; }
  .bar nav { margin-left: 0; width: 100%; }
}
