/* One stylesheet for both pages. The palette is the app icon's: the listing,
   the icon and these pages should look like one product. */
:root {
  --ink: #14182c;
  --body: #3b4157;
  --muted: #6a7188;
  --rule: #e2e0da;
  --page: #f7f5f0;
  --card: #ffffff;
  --accent: #3b4aa8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4efe4;
    --body: #c3c7d6;
    --muted: #8f96ab;
    --rule: #2a3050;
    --page: #0d1124;
    --card: #161c36;
    --accent: #8a97ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--page);
  color: var(--body);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 680px; margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.mark {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  flex: none;
  background: linear-gradient(135deg, #25315f, #0d1124);
  position: relative;
}

/* The icon's own idea, in two divs: a page with a line struck out. */
.mark::before,
.mark::after {
  content: "";
  position: absolute;
  left: 14px;
  border-radius: 2px;
}
.mark::before { top: 20px; width: 28px; height: 5px; background: #cfc7b6; }
.mark::after  { top: 31px; width: 28px; height: 5px; background: #f4efe4; }

header h1 { font-size: 24px; margin: 0; color: var(--ink); letter-spacing: -0.02em; }
header p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

h2 {
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}

h3 { font-size: 17px; color: var(--ink); margin: 32px 0 6px; }

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

.lede { font-size: 19px; color: var(--ink); }

.claim {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
}

.claim p:last-child { margin-bottom: 0; }
.claim p:first-child { margin-top: 0; }

code {
  font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 1px 5px;
}

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

footer a { margin-right: 18px; }
