/* The portal's pages: the emails' own colors and type (see tool/emails.py),
   so the mail and the page it links to read as one thing. */
:root {
  --ground: #F5F5F3;
  --card: #FFFFFF;
  --ink: #1C1C1E;
  --body: #3A3A3C;
  --quiet: #8E8E93;
  --accent: #4D79D8;
  --accent-pale: #A9BDEA;
  --rule: #E8E6E1;
  --field: #D9D7D2;
  --error: #D23B3B;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* A page: the mark and name, then one card under it. */
main {
  max-width: 432px;
  margin: 0 auto;
  padding: 56px 16px 32px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; display: block; }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.card section { padding: 24px; }
.card section + section { border-top: 1px solid var(--rule); }

h1 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
p { margin: 0; font-size: 15px; line-height: 24px; color: var(--body); }

[hidden] { display: none !important; }
