* { box-sizing: border-box; }

:root {
  --accent: #e6b54a;
  --accent-dim: #5a4a28;
  --accent-ink: #080809;
}

html, body {
  margin: 0;
  min-height: 100%;
}

html {
  background: #080809;
}

body {
  font: 15px/1.55 "Cascadia Mono", Consolas, "IBM Plex Mono", ui-monospace, monospace;
  color: #e8dcc4;
  background: #080809;
}

.bg-cycles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.bar,
.wrap,
.docs,
.shell,
footer {
  position: relative;
  z-index: 1;
}

.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #080809;
  border-bottom: 1px solid var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8dcc4;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }

.mark {
  display: block;
  width: 48px;
  height: 48px;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a { color: #9a8f78; }
nav a[aria-current="page"] { color: #e8dcc4; }
nav .get {
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 10px;
}
nav .get:hover { text-decoration: none; background: #f0c86a; }

.wrap {
  width: 100%;
  min-width: 0;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  gap: 28px;
  align-items: start;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--accent);
}

.lead {
  margin: 0 0 22px;
  max-width: 28rem;
  color: #b4a78c;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid var(--accent);
}
.button:hover { text-decoration: none; background: #f0c86a; }

.button.quiet {
  color: var(--accent);
  background: transparent;
  font-weight: 500;
}
.button.quiet:hover { background: #16140f; }

.window {
  background: #0c0c0e;
  border: 1px solid var(--accent);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: #101010;
  border-bottom: 1px solid var(--accent-dim);
  font-size: 12px;
}

.window-title { font-weight: 600; color: var(--accent); }
.window-field {
  width: 72px;
  padding: 3px 6px;
  color: #e8dcc4;
  background: #080809;
  border: 1px solid var(--accent-dim);
}
.window-btn {
  padding: 3px 8px;
  background: #080809;
  border: 1px solid var(--accent-dim);
  color: #e8dcc4;
}
.window-btn.primary {
  background: #c41e3a;
  border-color: #c41e3a;
  color: #e8dcc4;
}
.window-pill {
  margin-left: auto;
  color: #6db86d;
}

.window-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
}

.window-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px;
  border: 1px dashed var(--accent-dim);
  color: #9a8f78;
  font-size: 13px;
}

.window-list {
  border-left: 1px solid var(--accent-dim);
}
.window-list-head {
  padding: 10px 14px;
  color: #9a8f78;
  border-bottom: 1px solid var(--accent-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.window-row {
  padding: 10px 14px;
  border-bottom: 1px solid #1c1a14;
  font-size: 13px;
}

.band {
  padding: 8px 0 80px;
}

.blurb,
.how,
.donate {
  background: #0c0c0e;
  border: 1px solid var(--accent-dim);
}

.blurb {
  padding: 18px 20px;
}
.blurb h2,
.how > h2,
.donate h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.blurb p {
  margin: 0;
  color: #9a8f78;
}

.how {
  margin-top: 0;
  padding: 20px 22px 10px;
  border-top: none;
}
.how h3 {
  margin: 18px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e8dcc4;
}
.how p,
.how li {
  margin: 0 0 10px;
  color: #9a8f78;
}
.how ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
}
.how strong { color: #e8dcc4; font-weight: 600; }

.donate {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  margin-top: 48px;
  padding: 22px 18px;
}
.donate p {
  margin: 0 0 12px;
  color: #9a8f78;
  font-size: 14px;
}
.donate-btn {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 16px 12px;
  text-align: center;
  font-size: 16px;
}

.dev {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  padding: 16px 18px;
  background: #0c0c0e;
  border: 1px solid var(--accent-dim);
  border-top: none;
}
.dev p {
  margin: 0;
  color: #9a8f78;
}
.dev strong {
  display: block;
  margin-bottom: 4px;
  color: #e8dcc4;
  font-weight: 600;
}

.docs {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 48px 0 72px;
}

body > .docs {
  width: min(42rem, calc(100% - 48px));
  margin: 0 auto;
}

.docs h1 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.docs h2 {
  margin: 32px 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.docs p { color: #b4a78c; margin: 0 0 14px; }
.docs .lead { max-width: none; }
.docs strong { color: #e8dcc4; font-weight: 600; }

pre, code {
  font-family: "Cascadia Mono", Consolas, "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}

code {
  background: #12110e;
  padding: 1px 5px;
  color: var(--accent);
}

pre {
  margin: 0 0 16px;
  padding: 12px 14px;
  overflow: auto;
  background: #0c0c0e;
  border: 1px solid var(--accent-dim);
  color: #e8dcc4;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.fd-demo {
  margin: 0 0 16px;
}

.snippet {
  position: relative;
}

.copy-snippet {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: #080809;
  border: 1px solid var(--accent);
  cursor: pointer;
}

.snippet pre {
  padding-top: 36px;
}

footer {
  padding: 0 28px 36px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a6254;
}

footer .wrap {
  padding: 0;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .donate {
    margin-top: 0;
    min-height: 0;
    position: static;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }
  .window-body { grid-template-columns: 1fr; }
  .window-list { border-left: none; border-top: 1px solid var(--accent-dim); }
  .dev { flex-direction: column; align-items: flex-start; }
}
