@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --bg: #0a0b0d;
  --bg2: #111318;
  --bg-2: #111318;
  --panel: #13151a;
  --panel2: #15171c;
  --border: #23262d;
  --text: #f3f1ec;
  --muted: #8b93a1;
  --muted2: #c7cbd3;
  --amber: #e8a54b;
  --amber-h: #f0b262;
  --amber-dim: #c98a3a;
  --ink: #1a1204;
  --red: #d65b4a;
  --shortfall: #d65b4a;
  --green: #34d399;
  --ok: #34d399;
  --r-pill: 100px;
  --r-card: 14px;
  --r-lg: 20px;
  --r-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark { font-family: inherit; font-weight: 300; }
.mono { font-family: inherit; }

.wrap { max-width: 1312px; margin: 0 auto; padding: 0 64px; }
section { padding: 120px 0; }
.section-tight-top { padding-top: 0; }

.eyebrow {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
h2.sec {
  font-size: 36px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-weight: 300;
}
p.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
}
.lead-gap { margin-top: 12px; }
.center { text-align: center; }
.center p.lead { margin: 0 auto; }

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  border-bottom: 1px solid transparent;
  transition: 0.35s;
}
nav.scrolled {
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(14px);
  padding: 14px 64px;
  border-color: var(--border);
}
.wordmark {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.wordmark span { color: var(--amber); }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 300;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--amber);
  transition: 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 14px; align-items: center; }
.nav-producthunt {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.nav-producthunt img {
  display: block;
  height: 38px;
  width: auto;
}
.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-weight: 300;
  font-size: 14.5px;
  text-decoration: none;
  transition: 0.25s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 241, 236, 0.15);
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: var(--r-pill);
  font-weight: 300;
  font-size: 15.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: 0.22s;
}
.btn-p { background: var(--amber); color: var(--ink); }
.btn-p:hover {
  transform: translateY(-3px);
  background: var(--amber-h);
  box-shadow: 0 14px 32px rgba(232, 165, 75, 0.28);
}
.btn-s {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-s:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

/* HERO */
.hero {
  padding: 168px 0 0;
  position: relative;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, #16181d 0%, var(--bg) 62%);
  overflow: hidden;
  text-align: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, black 0%, transparent 70%);
  pointer-events: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--muted2);
  margin-bottom: 28px;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.pill b { color: var(--amber); font-weight: 300; }
