:root {
  --paper: #0f141b;
  --ink: #dfe7ef;
  --gray: #8494a6;
  --hairline: #26303d;
  --accent: #4fc9db;
  --soft: #b4c1cf;
  --softer: #c3cfdb;
  --imgborder: #354252;
  --tick: #3c4a5b;
  --ticksoft: #58697d;
  --select: #1d5762;
  --btn-hover-text: #06272c;
  --tree-bg: #131a24;
}

/* Business / QA theme: graphite + amber, black-box-recorder feel */
.biz {
  --paper: #141517;
  --ink: #e9e8e3;
  --gray: #8f9297;
  --hairline: #2c2e33;
  --accent: #e2a33c;
  --soft: #bdbfc3;
  --softer: #cbcdd1;
  --imgborder: #3a3d44;
  --tick: #44474e;
  --ticksoft: #61646b;
  --select: #6b4d15;
  --btn-hover-text: #221703;
  --tree-bg: #191a1e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--select); color: #fff; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, "New York", Georgia, "Times New Roman", serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* ---------- Masthead ---------- */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

.wordmark img { width: 26px; height: 26px; border-radius: 6px; }

.masthead nav a {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--gray);
  text-decoration: none;
  margin-left: 20px;
}

.masthead nav a:hover { color: var(--ink); text-decoration: underline; }

.masthead nav a.dl { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 24px; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

h1 {
  margin-top: 18px;
  max-width: 21ch;
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p.lede {
  margin-top: 26px;
  max-width: 58ch;
  font-size: 1.16rem;
  color: var(--soft);
}

.cta-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 4px;
}

.button:hover { background: var(--accent); color: var(--btn-hover-text); }

.button.ghost {
  background: transparent;
  color: var(--gray);
  border: 1px dashed var(--tick);
}

.button.ghost:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.soon-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-note {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ---------- Buffer ruler ---------- */
.ruler-wrap {
  padding: 40px 0 8px;
  overflow-x: auto;
}

.ruler-wrap svg {
  display: block;
  width: 100%;
  min-width: 620px;
}

.ruler-wrap .tickline { stroke: var(--ink); stroke-width: 1.2; }
.ruler-wrap .tick { stroke: var(--tick); stroke-width: 1; }
.ruler-wrap .majortick { stroke: var(--ink); stroke-width: 1.2; }
.ruler-wrap .axis-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  fill: var(--gray);
}
.ruler-wrap .band { fill: var(--accent); }
.ruler-wrap .bracket { stroke: var(--accent); stroke-width: 1.4; fill: none; }
.ruler-wrap .band-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  fill: var(--accent);
  font-weight: 600;
}
.ruler-wrap .soft-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  fill: var(--ticksoft);
}
.ruler-wrap .playhead { stroke: var(--ink); stroke-width: 2; }

.caption {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 12px;
}

/* ---------- Sections ---------- */
section { padding: 56px 0 8px; }

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.section-note {
  color: var(--gray);
  max-width: 58ch;
}

/* ---------- Numbered rows ---------- */
.rows { margin-top: 28px; }

.row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
  max-width: 720px;
}

.row .n {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 4px;
}

.row h3 { font-size: 1.12rem; font-weight: 700; }

.row p { margin-top: 6px; color: var(--soft); max-width: 56ch; }

/* ---------- Screenshots ---------- */
.shot { padding: 48px 0 8px; }

.shot img {
  width: 100%;
  border: 1px solid var(--imgborder);
  border-radius: 6px;
}

/* ---------- Spec sheet ---------- */
.spec { margin-top: 30px; }

.spec-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--hairline);
}

.spec-row:last-child { border-bottom: 1px solid var(--hairline); }

.spec-row dt {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 4px;
}

.spec-row dd { color: var(--softer); max-width: 60ch; }

/* ---------- Testimonial ---------- */
.testimonial {
  margin: 72px 0 8px;
  max-width: 620px;
}

.testimonial .qmark {
  display: block;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 18px;
}

.testimonial p.quote {
  font-size: 1.35rem;
  line-height: 1.45;
}

