/* ============================================================
   Engraphis -- Mnemonic Autopsy
   Cybernetic anatomy atlas for inspectable agent memory.
   ============================================================ */

:root {
  --ink: #120d2e;
  --ink-raised: #1a1244;
  --ink-panel: #24145f;
  --line: #493d78;
  --line-soft: rgba(182, 161, 255, 0.18);
  --paper: #f4f1ff;
  --paper-dim: #d6d0ea;
  --paper-faint: #c2bbdb;
  --ochre: #d8ff4f;
  --ochre-dim: #a9cc32;
  --rust: #ff5c8a;
  --green: #9af4ff;
  --ultraviolet: #3f21b8;
  --cyan: #9af4ff;
  --coral: #ff5c8a;
  --lilac: #b6a1ff;
  --lime: #d8ff4f;

  --radius: 4px;
  --max-width: 1240px;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
  --font-mono: "Azeret Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  background-image:
    linear-gradient(rgba(182, 161, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 161, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border: 1px solid var(--ochre);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.skip-link:focus { transform: translateY(0); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.035em;
}

/* ---------- Mono utility text ---------- */

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--ochre-dim);
  display: inline-block;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--paper);
  flex-shrink: 0;
}

.nav-brand img { width: 24px; height: 24px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.nav-links a {
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ochre);
  border-color: var(--ochre-dim);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.nav-social a {
  color: var(--paper-dim);
  display: flex;
  transition: color 0.15s ease;
}

.nav-social a:hover { color: var(--ochre); }
.nav-social svg { width: 17px; height: 17px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-mono);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
.btn-primary:hover { background: #e9a545; border-color: #e9a545; }

.btn-secondary { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ochre); color: var(--ochre); }

.btn-ghost { color: var(--paper-dim); border-color: transparent; }
.btn-ghost:hover { color: var(--ochre); }

.btn-sm { padding: 8px 14px; font-size: 0.74rem; }
.btn-block { width: 100%; }

/* ---------- Ledger code / terminal blocks ---------- */

.code-block {
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-left: 1px solid var(--ochre-dim);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--paper);
  text-align: left;
  overflow-x: auto;
  line-height: 1.8;
  white-space: pre-wrap;
}

.code-block .comment { color: var(--paper-faint); }
.code-block .prompt { color: var(--ochre); }

code {
  font-family: var(--font-mono);
  background: var(--ink-raised);
  border: 1px solid var(--line-soft);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.87em;
  color: var(--paper);
}

pre code { border: none; padding: 0; background: none; }

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  margin: 20px 0 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--ochre);
}

.hero-sub {
  font-family: var(--font-body);
  color: var(--paper-dim);
  font-size: 1.12rem;
  line-height: 1.6;
  margin: 0 0 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-install { max-width: 480px; }

.audience-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 610px;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.audience-paths a {
  display: grid;
  gap: 5px;
  min-height: 128px;
  padding: 18px;
  background: var(--ink-raised);
  transition: background 0.15s ease, color 0.15s ease;
}

.audience-paths a:hover,
.audience-paths a:focus-visible { background: var(--ink-panel); }
.audience-paths .mono { color: var(--ochre); font-size: 0.68rem; letter-spacing: 0.08em; }
.audience-paths strong { font-family: var(--font-display); color: var(--paper); font-size: 1.05rem; }
.audience-paths small { color: var(--paper-dim); font-size: 0.86rem; line-height: 1.45; }

/* ---------- Decay curve signature ---------- */

.decay-chart {
  width: 100%;
  height: auto;
}

.decay-chart .axis { stroke: var(--line); stroke-width: 1; }
.decay-chart .curve {
  fill: none;
  stroke: var(--ochre);
  stroke-width: 2;
  stroke-linecap: round;
}
.decay-chart .curve-ghost {
  fill: none;
  stroke: var(--paper-faint);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.decay-chart .event-dot { fill: var(--rust); }
.decay-chart .label {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--paper-faint);
  letter-spacing: 0.04em;
}
.decay-chart .label-accent { fill: var(--ochre); }
.decay-chart .tick { stroke: var(--line); stroke-width: 1; }

.hero-shot-frame {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-panel);
}

.hero-shot-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--paper-faint);
}

.hero-shot-titlebar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }

.hero-shot-frame picture { display: block; }
.hero-shot-frame img { width: 100%; height: auto; display: block; }

.hero-demo-frame { position: relative; }

.hero-demo-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: 210px;
  padding: 10px 12px;
  border: 1px solid rgba(236, 228, 210, 0.28);
  background: rgba(20, 18, 14, 0.9);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.25;
  backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hero-demo-link span {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: var(--ochre);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-demo-link b { color: var(--ochre); font-size: 1rem; }
.hero-demo-link:hover { border-color: var(--ochre); background: rgba(28, 24, 17, 0.96); }

/* ---------- Section scaffolding ---------- */

.section { padding: 76px 0; border-top: 1px solid var(--line-soft); }
.section-tight { padding-top: 0; }

.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 14px 0 12px;
}

.section-head p { color: var(--paper-dim); font-size: 1.02rem; margin: 0; }

/* ---------- Ledger list (replaces icon-card grids) ---------- */

.ledger {
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.ledger-row .term {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--ochre);
  letter-spacing: 0.02em;
}

.ledger-row .desc { color: var(--paper-dim); font-size: 0.97rem; }
.ledger-row .desc strong { color: var(--paper); font-weight: 600; }

