/* Same palette and type as the nicotine.dev landing page, laid out for reading
   rather than for a single centred card: pages here are long enough to scroll.

   Light only, deliberately: `color-scheme: light` stops the browser from
   darkening scrollbars and form controls around a light page, which is what
   happens if the page simply declines to answer the dark-mode question. */
:root {
  color-scheme: light;
  --claude: #d97757;
  /* Same hue, dark enough to read: #d97757 on this paper is 2.8:1, which fails
     WCAG AA for text. The display h1 keeps the brand orange — it is 50px and
     decorative — but anything you actually have to read uses this. */
  --claude-text: #ba4e2a;
  --paper-50: #f5f4ee;
  --card: #ffffff;
  --ink: #1f1e1b;
  --ink-dim: #6b6660;
  --rule: rgba(31, 30, 27, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper-50);
  color: var(--ink);
  font-family: 'Source Serif 4', ui-serif, Georgia, Cambria, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body { padding: 3rem 1.5rem 4rem; }

main {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
}

/* Back to the app's own page, on the support and privacy pages. */
.up {
  display: inline-block;
  margin: 0 0 1.5rem;
  color: var(--ink-dim);
  font-style: italic;
  text-decoration: none;
}
.up:hover { color: var(--claude-text); }

h1 {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  color: var(--claude);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.tagline {
  color: var(--ink-dim);
  font-style: italic;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.updated {
  color: var(--ink-dim);
  font-style: italic;
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
}

h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.25rem;
}

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

a {
  color: var(--claude-text);
  text-decoration-color: color-mix(in srgb, var(--claude-text) 45%, transparent);
  text-underline-offset: 3px;
}

/* The two cards on the app's page. */
ul.pages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pages a {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color 120ms ease, transform 120ms ease;
}
.pages a:hover {
  border-color: color-mix(in srgb, var(--claude) 60%, transparent);
  transform: translateY(-1px);
}
.pages .name { font-style: italic; font-size: 1.3rem; color: var(--claude-text); margin: 0 0 0.25rem; }
.pages .desc { margin: 0; color: var(--ink-dim); font-size: 0.95rem; }

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-dim);
  font-size: 0.85rem;
}
