:root {
  color-scheme: light;
  /* Colours from the app icon: ink, indigo, graphite and highlighter yellow */
  --bg: #f8f7fb;
  --surface: #ffffff;
  --text: #23203a;
  --muted: #5d5878;
  --accent: #4a3fbf;
  --on-accent: #ffffff;
  --accent-soft: #ecebfa;
  --highlight: #ffd43b;
  --border: #e3e0ee;
  --max: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: #23203a;
  background: var(--highlight);
  border-radius: 3px;
  padding: 0 4px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.95rem;
}

nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

main { padding: 40px 0 56px; }

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

h2 {
  font-size: 1.2rem;
  margin: 36px 0 8px;
}

h3 { font-size: 1.05rem; margin: 24px 0 6px; }

.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }

.hero { text-align: center; padding: 24px 0 8px; }

.hero h1 { font-size: 2.6rem; }

/* Highlighter behind a word, like the app icon. */
.hl {
  color: #23203a;
  background: var(--highlight);
  border-radius: 6px;
  padding: 0 8px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 8px auto 28px;
  max-width: 34rem;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

a.badge:hover { filter: brightness(1.1); }

.note { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 8px;
}

.shots figure { margin: 0; text-align: center; }

.shots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(35, 32, 58, 0.10);
}

.shots figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

@media (max-width: 560px) {
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .shots figure { scroll-snap-align: center; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.panel {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th { color: var(--muted); font-weight: 600; }

ul { padding-left: 1.2rem; }
li { margin: 6px 0; }

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  padding: 24px 0 40px;
}

footer.site a { color: var(--muted); }
