:root {
  color-scheme: dark;
  --ink: #111510;
  --ink-soft: #1a2119;
  --ink-raised: #20291f;
  --paper: #f0eee5;
  --paper-bright: #faf8ef;
  --paper-deep: #ddd9ca;
  --text: #f6f3e8;
  --text-dim: #aeb5a8;
  --text-dark: #171b15;
  --text-dark-dim: #5d6458;
  --signal: #d8ff62;
  --signal-dark: #5b7118;
  --amber: #ffc768;
  --adverse: #f08e7b;
  --rule: rgba(246, 243, 232, 0.16);
  --rule-dark: rgba(17, 21, 16, 0.18);
  --font-display: "Newsreader", Georgia, serif;
  --font-ui: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --max: 90rem;
  --header-height: 5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The open mobile menu holds the page still. Set on <html> as well as <body>: which of the two
   scrolls the viewport depends on the browser, and iOS Safari reads only <html>. */
html.nav-open,
body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--paper-bright);
  color: var(--text-dark);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease;
}

/* The scrolled header's frosted glass is painted by this pseudo-element, never by the header.
   A backdrop-filter (like a transform, filter or contain) makes its element the containing
   block of every position: fixed descendant, and the mobile menu is one: on the header it
   shrank the open menu to the header's own box, and the links spilled over the page with
   nothing behind them. frontend/tests/landing.test.mjs holds the header to this. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: background 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--rule);
}

.site-header.is-scrolled::before {
  background: rgba(17, 21, 16, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text);
  flex: 0 0 auto;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  /* The Viewpoint mark is solid geometry. The old three-chevron mark was a
     stroked outline whose paths were faded to 0.35 / 0.65 to suggest depth;
     those rules are gone with it -- applied to these two paths they would fade
     the outer frame of a shape that reads as one object. */
  fill: currentColor;
  stroke: none;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-type strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.brand-type small {
  margin-top: 0.22rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-size: 0.82rem;
}

.site-nav > a:not(.button) {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav > a:not(.button):hover {
  color: var(--text);
}

.site-nav .nav-signin {
  padding-left: 1rem;
  border-left: 1px solid var(--rule);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.15rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.15rem) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--signal);
  border-radius: 0.2rem;
  background: var(--signal);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--signal);
}

.button-small {
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.button-dark:hover {
  background: transparent;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: inherit;
  font-weight: 500;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 1px;
}

.text-link span {
  transition: transform 180ms var(--ease);
}

.text-link:hover span {
  transform: translate(0.18rem, -0.18rem);
}

.eyebrow,
.column-label,
.result-context,
.axis-label {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--signal-dark);
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: var(--signal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 5.7rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(21rem, 0.9fr) minmax(30rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 7rem);
  padding: calc(var(--header-height) + 2.5rem) var(--page-pad) 3rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 46%, rgba(216, 255, 98, 0.055), transparent 34%),
    linear-gradient(120deg, #111510 0%, #151b14 56%, #0e120d 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12rem -19rem auto;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(216, 255, 98, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(216, 255, 98, 0.018), 0 0 0 10rem rgba(216, 255, 98, 0.012);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-brand {
  margin-bottom: 1.1rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.3rem, 5.2vw, 6.2rem);
  line-height: 0.92;
}

.hero-deck {
  max-width: 39rem;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-chart,
.demo-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(246, 243, 232, 0.075);
  stroke-width: 1;
}

.demo-focus,
.demo-transaction {
  stroke: var(--ink);
  stroke-width: 4;
}

.demo-transaction {
  fill: var(--paper-bright);
}

.demo-focus {
  fill: var(--paper-bright);
}

.axis-label {
  fill: #7e8679;
  font-size: 9px;
}

.visual-caption {
  margin: 0.4rem 0 0;
  color: #899184;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  animation: hero-in 0.8s var(--ease) forwards;
  animation-delay: calc(120ms + var(--reveal-order) * 100ms);
}

.visual-caption a,
.legal-line a {
  color: inherit;
  text-underline-offset: 0.2rem;
}

.decision-demo,
.brokers,
.pricing,
.faq,
.final-cta {
  padding: clamp(5.5rem, 10vw, 10rem) var(--page-pad);
}

