/* FirstDrop web — the public site. Deliberately tiny: no build step, no framework,
   no tracking. Mirrors the app's dark palette (see packages/ui/src/tokens). */

:root {
  --bg: #12162e;
  --bg-elevated: #1a1f3a;
  --text: #eef1f8;
  --text-muted: #a2a9c4;
  --text-faint: #6f779a;
  --accent: #8b9bf0;
  --accent-solid: #5b6ee1;
  --line: rgba(255, 255, 255, 0.1);
  --measure: 42rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
}
.brand span { color: var(--accent-solid); }

h1 { font-size: 2.1rem; line-height: 1.15; letter-spacing: -1px; margin: 2.5rem 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2.75rem 0 0.5rem; letter-spacing: -0.2px; }
h3 { font-size: 1rem; margin: 1.75rem 0 0.35rem; color: var(--text-muted); }
p, li { color: var(--text-muted); }
li { margin-bottom: 0.35rem; }
strong { color: var(--text); font-weight: 600; }

.lede { font-size: 1.15rem; color: var(--text); }
.meta { color: var(--text-faint); font-size: 0.9rem; margin-top: 0.25rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* Anything still to be filled in before this goes live. Impossible to miss. */
.todo {
  background: #4a2317;
  color: #ffd9c7;
  border: 1px dashed #f0a072;
  border-radius: 5px;
  padding: 0.1rem 0.45rem;
  font-size: 0.92em;
  font-weight: 600;
}

table { border-collapse: collapse; width: 100%; margin: 1.25rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); font-weight: 600; }
td { color: var(--text-muted); }
.scroll { overflow-x: auto; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.9rem;
}
footer a { color: var(--text-muted); }

.langs { margin-top: 0.75rem; font-size: 0.9rem; color: var(--text-faint); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .wrap { padding: 2.5rem 1.25rem 4rem; }
}
