/* ==========================================================================
   ZephyrFTP — marketing site
   Palette is lifted from the application itself:
     chrome + semantic colors  -> resources/theme.qss, src/ui/IconTheme.cpp
     brand indigo/violet       -> tools/generate_app_icon.cpp badge gradient
   Semantic colors keep their in-app meaning everywhere on this page:
     green = upload/connect/success   blue  = download/navigation
     amber = caution                  red   = disconnect/error
   ========================================================================== */

:root {
  /* Brand — the app icon's night-sky badge gradient */
  --indigo:     #1e1b4b;
  --violet:     #433884;
  --violet-lt:  #8a7cd8;

  /* Page ground: indigo-tinted black, so the site reads as brand
     while the embedded UI replica reads as the actual app chrome */
  --void:       #0e0d16;
  --void-2:     #131120;
  --void-3:     #17142a;

  /* App chrome (theme.qss, dark) */
  --app-bg:     #14171c;
  --app-panel:  #1a1d23;
  --app-surf:   #2a2e35;
  --app-line:   #3a3f4a;

  /* Ink */
  --text:       #dfe4ea;
  --muted:      #8790a0;
  --dim:        #5c6472;

  /* Semantic (IconTheme) */
  --green:      #34c78e;
  --blue:       #5b8def;
  --amber:      #e8a33d;
  --red:        #e05c5c;

  --hair:       rgba(223, 228, 234, 0.09);
  --hair-2:     rgba(223, 228, 234, 0.15);

  --sans:  "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp:  "Archivo", var(--sans);
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad:   clamp(20px, 5vw, 40px);
  --gap:   clamp(28px, 4vw, 56px);
  --radius: 10px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-lt); text-decoration-color: rgba(138, 124, 216, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
svg { flex: none; }

:focus-visible {
  outline: 2px solid var(--violet-lt);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--violet); color: #fff; padding: 12px 18px; z-index: 100;
  font: 600 14px/1 var(--sans); border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: 860px; }

