/* Brim's own palette — BrimInk plus the `tide` tone (docs/DESIGN.md §4, §12). */
:root {
  --background: #0a0b0c;
  --surface: #141618;
  --hairline: #24282b;
  --primary-text: #f2f4f5;
  --secondary-text: #8a9297;
  --muted-text: #585f63;
  --tide: #5fd9e8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--background);
  color: var(--primary-text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 640px; margin: 0 auto; }

/* The waterline: one bright line under the header, the way the app draws it. */
header {
  padding: 64px 0 28px;
  border-bottom: 2px solid var(--tide);
  margin-bottom: 40px;
}

.wordmark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-text);
  text-decoration: none;
  display: inline-block;
}

.tagline {
  margin: 12px 0 0;
  color: var(--secondary-text);
  font-size: 17px;
}

h1 { font-size: 28px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.2px; }
h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
p  { color: var(--secondary-text); margin: 0 0 16px; }
strong { color: var(--primary-text); font-weight: 600; }

.updated { color: var(--muted-text); font-size: 13px; margin-bottom: 32px; }

ul { color: var(--secondary-text); padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

a { color: var(--tide); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.lede {
  color: var(--primary-text);
  font-size: 20px;
  line-height: 1.5;
}

nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); }
nav a { margin-right: 20px; font-size: 15px; }

footer { margin-top: 48px; color: var(--muted-text); font-size: 13px; }

@media (max-width: 480px) {
  header { padding-top: 44px; }
  h1 { font-size: 24px; }
}