/* ---------- Split compare (Problem / Way) ---------- */

.split-compare {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 44px;
}

.split-compare .rule { background: var(--line); }

.split-compare .col p {
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.split-compare .col h3 {
  font-size: 1.3rem;
  margin: 14px 0 14px;
}

/* ---------- Timeline strip (how it works: a real sequence) ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ochre-dim);
  padding-top: 26px;
  position: relative;
}

.timeline-step {
  padding-right: 24px;
  border-right: 1px solid var(--line-soft);
}

.timeline-step:last-child { border-right: none; }

.timeline-step .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--rust);
  margin-bottom: 10px;
  display: block;
}

.timeline-step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.timeline-step p { color: var(--paper-dim); font-size: 0.92rem; margin: 0; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }

th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }

thead th {
  background: var(--ink-raised);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tbody tr:last-child td { border-bottom: none; }
td strong, td.win { color: var(--ochre); }

/* ---------- Pricing (flat index cards, not glowing SaaS cards) ---------- */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.price-card {
  background: var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured { background: var(--ink-raised); }

.price-stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--rust);
  border: 1px solid var(--rust);
  padding: 3px 8px;
  transform: rotate(3deg);
}

.price-card .tier-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper-faint);
  margin-bottom: 10px;
}

.price-card h3 { font-size: 1.15rem; margin: 0 0 10px; }

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  margin: 4px 0 4px;
}

.price-card .price span { font-family: var(--font-mono); font-size: 0.85rem; color: var(--paper-dim); font-weight: 400; }

.price-card .price-note {
  font-family: var(--font-mono);
  color: var(--paper-faint);
  font-size: 0.76rem;
  margin-bottom: 22px;
}

.price-card .best-for {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--paper-dim);
  letter-spacing: 0.01em;
  margin: 16px 0 0;
}
.price-card .best-for b { color: var(--ochre); font-weight: 500; }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--paper-dim);
}

.price-features li { display: flex; gap: 10px; align-items: flex-start; }
.price-features li::before {
  content: "";
  width: 10px;
  height: 1px;
  margin-top: 0.6em;
  flex: 0 0 10px;
  background: var(--ochre-dim);
}

/* ---------- Quickstart panels (three genuinely parallel install paths) ---------- */

.quickstart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.quickstart-item { background: var(--ink); padding: 26px 24px; }

.quickstart-item .term {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-faint);
  margin-bottom: 8px;
}

.quickstart-item h3 { font-size: 1.05rem; margin: 0 0 12px; }

.quickstart-item .code-block { font-size: 0.76rem; padding: 14px; }

/* ---------- Notice ---------- */

.notice {
  border: 1px solid var(--line);
  border-left: 1px solid var(--rust);
  background: var(--ink-raised);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--paper-dim);
  margin: 24px 0;
}

.notice strong { color: var(--paper); }

/* ---------- CTA band ---------- */

.cta-band { border-top: 1px solid var(--line-soft); padding: 84px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 16px; }
.cta-band p { color: var(--paper-dim); margin: 0 0 32px; font-family: var(--font-mono); font-size: 0.9rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 32px; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }

.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; margin-bottom: 12px; }
.footer-brand img { width: 20px; height: 20px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-faint);
  margin: 0 0 14px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--paper-dim); font-size: 0.92rem; }
.footer-col a:hover { color: var(--ochre); }

.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social a { color: var(--paper-dim); display: flex; }
.footer-social a:hover { color: var(--ochre); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ---------- Page header (non-home pages) ---------- */

.page-hero { padding: 60px 0 48px; border-bottom: 1px solid var(--line-soft); }

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 16px 0 16px; max-width: 640px; }
.page-hero p { color: var(--paper-dim); font-size: 1.05rem; max-width: 600px; margin: 0; }

/* ---------- Prose (about/blog content) ---------- */

.prose { max-width: 680px; }

.prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 46px 0 16px; color: var(--paper); }
.prose h3 { font-family: var(--font-display); font-size: 1.18rem; margin: 30px 0 12px; color: var(--paper); }
.prose p { margin: 0 0 18px; color: var(--paper-dim); }
.prose ul, .prose ol { color: var(--paper-dim); margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--ochre); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--paper); }
.prose blockquote {
  border-left: 1px solid var(--ochre-dim);
  margin: 26px 0;
  padding: 2px 0 2px 20px;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ---------- Tags (replaces pill badges) ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--paper-dim);
}

.tag-ochre { color: var(--ochre); border-color: var(--ochre-dim); }
.tag-rust { color: var(--rust); border-color: var(--rust); }

/* ---------- Blog ---------- */

.post-list { border-top: 1px solid var(--line); }

.post-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}

.post-item .post-meta { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); color: var(--paper-faint); font-size: 0.76rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.post-item h3 { margin: 0 0 8px; font-size: 1.2rem; }
.post-item p { margin: 0; color: var(--paper-dim); font-size: 0.95rem; }

.post-header { padding: 56px 0 36px; border-bottom: 1px solid var(--line-soft); }
.post-header .post-meta { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); color: var(--paper-faint); font-size: 0.8rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.post-header h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 12px; max-width: 720px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.contact-card {
  background: var(--ink);
  padding: 30px 26px;
  transition: background 0.15s ease;
}

