/*
  The app's Paper palette, on the web.

  The site and the app should look like the same thing made by the same person — someone who
  lands here from the Play listing has already seen the icon. Ink on warm paper, one accent in
  clay, and nothing else.
*/
:root {
  --paper: #fbf7f0;
  --surface: #fffdf8;
  --variant: #efe8db;
  --rule: #d5cbb8;
  --ink: #3a5a78;
  --clay: #a85c3b;
  --text: #2a2520;
  --muted: #6b6155;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15130f;
    --surface: #1c1a15;
    --variant: #2c2921;
    --rule: #524c40;
    --ink: #a6c4e0;
    --clay: #e6a182;
    --text: #ece6dc;
    --muted: #a69d90;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.7 ui-serif, Georgia, "Times New Roman", serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 42rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

/* The wordmark, as close to the app's lockup as a web page can honestly get. */
.brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 2.5rem; }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.brand b { font-size: 1.35rem; letter-spacing: .01em; }
.brand a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: .6rem; }

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.2rem; margin: 2.4rem 0 .6rem; color: var(--ink); }
h3 { font-size: 1rem; margin: 1.6rem 0 .3rem; }
p, li { margin: .6rem 0; }
ul { padding-left: 1.2rem; }

.sub { color: var(--muted); margin: 0 0 2rem; font-size: .95rem; }

.lede {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0 2rem;
}

a { color: var(--ink); }
a:hover { color: var(--clay); }

nav.pages { margin: 2.5rem 0 0; display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .95rem; }

footer {
  margin-top: 3rem; padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted); font-size: .88rem;
}

code {
  background: var(--variant); padding: .1rem .35rem; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em;
}

/* Sans for the parts that are the app's voice rather than its writing, same rule as in-app. */
.sub, nav.pages, footer, .feature b { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

.features { display: grid; gap: 1rem; margin: 1.5rem 0; }
.feature { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: .9rem 1.1rem; }
.feature b { display: block; margin-bottom: .2rem; }
.feature span { color: var(--muted); font-size: .95rem; }

/* The Drive-permission list: Google's branding review looks for this explanation, so it has to
   read as prose rather than as another feature grid. */
main > ul { padding-left: 1.2rem; }
main > ul li { margin: .55rem 0; }
main > ul li b { color: var(--ink); }
