/* Canopy — brochure site.
   Self-contained on purpose: no web fonts, no CDN, no scripts. It is served as
   static files through a tunnel, and every external reference is one more thing
   that can be slow, blocked, or offline. */

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

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8f9;
  --surface: #ffffff;
  --border: #e3e8ea;
  --text: #10222b;
  --muted: #5a6b73;
  --muted2: #43555e;
  --green: #4cba6a;
  --teal: #23a396;
  --blue: #1f7fc9;
  --deep: #0d4a72;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1418;
    --bg-alt: #111a1f;
    --surface: #141e24;
    --border: #23323a;
    --text: #eef4f6;
    --muted: #8698a1;
    --muted2: #b3c2c9;
    --green: #6ed88a;
    --teal: #3fc3b4;
    --blue: #4aa6e8;
    --deep: #7cc4f0;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: var(--blue);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 5px;
}

/* ---- nav ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--text);
}

/* ---- hero ---- */

.hero {
  padding: 80px 0 56px;
  text-align: center;
}

.hero img.mark {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  margin-bottom: 24px;
}

.hero p.lede {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1.12rem;
  color: var(--muted2);
}

.hero .tagline {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
}

h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green), var(--teal) 45%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- sections ---- */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin-bottom: 10px;
}

.section > .container > p {
  color: var(--muted2);
  max-width: 640px;
}

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

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

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted2);
}

.steps {
  counter-reset: step;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.steps li {
  list-style: none;
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 52px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted2);
  font-size: 0.94rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong {
  color: var(--text);
}

.note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--muted2);
}

/* ---- footer ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-legal-links a:hover {
  color: var(--text);
}