.contact-card:hover { background: var(--ink-raised); }
.contact-card .term { font-family: var(--font-mono); color: var(--ochre); font-size: 0.8rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-card h3 { font-size: 1.1rem; margin: 0 0 10px; }
.contact-card p { color: var(--paper-dim); font-size: 0.92rem; margin: 0; }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(10px); animation: reveal 0.6s ease forwards; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.15s; }
.reveal-3 { animation-delay: 0.25s; }
.reveal-4 { animation-delay: 0.35s; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Focus ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-compare { grid-template-columns: 1fr; }
  .split-compare .rule { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .timeline-step:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 700px) {
  .nav-menu { display: flex; }
  .js .nav-menu { display: none; }
  .js .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }
  .btn { min-height: 44px; }
  .quickstart-grid { grid-template-columns: 1fr; }
  .quickstart-item { min-width: 0; }
  .table-wrap { max-width: 100%; }
  .nav-menu,
  .nav.open .nav-menu {
    display: flex;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    gap: 18px;
  }
  .nav-menu .nav-links,
  .nav-menu .nav-social,
  .nav-menu .nav-cta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
    border-right: none;
    padding-right: 0;
  }
  .nav-menu .nav-cta .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-step { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line-soft); padding-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 30px; }
  .audience-paths { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero-demo-link { right: 8px; bottom: 8px; min-width: 185px; padding: 8px 10px; font-size: 0.7rem; }
}

/* ---------- Hero: compat strip + subordinated signature ---------- */

.hero-compat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.hero-compat-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--paper-faint); letter-spacing: 0.06em; margin-right: 4px; }

.hero-visual .hero-shot-frame { margin-top: 0; }
.hero-signature { margin: 22px 0 0; }
.hero-signature .decay-chart { max-width: 420px; }
.hero-signature figcaption { font-family: var(--font-mono); font-size: 0.72rem; color: var(--paper-faint); margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- Product gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-panel);
  display: flex;
  flex-direction: column;
  margin: 0;
}

.shot img { width: 100%; display: block; }

.shot figcaption {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--paper-dim);
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
}

.shot-ph {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--ink-raised);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(168, 154, 125, 0.045) 9px, rgba(168, 154, 125, 0.045) 10px);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--paper-dim);
}

.shot-ph span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--paper-faint); letter-spacing: 0.03em; }

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

/* ---------- Knowledge Graph showcase ---------- */

.graph-showcase { margin-bottom: 34px; }
.graph-showcase .hero-shot-frame { margin-top: 0; }

.graph-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ochre-dim);
  padding-top: 26px;
}

.graph-point { padding-right: 28px; border-right: 1px solid var(--line-soft); }
.graph-point:last-child { border-right: none; padding-right: 0; }

.graph-point .num {
  color: var(--ochre);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.graph-point h3 { font-size: 1.05rem; margin: 0 0 8px; }
.graph-point p { color: var(--paper-dim); font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) {
  .graph-points { grid-template-columns: 1fr; row-gap: 24px; }
  .graph-point { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line-soft); padding-bottom: 20px; }
  .graph-point:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ---------- Final-release interactive polish ---------- */

.code-block { position: relative; }
.code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 30px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper-faint);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 9px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.code-block:hover .code-copy,
.code-copy:focus-visible { opacity: 1; }
.code-copy:hover,
.code-copy.copied { color: var(--ochre); border-color: var(--ochre-dim); opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .code-block {
    padding-right: 60px;
  }

  .code-copy {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    opacity: 1;
  }
}

@keyframes draw-curve { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
html.js .decay-chart path { stroke-dasharray: 1; animation: draw-curve 1.6s ease forwards; }
@media (prefers-reduced-motion: reduce) {
  html.js .decay-chart path { animation: none; }
}

.graph-showcase .hero-shot-frame { position: relative; }
.graph-showcase .hero-shot-frame img { cursor: grab; }
.graph-showcase .hero-shot-frame img:active { cursor: grabbing; }
.graph-showcase .hero-shot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 146, 82, 0.20), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}
.graph-showcase .hero-shot-frame:hover::after { opacity: 1; }

/* ---------- Living knowledge-graph hero constellation ---------- */

.hero { position: relative; overflow: hidden; }
.hero > .hero-grid { position: relative; z-index: 2; }
.hero-graph {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(96deg, var(--ink) 4%, rgba(20, 18, 14, 0) 52%),
    radial-gradient(130% 90% at 108% -10%, rgba(20, 18, 14, 0) 42%, var(--ink) 100%);
}

/* ============================================================
   Re-applied enhancements (FAQ accordion, comparison blocks,
   scroll-reveal, interaction polish)
   ============================================================ */

/* ---------- FAQ (native details accordion) ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list summary {
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--paper);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--ochre);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--ochre); }
.faq-list .faq-answer {
  padding: 0 0 18px;
  color: var(--paper-dim);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 680px;
  animation: faq-answer-in 0.25s ease forwards;
}
.faq-list .faq-answer code { font-size: 0.85em; }
@keyframes faq-answer-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Comparison blocks (product page) ---------- */
.compare-section {
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
}
.compare-section:last-of-type { margin-bottom: 36px; padding-bottom: 0; border-bottom: none; }
.compare-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}
.compare-section p { color: var(--paper-dim); font-size: 0.95rem; margin: 0 0 18px; max-width: 720px; }

/* ---------- Blog list: allow h2 in post items ---------- */
.post-item h2 { margin: 0 0 8px; font-size: 1.2rem; }