.band { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.band--alt { background: var(--void-2); border-block: 1px solid var(--hair); }

/* ---------- type ---------- */
.display {
  font-family: var(--disp);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.d1 { font-size: clamp(2.3rem, 5.9vw, 4.25rem); }
.d2 { font-size: clamp(1.85rem, 4.1vw, 3rem); }
.d3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; font-stretch: 105%; letter-spacing: -0.015em; }

.lede {
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  color: var(--muted);
  max-width: 62ch;
  margin: 22px 0 0;
  line-height: 1.6;
}
.lede strong { color: var(--text); font-weight: 600; }

.prose p { max-width: 66ch; }

/* Section marker: the app's own path bar, used as structural navigation.
   Mono because everything path-shaped in this app is mono. */
.pathmark {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--app-panel);
  border: 1px solid var(--app-line);
  border-radius: 7px;
  padding: 7px 14px 7px 10px;
  font: 500 12.5px/1 var(--mono);
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.pathmark svg { width: 15px; height: 15px; }
.pathmark .seg { color: var(--dim); margin-left: -3px; }

.eyebrow {
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 14px;
}

code, .mono { font-family: var(--mono); font-size: 0.88em; }
p code, li code, td code {
  background: rgba(30, 27, 75, 0.55);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 1.5px 6px;
  color: #c9c3ee;
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 13, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.top-in { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-badge {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 0 1px rgba(138, 124, 216, 0.25);
}
.brand-badge svg { width: 18px; height: 18px; }
.brand-name { font-family: var(--disp); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; font-size: 1.06rem; }
/* One shared nav, every page (2026-08-22) — was a separate .top-nav
   (landing page, plain links) and .docs-nav (docs pages, +active-state)
   until David pointed out having two different nav bars for what's only
   2 net-new items didn't make sense. Same markup/class everywhere now;
   .is-active is simply unused on pages with nothing to mark active. */
.top-nav { display: flex; gap: 19px; }
.top-nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 4px 1px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.top-nav a:hover { color: var(--text); }
.top-nav a.is-active { color: var(--text); border-bottom-color: var(--violet-lt); }

/* ---------- mobile nav toggle (hamburger) ---------- */
.nav-toggle {
  display: none; width: 38px; height: 38px; flex: none;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--app-line); border-radius: 8px;
  color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle:hover { border-color: var(--hair-2); background: rgba(255,255,255,.03); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .top-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--void-2); border-bottom: 1px solid var(--hair);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .25s ease, visibility 0s linear .25s;
  }
  .top-nav.is-open { max-height: 420px; visibility: visible; transition: max-height .25s ease; }
  .top-nav a {
    padding: 15px var(--pad); border-top: 1px solid var(--hair); border-bottom: 0;
  }
  .top-nav a:first-child { border-top: 0; }
  @media (prefers-reduced-motion: reduce) { .top-nav { transition: none; } }
}

/* ---------- docs page hero (lighter than the landing page's .hero) ---------- */
.docs-hero { padding: clamp(46px, 7vw, 76px) 0 clamp(20px, 3vw, 32px); position: relative; }
.docs-hero::before {
  content: ""; position: absolute; inset: -140px 0 auto; height: 420px; z-index: -1;
  background: radial-gradient(52% 60% at 50% 0%, rgba(67, 56, 132, .28), transparent 68%);
  pointer-events: none;
}
.docs-hero h1 { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 15px/1 var(--sans);
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.13) inset, 0 8px 24px -10px rgba(67, 56, 132, .9);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 30px -12px rgba(106, 92, 184, .95); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--app-line); }
.btn-ghost:hover { border-color: var(--hair-2); background: rgba(255,255,255,.03); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(50px, 8vw, 86px); padding-bottom: clamp(40px, 6vw, 64px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -180px 0 auto; height: 620px; z-index: -1;
  background:
    radial-gradient(58% 62% at 50% 0%, rgba(67, 56, 132, .40), transparent 68%),
    radial-gradient(38% 44% at 82% 12%, rgba(91, 141, 239, .12), transparent 70%);
  pointer-events: none;
}
.hero-head { max-width: 920px; }
.tagbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 12px/1 var(--mono);
  padding: 6px 11px; border-radius: 100px;
  border: 1px solid var(--hair-2); color: var(--muted);
}
.tag-beta { color: var(--amber); border-color: rgba(232, 163, 61, .4); background: rgba(232, 163, 61, .07); }
.tag-beta svg { width: 13px; height: 13px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; align-items: center; }
.cta-note { font: 400 13px/1.5 var(--sans); color: var(--dim); margin: 14px 0 0; }
.cta-note a { color: var(--muted); }

/* ==========================================================================
   THE SIGNATURE ELEMENT — a working replica of the app's dual-pane window
   ========================================================================== */
