:root {
  color-scheme: dark;
  --bg: #080b0a;
  --bg-deep: #040605;
  --surface: #111715;
  --surface-2: #171d19;
  --line: #31413a;
  --line-strong: #7a5a37;
  --text: #f0efe8;
  --muted: #b5bcb0;
  --dim: #7e8b80;
  --green: #6df15f;
  --green-soft: #b9ff8a;
  --copper: #c48549;
  --amber: #f3b35f;
  --danger: #ff6b4a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(196, 133, 73, 0.14), transparent 34rem),
    linear-gradient(180deg, #0b0e0c 0%, var(--bg) 46%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(109, 241, 95, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 133, 73, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
  padding: 0 4.5vw;
  border-bottom: 1px solid rgba(122, 90, 55, 0.32);
  background: rgba(8, 11, 10, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.source-link,
.nav-links a,
.button,
.copy-button,
.tab {
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.08rem;
}

.brand-mark {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(196, 133, 73, 0.7);
  background: rgba(17, 23, 21, 0.82);
  color: var(--copper);
}

.brand-mark svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.source-link:hover,
.brand:hover {
  color: var(--green-soft);
}

.source-link {
  justify-self: end;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(196, 133, 73, 0.45);
  color: var(--text);
  font-size: 0.9rem;
  background: rgba(17, 23, 21, 0.66);
}

.section-shell {
  width: min(1240px, calc(100% - 8vw));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(500px, 0.95fr) minmax(500px, 1.05fr);
  gap: 2.4rem;
  min-height: clamp(700px, 84vh, 880px);
  padding: clamp(2.5rem, 4.5vw, 5rem) 0 2.25rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.05rem, 6.4vw, 5.85rem);
  line-height: 0.96;
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  line-height: 1.15;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  font-weight: 780;
}

.button:hover,
.source-link:hover,
.copy-button:hover,
.tab:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #031004;
  background: linear-gradient(180deg, #8eff6a 0%, var(--green) 100%);
  box-shadow: 0 0 0 1px rgba(109, 241, 95, 0.22), 0 14px 38px rgba(109, 241, 95, 0.2);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(196, 133, 73, 0.58);
  background: rgba(17, 23, 21, 0.75);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-proof span {
  padding: 0.34rem 0.55rem;
  border: 1px solid rgba(49, 65, 58, 0.82);
  background: rgba(8, 11, 10, 0.46);
}

.hero-media {
  position: relative;
  min-height: clamp(420px, 56vw, 640px);
  overflow: hidden;
  border: 1px solid rgba(122, 90, 55, 0.58);
  background: #090d0b;
  box-shadow: var(--shadow);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 10, 0.72) 0%, rgba(8, 11, 10, 0.12) 34%, transparent 58%),
    linear-gradient(180deg, transparent 70%, rgba(8, 11, 10, 0.86) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 58% center;
}

.hero-console {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: min(430px, calc(100% - 2rem));
  border: 1px solid rgba(109, 241, 95, 0.42);
  background: rgba(6, 10, 8, 0.86);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
}

.console-bar {
  display: flex;
  gap: 0.42rem;
  padding: 0.7rem 0.8rem 0;
}

.console-bar span {
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--copper);
  border-radius: 50%;
}

pre {
  margin: 0;
  overflow-x: auto;
  color: var(--green-soft);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
  white-space: pre;
}

code {
  font-family: var(--mono);
}

.hero-console pre,
.step-card pre,
.daemon-panel pre {
  padding: 0.85rem 1rem 1rem;
}

.workflow,
.control,
.daemon,
.install {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 1rem;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 0.9rem;
}

.step-card,
.pillar-card,
.daemon-panel,
.install,
.daemon-facts div {
  border: 1px solid rgba(122, 90, 55, 0.52);
  background:
    linear-gradient(180deg, rgba(23, 29, 25, 0.82), rgba(9, 13, 11, 0.86)),
    var(--surface);
}

.step-card,
.pillar-card {
  min-height: 100%;
  padding: 1rem;
}

.step-number {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.step-card p,
.pillar-card p,
.daemon-copy p,
.install-copy p,
.daemon-facts dd,
.site-footer p {
  color: var(--muted);
}

.step-card pre {
  margin-top: 1.2rem;
  border: 1px solid rgba(49, 65, 58, 0.78);
  background: rgba(4, 6, 5, 0.78);
}

.control {
  width: min(1280px, calc(100% - 8vw));
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.pillar-card {
  padding: 1.25rem;
}

.pillar-icon {
  display: inline-grid;
  width: 3.15rem;
  height: 3.15rem;
  margin-bottom: 1.2rem;
  place-items: center;
  border: 1px solid rgba(196, 133, 73, 0.6);
  color: var(--copper);
  background: rgba(8, 11, 10, 0.74);
}

.pillar-icon svg,
.copy-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.daemon {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(420px, 1fr);
  gap: 2rem;
  align-items: start;
}

.daemon-copy h2 {
  margin-bottom: 1.1rem;
}

.daemon-facts {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 0;
}

.daemon-facts div {
  padding: 1rem;
}

.daemon-facts dt {
  margin-bottom: 0.3rem;
  color: var(--green-soft);
  font-weight: 760;
}

.daemon-facts dd {
  margin: 0;
}

.daemon-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(122, 90, 55, 0.45);
}

.tab {
  min-height: 3rem;
  border: 0;
  border-right: 1px solid rgba(122, 90, 55, 0.45);
  color: var(--muted);
  background: rgba(11, 15, 13, 0.88);
  cursor: pointer;
}

.tab:last-child {
  border-right: 0;
}

.tab.is-active {
  color: var(--green-soft);
  background: rgba(21, 29, 23, 0.95);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.log-stream {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-top: 1px solid rgba(49, 65, 58, 0.72);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.75rem;
  background: rgba(4, 6, 5, 0.7);
}

.install {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
}

.install h2 {
  margin-bottom: 0.8rem;
}

.command-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem;
  align-items: stretch;
  border: 1px solid rgba(109, 241, 95, 0.45);
  background: rgba(4, 6, 5, 0.82);
}

.command-box code {
  display: block;
  overflow-x: auto;
  padding: 1rem;
  color: var(--green-soft);
  font-size: 0.92rem;
  white-space: nowrap;
}

.copy-button {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(109, 241, 95, 0.32);
  color: var(--green-soft);
  background: rgba(17, 23, 21, 0.88);
  cursor: pointer;
}

.copy-button.is-copied {
  color: #061105;
  background: var(--green);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.link-grid a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 133, 73, 0.48);
  color: var(--text);
  background: rgba(17, 23, 21, 0.58);
}

.link-grid a:hover {
  border-color: var(--green);
  color: var(--green-soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1240px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--dim);
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--copper);
}