/* ---------- Interaction polish ---------- */
.btn { transition: all 0.15s ease, transform 0.1s ease; }
.btn-primary:active { background: var(--ochre-dim); border-color: var(--ochre-dim); transform: scale(0.98); }
.btn-secondary:active { border-color: var(--ochre-dim); color: var(--ochre-dim); transform: scale(0.98); }
.btn-ghost:active { color: var(--ochre-dim); }
.nav-toggle {
  width: auto;
  min-width: 64px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.nav-toggle:hover { border-color: var(--ochre-dim); color: var(--ochre); }
.nav-toggle:active { background: var(--ink-raised); }
code { word-break: break-word; overflow-wrap: anywhere; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.copy-fallback {
  position: fixed;
  inset: auto auto 0 -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.code-copy.copied { animation: copy-flash 0.4s ease; }
@keyframes copy-flash {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ---------- Scroll-reveal ---------- */
html.js .section-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .section-reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .section-reveal { transition: none; opacity: 1; transform: none; }
  .faq-list .faq-answer { animation: none; opacity: 1; transform: none; }
  .btn { transition: none; }
}

/* ---------- Footer cloud-sync callout (Pro & Team) ---------- */
.footer-sync {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-sync-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ochre);
  padding: 4px 9px;
  border-radius: var(--radius);
  flex-shrink: 0;
  align-self: flex-start;
}
.footer-sync p { margin: 0; color: var(--paper-dim); font-size: 0.92rem; line-height: 1.6; flex: 1; min-width: 240px; }
.footer-sync p strong { color: var(--paper); font-family: var(--font-display); }
.footer-sync-link { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ochre); white-space: nowrap; }
.footer-sync-link:hover { text-decoration: underline; }
@media (max-width: 600px) { .footer-sync { gap: 12px; } }

/* ============================================================
   Mnemonic Autopsy homepage and shared shell
   ============================================================ */

::selection {
  background: var(--lime);
  color: var(--ink);
}

.site-header {
  background: #120d2e;
  border-color: rgba(182, 161, 255, 0.2);
  backdrop-filter: none;
}

.nav {
  max-width: 1440px;
  min-height: 68px;
  padding: 0 30px;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.nav-brand img {
  width: 24px;
  height: 24px;
  filter: saturate(1.8) hue-rotate(52deg) brightness(1.3);
}

.nav-brand small {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.nav-links {
  gap: 24px;
}

.nav-links a,
.nav-social a {
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-social a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cyan);
}

.nav-links a[aria-current="page"]::after {
  background: var(--cyan);
}

.btn {
  min-height: 42px;
  border-color: var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.btn-primary:hover {
  color: var(--ink);
  background: #e4ff82;
  border-color: #e4ff82;
  box-shadow: 8px 8px 0 rgba(63, 33, 184, 0.55);
}

.btn-secondary {
  color: var(--paper);
  background: rgba(36, 20, 95, 0.38);
  border-color: var(--line);
}

.btn-secondary:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(77, 231, 255, 0.06);
}

.code-block {
  border-color: var(--line);
  background: #0c0821;
  color: var(--paper);
  font-family: var(--font-mono);
  border-radius: 2px;
}

.code-block .prompt {
  color: var(--lime);
}

.code-copy {
  color: var(--paper-dim);
  border-color: var(--line);
  background: var(--ink-raised);
}

.code-copy:hover,
.code-copy.copied {
  color: var(--ink);
  border-color: var(--lime);
  background: var(--lime);
}

.home-page {
  overflow-x: hidden;
}

.home-page .site-header {
  position: fixed;
  width: 100%;
}

.memory-hero {
  isolation: isolate;
  min-height: max(820px, 100svh);
  padding: 0;
  border-bottom: 1px solid rgba(182, 161, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(18, 13, 46, 0.98) 0%, rgba(18, 13, 46, 0.94) 34%, rgba(18, 13, 46, 0.42) 62%, rgba(18, 13, 46, 0.18) 100%),
    radial-gradient(ellipse at 82% 45%, rgba(63, 33, 184, 0.26), transparent 52%);
}

.memory-hero::before {
  z-index: 1;
  background:
    linear-gradient(rgba(182, 161, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 161, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black 0%, rgba(0, 0, 0, 0.75) 44%, transparent 100%);
}

.memory-hero::after {
  content: "";
  position: absolute;
  inset: 68px 18px 18px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(182, 161, 255, 0.2);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.memory-hero .hero-graph {
  inset: 68px 0 0;
  z-index: 0;
  opacity: 1;
}

.hero-registration {
  position: absolute;
  top: 92px;
  right: 34px;
  left: 34px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(760px, 64vw);
  padding: clamp(132px, 17vh, 170px) 0 160px clamp(34px, 6vw, 108px);
}

.system-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.system-kicker > span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 6.2vw, 5.2rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-copy h1 strong {
  color: var(--lime);
  font-weight: inherit;
}

.hero-copy .hero-sub {
  max-width: 560px;
  margin: 28px 0 34px;
  color: var(--paper-dim);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.58;
}

.install-module {
  width: min(560px, 100%);
  border: 1px solid var(--lime);
  background: rgba(12, 8, 33, 0.92);
  box-shadow: 12px 12px 0 rgba(63, 33, 184, 0.35);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.install-module-head,
.install-module-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 14px;
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.install-module-head {
  border-bottom: 1px solid rgba(216, 255, 79, 0.3);
}

.install-module .code-block {
  min-height: 68px;
  padding: 19px 76px 19px 20px;
  border: 0;
  color: var(--lime);
  background: transparent;
  font-size: clamp(0.86rem, 1.25vw, 1.06rem);
}

.install-module-foot {
  border-top: 1px solid rgba(216, 255, 79, 0.2);
}

.install-module-foot a {
  color: var(--lime);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}

.status-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 4px 4px 12px rgba(216, 255, 79, 0.46);
}

.hero-secondary {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-secondary a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--paper-dim);
}

.hero-secondary a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.specimen-note {
  position: absolute;
  z-index: 4;
  width: 185px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.specimen-note span {
  color: var(--cyan);
}

.specimen-note small {
  display: block;
  margin-top: 5px;
  color: var(--paper-faint);
  font-size: 0.55rem;
  line-height: 1.5;
  text-transform: none;
}

.specimen-note::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 72px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.note-scope {
  top: 21%;
  right: 21%;
  color: var(--cyan);
}

.note-scope::before,
.note-recall::before {
  right: calc(100% + 12px);
}

.note-recall {
  top: 43%;
  right: 5%;
  color: var(--lime);
}

.note-recall span {
  color: var(--lime);
}

.note-history {
  top: 69%;
  right: 8%;
  color: var(--coral);
}

.note-history span {
  color: var(--coral);
}

.note-history::before {
  left: calc(100% + 12px);
}

.hero-proof {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 4;
  display: grid;
  grid-template-columns: 160px 160px 190px 1fr;
  min-height: 92px;
  border-top: 1px solid rgba(182, 161, 255, 0.24);
  background: rgba(12, 8, 33, 0.72);
  backdrop-filter: blur(8px);
}

.hero-proof > * {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 16px 22px;
  border-right: 1px solid rgba(182, 161, 255, 0.18);
}

.hero-proof strong {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.hero-proof span {
  margin-top: 6px;
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-proof > a {
  align-items: flex-end;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.temporal-dissection {
  padding: 120px 0 132px;
  background: #170f3c;
  border-bottom: 1px solid var(--line-soft);
}

.dissection-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px 88px;
  align-items: end;
}

.dissection-head .system-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--coral);
}

.dissection-head .system-kicker > span {
  background: var(--coral);
}

.dissection-head h2,
.evidence-copy h2,
.edition-head h2,
.faq-grid h2,
.final-signal h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  line-height: 1.03;
}

.dissection-head > p {
  max-width: 56ch;
  margin: 0 0 6px;
  color: var(--paper-dim);
  font-size: 1.08rem;
}

.fact-trace {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 28px;
  margin-top: 72px;
  padding: 48px 0 12px;
  border-top: 1px solid rgba(255, 92, 138, 0.42);
}

.fact-trace-label {
  position: absolute;
  top: -12px;
  left: 0;
  margin: 0;
  padding-right: 12px;
  color: var(--coral);
  background: #170f3c;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fact-state {
  position: relative;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  background: rgba(18, 13, 46, 0.7);
}

.fact-state span,
.fact-state small {
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-state p {
  margin: 24px 0 30px;
  color: var(--paper);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.fact-past {
  border-color: rgba(255, 92, 138, 0.55);
}

.fact-past::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 49.5%, rgba(255, 92, 138, 0.28) 50%, transparent 50.5%);
  pointer-events: none;
}

.fact-current {
  border-color: rgba(216, 255, 79, 0.7);
  box-shadow: 10px 10px 0 rgba(63, 33, 184, 0.24);
}

.fact-transition {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-transition span {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), var(--lime));
}

.fact-transition span::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--lime);
  border-right: 1px solid var(--lime);
  transform: rotate(45deg);
}