.stage { margin-top: clamp(44px, 6vw, 68px); }
.app {
  background: var(--app-bg);
  border: 1px solid var(--app-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03);
  font-size: 13px;
  user-select: none;
}
.app-menu {
  display: flex; gap: 22px; padding: 10px 16px;
  border-bottom: 1px solid var(--app-line);
  color: var(--text); font-size: 12.5px;
}
.app-menu span { color: #c6cdd6; }
.app-tools {
  display: flex; gap: 6px; padding: 9px 12px;
  border-bottom: 1px solid var(--app-line);
  background: var(--app-panel);
}
.tb {
  width: 32px; height: 30px; border-radius: 6px; border: 0; background: transparent;
  display: grid; place-items: center; cursor: default;
}
.tb svg { width: 19px; height: 19px; }
.tb-blue  { color: var(--blue); }
.tb-green { color: var(--green); }
.tb-red   { color: var(--red); }
.tb-amber { color: var(--amber); }
.tb-gray  { color: var(--dim); }
.tb-sep   { width: 1px; align-self: stretch; margin: 4px 2px; background: var(--app-line); flex: none; }

.app-panes { display: flex; align-items: stretch; position: relative; }
.pane { flex: 1 1 50%; min-width: 0; display: flex; flex-direction: column; }
.splitter { width: 1px; background: var(--app-line); flex: none; }

.pathbar { display: flex; align-items: center; gap: 9px; padding: 9px 12px; }
.pathbar-nav { display: flex; gap: 3px; color: var(--dim); }
.pathbar-nav svg { width: 15px; height: 15px; }
.pathfield {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  background: var(--app-surf);
  border: 1px solid var(--app-line);
  border-radius: 6px; padding: 6px 10px;
}
.pathfield svg { width: 15px; height: 15px; }
.pathfield .ico-local  { color: var(--blue); }
.pathfield .ico-remote { color: var(--green); }
.pathfield .p {
  font: 400 11.5px/1.3 var(--mono); color: #c6cdd6;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.grid-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px 96px 82px;
  gap: 10px;
  align-items: center;
  padding: 5px 12px;
}
.cols {
  border-block: 1px solid var(--app-line);
  background: var(--app-panel);
  color: var(--muted);
  font: 500 11px/1 var(--sans);
  padding-block: 8px;
}
.files { list-style: none; margin: 0; padding: 4px 0; min-height: 188px; }
.files li { font: 400 12px/1.5 var(--mono); color: #cfd6de; transition: background .2s; }
.files li:nth-child(even) { background: rgba(255,255,255,.018); }
.files .nm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.files .nm svg { width: 14px; height: 14px; color: var(--dim); }
.files .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .dir svg { color: var(--muted); }
.files .sz, .files .md, .files .pm { color: var(--dim); font-size: 11px; }
.files li.sel { background: rgba(91, 141, 239, .16); }
.files li.landed { animation: landed 1.5s ease; }
@keyframes landed {
  0%   { background: rgba(52, 199, 142, .30); }
  100% { background: rgba(52, 199, 142, 0); }
}
.pane-foot { padding: 7px 12px; color: var(--dim); font-size: 11.5px; border-top: 1px solid var(--app-line); margin-top: auto; }

/* the file "in flight" between panes */
.ghost {
  position: absolute; z-index: 5; pointer-events: none;
  display: flex; align-items: center; gap: 8px;
  font: 400 12px/1 var(--mono);
  background: var(--app-surf);
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 6px 11px;
  color: var(--text);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.85);
  opacity: 0;
}
.ghost svg { width: 14px; height: 14px; color: var(--blue); }

/* transfers dock */
.dock { border-top: 1px solid var(--app-line); background: var(--app-bg); }
.dock-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-size: 12.5px; color: #c6cdd6;
}
.dock-title .hint { font: 400 11px/1 var(--mono); color: var(--dim); }
.dock-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--app-line); }
.dock-tab {
  padding: 7px 10px 8px;
  font: 500 11.5px/1 var(--sans);
  color: var(--dim);
  border-bottom: 2px solid transparent;
}
.dock-tab.is-active { color: var(--text); border-bottom-color: var(--blue); }
.q-row { grid-template-columns: minmax(0,1fr) 78px 92px 1fr 74px; }
.queue { list-style: none; margin: 0; padding: 0; min-height: 76px; }
.queue li { font: 400 11.5px/1.6 var(--mono); color: #cfd6de; border-bottom: 1px solid rgba(58,63,74,.5); }
.queue .dirn { color: var(--green); display: flex; align-items: center; gap: 5px; }
.queue .dirn svg { width: 12px; height: 12px; }
.queue .st-run  { color: var(--blue); }
.queue .st-done { color: var(--green); }
.bar { height: 5px; border-radius: 3px; background: var(--app-surf); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--green); transition: width .28s linear; }
.queue .spd { color: var(--muted); text-align: right; font-size: 11px; }
.q-empty { padding: 26px 12px; text-align: center; color: var(--dim); font: 400 12px/1 var(--sans); }

.app-status {
  display: flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--app-line);
  padding: 8px 13px; font-size: 11.5px; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52,199,142,.15); flex: none; }

.stage-cap {
  margin: 14px 2px 0;
  font: 400 12.5px/1.5 var(--mono);
  color: var(--dim);
}
.stage-cap svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 7px; }

