/* One sheet for every page here.
 *
 * Two rules shape it, and both are Matthew's.
 *
 * **The type is large.** Not "comfortable" — large. Body text starts at 20px
 * and the things a person has to read in order to decide something are bigger
 * than that. Nothing here is 13px grey-on-grey.
 *
 * **No card backgrounds.** Structure comes from space and from type, not from
 * boxes drawn around things. A page that is a stack of panels reads as a
 * dashboard; a page that is a column of text reads as a sentence somebody wrote.
 */

:root {
  --ink: #12100e;
  --ink-soft: #5c564e;
  --ground: #faf8f5;
  --line: #e2ddd4;
  --accent: #1b5e8c;
  --yes: #2a6b45;
  --no: #9a4321;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2eee8;
    --ink-soft: #a29a8f;
    --ground: #14120f;
    --line: #302b25;
    --accent: #79b8dd;
    --yes: #7fc39b;
    --no: #e09070;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 4rem 1.5rem 6rem;
  background: var(--ground);
  color: var(--ink);
  font: 20px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 46rem; margin: 0 auto; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 { margin: 0 0 1.25rem; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
h2 { margin: 3.5rem 0 1rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1.2rem; max-width: 38rem; }
.lede { font-size: 1.35rem; color: var(--ink-soft); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

/* The doors. Big targets, no boxes — a rule under each, and the rule is the
   only chrome. */
.doors { display: flex; flex-direction: column; margin: 2.5rem 0; border-top: 1px solid var(--line); }
.door {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0.25rem; font-size: 1.5rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.door::after { content: '→'; color: var(--ink-soft); font-weight: 400; }
.door:hover { color: var(--accent); }
.door:hover::after { color: var(--accent); }
.none { color: var(--no); font-size: 1.2rem; }

table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 1rem; }
th, td { text-align: left; padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.yes { color: var(--yes); font-weight: 600; }
.no { color: var(--no); }

dl { margin: 2rem 0; }
dt { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1.5rem; }
dd { margin: 0.3rem 0 0; font-size: 1.2rem; word-break: break-all; }

input[type=text], input[type=search] {
  font: inherit; font-size: 1.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 0; width: 100%; max-width: 20rem;
  background: transparent; color: var(--ink);
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
}
input:focus { outline: none; border-bottom-color: var(--accent); }

button {
  font: inherit; font-size: 1.2rem; font-weight: 500; cursor: pointer;
  padding: 0.7rem 1.4rem; margin: 1.5rem 0.75rem 0 0;
  background: var(--ink); color: var(--ground); border: 0; border-radius: 2px;
}
button.quiet { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
button:disabled { opacity: 0.4; cursor: default; }

details { margin: 3rem 0 0; color: var(--ink-soft); font-size: 1rem; }
summary { cursor: pointer; }
details ul { padding-left: 1.2rem; }
details li { margin: 0.5rem 0; }

.who { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 2.5rem; }
.who img { width: 72px; height: 72px; border-radius: 50%; }
.who h1 { margin: 0; font-size: 2rem; }
.who p { margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 1.1rem; }

.row { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.row b { font-weight: 600; }
.row small { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.2rem; }
.row button { margin: 0; font-size: 1rem; padding: 0.4rem 0.9rem; }

.note { color: var(--ink-soft); font-size: 1.05rem; }
.said { padding: 1rem 0; font-size: 1.2rem; }
.said.bad { color: var(--no); }
.said.good { color: var(--yes); }
pre { overflow-x: auto; background: transparent; border-left: 2px solid var(--line); padding-left: 1rem; font-size: 0.95rem; }
