/* SoloMatter marketing site. Tokens mirror brand/README.md. */
:root {
  --background: #fafaf9;
  --surface: #ffffff;
  --muted: #f5f5f4;
  --border: #d6d3d1;
  --ink: #1c1917;
  --text: #292524;
  --text-muted: #78716c;
  --accent: #2f5d8a;
  --accent-tint: #dce7f1;
  --accent-contrast: #ffffff;
  --link: #2f5d8a;
  --notice-bg: #f5e6b8;
  --notice-text: #5c4a0f;
  --serif: Lora, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --measure: 62ch;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #141210;
    --surface: #1c1917;
    --muted: #231f1c;
    --border: #3f3a36;
    --ink: #fafaf9;
    --text: #e7e5e4;
    --text-muted: #a8a29e;
    --accent: #8fb4d9;
    --accent-tint: #1f3346;
    --accent-contrast: #141210;
    --link: #8fb4d9;
    --notice-bg: #3a2f0f;
    --notice-text: #f5e6b8;
  }
}

/* Umbrella page: ink as the accent. */
.theme-team {
  --accent: #1c1917;
  --accent-tint: #e7e5e4;
  --accent-contrast: #fafaf9;
  --link: #1c1917;
}
@media (prefers-color-scheme: dark) {
  .theme-team {
    --accent: #fafaf9;
    --accent-tint: #292524;
    --accent-contrast: #141210;
    --link: #fafaf9;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: 36px; letter-spacing: -0.01em; }
h2 { font-size: 28px; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 500; }
@media (min-width: 720px) {
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
}

p { margin: 0 0 1em; max-width: var(--measure); }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
strong { color: var(--ink); font-weight: 600; }
small, .muted { color: var(--text-muted); }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .mark-fill { fill: var(--accent); }
.brand .mark-stroke { stroke: var(--accent); }
.site-header nav { display: flex; gap: 20px; font-size: 15px; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); text-decoration: underline; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 88px 0; } }
.band { background: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Hero */
.hero { padding-top: 64px; }
.hero h1 { max-width: 20ch; }
.hero .lede { font-size: 18px; max-width: 56ch; }
@media (min-width: 720px) { .hero .lede { font-size: 20px; } }

/* Waitlist form */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 520px;
}
.waitlist label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.waitlist input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}
.waitlist input:focus-visible, .button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

.button {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { filter: brightness(1.08); }
.button.secondary { background: transparent; color: var(--accent); }

/* Feature grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }

/* Scope lists */
.two-col { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h3 { font-family: var(--sans); font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; }
.two-col ul { margin: 0; }

/* Status pills (team page) */
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--ink);
  margin-bottom: 10px;
}
.pill.soon { background: var(--muted); color: var(--text-muted); border: 1px solid var(--border); }

/* Notice (draft legal pages) */
.notice {
  background: var(--notice-bg);
  color: var(--notice-text);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 15px;
  margin: 24px 0;
}
.notice a { color: inherit; }

/* Prose pages */
.prose { padding: 48px 0 80px; }
.prose h2 { font-size: 22px; margin-top: 40px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--text-muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--text-muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
