/* coyomap website. Dark, teal on near-black like the ASCII art; orange for the cliff edge. */
:root {
  --bg: #0b1113;
  --bg-raised: #111a1d;
  --line: #1f2d31;
  --text: #d7e2e4;
  --muted: #8fa3a8;
  --teal: #2dd4bf;
  --teal-dim: #1ea896;
  --orange: #f59e0b;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --measure: 46rem;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.92em; color: var(--teal); }

.top {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark { font-family: var(--mono); font-weight: 700; font-size: 1.15rem; color: var(--teal); letter-spacing: 0.02em; }
.top nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }

main { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem 3rem; }
section { padding: 2.2rem 0; border-top: 1px solid var(--line); }
section > p, section > ul, section h2, section h3 { max-width: var(--measure); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.55rem; margin: 0 0 0.9rem; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 0.4rem; color: var(--teal); }
p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.6rem; }
em { color: var(--teal); font-style: normal; }

.hero {
  border-top: 0;
  padding: 2.5rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
}
.lead { font-size: 1.25rem; color: var(--muted); margin-bottom: 1.6rem; }
.actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg-raised);
}
.button:hover { border-color: var(--teal-dim); text-decoration: none; }
.button.primary { background: var(--teal); border-color: var(--teal); color: #06211d; font-weight: 600; }
.button.primary:hover { background: #3ee0cc; }

.hero-art { margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; }

.shot { margin: 1.5rem 0 2rem; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-raised);
}
.shot figcaption, .shot figcaption strong { max-width: var(--measure); }
.shot figcaption { display: block; margin-top: 0.7rem; color: var(--muted); }
.shot figcaption strong { color: var(--text); }

pre.code {
  max-width: var(--measure);
  margin: 0.6rem 0 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.5;
}
pre.code code { color: var(--text); font-size: 1em; }

footer {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  body { font-size: 16px; }
}
