:root {
  --paper: #eef2ef;
  --ink: #121816;
  --green: #146b45;
  --deep: #0e1c16;
  --muted: #4e5c55;
  --line: #d3ddd7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  font-size: 1.08rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 0.8rem; }
.bar { position: sticky; top: 0; z-index: 20; background: white; border-bottom: 3px solid var(--green); }
.bar-in {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo { text-decoration: none; color: var(--ink); }
.logo strong { display: block; font-size: 1.15rem; letter-spacing: -0.03em; }
.logo span { font-family: "Inconsolata", monospace; font-size: 0.78rem; color: var(--green); letter-spacing: 0.04em; }
#nav { display: none; gap: 1.1rem; margin-left: auto; }
#nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
#nav a[aria-current="page"] { color: var(--green); }
.nav-btn {
  display: inline-block;
  margin-left: auto;
  background: var(--green);
  color: white;
  border: 0;
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  flex: 0 0 auto;
}
@media (min-width: 861px) {
  .nav-btn { display: none; }
  #nav { display: flex; position: static; flex-direction: row; background: transparent; padding: 0; }
}
.wrap { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { max-width: 40rem; }
.mono { font-family: "Inconsolata", monospace; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--green); margin-bottom: 0.45rem; }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; padding: 3rem 0 2rem; }
.lead { font-size: 1.15rem; max-width: 38rem; }
.btn {
  display: inline-block;
  background: var(--green);
  color: white;
  text-decoration: none;
  border: 0;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
figure { margin: 0; }
figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 0.4rem; }
.deep figcaption { color: #c9ddd2; }
section { padding: 2.8rem 0; }
.deep { background: var(--deep); color: #eef2ef; }
.deep a { color: #9ddec0; }
.deep .mono { color: #9ddec0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: center; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.deep .rows li { border-top-color: rgba(238, 242, 239, 0.2); }
.rows b { font-family: "Inconsolata", monospace; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
.pair article { background: white; padding: 1rem; }
.deep .pair article { background: #173026; }
address { font-style: normal; font-size: 1.2rem; line-height: 1.45; }
.foot { background: var(--deep); color: #eef2ef; padding: 1.4rem 0; }
.foot-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: #9ddec0; }
.copy { width: min(1100px, calc(100% - 2rem)); margin: 1rem auto 0; font-size: 0.92rem; }
.form { display: grid; gap: 0.75rem; max-width: 36rem; }
label { font-weight: 600; display: grid; gap: 0.3rem; }
input, textarea { font: inherit; padding: 0.7rem; border: 0; border-bottom: 2px solid var(--green); background: white; border-radius: 0; }
.prose { max-width: 42rem; padding-bottom: 2rem; }
.prose h2 { margin-top: 1.5rem; }
.modal { position: fixed; inset: 0; background: rgba(14, 28, 22, 0.6); display: grid; place-items: center; padding: 1rem; z-index: 40; }
.modal[hidden] { display: none; }
.modal__card { background: white; padding: 1.4rem; width: min(420px, 100%); border-top: 6px solid var(--green); }
@media (max-width: 860px) {
  #nav { position: absolute; left: 0; right: 0; top: 72px; background: white; flex-direction: column; padding: 0.5rem 1rem 1rem; border-bottom: 3px solid var(--green); }
  #nav.is-open { display: flex; }
  .hero, .split, .pair, .rows li { grid-template-columns: 1fr; }
}
