/* The app's colours, from apps/mobile/src/art/sorbet.tsx. The app is always dark, and so is this. */
:root {
  --canvas: #17151a;
  --panel: #26232c;
  --line: #3a3642;
  --ink: #f5f1f4;
  --ink2: #a29cab;
  --accent: #f6df8c;
  color-scheme: dark;
}

/* The system font, as in the app. On an iPhone or iPad the second rule makes all text follow
   the text size the reader chose in Settings, since every size below is in rem. */
html {
  font-family: system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
@supports (font: -apple-system-body) {
  html {
    font: -apple-system-body;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.45;
}

main {
  box-sizing: border-box;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 22%;
}

h1 {
  margin: 2.5rem 0 1rem;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

/* The small capital labels of the app. */
h2 {
  margin: 2.25rem 0 0.5rem;
  color: var(--ink2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p,
ul {
  margin: 0 0 1rem;
}
ul {
  padding-left: 1.25rem;
}
li {
  margin-bottom: 0.4rem;
}

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

.note {
  color: var(--ink2);
  font-size: 0.95rem;
}

/* As tall as the app's buttons, for a finger that is not exact. */
.button {
  display: block;
  box-sizing: border-box;
  min-height: 3.5rem;
  margin: 0 0 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--accent);
  color: var(--canvas);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.button.quiet {
  background: var(--panel);
  color: var(--ink);
}

.links {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.links a {
  display: inline-block;
  margin-right: 1.5rem;
  padding: 0.6rem 0;
}