@media (max-width: 1080px) {
  .hero,
  .daemon,
  .install {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .workflow-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-rail .step-card:last-child {
    grid-column: 1 / -1;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .section-shell,
  .control,
  .site-footer {
    width: min(100% - 2rem, 1180px);
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .hero-media {
    min-height: 460px;
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(8, 11, 10, 0.12) 0%, rgba(8, 11, 10, 0.2) 52%, rgba(8, 11, 10, 0.9) 100%);
  }

  .hero-media img {
    object-position: 65% center;
  }

  .section-heading,
  .workflow-rail,
  .pillar-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .workflow-rail .step-card:last-child {
    grid-column: auto;
  }

  .install {
    padding: 1.25rem;
  }

  .command-box {
    grid-template-columns: minmax(0, 1fr) 2.75rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Comparison */

.compare {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.compare-col {
  padding: 1.5rem;
  border: 1px solid rgba(122, 90, 55, 0.52);
  background: linear-gradient(180deg, rgba(23, 29, 25, 0.82), rgba(9, 13, 11, 0.86)), var(--surface);
}

.compare-sober {
  border-color: rgba(109, 241, 95, 0.42);
  box-shadow: 0 0 0 1px rgba(109, 241, 95, 0.14), 0 14px 38px rgba(109, 241, 95, 0.12);
}

.compare-header {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 780;
  color: var(--text);
}

.compare-sober .compare-header {
  color: var(--green-soft);
}

.compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.compare-list li {
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
}

.check-no::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--dim);
}

.check-yes {
  color: var(--green-soft) !important;
}

.check-yes::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* CTA */

.cta {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.cta-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem;
  border: 1px solid rgba(109, 241, 95, 0.3);
  background: linear-gradient(180deg, rgba(23, 29, 25, 0.88), rgba(11, 15, 13, 0.92)), var(--surface);
  text-align: center;
  box-shadow: 0 0 0 1px rgba(109, 241, 95, 0.08), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-box h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-box p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.cta-box .hero-actions {
  justify-content: center;
}

@media (max-width: 860px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 2rem 1.25rem;
  }
}

/* ── Enterprise / Donation Section ── */

.enterprise-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.enterprise-col h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

.enterprise-benefits ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.enterprise-benefits li {
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
}

.enterprise-no-sub {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.donation-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.donation-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.donation-presets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.donation-preset {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.donation-preset:hover {
  border-color: var(--color-accent);
}

.donation-preset.is-selected {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.donation-custom {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.donation-dollar {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: var(--color-muted);
}

.donation-custom input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0 6px 6px 0;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--color-bg);
  color: var(--color-text);
}

.donation-custom input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.donation-submit {
  width: 100%;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.donation-suggestion {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  margin: 0;
}

.enterprise-download {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.download-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
  text-align: center;
}

.download-note a {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .enterprise-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── Public Beta ribbon + offer ── */

.beta-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  padding: 0.55rem 1.25rem;
  border-bottom: 1px solid rgba(109, 241, 95, 0.35);
  background: linear-gradient(90deg, rgba(109, 241, 95, 0.12), rgba(196, 133, 73, 0.14));
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
  text-align: center;
}

.beta-ribbon-pill {
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(109, 241, 95, 0.55);
  background: rgba(8, 11, 10, 0.55);
  color: var(--green-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.beta-ribbon a {
  color: var(--green-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.brand-beta {
  margin-left: 0.15rem;
  padding: 0.14rem 0.42rem;
  border: 1px solid rgba(109, 241, 95, 0.5);
  color: var(--green-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0 0 2.25rem;
}

.mode-card {
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(122, 90, 55, 0.45);
  background: rgba(17, 23, 21, 0.72);
}

.mode-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.mode-card pre {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(109, 241, 95, 0.22);
  background: rgba(6, 10, 8, 0.85);
}

.offer-banner {
  margin-bottom: 2rem;
  padding: 1.6rem 1.75rem;
  border: 1px solid rgba(109, 241, 95, 0.42);
  background:
    linear-gradient(135deg, rgba(109, 241, 95, 0.1), transparent 55%),
    rgba(17, 23, 21, 0.88);
  box-shadow: 0 0 0 1px rgba(109, 241, 95, 0.08), 0 18px 48px rgba(0, 0, 0, 0.28);
}

.offer-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.offer-banner h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

.offer-banner p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.support-details {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(122, 90, 55, 0.55);
  background: rgba(8, 11, 10, 0.4);
}

.support-details summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--text);
}

.support-details[open] summary {
  margin-bottom: 0.85rem;
  color: var(--green-soft);
}

.install-path-title {
  margin: 1.35rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.install-path-title:first-child {
  margin-top: 0;
}

.command-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(122, 90, 55, 0.48);
  background: rgba(6, 10, 8, 0.88);
}

.command-box code {
  display: block;
  overflow-x: auto;
  white-space: pre-wrap;
  color: var(--green-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.copy-button {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(196, 133, 73, 0.45);
  background: rgba(17, 23, 21, 0.8);
  color: var(--copper);
  cursor: pointer;
}

.copy-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.copy-button.is-copied {
  border-color: rgba(109, 241, 95, 0.55);
  color: var(--green-soft);
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 1rem;
}

.link-grid a {
  color: var(--green-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.workflow,
.control,
.compare,
.daemon,
.enterprise,
.install,
.cta {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  width: min(1240px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(49, 65, 58, 0.7);
  color: var(--dim);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }
}
