/* ============================================================
   lectron — marketing site layout (built on the Lectron tokens)
   ============================================================ */

html { scroll-behavior: smooth; }
body {
  background: var(--bg-sunken);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

::selection { background: var(--selection); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ---- shared type roles ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-10);
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--accent);
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.display .hl { color: var(--accent); }

.lede {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 0.86rem + 0.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 0;
}

.h2 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h-lg); padding: 0 18px;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--r-sm);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0.5px); }
.btn svg { width: 15px; height: 15px; }
.btn--primary { background: var(--accent); color: var(--text-on-accent); font-weight: 600; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--surface-raised); border-color: var(--text-faint); }
.btn--ghost { background: transparent; color: var(--text-secondary); }
.btn--ghost:hover { color: var(--text); background: var(--accent-weak); }
.btn--sm { height: var(--h-sm); padding: 0 12px; font-size: 12.5px; }

.kbd {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-faint);
  border: 1px solid var(--border); border-radius: var(--r-xs); padding: 1px 5px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 56px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg-sunken) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.brand svg.mark { width: 23px; height: 23px; flex: none; }
.brand .word {
  font-family: var(--font-mono); font-size: 16px; font-weight: 700;
  letter-spacing: -0.03em; color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a {
  font-family: var(--font-sans); font-size: 13px; color: var(--text-secondary);
  padding: 6px 10px; border-radius: var(--r-sm); transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-links a:hover { color: var(--text); background: var(--surface-inset); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-ver { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
/* theme toggle: sun shows in dark (→ switch to light), moon shows in light */
.theme-toggle .ic-sun { display: block; }
.theme-toggle .ic-moon { display: none; }
html[data-theme="light"] .theme-toggle .ic-sun { display: none; }
html[data-theme="light"] .theme-toggle .ic-moon { display: block; }
/* GitHub star button */
.gh-star svg { width: 15px; height: 15px; }
.gh-star .gh-count { font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums; color: var(--text-secondary); padding-left: 8px; border-left: 1px solid var(--border); }
@media (max-width: 760px) { .nav-links, .nav-ver { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
  opacity: 0.7;
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 78px; padding-bottom: 0; }
.hero-copy { max-width: 760px; }
.hero .display { margin-top: 20px; }
.hero .lede { margin-top: 20px; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem); }
.hero-cta { margin-top: 30px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hero-meta .dot { color: var(--border-strong); }
.hero-meta b { color: var(--text-muted); font-weight: 500; }

/* device frames holding the app mocks — two stacked, overlapping windows */
.hero-stage { position: relative; margin-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; }
.window {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window--lib { z-index: 1; }
.window--ws { width: 92%; align-self: flex-end; margin-top: -38px; z-index: 2; box-shadow: var(--shadow-lg); }
.app-frame { height: 560px; }
.app-frame--ws { height: 432px; }
@media (max-width: 900px) { .app-frame { height: 520px; } }
@media (max-width: 760px) {
  .window--ws { width: 100%; align-self: stretch; margin-top: 22px; }
}
@media (max-width: 680px) { .app-frame { height: 460px; } .app-frame--ws { height: 500px; } }

/* segmented Papers/Workspace control in the mock title bars */
.seg { display: inline-flex; background: var(--surface-inset); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 2px; gap: 2px; flex: none; }
.seg button { font-family: var(--font-sans); font-size: 11px; line-height: 1; color: var(--text-muted); background: transparent; border: none; padding: 4px 9px; border-radius: var(--r-xs); cursor: pointer; }
.seg button[data-on="true"] { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-xs); }

/* ---- workspace (Quarto manuscript) mock ---- */
.qvwin { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--bg); padding: 14px 16px 0; }
.qv-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.qv-title { font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; color: var(--text); }
.qv-file { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); }
.qv-spacer { flex: 1; }
.qv-state { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); min-width: 42px; text-align: right; }
.btn--active { color: var(--accent); background: var(--accent-weak); }
.qv-body { flex: 1; min-height: 0; display: flex; gap: 12px; padding-bottom: 12px; }

.qv-outline { flex: none; width: 168px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.qv-outline-head { padding: 11px 13px 7px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.qv-outline-list { padding: 2px 6px 8px; display: flex; flex-direction: column; gap: 1px; }
.qv-oi { text-align: left; background: transparent; border: none; border-radius: var(--r-sm); padding: 4px 8px; cursor: pointer; font-family: var(--font-sans); font-size: 12px; line-height: 1.4; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qv-oi[data-lvl="1"] { font-weight: 600; color: var(--text); }
.qv-oi[data-lvl="2"] { padding-left: 18px; }
.qv-oi[data-lvl="3"] { padding-left: 28px; font-size: 11.5px; color: var(--text-muted); }
.qv-oi--on { background: var(--accent-weak); color: var(--text); }

.qv-editor { flex: 1; min-width: 0; display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.qv-gutter { flex: none; padding: 14px 0; background: var(--surface-inset); border-right: 1px solid var(--border-subtle); color: var(--text-faint); font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7; text-align: right; }
.qv-gutter span { display: block; padding: 0 9px; }
.qv-code { margin: 0; padding: 14px 14px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7; color: var(--text-secondary); white-space: pre; overflow: hidden; }
.qv-code .h { color: var(--text); font-weight: 600; }
.qv-code .cite { color: var(--accent); }
.qv-code .key { color: var(--data-violet); }
.qv-code .dim { color: var(--text-faint); }

.qv-notes { flex: none; width: 214px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.qv-notes-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); font-family: var(--font-sans); font-weight: 600; font-size: 12px; color: var(--text); }
.qv-notes-head svg { width: 14px; height: 14px; color: var(--text-muted); flex: none; }
.qv-notes-count { font-family: var(--font-mono); font-size: 10px; color: var(--text-on-accent); background: var(--accent); border-radius: 999px; padding: 1px 6px; }
.qv-notes-list { padding: 8px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.qv-note { padding: 8px 10px; background: var(--surface-inset); border: 1px solid var(--border); border-radius: var(--r-md); }
.qv-note-range { font-family: var(--font-mono); font-size: 10px; color: var(--accent); background: var(--accent-weak); border-radius: var(--r-sm); padding: 1px 6px; }
.qv-note blockquote { margin: 6px 0 4px; padding-left: 8px; border-left: 2px solid var(--border-strong); font-family: var(--font-mono); font-size: 10px; line-height: 1.5; color: var(--text-secondary); white-space: pre-wrap; word-break: break-word; max-height: 30px; overflow: hidden; }
.qv-note p { margin: 0; font-family: var(--font-sans); font-size: 11.5px; line-height: 1.5; color: var(--text); }
.qv-foot { flex: none; padding: 8px 2px 10px; font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }

@media (max-width: 860px) { .qv-outline { display: none; } }
@media (max-width: 600px) { .qv-notes { display: none; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; border-bottom: 1px solid var(--border); }
.section--alt { background: var(--bg); }
.section-head { max-width: 680px; }
.section-head .h2 { margin-top: 16px; }
.section-head .lede { margin-top: 16px; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* ---- the problem (before / after) ---- */
.split {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-inset);
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split-col { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.split-col--before { background: var(--surface-inset); }
.split-col--after { background: var(--surface); }
.split-tag {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--text-faint);
}
.split-col--after .split-tag { color: var(--accent); }
.split-line {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--text);
  line-height: 1.4;
}
.split-mid {
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  background: var(--bg);
}
.split-mid span {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-faint);
  writing-mode: vertical-rl; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 800px) {
  .split-mid { writing-mode: initial; padding: 10px; border: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .split-mid span { writing-mode: initial; }
}
/* stacked window chips representing scattered apps */
.app-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.app-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--bg);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
}
.app-chip .lights { display: flex; gap: 5px; }
.app-chip .lights i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); display: block; }
.app-chip .nm { color: var(--text-secondary); }
.app-chip .role { margin-left: auto; color: var(--text-faint); font-size: 10px; }
.app-chip--lectron { border-color: var(--accent-line); background: var(--accent-weak); }
.app-chip--lectron .lights i:first-child { background: var(--accent); }
.app-chip--lectron .nm { color: var(--text); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column;
}
.pillar-body { padding: 22px 22px 8px; }
.pillar-ix {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--text-muted);
}
.pillar-ix .n { color: var(--accent); }
.pillar h3 {
  font-family: var(--font-sans); font-size: 18px; font-weight: 600; color: var(--text);
  margin: 14px 0 8px; letter-spacing: -0.01em;
}
.pillar p {
  font-family: var(--font-sans); font-size: 13.5px; line-height: 1.6;
  color: var(--text-secondary); margin: 0; text-wrap: pretty;
}
.pillar-viz {
  margin-top: 18px; border-top: 1px solid var(--border-subtle);
  background: var(--bg-sunken); flex: 1; min-height: 188px;
  position: relative; overflow: hidden;
}

/* mini grid viz */
.mini-grid { font-family: var(--font-mono); font-size: 10.5px; width: 100%; }
.mini-grid .mg-row {
  display: grid; grid-template-columns: 1fr auto 56px; gap: 10px; align-items: center;
  padding: 0 16px; height: 28px; border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.mini-grid .mg-row.head { color: var(--text-faint); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; height: 26px; background: var(--surface-inset); }
.mini-grid .mg-row.active { background: var(--accent-weak); box-shadow: inset 2px 0 0 var(--accent); color: var(--text); }
.mini-grid .mg-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.mini-grid .mg-row.head .mg-t { color: var(--text-faint); }
.mini-grid .mg-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.mini-grid .mg-tag i { width: 6px; height: 6px; border-radius: 2px; }
.mini-grid .mg-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.mini-grid .mg-row.active .mg-n { color: var(--accent); }

/* mini editor viz */
.mini-doc { padding: 18px 20px; font-family: var(--font-serif); }
.mini-doc .md-h { font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 10px; }
.mini-doc .md-l { height: 7px; border-radius: 3px; background: var(--border); margin: 7px 0; }
.mini-doc .md-l.s1 { width: 96%; } .mini-doc .md-l.s2 { width: 88%; } .mini-doc .md-l.s3 { width: 70%; }
.mini-doc .cite { color: var(--accent); font-family: var(--font-mono); font-size: 11px; }
.mini-doc .md-note {
  margin-top: 14px; border-left: 2px solid var(--accent-line); padding: 6px 0 6px 10px;
  font-family: var(--font-sans); font-size: 11px; color: var(--text-muted); line-height: 1.5;
}
.mini-doc .md-note b { color: var(--data-violet); font-weight: 500; font-family: var(--font-mono); font-size: 10px; }

/* mini terminal viz */
.mini-term { background: var(--term-bg); height: 100%; padding: 14px 16px; font-family: var(--font-mono); font-size: 11px; line-height: 1.7; }
.mini-term .tl { white-space: pre-wrap; word-break: break-word; }
.mini-term .t-path { color: var(--term-cyan); }
.mini-term .t-prompt { color: var(--term-prompt); }
.mini-term .t-dim { color: var(--term-dim); }
.mini-term .t-ok { color: var(--term-green); }
.mini-term .t-ai { color: var(--term-violet); }
.mini-term .t-fg { color: var(--term-fg); }
.mini-term .cursor { display: inline-block; width: 7px; height: 13px; background: var(--accent); vertical-align: text-bottom; margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) { .mini-term .cursor { animation: blink 1.05s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   CONNECTION (signature section)
   ============================================================ */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 8px; }
@media (max-width: 900px) { .connect { grid-template-columns: 1fr; gap: 36px; } }
.connect-list { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.cl-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border-subtle); }
.cl-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.cl-k { font-family: var(--font-mono); font-size: 11px; color: var(--accent); flex: none; width: 92px; padding-top: 1px; }
.cl-v { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }
.cl-v b { color: var(--text); font-weight: 500; }

/* the diagram: one folder feeding three surfaces */
.diagram {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-sunken); padding: 28px 26px;
  position: relative;
}
.diagram-grid {
  position: absolute; inset: 0; border-radius: var(--r-lg);
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.4; pointer-events: none;
}
.diagram > * { position: relative; }
.node {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); padding: 12px 14px;
  display: flex; align-items: center; gap: 11px;
}
.node .ic { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--surface-inset); display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); flex: none; }
.node .ic svg { width: 16px; height: 16px; }
.node .nt { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--text); }
.node .ns { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); margin-top: 1px; }
.node--root { background: var(--accent-weak); border-color: var(--accent-line); }
.node--root .ic { background: color-mix(in oklab, var(--accent) 22%, transparent); color: var(--accent); }
.node--root .nt { color: var(--text); }
.surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 0; }
@media (max-width: 480px) { .surfaces { grid-template-columns: 1fr; } }
.surfaces .node { flex-direction: column; align-items: flex-start; gap: 9px; text-align: left; }
/* connector rail */
.connector { display: flex; flex-direction: column; align-items: center; height: 34px; }
.connector .stem { width: 1px; flex: 1; background: var(--border-strong); }
.connector .branch { width: 100%; height: 1px; background: var(--border-strong); }
.diagram-cap {
  margin-top: 16px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint);
  text-align: center; letter-spacing: .02em;
}