.testimonial .caption { margin-top: 14px; }

/* ---------- Privacy pull quote ---------- */
.pull {
  margin: 64px 0 8px;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  max-width: 620px;
}

.pull p {
  font-size: 1.45rem;
  line-height: 1.4;
  font-style: italic;
}

.pull .caption { margin-top: 10px; }

/* ---------- Download ---------- */
.download {
  margin-top: 72px;
  border-top: 1px solid var(--ink);
  padding: 40px 0 12px;
}

.smallprint {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--gray);
  max-width: 62ch;
}

.smallprint strong { color: var(--ink); }

/* ---------- Footer ---------- */
footer {
  margin-top: 72px;
  border-top: 1px solid var(--hairline);
  padding: 26px 0 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--gray);
}

footer a { color: var(--gray); margin-left: 16px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .hero { padding: 52px 0 16px; }
  .row { grid-template-columns: 44px 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .masthead nav a { margin-left: 12px; }
  .pull p { font-size: 1.2rem; }
}

/* ---------- Business page ---------- */
.masthead .lhs { display: flex; align-items: center; gap: 16px; }

.back-arrow {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.15rem;
  color: var(--gray);
  text-decoration: none;
}

.back-arrow:hover { color: var(--accent); }

.qa-badge {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 1px 8px;
  margin-left: 2px;
}

.tree {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--softer);
  background: var(--tree-bg);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 20px 26px;
  overflow-x: auto;
  margin-top: 28px;
}

.tree .dim { color: var(--gray); }

.dont { margin-top: 26px; max-width: 700px; list-style: none; }

.dont li {
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  color: var(--soft);
}

.dont li:last-child { border-bottom: 1px solid var(--hairline); }

.dont li strong { color: var(--ink); }

.teaser {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
  color: var(--gray);
}

/* ---------- Veil transition ---------- */
/* A solid panel wipes across the screen: it covers the page you're leaving,
   the browser navigates, and it sweeps off the page you arrive on. The wipe
   travels one way (forward: left→right, back: right→left) and wears the
   accent color of the destination page. */

body { animation: page-fade 0.4s ease; }

@keyframes page-fade {
  from { opacity: 0; }
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  transform: translateX(-103%);
}

/* arriving: veil starts covering, sweeps off */
body.veil-uncover-forward,
body.veil-uncover-back { animation: none; }

body.veil-uncover-forward .veil {
  background: #e2a33c;
  animation: veil-out-fwd 0.85s cubic-bezier(0.6, 0, 0.3, 1) both;
}

body.veil-uncover-back .veil {
  background: #4fc9db;
  animation: veil-out-back 0.85s cubic-bezier(0.6, 0, 0.3, 1) both;
}

/* the revealed content settles in the direction of the wipe */
body.veil-uncover-forward .page {
  animation: settle-fwd 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

body.veil-uncover-back .page {
  animation: settle-back 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

/* leaving: veil sweeps in and covers (declared after uncover so it wins) */
body.veil-cover-forward .veil {
  background: #e2a33c;
  animation: veil-in-fwd 0.6s cubic-bezier(0.5, 0, 0.4, 1) both;
}

body.veil-cover-back .veil {
  background: #4fc9db;
  animation: veil-in-back 0.6s cubic-bezier(0.5, 0, 0.4, 1) both;
}

@keyframes veil-in-fwd   { from { transform: translateX(-103%); } to { transform: translateX(0); } }
@keyframes veil-out-fwd  { from { transform: translateX(0); }     to { transform: translateX(103%); } }
@keyframes veil-in-back  { from { transform: translateX(103%); }  to { transform: translateX(0); } }
@keyframes veil-out-back { from { transform: translateX(0); }     to { transform: translateX(-103%); } }

@keyframes settle-fwd  { from { opacity: 0.4; transform: translateX(30px); } }
@keyframes settle-back { from { opacity: 0.4; transform: translateX(-30px); } }

@media (prefers-reduced-motion: reduce) {
  body, .veil, .page { animation: none !important; }
  .veil { transform: translateX(-103%) !important; }
}
