/* SolveCast's pages: the notebook the app is drawn on, set for reading. */
:root {
  --paper: #fbfcff;
  --sheet: #ffffff;
  --ink: #151b3a;
  --soft: #454c6b;
  --pen: #1b2a6b;
  --red: #b3172f;
  --grid: #dce5f6;
  --line: #dce0ee;
  --tint: #dde3fb;
  --text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--text);
}

a { color: var(--pen); text-underline-offset: 3px; }
a:hover { color: var(--red); }
a:focus-visible { outline: 3px solid var(--pen); outline-offset: 2px; border-radius: 2px; }

.page { max-width: 46rem; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}

.name img { width: 36px; height: 36px; border-radius: 9px; }

nav.other { font-size: 15px; }

main { padding: 24px 0 56px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 6px; overflow-wrap: break-word; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.dated { color: var(--soft); font-size: 15px; margin-bottom: 24px; }

/* The short version, on squared paper like a page of the app. */
.short {
  background-color: var(--sheet);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px 6px;
  margin: 0 0 8px;
}

.short h2 { margin-top: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
.wide { overflow-x: auto; }

/* The front page. */
.lead { font-size: 20px; line-height: 1.5; max-width: 34rem; color: var(--ink); }
.front h1 { font-size: 40px; max-width: 14ch; margin-bottom: 14px; }
.points { list-style: none; padding: 0; margin: 28px 0; }
.points li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.points li::before { content: "✓"; position: absolute; left: 4px; color: var(--red); font-weight: 700; }
.soon { display: inline-block; background: var(--tint); color: var(--pen); border-radius: 10px; padding: 8px 14px; margin: 0 0 8px; }

footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 40px;
  color: var(--soft);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  .front h1 { font-size: 32px; }
}