.trace-link {
  grid-column: 3;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.memory-cycle {
  background: var(--ink);
}

.cycle-beat {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.cycle-beat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.9%, rgba(182, 161, 255, 0.12) 50%, transparent 50.1%);
}

.cycle-content {
  position: relative;
  z-index: 2;
  width: min(500px, 40vw);
  padding: 120px 0 100px;
}

.cycle-remember .cycle-content,
.cycle-inspect .cycle-content {
  margin-left: 10vw;
}

.cycle-recall .cycle-content {
  margin-left: 57vw;
}

.cycle-signal {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cycle-beat h2 {
  margin: 24px 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 1.02;
}

.cycle-beat p {
  max-width: 52ch;
  color: var(--paper-dim);
  font-size: 1.08rem;
}

.cycle-beat code {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--lime);
  background: #0c0821;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.cycle-beat a {
  display: inline-block;
  margin-top: 20px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.cycle-word {
  position: absolute;
  top: 50%;
  right: -2vw;
  z-index: 0;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(182, 161, 255, 0.14);
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 15rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cycle-word::before {
  content: attr(data-word);
}

.cycle-recall .cycle-word {
  right: auto;
  left: -2vw;
}

.scope-diagram {
  position: absolute;
  top: 50%;
  right: 11vw;
  width: 360px;
  height: 360px;
  transform: translateY(-50%);
}

.scope-ring,
.scope-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: var(--lilac);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.scope-user { width: 340px; height: 340px; }
.scope-workspace { width: 250px; height: 250px; color: var(--cyan); }
.scope-repo { width: 160px; height: 160px; color: var(--lime); }
.scope-core {
  width: 66px;
  height: 66px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  box-shadow: 8px 8px 0 rgba(63, 33, 184, 0.38);
}

.recall-path {
  position: absolute;
  top: 50%;
  right: 43%;
  left: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
}

.recall-path::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--ultraviolet), var(--cyan), var(--lime));
}

.recall-path i,
.recall-path b {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--ink);
}

