:root {
  --paper: #f4efe6;
  --ink: #111111;
  --muted: #5e5a53;
  --line: #d9d2c6;
  --white: #fffdf8;
  --green: #16c35a;
  --green-ink: #06280f;
  --font-display: "Unbounded", ui-sans-serif, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { color: #0d8a3d; }
.shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0 1.2rem;
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img { height: 30px; width: auto; display: block; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.brand-name span { color: var(--green); }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.1rem;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  min-height: 2.15rem;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
}
.nav-cta:hover { background: #000; color: #fff !important; }

main { padding: 0.2rem 0 4rem; }
footer {
  border-top: 1px solid var(--ink);
  padding: 1.2rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
footer .foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
  justify-content: space-between;
}
footer a { color: var(--muted); font-weight: 600; text-decoration: none; }
footer a:hover { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.05rem; }

.hero {
  text-align: center;
  padding: 3.2rem 0 2.8rem;
}
.kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.4rem, 16vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.hero-line {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: -0.03em;
}
.wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 64px;
  margin: 1.6rem auto 1.5rem;
  max-width: 22rem;
}
.wave i {
  display: block;
  width: 4px;
  border-radius: 99px;
  background: var(--green);
  transform-origin: bottom;
  animation: eq 1s ease-in-out infinite;
}
.wave i:nth-child(1) { height: 18%; animation-delay: 0.00s; animation-duration: 0.72s; }
.wave i:nth-child(2) { height: 42%; animation-delay: 0.08s; animation-duration: 0.90s; }
.wave i:nth-child(3) { height: 70%; animation-delay: 0.16s; animation-duration: 0.78s; }
.wave i:nth-child(4) { height: 36%; animation-delay: 0.04s; animation-duration: 1.05s; }
.wave i:nth-child(5) { height: 88%; animation-delay: 0.22s; animation-duration: 0.82s; }
.wave i:nth-child(6) { height: 28%; animation-delay: 0.12s; animation-duration: 0.94s; }
.wave i:nth-child(7) { height: 62%; animation-delay: 0.30s; animation-duration: 0.76s; }
.wave i:nth-child(8) { height: 94%; animation-delay: 0.06s; animation-duration: 0.88s; }
.wave i:nth-child(9) { height: 40%; animation-delay: 0.18s; animation-duration: 1.10s; }
.wave i:nth-child(10) { height: 76%; animation-delay: 0.26s; animation-duration: 0.80s; }
.wave i:nth-child(11) { height: 22%; animation-delay: 0.10s; animation-duration: 0.98s; }
.wave i:nth-child(12) { height: 58%; animation-delay: 0.20s; animation-duration: 0.84s; }
.wave i:nth-child(13) { height: 84%; animation-delay: 0.14s; animation-duration: 0.92s; }
.wave i:nth-child(14) { height: 34%; animation-delay: 0.28s; animation-duration: 0.74s; }
.wave i:nth-child(15) { height: 66%; animation-delay: 0.02s; animation-duration: 1.02s; }
.wave i:nth-child(16) { height: 48%; animation-delay: 0.24s; animation-duration: 0.86s; }
.hero-sub {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.hero .actions { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.6rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #000; color: #fff; }
.btn-soft { background: transparent; color: var(--ink); }
.btn-soft:hover { background: var(--ink); color: var(--paper); }

.rows {
  border-top: 1px solid var(--ink);
}
.row {
  display: grid;
  grid-template-columns: 4.2rem 9.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink);
}
.row span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.row p { margin: 0; color: var(--muted); }

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.4rem 0 2rem;
  padding: 1.4rem 1.35rem;
  background: var(--ink);
  color: var(--paper);
}
.band h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.band p { margin: 0; color: #c9c3b8; font-weight: 600; }
.band .btn-solid { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.band .btn-solid:hover { filter: brightness(1.06); color: var(--green-ink); }
.band .btn-soft { border-color: #fff; color: #fff; }
.band .btn-soft:hover { background: #fff; color: var(--ink); }

.links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}
.links a {
  padding: 1rem 1.1rem 1rem 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
}
.links a:hover { color: #0d8a3d; }
.links strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}
.links span { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.86rem; }

.page-head { margin: 1.4rem 0 1.5rem; }
.page-head h1 {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}
.meta { display: flex; gap: 0.5rem; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.chip {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.8rem;
}
.layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.toc {
  position: sticky;
  top: 4.4rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--ink);
}
.toc strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.toc a {
  display: block;
  padding: 0.28rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.toc a:hover, .toc a.active { color: var(--ink); }
.paper {
  padding: 0 0 1rem;
  border: 0;
  background: transparent;
}
.prose { color: #3d3a34; font-size: 1.04rem; line-height: 1.75; font-weight: 500; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 1.8rem 0 0.65rem;
  scroll-margin-top: 5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.prose h2 { font-size: 1.2rem; }
.prose h3 { font-size: 1.05rem; }
.prose p { margin: 0.8rem 0; }
.prose ul, .prose ol { margin: 0.8rem 0; padding-left: 1.15rem; }
.prose li { margin: 0.35rem 0; }
.prose strong { color: var(--ink); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0;
  font-size: 0.94rem;
}
.prose th, .prose td {
  padding: 0.7rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--ink);
}
.more a {
  display: block;
  padding: 0.95rem 1rem 0.95rem 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.85rem;
}
.more small { display: block; margin-top: 0.3rem; color: var(--muted); font-weight: 500; text-transform: none; font-family: var(--font-body); }

@keyframes eq {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

@media (max-width: 900px) {
  .layout, .links { grid-template-columns: 1fr; }
  .row { grid-template-columns: 3rem 1fr; }
  .row p { grid-column: 2; }
  .toc { position: static; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: 4.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wave i { animation: none; transform: none; }
}