.section-dark {
  background: var(--ink);
  color: var(--text);
}

.section-paper {
  background: var(--paper);
  color: var(--text-dark);
}

.section-intro {
  max-width: var(--max);
  margin: 0 auto clamp(3rem, 6vw, 6.5rem);
}

.section-intro.narrow {
  max-width: 62rem;
  margin-left: 0;
}

.section-intro > p:not(.eyebrow) {
  max-width: 44rem;
  color: inherit;
  opacity: 0.68;
  font-size: 1.1rem;
}

.decision-demo,
.faq,
.final-cta {
  background: var(--paper-bright);
  color: var(--text-dark);
}

.demo-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto 4rem;
  align-items: end;
}

.demo-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.demo-heading h2 {
  margin: 0;
}

.demo-heading > p:last-child {
  max-width: 34rem;
  margin: 0 0 0.5rem auto;
  color: var(--text-dark-dim);
  font-size: 1.05rem;
}

.demo-instrument {
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--rule-dark);
  background: var(--ink);
  color: var(--text);
}

.demo-controls {
  display: flex;
  align-items: end;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.demo-controls fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.demo-controls legend {
  margin-bottom: 0.5rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.segmented {
  display: flex;
  border: 1px solid var(--rule);
}

.segmented button,
.recent-toggle {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button:hover,
.segmented button.is-active {
  background: var(--paper-bright);
  color: var(--ink);
}

.recent-toggle {
  margin-left: auto;
  border: 1px solid var(--rule);
}

.recent-toggle:hover,
.recent-toggle[aria-pressed="true"] {
  border-color: var(--amber);
  color: var(--amber);
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(26rem, 1.2fr) minmax(24rem, 0.8fr);
}

.demo-chart-wrap {
  min-width: 0;
  padding: 2rem 1.5rem 1rem;
  border-right: 1px solid var(--rule);
}

.demo-path {
  fill: none;
  stroke: var(--signal);
  stroke-width: 3;
  stroke-linecap: round;
}

.demo-transaction-line {
  stroke: rgba(246, 243, 232, 0.32);
  stroke-dasharray: 4 7;
}

.demo-focus {
  transition: cx 420ms var(--ease), cy 420ms var(--ease), fill 180ms ease;
}

.demo-focus.is-positive {
  fill: var(--signal);
}

.demo-focus.is-warning {
  fill: var(--amber);
}

.chart-key {
  display: flex;
  gap: 1rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.chart-key span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.key-line {
  width: 1.5rem;
  height: 2px;
  background: var(--signal);
}

.demo-result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.result-context {
  color: var(--text-dim);
}

.result-label {
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.result-label.positive {
  color: var(--signal);
}

.result-label.warning {
  color: var(--amber);
}

.result-label.open {
  color: var(--text);
}

.demo-focus.is-open {
  fill: var(--paper-bright);
}

.result-number {
  margin-bottom: 1.4rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.result-explanation {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.demo-result dl {
  margin: 1rem 0 1.4rem;
  border-top: 1px solid var(--rule);
}

.demo-result dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.demo-result dt {
  color: var(--text-dim);
}

.demo-result dd {
  margin: 0;
}

.brokers .section-intro,
.faq .section-intro {
  color: var(--text-dark);
}

.pattern-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  align-items: end;
  height: 8rem;
  border-bottom: 1px solid var(--rule-dark);
}

.pattern-bars span {
  position: relative;
  height: var(--bar);
  background: var(--ink);
}

.pattern-bars span::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.25rem;
  background: var(--signal);
}

.pattern-bars small {
  position: absolute;
  bottom: -1.6rem;
  left: 0;
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.scope-note {
  max-width: var(--max);
  margin: 1.5rem 0 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.brokers .section-intro {
  margin-bottom: 3rem;
}

.table-wrap {
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  border-top: 1px solid var(--rule-dark);
}

table {
  width: 100%;
  min-width: 62rem;
  border-collapse: collapse;
}

th,
td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid var(--rule-dark);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody th {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

tbody td {
  max-width: 26rem;
  color: var(--text-dark-dim);
  font-size: 0.83rem;
}

.brokers .section-actions {
  max-width: var(--max);
  margin: 2rem auto 0;
}

.value-comparison {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--rule-dark);
}

.value-column {
  padding: clamp(1.5rem, 4vw, 4rem);
}

.value-column.muted {
  background: var(--paper-deep);
}

.value-column.accent {
  background: var(--signal);
}

.value-column ul {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.value-column li {
  padding: 0.8rem 0;
  border-top: 1px solid rgba(17, 21, 16, 0.18);
}

.large-question {
  max-width: 16ch;
  margin: 1.5rem 0 3rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  line-height: 0.98;
}

/* Pricing. <body data-billing> is the go-live switch: each [data-billing-when] block shows
   only in its own state, so "announced" copy and the seller identity never show together. */
[data-billing="announced"] [data-billing-when="live"],
[data-billing="live"] [data-billing-when="announced"] {
  display: none;
}

.pricing .section-intro {
  margin-bottom: 2.5rem;
}

.pricing-status {
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--signal-dark);
  background: var(--paper-bright);
  color: var(--text-dark-dim);
  font-size: 0.92rem;
}

.pricing-status strong {
  color: var(--text-dark);
}

.pricing-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  padding: 0;
  border: 0;
}

.pricing-controls legend {
  float: left;
  margin-right: 1rem;
  padding: 0;
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing .segmented {
  border-color: var(--rule-dark);
}

.pricing .segmented button {
  border-right-color: var(--rule-dark);
  color: var(--text-dark-dim);
}

.pricing .segmented button:last-child {
  border-right: 0;
}

.pricing .segmented button:hover,
.pricing .segmented button.is-active {
  background: var(--ink);
  color: var(--paper-bright);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--rule-dark);
}

.plan-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-right: 1px solid var(--rule-dark);
  background: var(--paper-bright);
}

.plan-card:last-child {
  border-right: 0;
}

.plan-card.accent {
  background: var(--signal);
}

/* Each card's name, question, price, list and button share one row of the grid, so the prices
   and the buttons line up across the three cards whatever each question's length. */
@supports (grid-template-rows: subgrid) {
  .plan-grid {
    grid-template-rows: repeat(5, auto);
  }

  .plan-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .plan-question {
    min-height: 0;
  }

  .plan-action {
    align-self: end;
  }
}

.plan-name {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-question {
  min-height: 3.3em;
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.plan-price {
  margin: 0 0 1.5rem;
}

.plan-price strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
}

.plan-price span {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.plan-price small {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-dark-dim);
  font-size: 0.8rem;
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.9rem;
}

.plan-action {
  margin-top: auto;
  padding-top: 1.75rem;
}

/* The canonical line under the cards: what happens after the trial. */
.pricing-note {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 2rem;
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 0;
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  list-style: none;
}

.pricing-actions {
  max-width: var(--max);
  margin: 1.5rem auto 0;
}

.seller-line {
  grid-column: 1 / -1;
  margin: 0;
  color: #777f73;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

/* A seller-identity field not yet filled in. Loud on purpose: it must never pass for text. */
.placeholder {
  padding: 0 0.25rem;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
}

.faq-list {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--rule-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--rule-dark);
}

.faq-list summary {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.5rem;
  font-family: var(--font-mono);
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 54rem;
  margin: 0 0 1.7rem;
  color: var(--text-dark-dim);
}

.final-cta {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--signal);
  color: var(--ink);
}

.final-cta h2 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 9vw, 9rem);
}

.final-cta > p:not(.hero-brand) {
  max-width: 44rem;
  font-size: 1.1rem;
}

.final-cta .button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text);
}

.final-cta .button:hover {
  background: transparent;
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4.5rem var(--page-pad) 2rem;
  background: var(--ink);
  border-top: 1px solid var(--rule);
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 2rem;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 0.75rem;
  color: var(--text-dim);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links strong {
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-line {
  grid-column: 1 / -1;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: #777f73;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.reveal {
  opacity: 1;
  transform: translateY(2rem);
  transition: transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

/* Shared long-form pages */
.document-body {
  background: var(--paper-bright);
  color: var(--text-dark);
}

.document-body .site-header {
  position: sticky;
  background: var(--ink);
  border-color: var(--rule);
}

.document-main {
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) var(--page-pad);
}

.document-hero {
  max-width: 56rem;
  margin-bottom: 5rem;
}

.document-hero h1 {
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 0.92;
}

.document-hero > p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--text-dark-dim);
  font-size: 1.08rem;
}

.document-nav {
  display: flex;
  gap: 0.65rem 1.2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-dark);
}