.recall-path b {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--lime);
  box-shadow: 10px 10px 0 rgba(63, 33, 184, 0.45);
  animation: recallPulse 3.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes recallPulse {
  0%, 68%, 100% { box-shadow: 8px 8px 0 rgba(63, 33, 184, 0.42); }
  76% { box-shadow: 14px 14px 0 rgba(255, 92, 138, 0.62); }
}

.trace-mini {
  position: absolute;
  top: 50%;
  right: 8vw;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%) rotate(-7deg);
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.trace-mini i {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), var(--lilac));
}

.evidence-lab {
  padding: 132px 0;
  background: #1c1248;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.65fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}

.evidence-copy p:not(.system-kicker) {
  max-width: 48ch;
  color: var(--paper-dim);
  font-size: 1.08rem;
}

.evidence-list {
  margin: 34px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.evidence-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-dim);
}

.evidence-list span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.evidence-specimen {
  position: relative;
  margin: 0;
}

.specimen-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  background: #0b081d;
  box-shadow: 18px 18px 0 rgba(63, 33, 184, 0.28);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.specimen-frame::before,
.specimen-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-color: var(--lime);
}

.specimen-frame::before {
  top: 4px;
  left: 4px;
  border-top: 1px solid var(--lime);
  border-left: 1px solid var(--lime);
}

.specimen-frame::after {
  right: 4px;
  bottom: 4px;
  border-right: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
}

.specimen-frame img {
  width: 100%;
  aspect-ratio: 1680 / 935;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04);
}

.evidence-specimen figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.evidence-specimen figcaption span {
  color: var(--lime);
}

.free-core {
  padding: 0;
  color: var(--ink);
  background: var(--lime);
}

.free-core-grid {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  min-height: 390px;
}

.free-core-grid > * {
  padding: 66px clamp(28px, 4vw, 64px);
}

.free-core-label,
.free-core-copy {
  border-right: 1px solid rgba(18, 13, 46, 0.34);
}

.free-core-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.free-core-label span,
.free-core-label small,
.free-core-action span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.free-core-label strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1;
}

.free-core-copy h2 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 4.4vw, 5rem);
  line-height: 1.03;
}

.free-core-copy p {
  max-width: 64ch;
  color: #2a2351;
  font-size: 1.06rem;
}

