/* Colors mirror App/Mote/Design/Theme.swift. */
:root {
  --paper: #FAF7F1;
  --surface: #FFFDF8;
  --well: #F1ECE2;
  --ink: #302D28;
  --secondary: #696155;
  --muted: #756C60;
  --line: #E6DFD2;
  --pip: #AA7C32;
  --sage: #64794F;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #211F1B;
    --surface: #2D2923;
    --well: #332F27;
    --ink: #F3ECE0;
    --secondary: #C3B8A6;
    --muted: #B5A894;
    --line: #484034;
    --pip: #DAB667;
    --sage: #B2C39C;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--rounded);
}

a { color: var(--ink); text-decoration-color: var(--pip); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 22px/1 var(--serif);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; }

nav { display: flex; gap: 18px; font-size: 15px; font-weight: 500; }
nav a { color: var(--secondary); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

main { padding: 24px 0 48px; }

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.6px; line-height: 1.15; }
h1 { font-size: 40px; margin: 0 0 12px; }
h2 { font-size: 24px; margin: 40px 0 10px; }
h3 { font-size: 17px; font-weight: 600; margin: 28px 0 4px; }
p { margin: 0 0 14px; }

.lede { font-size: 19px; color: var(--secondary); }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 24px 0;
}
.card p:last-child { margin-bottom: 0; }

.hero { text-align: center; padding-top: 40px; }
.hero picture img {
  width: 168px;
  height: 168px;
  border-radius: 38px;
  box-shadow: 0 12px 32px rgba(48, 45, 40, 0.12);
}
.hero h1 { font-size: 48px; margin-top: 28px; }

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { opacity: 0.85; }

.points { list-style: none; padding: 0; margin: 36px 0 0; text-align: left; }
.points li { padding: 14px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points strong { font-weight: 600; }

.email { font: 500 20px/1.3 var(--serif); word-break: break-all; }

footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
footer a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 34px; }
  .hero h1 { font-size: 40px; }
  nav { gap: 14px; }
}
