/* Shared styles for every Canopy web page: tokens (docs/DESIGN-TOKENS.md), base type,
   header, footer, buttons. Page-specific styles stay inline in each page. */
:root {
  --bg: #0f1d18;
  --bg-nav: #12221b;
  --surface: #172a23;
  --surface-raised: #1b3a2b;
  --surface-water: #143039;
  --surface-sun: #3a2e1a;
  --surface-coral: #3f2a22;
  --bg-camera: #081210;
  --border: #24392f;
  --border-raised: #2c5a42;
  --border-sun: #5a4520;
  --border-dashed: #3a5446;
  --text: #f2f5ee;
  --muted: #9ab0a3;
  --soft: #c9d8ce;
  --on-sun: #ead9b5;
  --moss: #8ce99a;
  --moss-deep: #4fa86a;
  --water: #6fc3df;
  --sun: #f5c04e;
  --coral: #ff8a6a;
  --on-accent: #0f1d18;
  --planet: #163b30;
  --ground-deep: #0b2a1e;
  --ground: #1b4a33;
  --ground-near: #23603f;
  --display: "Bricolage Grotesque", Manrope, system-ui, sans-serif;
  --gutter: 16px;
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.55 Manrope,
    system-ui,
    sans-serif;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
a {
  color: var(--moss);
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--moss);
  color: var(--on-accent);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* Header */
.site-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  min-height: 44px;
}
.brand:hover {
  color: var(--text);
}
.brand svg {
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
}
.site-nav a {
  color: var(--soft);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text);
}
.site-nav .nav-plus {
  color: var(--sun);
}
.site-nav .nav-wide {
  display: none;
}
@media (min-width: 900px) {
  .site-nav .nav-wide {
    display: inline;
  }
}

/* Buttons and pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-moss {
  background: var(--moss);
  color: var(--on-accent);
}
.btn-moss:hover {
  filter: brightness(1.08);
  color: var(--on-accent);
}
.btn-light {
  background: var(--text);
  color: var(--on-accent);
}
.btn-light:hover {
  filter: brightness(1.08);
  color: var(--on-accent);
}
.btn-sun {
  background: var(--sun);
  color: var(--on-accent);
}
.btn-sun:hover {
  filter: brightness(1.08);
  color: var(--on-accent);
}
.btn-ghost {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--border-raised);
  color: var(--text);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--soft);
  font-weight: 800;
  font-size: 13px;
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--sun);
}
.eyebrow {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-nav);
  color: var(--muted);
  font-size: 14px;
}
.site-footer .inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer p {
  margin: 8px 0 0;
  max-width: 34em;
}
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site-footer nav a {
  display: inline-block;
  padding: 10px 0;
  font-weight: 700;
}