h1.display {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto 26px;
}
h1.display .dot { color: var(--amber); }
.hero-sub {
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-note {
  font-family: inherit;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 64px;
}

.hero-visual {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 64px;
  position: relative;
}
.dash {
  background: linear-gradient(180deg, #171a20, #12141a);
  border: 1px solid var(--border);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
  text-align: left;
}
.dash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.dots { display: flex; gap: 7px; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: #3a3f47; }
.dash-live {
  font-family: inherit;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dash-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.6s infinite;
}
.dash-meta { font-size: 11px; color: var(--muted); }
@keyframes blink { 50% { opacity: 0.3; } }
.dash-body { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 0; }
.dash-left { padding: 36px; border-right: 1px solid var(--border); }
.dash-title { font-size: 14px; font-weight: 300; margin-bottom: 4px; }
.dash-sub {
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 170px;
  position: relative;
  margin-bottom: 8px;
}
.ref {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--amber);
  opacity: 0.7;
}
.ref-l {
  position: absolute;
  top: 8px;
  right: 0;
  font-family: inherit;
  font-size: 10.5px;
  color: var(--amber-dim);
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #9aa3b2;
  min-height: 8px;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
}
.bar.low { background: var(--red); }
.bar:hover { filter: brightness(1.2); }
.dash-stats { display: flex; gap: 40px; margin-top: 22px; flex-wrap: wrap; }
.dash-stats .stat small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.dash-stats .stat b {
  font-family: inherit;
  font-size: 24px;
  font-weight: 300;
}
.dash-stats .stat b.amber { color: var(--amber); }
.dash-stats .stat b.red { color: var(--red); }
.dash-right { padding: 36px 32px; background: rgba(232, 165, 75, 0.03); }
.gauge-card {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px;
  background: var(--bg);
  margin-bottom: 16px;
}
.gauge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.gauge-top small {
  font-family: inherit;
  font-size: 11.5px;
  color: var(--muted);
}
.fault-tag { color: var(--red) !important; }
.gauge-num {
  font-family: inherit;
  font-size: 34px;
  color: var(--amber);
}
.gauge-l {
  font-family: inherit;
  font-size: 11px;
  color: var(--muted);
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
  font-size: 12.5px;
}
.mini-row:last-child { border: none; }
.mini-row .t { flex: 1; height: 5px; background: #23262d; border-radius: 3px; overflow: hidden; }
.mini-row .f { height: 100%; background: var(--amber); border-radius: 3px; }
.mini-row.bad .f { background: var(--red); }
.mini-row.bad { color: var(--red); }
.hero-cap {
  font-family: inherit;
  font-size: 11.5px;
  color: var(--muted);
  padding: 18px;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* STRIP */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 26px 0;
}
.strip-in {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--muted);
}
.strip-in b { color: var(--text); font-weight: 300; }
.strip-in .sep { color: #3a3f47; }

/* PROBLEM */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.vs-card {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  background: var(--bg2);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: 0.25s;
}
.vs-card:hover { transform: translateX(6px); }
.vs-card.hot {
  border-color: var(--amber);
  background: rgba(232, 165, 75, 0.06);
}
.vs-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.vs-card small {
  display: block;
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 300;
}
.vs-card b { font-size: 15.5px; font-weight: 300; }

/* STEPS */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 30px;
  transition: 0.25s;
  overflow: hidden;
}
.step-card:hover {
  border-color: var(--amber-dim);
  box-shadow: 0 20px 50px rgba(232, 165, 75, 0.1);
  transform: translateY(-4px);
}
.step-n {
  font-family: inherit;
  color: var(--amber);
  font-size: 14px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.step-card code {
  display: block;
  margin-top: 16px;
  font-family: inherit;
  font-size: 12px;
  color: var(--muted2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* DEMO */
.demo-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0 28px;
}
.dtab {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.2s;
}
.dtab.active {
  background: rgba(232, 165, 75, 0.12);
  border-color: var(--amber);
  color: var(--amber);
}
.demo-win {
  max-width: 900px;
  margin: 0 auto;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
  min-height: 420px;
}
.demo-body {
  padding: 46px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.term {
  font-family: inherit;
  font-size: 14px;
  color: var(--muted2);
  margin-bottom: 10px;
}
.term .p { color: var(--amber); margin-right: 10px; }
.term .ok { color: var(--green); }
.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--amber);
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
  vertical-align: middle;
}
.nrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
  font-size: 13px;
}
.alert {
  border: 1px solid rgba(214, 91, 74, 0.4);
  background: rgba(214, 91, 74, 0.08);
  border-radius: 12px;
  padding: 26px 28px;
}
.alert b { color: var(--red); font-size: 16px; }
.alert p { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.6; }
.alert small {
  font-family: inherit;
  font-size: 12px;
  color: var(--muted2);
  display: block;
  margin-top: 12px;
}
.report { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.report .big { font-size: 18px; font-weight: 300; }
.report small { color: var(--muted); font-size: 14px; }

/* PRIVACY */
.priv {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.priv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
.plist { list-style: none; display: grid; gap: 10px; }
.plist li {
  font-family: inherit;
  font-size: 13px;
  color: var(--muted2);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
}
.plist li.never {
  border-color: rgba(214, 91, 74, 0.35);
  color: #e8a0a0;
}

/* INSTALL (landing) */
#install { background: var(--bg2); }
.cloud-note {
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.install-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.install-card .install-card-actions,
.install-card .install-card-foot {
  margin-top: auto;
}
.install-card .code:last-child {
  margin-bottom: 0;
}
.install-card.featured { border-color: var(--amber); }
.install-card h3 { font-size: 20px; margin-bottom: 10px; }
.install-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.code {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.code-h {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.code-b,
.code-body {
  padding: 16px 18px;
  font-family: inherit;
  font-size: 13px;
  color: var(--muted2);
  overflow-x: auto;
  white-space: pre;
}
.dl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.dl,
.download-btn {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
}
.dl:hover,
.download-btn:hover { border-color: var(--amber-dim); }
.dl.primary,
.download-btn.primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

/* ENTERPRISE */
.ent {
  background: linear-gradient(180deg, rgba(232, 165, 75, 0.07), transparent 60%), var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.ent-list { list-style: none; display: grid; gap: 10px; margin: 24px 0 28px; }
.ent-list li {
  color: var(--muted);
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
}
.ent-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber);
}
.ent-facts { display: grid; gap: 12px; }
.fact {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 20px 22px;
}
.fact b {
  font-family: inherit;
  font-size: 22px;
  color: var(--amber);
}
.fact small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: center;
}
.stat-cell b {
  font-family: inherit;
  font-size: 34px;
  font-weight: 300;
  display: block;
}
.stat-cell b.amber { color: var(--amber); }
.stat-cell b.red { color: var(--red); }
.stat-cell small { color: var(--muted); font-size: 13.5px; }

/* FINAL CTA */
.final {
  text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232, 165, 75, 0.12), transparent 70%);
}
.final h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.final p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.6;
}

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 44px 0; }
.footer-in {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--muted);
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 24px;
}
.footer-links a:hover { color: var(--text); }

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.launchon-badge {
  display: inline-flex;
  line-height: 0;
}
.launchon-badge img {
  display: block;
  height: 36px;
  width: auto;
}
body.doc-page footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-left: 64px;
  padding-right: 64px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ——— Self-host & docs pages (legacy layout) ——— */