/* ============================================================
   HOW IT WORKS (steps)
   ============================================================ */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--border-strong); padding-top: 16px; }
.step .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); font-weight: 600; }
.step h4 { font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--text); margin: 12px 0 7px; letter-spacing: -0.01em; }
.step p { font-family: var(--font-sans); font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); margin: 0; text-wrap: pretty; }
.step code { font-family: var(--font-mono); font-size: 11px; color: var(--text); background: var(--surface-inset); border: 1px solid var(--border); border-radius: var(--r-xs); padding: 1px 5px; }

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.cta { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 50%, #000 10%, transparent 70%);
          mask-image: radial-gradient(80% 90% at 50% 50%, #000 10%, transparent 70%);
  opacity: 0.6; pointer-events: none;
}
.cta .wrap { position: relative; }
.cta .mark-lg { width: 52px; height: 52px; margin: 0 auto 24px; display: block; }
.cta .display { margin: 0 auto; }
.cta .lede { margin: 18px auto 0; text-align: center; }
.cta-cta { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-meta { margin-top: 18px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 28px 0; background: var(--bg-sunken); }
.footer .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand .word { font-size: 14px; }
.footer .f-note { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.footer .f-spacer { flex: 1; }
.footer .f-links { display: flex; gap: 16px; }
.footer .f-links a { font-family: var(--font-sans); font-size: 12.5px; color: var(--text-secondary); }
.footer .f-links a:hover { color: var(--text); }

/* reveal-on-scroll — content is fully visible by default; the hidden start
   state is applied ONLY once JS adds `.reveal-on` to <html> (and motion is
   allowed), so a JS failure or reduced-motion never leaves the page blank. */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-on .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
  html.reveal-on .reveal.in { opacity: 1; transform: none; }
}