@media (max-width: 900px) {
  .grid-row { grid-template-columns: minmax(0,1fr) 62px 84px; }
  .files .pm, .cols .pm { display: none; }
  .q-row { grid-template-columns: minmax(0,1fr) 78px 1fr 68px; }
  .queue .dirn, .cols .dirn { display: none; }
}
@media (max-width: 620px) {
  .grid-row { grid-template-columns: minmax(0,1fr) 58px; gap: 8px; padding-inline: 9px; }
  .files .md, .cols .md { display: none; }
  .q-row { grid-template-columns: minmax(0,1fr) 1fr 60px; }
  .queue .st, .cols .st { display: none; }
  .files li, .queue li { font-size: 10.5px; }
  .app { font-size: 12px; }
  .pathfield .p { font-size: 10px; }
  .pathbar-nav { display: none; }
  .app-menu { gap: 15px; font-size: 11.5px; }
  .tb-extra { display: none; }
  .dock-tab { padding: 6px 7px 7px; font-size: 10.5px; }
}

/* ---------- topology diagrams ---------- */
.topo-grid {
  display: grid; gap: 16px; margin-top: 44px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) { .topo-grid { grid-template-columns: 1fr; } }
.topo {
  border: 1px solid var(--hair); border-radius: var(--radius);
  background: var(--void-2); padding: 22px;
}
.band--alt .topo { background: var(--void-3); }
.topo-vis { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.node {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  border: 1px solid var(--app-line); border-radius: 8px; background: var(--app-bg);
  padding: 14px 6px;
  font: 500 10.5px/1 var(--mono); color: var(--muted);
}
.node svg { width: 20px; height: 20px; }
.node-local  svg { color: var(--blue); }
.node-remote svg { color: var(--green); }
.topo-arrow { color: var(--violet-lt); display: grid; place-items: center; flex: none; }
.topo-arrow svg { width: 18px; height: 18px; }
.topo h3 { font: 700 15px/1.3 var(--sans); margin: 0 0 6px; color: var(--text); }
.topo p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- generic feature cards ---------- */
.cards { display: grid; gap: 14px; margin-top: 40px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--void-2);
  padding: 24px;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.band--alt .card { background: var(--void-3); }
.card:hover { border-color: var(--hair-2); }
.card-ico {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; margin-bottom: 15px;
  background: rgba(255,255,255,.04); border: 1px solid var(--hair);
}
.card-ico svg { width: 18px; height: 18px; }
.i-green .card-ico { color: var(--green); background: rgba(52,199,142,.09);  border-color: rgba(52,199,142,.22); }
.i-blue  .card-ico { color: var(--blue);  background: rgba(91,141,239,.09);  border-color: rgba(91,141,239,.22); }
.i-amber .card-ico { color: var(--amber); background: rgba(232,163,61,.09);  border-color: rgba(232,163,61,.22); }
.i-violet .card-ico{ color: var(--violet-lt); background: rgba(138,124,216,.10); border-color: rgba(138,124,216,.25); }
.card h3 { font: 700 16px/1.35 var(--sans); margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.card p + p { margin-top: 10px; }

/* ---------- screenshot figure ---------- */
.shot {
  margin: 44px 0 0;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--app-bg);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.9);
}
.shot img { width: 100%; height: auto; }
.shot figcaption {
  border-top: 1px solid var(--app-line);
  padding: 11px 16px;
  font: 400 12.5px/1.5 var(--mono);
  color: var(--dim);
}