.code-block-light {
  max-width: 720px;
  margin-top: 34px;
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.free-core-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.free-core-action a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.edition-band {
  padding: 132px 0;
  background: var(--ink);
}

.edition-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.edition-head h2 {
  max-width: 920px;
}

.edition-head > a {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.edition-rows {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.edition-row {
  display: grid;
  grid-template-columns: 260px 1fr 150px;
  gap: 34px;
  align-items: center;
  min-height: 142px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.edition-row > div {
  display: flex;
  flex-direction: column;
}

.edition-row span {
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.edition-row strong {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 2.1rem;
}

.edition-row strong small {
  color: var(--paper-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
}

.edition-row p {
  max-width: 62ch;
  margin: 0;
  color: var(--paper-dim);
}

.edition-row > a {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-align: right;
  text-transform: uppercase;
}

.edition-free {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}

.edition-free > * {
  padding-right: 18px;
  padding-left: 18px;
}

.edition-free span,
.edition-free p,
.edition-free > a {
  color: #2a2351;
}

.faq-section {
  padding: 132px 0;
  border-top: 1px solid var(--line-soft);
  background: #170f3c;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.faq-list {
  border-top-color: var(--line);
}

.faq-list details {
  border-bottom-color: var(--line);
}

.faq-list summary {
  padding: 24px 8px 24px 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.faq-list summary::after {
  color: var(--lime);
}

.faq-answer {
  max-width: 68ch;
  padding-right: 36px;
  color: var(--paper-dim);
}

.final-signal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 160px;
  background: #24145f;
}

.final-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 46%, rgba(216, 255, 79, 0.18), transparent 5%),
    radial-gradient(circle at 78% 46%, rgba(77, 231, 255, 0.13), transparent 28%),
    linear-gradient(90deg, rgba(18, 13, 46, 0.94) 0%, rgba(36, 20, 95, 0.58) 70%);
}

.final-signal span {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.final-signal h2 {
  max-width: 1020px;
  margin: 26px 0 44px;
}

.final-signal .cta-actions {
  justify-content: flex-start;
}

.site-footer {
  padding-top: 72px;
  background: #0c0821;
}

.footer-brand {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.footer-brand img {
  width: 24px;
  filter: saturate(1.8) hue-rotate(52deg) brightness(1.3);
}

.footer-col h3 {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

/* Existing inner pages inherit the replacement world. */
.page-hero {
  padding: 108px 0 72px;
  background:
    linear-gradient(90deg, rgba(63, 33, 184, 0.14), transparent 58%),
    linear-gradient(rgba(182, 161, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 100% 48px;
}

.page-hero h1,
.post-header h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.98;
}

.page-hero p,
.prose,
.post-item p,
.contact-card p {
  color: var(--paper-dim);
}

.ledger,
.table-wrap,
.pricing-grid,
.quickstart-grid,
.contact-grid,
.post-list {
  border-color: var(--line);
  background: var(--line);
}

.ledger-row,
.price-card,
.quickstart-item,
.contact-card,
.post-item {
  background: var(--ink);
}

.price-card.featured {
  background: var(--ink-panel);
  box-shadow: inset 0 3px 0 var(--lime);
}

.tag,
.eyebrow,
.tier-label,
.compare-label {
  color: var(--cyan);
  border-color: var(--line);
}

@media (max-width: 1080px) {
  .hero-copy {
    width: min(720px, 72vw);
    padding-left: 44px;
  }

  .specimen-note {
    display: none;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof > a {
    display: none;
  }

  .cycle-content {
    width: min(540px, 50vw);
  }

  .cycle-recall .cycle-content {
    margin-left: 48vw;
  }

  .scope-diagram {
    right: 4vw;
    transform: translateY(-50%) scale(0.82);
  }

  .free-core-grid {
    grid-template-columns: 170px 1fr;
  }

  .free-core-action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    min-height: 120px;
    border-top: 1px solid rgba(18, 13, 46, 0.34);
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 62px;
    padding: 0 18px;
  }

  .nav-brand small {
    display: none;
  }

  .nav-menu {
    background: #120d2e;
    border-bottom-color: var(--line);
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a,
  .nav-social a {
    padding: 12px 0;
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
    color: var(--paper);
    border-color: var(--line);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
  }

  .btn {
    min-height: 44px;
  }

  .code-block {
    padding-right: 60px;
  }

  .code-copy {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    opacity: 1;
  }

  .memory-hero {
    min-height: 860px;
    background:
      linear-gradient(180deg, rgba(18, 13, 46, 0.96) 0%, rgba(18, 13, 46, 0.86) 58%, rgba(18, 13, 46, 0.28) 100%),
      radial-gradient(ellipse at 82% 45%, rgba(63, 33, 184, 0.26), transparent 52%);
  }

  .memory-hero::after {
    inset: 62px 8px 8px;
  }

  .hero-registration {
    top: 82px;
    right: 18px;
    left: 18px;
  }

  .hero-registration span:nth-child(2) {
    display: none;
  }

  .memory-hero .hero-graph {
    inset: 320px -240px 70px -40px;
    opacity: 0.72;
  }

  .hero-copy {
    width: auto;
    padding: 128px 24px 210px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.9rem);
  }

  .hero-copy .hero-sub {
    max-width: 44ch;
    font-size: 1rem;
  }

  .install-module-foot {
    flex-wrap: wrap;
  }

  .install-module-foot span:nth-child(2) {
    display: none;
  }

  .hero-secondary {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .hero-proof {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: repeat(3, 1fr);
    min-height: 86px;
  }

  .hero-proof > * {
    padding: 12px 10px;
  }

  .hero-proof strong {
    font-size: 1.1rem;
  }

  .hero-proof span {
    font-size: 0.48rem;
  }

  .temporal-dissection,
  .evidence-lab,
  .edition-band,
  .faq-section {
    padding: 88px 0;
  }

  .dissection-head,
  .evidence-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dissection-head h2,
  .evidence-copy h2,
  .edition-head h2,
  .faq-grid h2,
  .final-signal h2 {
    font-size: clamp(2.25rem, 10vw, 3.8rem);
  }

  .fact-trace {
    grid-template-columns: 1fr;
  }

  .fact-transition {
    min-height: 46px;
  }

  .fact-transition span {
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, var(--coral), var(--lime));
  }

  .fact-transition span::after {
    top: auto;
    right: -4px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .trace-link {
    grid-column: auto;
  }

  .cycle-beat {
    min-height: 640px;
  }

  .cycle-content,
  .cycle-remember .cycle-content,
  .cycle-inspect .cycle-content,
  .cycle-recall .cycle-content {
    width: auto;
    margin: 0;
    padding: 82px 24px 310px;
  }

  .cycle-beat h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .cycle-word {
    top: auto;
    right: -10px;
    bottom: 42px;
    transform: none;
    font-size: 21vw;
  }

  .cycle-recall .cycle-word {
    right: -10px;
    bottom: 42px;
    left: auto;
  }

  .scope-diagram {
    top: auto;
    right: 50%;
    bottom: -25px;
    transform: translateX(50%) scale(0.7);
    transform-origin: bottom center;
  }

  .recall-path {
    top: auto;
    right: 32px;
    bottom: 150px;
    left: 32px;
    transform: none;
  }

  .trace-mini {
    top: auto;
    right: 24px;
    bottom: 150px;
    left: 24px;
    justify-content: center;
    transform: none;
  }

  .trace-mini i {
    width: 34px;
  }

  .specimen-frame {
    box-shadow: 10px 10px 0 rgba(63, 33, 184, 0.28);
  }

  .evidence-specimen figcaption {
    flex-direction: column;
  }

  .free-core-grid {
    grid-template-columns: 1fr;
  }

  .free-core-grid > * {
    padding: 42px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 13, 46, 0.34);
  }

  .free-core-label {
    min-height: 170px;
  }

  .free-core-action {
    grid-column: auto;
    min-height: 140px;
  }

  .edition-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .edition-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .edition-row > a {
    text-align: left;
  }

  .edition-free {
    padding: 10px 0;
  }

  .final-signal {
    padding: 104px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recall-path b {
    animation: none;
  }
}

/* Legibility floor for diagnostic UI labels. */
.nav-brand small,
.nav-links a,
.nav-social a,
.install-module-head,
.install-module-foot,
.hero-secondary,
.hero-proof span,
.hero-proof > a,
.fact-trace-label,
.fact-state span,
.fact-state small,
.trace-link,
.cycle-signal,
.cycle-beat a,
.evidence-list span,
.evidence-specimen figcaption,
.free-core-label span,
.free-core-label small,
.free-core-action span,
.edition-head > a,
.edition-row span,
.edition-row > a,
.final-signal > .container > span,
.footer-col h3 {
  font-size: 0.7rem;
}

.system-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.evidence-specimen figcaption,
.footer-bottom {
  text-transform: none;
}

.footer-bottom {
  font-size: 0.64rem;
}

/* Product page ownership layer for the Engraphis Recall Concourse. */

.product-page .page-hero {
  padding: 40px 0 27px;
}

body.concourse-shell.product-page .product-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) 28px clamp(48px, 6vw, 76px);
}

body.concourse-shell.product-page .product-hero-copy {
  min-width: 0;
}

body.concourse-shell.product-page .product-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 2.25vw, 2.25rem);
}

body.concourse-shell.product-page .product-hero-copy p {
  max-width: 56ch;
}

body.concourse-shell.product-page .product-hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  border-color: var(--line);
  background: var(--ink-panel);
  box-shadow: 12px 12px 0 #070807;
}

body.concourse-shell.product-page .product-hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  z-index: 1;
  width: 32%;
  height: 5px;
  background: var(--ochre);
}

body.concourse-shell.product-page .product-hero-visual figcaption {
  padding: 10px 14px 12px;
  color: var(--paper-faint);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.45;
}

.product-page .section {
  padding: 35px 0;
}

.product-page .section-head {
  margin-bottom: 20px;
}

.product-page .section-head h2 {
  margin-top: 10px;
  margin-bottom: 9px;
}

.product-page .ledger-row {
  padding: 9px 0;
}

.product-page th,
.product-page td {
  padding: 6px 8px;
}

.product-page .price-card {
  padding: 16px 14px;
}

.product-page .price-card .tier-label,
.product-page .price-card h3 {
  margin-bottom: 5px;
}

.product-page .price-card .price-note {
  margin-bottom: 10px;
}

.product-page .price-card .best-for {
  margin-top: 8px;
}

.product-page .price-features {
  gap: 6px;
  margin-bottom: 12px;
}

.product-page .price-card.featured .tier-label,
.product-page .price-card.featured .price span,
.product-page .price-card.featured .price-note,
.product-page .price-card.featured .price-note a,
.product-page .price-card.featured .best-for,
.product-page .price-card.featured .best-for b,
.product-page .price-card.featured .price-features,
.product-page .price-card.featured .price-features li {
  color: var(--ink);
}

.product-page .price-card.featured .price-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-page .price-card.featured .price-features li::before {
  background: var(--ink);
}

body.concourse-shell.product-page .price-card.featured .btn-primary {
  color: var(--ochre);
  border-color: var(--ink);
  background: var(--ink);
}

body.concourse-shell.product-page .price-card.featured .btn-primary:hover,
body.concourse-shell.product-page .price-card.featured .btn-primary:focus-visible {
  color: var(--paper);
  border-color: #070807;
  background: #070807;
}

.product-page .quickstart-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.product-page .quickstart-item {
  padding: 14px 13px;
}

.product-page .quickstart-item:first-child {
  grid-row: span 2;
}

.product-page .quickstart-item .code-block {
  padding: 12px;
}

.product-page .code-block {
  line-height: 1.5;
}

.product-page .table-wrap:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

.product-page .hero-actions {
  gap: 10px;
  margin-bottom: 22px;
}

.product-page .hero-text-link {
  align-self: center;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-page .hero-text-link:hover,
.product-page .hero-text-link:focus-visible {
  color: var(--ochre);
  border-color: var(--ochre);
}

.product-page .graph-showcase {
  display: block;
  margin-bottom: 26px;
  color: inherit;
}

.product-page .graph-demo-link .hero-shot-frame img {
  cursor: pointer;
}

.product-page .graph-demo-link:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 4px;
}

.product-page .graph-demo-caption {
  display: inline-block;
  margin-top: 10px;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.product-page .graph-demo-link:hover .graph-demo-caption {
  color: var(--ochre);
  border-color: var(--ochre);
}

.product-page .graph-points {
  padding-top: 20px;
}

.product-page .graph-point {
  padding-right: 21px;
}

.product-page .graph-point .num {
  margin-bottom: 7px;
}

.product-page .graph-point h3 {
  margin-bottom: 6px;
}

.product-page .product-install-note,
.product-page .product-pricing-note {
  max-width: 640px;
  margin-top: 14px;
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
}

.product-page .cta-band {
  padding: 38px 0;
}

.product-page .btn:active {
  transform: translateY(1px);
}

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

@media (max-width: 760px) {
  body.concourse-shell.product-page .product-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 52px 16px 42px;
  }

  body.concourse-shell.product-page .product-hero-visual {
    min-height: calc((100vw - 32px) * 0.64625 + 98px);
    box-shadow: 7px 7px 0 #070807;
  }

  body.concourse-shell.product-page .product-hero h1 {
    font-size: clamp(2.6rem, 14vw, 3.2rem);
  }

  .product-page .page-hero {
    padding: 40px 0 27px;
  }

  .product-page .section {
    padding: 31px 0;
  }

  .product-page .section-head {
    margin-bottom: 18px;
  }

  .product-page .quickstart-grid {
    grid-template-columns: 1fr;
  }

  .product-page .quickstart-item:first-child {
    grid-row: auto;
  }

  .product-page .hero-actions {
    align-items: stretch;
  }

  .product-page .hero-text-link {
    padding: 8px 0;
  }
}