.install-section { background: var(--bg2); padding: 110px 64px 130px; }
.install-inner { max-width: 1312px; margin: 0 auto; }
.install-inner h2 { font-size: 34px; margin-bottom: 14px; font-weight: 300; }
.install-lead { color: var(--muted); max-width: 820px; line-height: 1.65; margin-bottom: 28px; }
.install-lead strong { color: var(--text); font-weight: 300; }

.download-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 40px;
  max-width: 900px;
}
.download-panel h3 { font-size: 18px; margin-bottom: 8px; font-weight: 300; }
.download-panel > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; line-height: 1.55; }
.download-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.download-meta { font-family: inherit; font-size: 12px; color: var(--muted); }

.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 900px;
}
.platform-tab {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.platform-tab:hover { color: var(--text); border-color: var(--amber-dim); }
.platform-tab.active {
  background: rgba(232, 165, 75, 0.12);
  border-color: var(--amber);
  color: var(--amber);
}

.platform-guide { max-width: 900px; margin-top: 8px; margin-bottom: 12px; }
.platform-guide[hidden] { display: none; }
.guide-title { font-size: 20px; margin-bottom: 10px; font-weight: 300; }
.guide-intro { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 28px; max-width: 820px; }
.guide-intro strong { color: var(--text); font-weight: 300; }
.guide-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(232, 165, 75, 0.06);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 820px;
}

.prereq-box {
  margin-bottom: 28px;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid var(--amber-dim);
  background: rgba(232, 165, 75, 0.08);
  max-width: 820px;
}
.prereq-box h4 { font-size: 15px; margin-bottom: 12px; font-weight: 300; color: var(--amber); }
.prereq-box ul { margin-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.prereq-box li { margin-bottom: 6px; }
.prereq-box strong { color: var(--text); }

.code-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
}
.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
}
.copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.copy-btn.copied { color: var(--green); border-color: rgba(52, 211, 153, 0.4); }

.advanced-block { margin-top: 28px; max-width: 820px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.advanced-block summary { cursor: pointer; color: var(--amber); font-weight: 300; margin-bottom: 8px; }

.setup-steps { display: grid; gap: 20px; max-width: 900px; margin-top: 32px; }
.setup-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.setup-step-n {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 165, 75, 0.12);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 300;
}
.setup-step h4 { font-size: 16px; margin-bottom: 6px; font-weight: 300; }
.setup-step p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 8px; }

.provide-section { padding: 100px 64px 120px; }
.provide-inner { max-width: 1312px; margin: 0 auto; }
.provide-inner h2 { font-size: 32px; margin-bottom: 16px; font-weight: 300; }
.provide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.provide-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.provide-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 300; }
.provide-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.privacy-section { background: var(--bg2); padding: 100px 64px; }
.privacy-inner { max-width: 1312px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.privacy-list { list-style: none; display: grid; gap: 10px; }
.privacy-list li {
  font-family: inherit;
  font-size: 13px;
  color: var(--muted2);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.privacy-list li.never { border-color: rgba(214, 91, 74, 0.35); color: #e8a0a0; }

@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  section { padding: 72px 0; }
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-producthunt img { height: 32px; }
  .hero { padding-top: 132px; }
  .hero-visual { padding: 0 24px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-left { border-right: none; border-bottom: 1px solid var(--border); }
  .split, .priv-grid, .install-grid, .ent { grid-template-columns: 1fr; gap: 32px; }
  .cards3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ent { padding: 36px 28px; }
  .demo-body { padding: 28px 22px; }
  h2.sec { font-size: 28px; }
  .install-section, .provide-section, .privacy-section { padding-left: 24px; padding-right: 24px; }
  .privacy-inner, .provide-grid { grid-template-columns: 1fr; }
  .footer-links a { margin-left: 0; margin-right: 16px; }
  body.doc-page footer { padding-left: 24px; padding-right: 24px; }
}