/* ---------- split feature list ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0;
  margin-top: 40px;
  border: 1px solid var(--hair); border-radius: var(--radius);
  overflow: hidden;
}
.split-rule { background: var(--hair); }
.split-col { padding: 6px 0; background: var(--void-2); }
.band--alt .split-col { background: var(--void-3); }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split-rule { height: 1px; }
}
.fitem { display: flex; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--hair); }
.split-col > .fitem:last-child { border-bottom: 0; }
.fitem-ico { flex: none; width: 22px; color: var(--dim); padding-top: 2px; }
.fitem-ico svg { width: 17px; height: 17px; }
.fitem h4 { margin: 0 0 4px; font: 600 14.5px/1.4 var(--sans); }
.fitem p { margin: 0; font-size: 13.8px; color: var(--muted); line-height: 1.55; }

/* ---------- terminal ---------- */
.term {
  background: var(--app-bg);
  border: 1px solid var(--app-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-bottom: 1px solid var(--app-line);
  background: var(--app-panel);
  font: 500 11.5px/1 var(--mono); color: var(--muted);
}
.term-bar svg { width: 14px; height: 14px; color: var(--green); }
.term pre {
  margin: 0; padding: 18px; overflow-x: auto;
  font: 400 12.8px/1.85 var(--mono); color: #cfd6de;
  tab-size: 2;
}
.term .c { color: var(--dim); }
.term .k { color: var(--green); }
.term .a { color: var(--blue); }
.term .f { color: var(--amber); }

.cmdtable { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14px; }
.cmdtable th {
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--hair-2);
  font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
}
.cmdtable td { padding: 11px 14px; border-bottom: 1px solid var(--hair); color: var(--muted); vertical-align: top; }
.cmdtable td:first-child { white-space: nowrap; }
.cmdtable .mono { color: #c9c3ee; font-size: 13px; }
@media (max-width: 620px) {
  .cmdtable, .cmdtable tbody, .cmdtable tr, .cmdtable td { display: block; width: 100%; }
  .cmdtable thead { display: none; }
  .cmdtable tr { border-bottom: 1px solid var(--hair); padding: 10px 0; }
  .cmdtable td { border: 0; padding: 3px 0; }
}

/* ---------- limitations ---------- */
.honest {
  border: 1px solid rgba(232, 163, 61, .28);
  background: linear-gradient(180deg, rgba(232,163,61,.05), transparent 60%);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  margin-top: 38px;
}
.honest-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.honest-head svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 3px; }
.honest-head h3 { margin: 0; font: 700 18px/1.4 var(--sans); }
.limits { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.limits li { padding: 15px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.limits li:first-child { border-top: 1px solid var(--hair-2); }
.limits .lbl { font: 600 12px/1.5 var(--mono); color: var(--amber); letter-spacing: .01em; }
.limits .txt { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 700px) { .limits li { grid-template-columns: 1fr; gap: 5px; } }

/* ---------- download ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; align-items: stretch; }
@media (max-width: 940px) { .dl-grid { grid-template-columns: 1fr; } }
.dl {
  border: 1px solid var(--hair); border-radius: var(--radius);
  background: var(--void-2); padding: 24px;
  display: flex; flex-direction: column; height: 100%;
}
.band--alt .dl { background: var(--void-3); }
.dl.is-you { border-color: rgba(138,124,216,.45); box-shadow: 0 0 0 1px rgba(138,124,216,.16), 0 20px 50px -30px rgba(67,56,132,.9); }
.dl-top { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.dl-top svg { width: 20px; height: 20px; color: var(--violet-lt); }
.dl-top h3 { margin: 0; font: 700 17px/1.2 var(--sans); }
.dl-you {
  margin-left: auto; font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet-lt); border: 1px solid rgba(138,124,216,.4); border-radius: 100px; padding: 5px 9px;
}
.dl-file { font: 400 12px/1.5 var(--mono); color: var(--muted); margin: 8px 0 16px; word-break: break-all; }
.dl-note { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.dl-note strong { color: var(--text); font-weight: 600; }
.dl .btn { margin-top: auto; justify-content: center; }
.dl-alts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.dl-alts li { font: 400 12.4px/1.5 var(--mono); color: var(--muted); display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.dl-alts b { color: var(--text); font-weight: 500; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 48px 0 56px; background: var(--void-2); }
.foot-in { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; }
.foot-brand { max-width: 380px; }
.foot-brand p { color: var(--dim); font-size: 13.5px; margin: 14px 0 0; line-height: 1.6; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { margin: 0 0 12px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: var(--text); }
.foot-legal {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hair);
  color: var(--dim); font-size: 12.5px; line-height: 1.7;
}
.foot-legal a { color: var(--muted); }

/* ---------- scroll reveal ---------- */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; } }
