/*
 * One stylesheet, no inline styles anywhere: the site's Content-Security-Policy
 * (staticwebapp.config.json) is default-src 'self', which refuses a style attribute or a
 * <style> block. Anything new goes in here.
 *
 * --brand is the mark's fixed teal, the one in SynapseECE.Web/public/app-icon.svg.
 * --brand-text is darker because that teal on white is below 4.5:1 for text.
 */
:root {
  --brand: #00acac;
  --brand-text: #007a7a;
  --page: #ffffff;
  --surface: #f4f7f8;
  --edge: #dfe6e9;
  --text: #1c2529;
  --text-secondary: #55636b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-text: #4fd1d1;
    --page: #12181b;
    --surface: #1b2428;
    --edge: #2b383e;
    --text: #eef2f4;
    --text-secondary: #a9b6bd;
  }
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

main {
  flex: 1;
}

a {
  color: var(--brand-text);
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-top: 4px solid var(--brand);
  border-bottom: 1px solid var(--edge);
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.wordmark {
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.hero {
  padding: 72px 0 56px;
}

.coming-soon {
  margin: 0 0 24px;
  color: var(--brand-text);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 24ch;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  max-width: 56ch;
  color: var(--text-secondary);
  font-size: 1.1875rem;
}

.canadian {
  margin: 28px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  font-size: 1.1875rem;
  font-weight: 600;
}

.features {
  padding: 0 0 72px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 12px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
}

.site-footer {
  border-top: 1px solid var(--edge);
  padding: 24px 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}