.document-nav a {
  color: var(--signal-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  text-underline-offset: 0.25rem;
}

.document-section {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 4rem 0;
  border-top: 1px solid var(--rule-dark);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.document-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.document-copy {
  min-width: 0;
  max-width: 48rem;
}

.document-copy h3 {
  margin: 2.5rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
}

.document-copy h3:first-child {
  margin-top: 0;
}

.document-copy p,
.document-copy li {
  color: var(--text-dark-dim);
}

.document-copy strong {
  color: var(--text-dark);
}

.document-copy code {
  padding: 0.1rem 0.3rem;
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 0.8em;
}

.document-copy table {
  min-width: 46rem;
  margin: 1.5rem 0 2rem;
}

.document-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15em 0.5em;
  border-radius: 999px;
  /* rem, not em: this sits inside an h2 that is 64px at desktop, and 0.5em
     rendered the pill larger than the body copy beside it. */
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #8a6100;
  background: #ffd88033;
  border: 1px solid #ffd88066;
}

/* The coverage matrix carries prose in its last column, so it must wrap inside
   the copy column rather than inherit `.document-copy table`'s 46rem min-width
   and clip. A caveat you have to scroll sideways to finish is not a caveat. */
.document-copy table.coverage-matrix {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

.document-copy .coverage-matrix th:first-child { width: 22%; }

.document-copy .coverage-matrix td:first-of-type { width: 20%; }

.document-copy .coverage-matrix td,
.document-copy .coverage-matrix th {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* A guide's tables are prose in narrow columns, like the coverage matrix: they
   wrap inside the copy column on desktop instead of taking the 46rem floor and
   showing a scrollbar for the last few pixels. The floor comes back on phones,
   below, where three columns of prose would otherwise shrink past their words. */
.document-copy table.prose-table {
  min-width: 0;
  width: 100%;
}

/* On its own line under the heading, rather than trailing the last word. */
.document-tag-block {
  display: block;
  width: fit-content;
  margin-left: 0;
  margin-top: 0.6rem;
}

.document-callout {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 0.35rem solid var(--signal-dark);
  background: var(--paper);
}

.document-callout p:last-child {
  margin-bottom: 0;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rule-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.status-indicator::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--amber);
}

.status-indicator.is-up::before {
  background: var(--signal-dark);
}

.status-indicator.is-down::before {
  background: var(--adverse);
}

.features {
  padding: clamp(5.5rem, 10vw, 10rem) var(--page-pad);
}

.name-entry h2 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.name-entry h2 small {
  display: block;
  margin-top: 0.6rem;
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.name-definition {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.2;
}

.name-entry > p:last-child {
  max-width: 38rem;
  color: var(--text-dark-dim);
  font-size: 1.05rem;
}

.name-figure {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--rule-dark);
  background: var(--paper);
}

.name-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.name-figure figcaption {
  margin-top: 0.6rem;
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.name-grid path {
  stroke: var(--rule-dark);
  stroke-width: 1;
}

.name-history,
.name-ghost,
.name-move {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.name-history {
  stroke: #8a9085;
}

.name-ghost {
  stroke: var(--text-dark);
  stroke-dasharray: 7 8;
  stroke-width: 2.5;
}

.name-move {
  stroke: var(--signal-dark);
  stroke-width: 3.5;
}

.name-fork {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 4;
}

.name-gap {
  stroke: var(--signal-dark);
  stroke-width: 2;
  stroke-dasharray: 2 3;
}

.name-tag {
  fill: var(--text-dark);
  font-family: var(--font-mono);
  font-size: 12px;
}

.name-tag.dim {
  fill: var(--text-dark-dim);
}

.name-tag.accent {
  fill: var(--signal-dark);
  font-weight: 600;
}

.demo-history {
  fill: none;
  stroke: #9fa69b;
  stroke-width: 3;
  stroke-linecap: round;
}

.demo-ghost {
  fill: none;
  stroke: rgba(246, 243, 232, 0.75);
  stroke-width: 2.5;
  stroke-dasharray: 6 7;
  stroke-linecap: round;
}

.demo-window-line,
.demo-today {
  stroke: rgba(246, 243, 232, 0.2);
  stroke-dasharray: 2 5;
  transition: d 420ms var(--ease);
}

.demo-today {
  stroke: var(--amber);
}

.demo-today[hidden] {
  display: none;
}

.demo-edge {
  stroke: var(--signal);
  stroke-width: 3;
}

.demo-ghost-dot {
  fill: var(--ink);
  stroke: var(--paper-bright);
  stroke-width: 3;
  transition: cx 420ms var(--ease), cy 420ms var(--ease);
}

.key-line.is-ghost {
  height: 0;
  border-top: 2px dashed rgba(246, 243, 232, 0.75);
  background: none;
}

.result-share {
  margin: -0.9rem 0 1.2rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.demo-result .result-number {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.35rem;
}

.legs-wrap {
  margin: 0.5rem 0 1.2rem;
  overflow-x: auto;
}

.legs-wrap[hidden] {
  display: none;
}

.legs-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.legs-table caption {
  padding-bottom: 0.4rem;
  color: var(--text-dim);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.legs-table th,
.legs-table td {
  max-width: none;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: baseline;
  text-align: right;
  white-space: nowrap;
}

.legs-table th:first-child {
  text-align: left;
}

.legs-table thead th {
  white-space: normal;
  color: var(--text-dim);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.legs-table tbody th small {
  display: block;
  color: var(--text-dim);
  font-size: 0.56rem;
}

.legs-table tfoot th,
.legs-table tfoot td {
  border-bottom: 0;
  color: var(--signal);
}

.features {
  background: var(--ink-soft);
  color: var(--text);
}

.features .eyebrow {
  color: var(--signal);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.feature {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--ink-soft);
}

.feature-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(2rem, 5vw, 5rem);
}

.feature-wide > :not(.feature-visual) {
  grid-column: 1;
}

.feature-wide .feature-visual {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  margin-top: 0;
}

.feature-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-kicker span {
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--rule);
  color: var(--text-dim);
  font-size: 0.55rem;
  white-space: nowrap;
}

.feature h3 {
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 500;
}

.feature > p:not(.feature-kicker) {
  max-width: 36rem;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.feature-visual {
  min-width: 0;
  margin-top: 1.75rem;
  padding: 1.1rem;
  border: 1px solid var(--rule);
  background: var(--ink);
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(26, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 3px;
}

.heatmap i {
  display: block;
  aspect-ratio: 1;
  background: #262d25;
}

.heatmap .g1 { background: #3c5a2a; }

.heatmap .g2 { background: #7fa836; }

.heatmap .g3 { background: var(--signal); }

.heatmap .l1 { background: #5a3a31; }

.heatmap .l2 { background: #a0584a; }

.heatmap .l3 { background: var(--adverse); }

.calendar-stats {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.calendar-stats span,
.chat-tags span,
.goal-scenarios span {
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.calendar-stats small {
  display: block;
  color: var(--text-dim);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.stock-visual,
.stack-visual {
  display: block;
  width: 100%;
  height: auto;
}

.stock-line {
  fill: none;
  stroke: #cfd4c8;
  stroke-width: 2.5;
}

.trade-buy {
  fill: var(--signal);
  stroke: var(--ink);
  stroke-width: 2;
}

.trade-sell {
  fill: var(--amber);
  stroke: var(--ink);
  stroke-width: 2;
}

.trade-round {
  fill: var(--paper-bright);
}

.trade-open {
  fill: none;
  stroke: var(--signal);
  stroke-width: 2;
}

.stock-visual text {
  fill: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
}

.chat-visual {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.chat-visual p {
  margin: 0;
}

.chat-q {
  align-self: flex-end;
  max-width: 80%;
  padding: 0.6rem 0.8rem;
  background: var(--paper-bright);
  color: var(--ink);
  font-size: 0.86rem;
}

.chat-a {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  color: var(--text);
  font-size: 0.86rem;
}

.chat-a u {
  color: var(--signal);
  text-underline-offset: 0.2rem;
}

.chat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--text-dim);
}

.features .pattern-bars {
  grid-template-columns: repeat(5, 1fr);
  height: 8.5rem;
  padding: 1.1rem 1.1rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.features .pattern-bars span {
  background: #3a4437;
}

.features .pattern-bars small {
  color: var(--text-dim);
}

.band { stroke: var(--ink); stroke-width: 1; }

.band-a { fill: #3a4437; }

.band-b { fill: #6e8a3a; }

.band-c { fill: var(--signal); }

.stack-key {
  display: flex;
  gap: 1rem;
  margin: 0.7rem 0 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.stack-key span::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.35rem;
  vertical-align: -0.05rem;
}

.stack-key .a::before { background: #3a4437; }

.stack-key .b::before { background: #6e8a3a; }

.stack-key .c::before { background: var(--signal); }

.goal-figure {
  margin: 0 0 0.6rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.goal-figure strong {
  margin-right: 0.3rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
}

.goal-bar {
  height: 0.55rem;
  background: #2c3429;
}

.goal-bar span {
  display: block;
  width: var(--progress);
  height: 100%;
  background: var(--signal);
}

.goal-scenarios {
  display: flex;
  gap: 0.35rem;
  margin: 0.9rem 0 0.6rem;
  color: var(--text-dim);
}

.goal-scenarios .is-selected {
  border-color: var(--signal);
  color: var(--signal);
}

.goal-date,
.target-note {
  margin: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.target-range {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.target-range small {
  display: block;
  color: var(--text-dim);
  font-size: 0.55rem;
  text-transform: uppercase;
}

.target-range .bear { color: var(--adverse); }

.target-range .base { color: var(--text); text-align: center; }

.target-range .bull { color: var(--signal); text-align: right; }

.target-bar {
  position: relative;
  height: 0.55rem;
  margin: 0.8rem 0;
  background: linear-gradient(90deg, var(--adverse), #5a5f50 45%, var(--signal));
}

.target-bar i {
  position: absolute;
  top: -0.35rem;
  left: var(--at);
  width: 2px;
  height: 1.25rem;
  background: var(--paper-bright);
}

.target-bar i.base {
  width: 0.7rem;
  height: 0.7rem;
  top: -0.08rem;
  margin-left: -0.35rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-bright);
}

@media (max-width: 75rem) {
  .site-nav {
    gap: 1rem;
  }


  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 5.4vw, 5.2rem);
  }
}

@media (min-width: 64.01rem) and (max-height: 50rem) {
  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2rem;
  }

  .hero .eyebrow,
  .hero-brand {
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(3.2rem, 5vw, 4.6rem);
  }

  .hero-deck {
    margin-bottom: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 64rem) {

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .feature-wide > :not(.feature-visual),
  .feature-wide .feature-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-wide .feature-visual {
    margin-top: 1.75rem;
  }

  :root {
    --header-height: 4.5rem;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  /* The open menu is a sheet over the whole viewport: opaque, and scrolling on its own when its
     links are taller than the screen. Centred by the auto margins below rather than by
     justify-content, which would push the first links above the top where no scroll reaches. */
  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.2rem;
    padding: 6rem var(--page-pad) 3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav > :first-child {
    margin-top: auto;
  }

  .site-nav > :last-child {
    margin-bottom: auto;
  }

  .site-nav > a {
    display: inline-flex;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  .site-nav .nav-signin {
    padding-left: 0;
    border-left: 0;
  }

  .site-nav .button {
    margin-top: 1rem;
    font-family: var(--font-ui);
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .demo-heading {
    grid-template-columns: 1fr;
  }

  .demo-heading .eyebrow {
    grid-column: auto;
  }

  .demo-heading > p:last-child {
    margin-left: 0;
  }

  .demo-stage {
    grid-template-columns: 1fr;
  }

  .demo-chart-wrap {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .value-comparison,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    border-right: 0;
    border-bottom: 1px solid var(--rule-dark);
  }

  .plan-card:last-child {
    border-bottom: 0;
  }

  .plan-question {
    min-height: 0;
  }

  .document-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 42rem) {

  .name-figure {
    padding: 0.75rem;
  }

  .legs-table th,
  .legs-table td {
    padding: 0.45rem 0.25rem;
  }

  .calendar-stats {
    flex-wrap: wrap;
  }

  .heatmap {
    grid-template-columns: repeat(18, minmax(0, 1fr));
  }

  .heatmap i:nth-child(n + 91) {
    display: none;
  }

  .target-range {
    font-size: 0.64rem;
  }

  .brand-type small {
    display: none;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .demo-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .recent-toggle {
    width: 100%;
    margin-left: 0;
  }

  .demo-chart-wrap {
    overflow: hidden;
  }

  .demo-chart {
    width: 145%;
    max-width: none;
    transform: translateX(-20%);
  }

  .chart-key {
    flex-direction: column;
  }

  .value-column {
    padding: 1.5rem 1.25rem;
  }

  .pricing-notes {
    grid-template-columns: 1fr;
  }

  .pricing-controls .segmented {
    flex: 1;
  }

  .pricing-controls .segmented button {
    flex: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-line {
    grid-column: auto;
  }

  .document-main {
    padding-top: 3rem;
  }

  .document-copy table {
    min-width: 42rem;
  }

  /* Below this width three columns of prose squeeze to about 75px each, which
     is narrower than the words in them. Give the matrix a floor and let its
     wrapper scroll, which is what every other table on the site does here. */
  .document-copy table.coverage-matrix {
    min-width: 34rem;
  }

  .document-copy table.prose-table {
    min-width: 34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- The home page after the 2026-10-08 review: one hero, why, features, brokers, privacy,
   a short FAQ and the call to action, and pricing on a page of its own. ---- */

/* On a wide screen the content stops at --max and centres, rather than following the edges. */
.site-header,
.hero,
.why,
.features,
.brokers,
.privacy,
.pricing,
.faq,
.final-cta,
.site-footer {
  padding-right: max(var(--page-pad), calc((100% - var(--max)) / 2));
  padding-left: max(var(--page-pad), calc((100% - var(--max)) / 2));
}

.site-nav > a[aria-current="page"]:not(.button) {
  color: var(--signal);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(100svh, 60rem);
  gap: clamp(2.5rem, 6vw, 7rem);
  padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3rem, 5.4vw, 6rem);
  line-height: 0.93;
}

.hero-deck {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

.hero-actions {
  gap: 1.25rem 2.25rem;
}

.hero-explore {
  font-weight: 600;
  text-decoration: underline;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: var(--text-dim);
  font-size: 0.86rem;
  text-underline-offset: 0.25rem;
}

.hero-status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--text-dim);
}

.hero-status:has(.is-up) i {
  background: var(--signal);
  box-shadow: 0 0 0 0.25rem rgba(216, 255, 98, 0.14);
}

.hero-status:has(.is-down) i {
  background: var(--adverse);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
}

/* The history before the trade is drawn from further left than the chart shows. */
.hero-visual .hero-chart {
  overflow: hidden;
}

.hero-chart path {
  fill: none;
}

.hero-grid path {
  stroke: rgba(246, 243, 232, 0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-grid .is-marker {
  stroke: rgba(246, 243, 232, 0.32);
  stroke-dasharray: 2 3;
}

.hero-history,
.hero-ghost,
.hero-move,
.hero-gap {
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-history {
  stroke: #8f9789;
  stroke-width: 2;
}

.hero-ghost {
  stroke: rgba(246, 243, 232, 0.72);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}

.hero-move {
  stroke: var(--signal);
  stroke-width: 2.6;
}

.hero-gap {
  stroke: var(--signal);
  stroke-width: 2;
}

.hero-fork {
  fill: var(--paper-bright);
}

.hero-move-end {
  fill: var(--signal);
}

.hero-ghost-end {
  fill: var(--ink);
  stroke: var(--paper-bright);
  stroke-width: 1.2;
}

.hero-axis {
  fill: #7e8679;
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.06em;
}

.hero-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 1.1rem 0 2.25rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.hero-key span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-reading {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.hero-reading-context {
  margin-bottom: 1.1rem;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-reading-number {
  margin-bottom: 0.4rem;
  color: var(--signal);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1;
}

.hero-reading-share {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.hero-legs {
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.hero-legs th,
.hero-legs td {
  max-width: none;
  padding: 0.6rem 0.35rem;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  text-align: right;
}

.hero-legs th:first-child {
  text-align: left;
}

.hero-legs thead th {
  color: var(--text-dim);
  font-size: 0.6rem;
}

.hero-legs tbody th small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-dim);
  font-size: 0.62rem;
}

.hero-legs tfoot th,
.hero-legs tfoot td {
  border-bottom: 0;
  color: var(--signal);
}

.hero-visual .visual-caption {
  margin-top: 1.4rem;
}

/* Why: the name, then what the user has today against the question Parallax answers. */
.why {
  padding-top: clamp(5.5rem, 10vw, 9rem);
  padding-bottom: clamp(5.5rem, 10vw, 9rem);
  background: var(--paper-bright);
}

.why-name {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.why .name-figure {
  padding: 0;
  border: 0;
  background: transparent;
}

.value-list li {
  position: relative;
  padding: 1rem 0 1rem 1.3rem;
  border-top: 0;
  border-bottom: 1px solid rgba(17, 21, 16, 0.18);
  color: rgba(17, 21, 16, 0.74);
}

.value-list li:last-child {
  border-bottom: 0;
}

.value-list li::before {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--ink);
}

.value-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
}

.value-column.muted li strong {
  font-weight: 600;
}

.why .scope-note {
  margin: 1.5rem auto 0;
  color: var(--text-dark-dim);
}

/* Features */
.features {
  padding-top: clamp(5.5rem, 10vw, 10rem);
  padding-bottom: clamp(5.5rem, 10vw, 10rem);
}

.section-more {
  max-width: var(--max);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}

.section-more p {
  margin-bottom: 1.25rem;
  color: var(--text-dim);
}

/* Brokers: the logos, grey until pointed at. */
.broker-logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1rem, 2.5vw, 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.broker-logos li {
  display: flex;
  justify-content: center;
}

.broker-logos img {
  display: block;
  width: clamp(3.25rem, 5.6vw, 5.25rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.72;
  transition: filter 200ms ease, opacity 200ms ease;
}

.broker-logos li:hover img {
  filter: none;
  opacity: 1;
}

.broker-note {
  max-width: var(--max);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  color: var(--text-dark-dim);
}

.broker-note strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Privacy */
.privacy {
  padding-top: clamp(5.5rem, 10vw, 10rem);
  padding-bottom: clamp(5.5rem, 10vw, 10rem);
}

.privacy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--rule);
}

.privacy-cards a {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  color: inherit;
  text-decoration: none;
}

.privacy-cards a + a {
  border-left: 1px solid var(--rule);
}

.privacy-cards span {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
  transition: color 150ms ease;
}

.privacy-cards small {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

.privacy-cards a:hover span {
  color: var(--signal);
}

.privacy .section-actions {
  max-width: var(--max);
  margin: 0 auto;
}

/* FAQ and the closing call to action */
.faq .faq-list {
  max-width: var(--max);
  margin: 0 auto;
}

.final-cta {
  align-items: center;
  min-height: 0;
  text-align: center;
}

.final-cta h2 {
  max-width: 14ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}

.final-cta > p:not(.hero-brand) {
  margin-right: auto;
  margin-left: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  grid-template-columns: 1fr 1fr;
}

.footer-links {
  grid-template-columns: repeat(2, 1fr);
}

/* Pricing, on its own page */
.pricing-page .pricing {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.pricing-page .pricing h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 5.7rem);
  line-height: 0.98;
}

/* The move demo, on the methodology page */
.document-demo {
  margin: 0 0 4rem;
  padding: 0;
  background: transparent;
}

.document-demo .demo-heading {
  margin-bottom: 2rem;
}

.document-demo .demo-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

@media (max-width: 75rem) {
  .site-nav {
    font-size: 0.78rem;
  }
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: 1fr;
  }

  .why-name {
    grid-template-columns: 1fr;
  }

  .broker-logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .privacy-cards {
    grid-template-columns: 1fr;
  }

  .privacy-cards a + a {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
}

@media (max-width: 42rem) {
  .hero-reading {
    grid-template-columns: 1fr;
  }

  .broker-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
