:root {
  --background: #fbfbfa;
  --foreground: #14161a;
  --surface: #ffffff;
  --border: #e6e5e1;
  --muted: #6b7280;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-foreground: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b0c0e;
    --foreground: #ececed;
    --surface: #141618;
    --border: #26292d;
    --muted: #9096a0;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-foreground: #06282a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 48rem; }
a { color: inherit; }
header { border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 1.25rem; height: 1.25rem; }
.nav { display: flex; align-items: center; gap: .5rem; }
.btn { border-radius: .5rem; padding: .625rem .875rem; font-size: .875rem; font-weight: 500; text-decoration: none; display: inline-block; }
.btn-quiet { color: var(--muted); }
.btn-quiet:hover { color: var(--foreground); }
.btn-solid { background: var(--accent); color: var(--accent-foreground); font-weight: 600; }
.btn-solid:hover { background: var(--accent-hover); }
.btn-outline { border: 1px solid var(--border); }
.btn-outline:hover { background: var(--surface); }
.btn-big { padding: .8125rem 1.25rem; font-size: .9375rem; }
.hero { text-align: center; padding: 5rem 1.25rem 4rem; }
.hero h1 { max-width: 48rem; margin: 0 auto; font-size: clamp(2.125rem, 6vw, 3rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
.hero p { max-width: 36rem; margin: 1.25rem auto 0; font-size: 1.125rem; color: var(--muted); }
.cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.card { border: 1px solid var(--border); background: var(--surface); border-radius: 1rem; padding: 1.5rem; }
.card h2 { margin: 0; font-size: .875rem; font-weight: 600; letter-spacing: -.01em; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; }
.bar { margin-top: 1rem; display: flex; height: .75rem; border-radius: 999px; overflow: hidden; }
.legend { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; padding: .375rem 0; }
.dot { width: .625rem; height: .625rem; border-radius: .1875rem; flex: none; }
.legend .name { color: var(--muted); }
.legend .pct { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.features { border-top: 1px solid var(--border); background: var(--surface); }
.features .wrap { display: grid; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
.features h3 { margin: 0; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.features p { margin: .5rem 0 0; font-size: .875rem; color: var(--muted); }
footer { border-top: 1px solid var(--border); }
footer .wrap { padding-top: 1.5rem; padding-bottom: 2rem; font-size: .875rem; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.disclaimer { margin: 1rem 0 0; font-size: .75rem; max-width: 44rem; }
@media (min-width: 640px) {
  .features .wrap { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------------
   The free calculators.

   Same bones as the home page: one card, the sums underneath, and nothing
   to sign up for. A tool that asks for an email before it answers is not a
   tool, and nobody links to one.
   --------------------------------------------------------------------- */
/* Top and bottom only. Written as `padding: 3rem 0 1rem` it also set the
   sides to nought, which wiped out the 1.25rem that .wrap puts there: on a
   wide screen nobody notices, on a phone the whole page ran into both
   edges. Manuel caught it on 23-nov. */
.tool { padding-top: 3rem; padding-bottom: 1rem; }
.tool h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.tool .lead { margin: 1rem 0 0; font-size: 1.0625rem; color: var(--muted); max-width: 40rem; }
.fields { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .375rem; }
.field label { font-size: .8125rem; font-weight: 500; }
.field .note { font-size: .75rem; color: var(--muted); }
/* The small print under a figure or a table. It was being written on the
   portfolio pages with no rule behind it, so it came out the size of the
   body text and competed with what it was explaining. */
/* The line you bought at, in the middle of a table of what-ifs. Without
   it the falls and the rises run together and there is nothing to read
   them against. */
.sheet tr.here td { background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 600; }
.sheet tr.here td:first-child { box-shadow: inset 2px 0 0 var(--accent); }

/* The "are you sure?" window, the same one EasyHeadChef uses: over
   everything, not inside the row. <dialog> brings Escape and the focus
   trap with it; all that is needed here is how it looks. */
.ask { width: min(26rem, calc(100vw - 2.5rem)); border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); color: var(--foreground); padding: 1.5rem; }
.ask::backdrop { background: rgb(0 0 0 / .55); }
.ask-title { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.ask-body { margin: .625rem 0 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.ask-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .625rem; margin-top: 1.5rem; }

.note { margin: .625rem 0 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.box { display: flex; align-items: center; gap: .5rem; width: 100%; max-width: 11rem; border: 1px solid var(--border); background: var(--background); border-radius: .625rem; padding: 0 .75rem; }
.box:focus-within { border-color: var(--accent); }
.box span { font-size: .875rem; color: var(--muted); }
.box input { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-variant-numeric: tabular-nums; text-align: right; padding: .625rem 0; outline: none; }
/* The money picker needs room for the longest name in it. */
.box.pick { max-width: 13rem; }
.answer { margin-top: 2rem; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent); border-radius: 1rem; padding: 1.5rem; }
.answer .label { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.answer .big { margin: .25rem 0 0; font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.answer .sub { margin: .5rem 0 0; font-size: .9375rem; color: var(--muted); }
.grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.grid .label { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.grid .figure { margin: .125rem 0 0; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.track { margin-top: 1.25rem; height: .625rem; border-radius: 999px; background: color-mix(in srgb, var(--muted) 22%, transparent); overflow: hidden; }
.track > div { height: 100%; background: var(--accent); border-radius: 999px; transition: width .2s; }
.prose { max-width: 42rem; padding-top: 3rem; padding-bottom: 1rem; }
.prose h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 2rem 0 .5rem; }
.prose h3 { font-size: 1rem; margin: 1.5rem 0 .25rem; }
.prose p { margin: .5rem 0 0; color: var(--muted); }
.prose ul { margin: .5rem 0 0; padding-left: 1.125rem; color: var(--muted); }
.prose li { margin: .25rem 0; }
.tools-link { display: inline-block; margin-top: 1rem; font-size: .875rem; color: var(--accent); font-weight: 500; }
@media (min-width: 640px) {
  .fields { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* The question under the title: the words people actually search, said as
   loudly as a subtitle and no louder. */
.tool .question { margin: .5rem 0 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; }
.step { margin: 2rem 0 -.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .8125rem; font-weight: 600; color: var(--muted); }

/* A dropdown left to the browser comes out white on a dark page and half the
   height of the boxes beside it. */
.box select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: .625rem 0;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.box select option { background: var(--surface); color: var(--foreground); }
.box.pick { position: relative; }
.box.pick::after {
  content: "";
  position: absolute;
  right: .875rem;
  width: .45rem;
  height: .45rem;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-.15rem);
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   The sheet in the rebalancing calculator: a spreadsheet that works out
   the answer, which is what it is replacing.
   --------------------------------------------------------------------- */
.sheet { margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.sheet table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .875rem; }
.sheet th, .sheet td { padding: .5rem .75rem; text-align: left; }
.sheet thead th { font-size: .6875rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
.sheet tbody tr + tr td { border-top: 1px solid var(--border); }
.sheet .num { text-align: right; }
.sheet .out { font-variant-numeric: tabular-nums; color: var(--muted); }
.sheet tbody .out:first-of-type { color: var(--accent); font-weight: 600; }
.sheet input {
  width: 100%;
  min-width: 4rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  background: var(--background);
  color: inherit;
  font: inherit;
  padding: .375rem .5rem;
  outline: none;
}
.sheet .num input { text-align: right; font-variant-numeric: tabular-nums; }
.sheet input:focus { border-color: var(--accent); }
.sheet tfoot th { border-top: 1px solid var(--border); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.sheet .drop { border: 0; background: transparent; color: var(--muted); font-size: 1.125rem; line-height: 1; cursor: pointer; padding: .25rem .375rem; border-radius: .375rem; }
.sheet .drop:hover { color: #b42318; }
.sheet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.sheet-actions .btn { font-size: .8125rem; padding: .5rem .75rem; }
.warn { margin: 0; font-size: .8125rem; color: var(--muted); max-width: 34rem; }
.warn.bad { color: #b42318; font-weight: 500; }
.sheet th.num.bad { color: #b42318; }
@media (prefers-color-scheme: dark) {
  .warn.bad, .sheet th.num.bad { color: #f87171; }
}

/* ---------------------------------------------------------------------
   The free tools, as a band each. Copied from EasyHeadChef, where Manuel
   settled on this in November: a strip after what the app does, each tool
   with its own drawing, not competing with the sign-up button and not
   buried in a list at the foot of the page.
   --------------------------------------------------------------------- */
.tool-bands { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-block: 2.5rem 4rem; }
.tool-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .15s;
}
.tool-band:hover { border-color: var(--accent); }
.tool-band .arrow { color: var(--accent); font-size: 1.375rem; line-height: 1; flex: none; }
.tool-band .tool-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: .875rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.tool-band .tool-icon svg { width: 2rem; height: 2rem; }
.tool-band .band-text { flex: 1; }
.tool-band .band-text strong { display: block; font-size: clamp(1.1rem, 2.4vw, 1.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.tool-band .band-text small { display: block; margin-top: .25rem; font-weight: 400; font-size: .875rem; color: var(--muted); }
@media (min-width: 820px) {
  .tool-bands { grid-template-columns: 1fr 1fr; }
}

.warn.bad { color: #b42318; font-weight: 500; }
.sheet th.num.bad { color: #b42318; }
@media (prefers-color-scheme: dark) {
  .warn.bad, .sheet th.num.bad { color: #f87171; }
}

/* ---------------------------------------------------------------------
   The free tools on the home page. A card each, with an icon and a short
   name: this is the part a stranger is most likely to want, and a bulleted
   list at the foot of the page hid it.
   --------------------------------------------------------------------- */
.tools { border-top: 1px solid var(--border); }
.tools .wrap { padding-top: 4rem; padding-bottom: 4rem; }
.tools h2 { margin: 0; font-size: 1.375rem; letter-spacing: -.01em; }
.tools-lead { margin: .5rem 0 0; font-size: .9375rem; color: var(--muted); }
.tool-cards { margin-top: 1.5rem; display: grid; gap: 1rem; }
.tool-card {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.tool-card:hover { border-color: var(--accent); }
.tool-card:active { transform: translateY(1px); }
.tool-icon { display: flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: .625rem; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: .375rem; }
.tool-icon svg { width: 1.25rem; height: 1.25rem; }
.tool-name { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.tool-say { font-size: .875rem; color: var(--muted); }
.tool-go { margin-top: .5rem; font-size: .8125rem; font-weight: 600; color: var(--accent); }
@media (min-width: 640px) {
  .tool-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------
   The growth chart on the compound interest page. Two stacked areas: what
   you paid in, and the part the compounding added on top of it. The second
   one is the whole point of the page, so it is the one in colour.
   --------------------------------------------------------------------- */
.growth { margin: 1.5rem 0 0; }
.growth svg { width: 100%; height: 13rem; display: block; }
.grow-up { fill: var(--accent); fill-opacity: .45; }
.grow-in { fill: var(--muted); fill-opacity: .35; }
.grow-tick { fill: var(--muted); font-size: 13px; font-family: inherit; }
.chart-key { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .25rem; font-size: .75rem; color: var(--muted); }
.chart-key span { display: inline-flex; align-items: center; gap: .375rem; }
.chart-key i { width: .625rem; height: .625rem; border-radius: .1875rem; }
.key-in { background: color-mix(in srgb, var(--muted) 35%, transparent); }
.key-up { background: color-mix(in srgb, var(--accent) 45%, transparent); }

/* ---------------------------------------------------------------------
   The asset pages: the two figures that matter side by side, and under
   them the two charts, drawn as plain SVG from the app's own series.
   --------------------------------------------------------------------- */
:root { --fall: #b42318; }
@media (prefers-color-scheme: dark) {
  :root { --fall: #f87171; }
}
.answer .twin { display: grid; gap: 1.25rem 2rem; grid-template-columns: 1fr 1fr; }
.answer .twin .big { font-size: clamp(1.625rem, 5.5vw, 2.25rem); }
@media (max-width: 30rem) {
  .answer .twin { grid-template-columns: 1fr; gap: .875rem; }
}
.chart { margin-top: 2rem; }
.chart h3 { margin: 0 0 .5rem; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .cap { margin: .5rem 0 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
/* The axis labels live inside the drawing, so they shrink with it: on a
   phone they need to be set bigger to come out the same size. */
.chart text { fill: var(--muted); font-size: 12px; }
@media (max-width: 40rem) {
  .chart text { font-size: 20px; }
  /* At that size the labels naming each bottom are three times the size
     they are on a desktop and sit on top of each other. A finger on the
     chart reads the same thing, so on a phone they come off. */
  .chart text.dip { display: none; }
}
.quoted { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* The tables that are the sheet themselves, rather than a sheet around a
   table, were sizing to their contents and stopping short of the page. */
table.sheet { width: 100%; border-collapse: collapse; }
/* A table that cannot shrink past its contents makes the whole page wider
   than the phone, and the phone answers by zooming out. It scrolls inside
   its own box instead, and the page itself is clipped rather than hidden,
   which would kill any sticky heading. */
/* The short answer, from EasyHeadChef: a long page opens with the whole
   answer in two or three lines, figures included, before any detail. */
.corto { margin-top: 1.5rem; padding: 1.125rem 1.375rem; border-radius: 1rem; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.corto b { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.corto p { margin: .5rem 0 0; font-size: 1.0625rem; line-height: 1.55; }

.scroller { overflow-x: auto; }
html, body { overflow-x: clip; max-width: 100%; }
@media (max-width: 40rem) {
  .sheet th, .sheet td { padding: .5rem .4375rem; }
  table.sheet { font-size: .8125rem; }
}
/* The thumbnail of each asset's run in the list of all of them. */
.sheet .sparkhead { width: 8rem; }
.sheet .sparkcell { padding: .25rem .75rem; width: 8rem; }
.sheet .spark { display: block; width: 7.5rem; height: 1.875rem; }
@media (max-width: 40rem) {
  .sheet .sparkhead, .sheet .sparkcell { display: none; }
}

/* ---------------------------------------------------------------------
   The backtest: the mix you pick at the top, the three figures it gives
   back, and the charts, which are drawn by the page itself.
   --------------------------------------------------------------------- */
.mix { margin-top: 2rem; border: 1px solid var(--border); background: var(--surface); border-radius: 1rem; padding: 1.25rem; }
.mix-head { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); margin-bottom: .75rem; }
.mix-head .bad { color: #b42318; font-weight: 600; }
.mix-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.mix-row select { flex: 1; min-width: 0; }
.mix-row input { width: 4.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.mix-row select, .mix-row input, .pick select {
  border: 1px solid var(--border); background: var(--background); color: var(--foreground);
  border-radius: .5rem; padding: .5rem .625rem; font: inherit; font-size: .875rem;
}
.mix-row select:focus, .mix-row input:focus, .pick select:focus { border-color: var(--accent); outline: none; }
.mix-row .pc { font-size: .875rem; color: var(--muted); }
.mix-row .drop { border: 0; background: transparent; color: var(--muted); font-size: 1.125rem; line-height: 1; cursor: pointer; padding: .25rem .375rem; border-radius: .375rem; }
.mix-row .drop:hover { color: #b42318; }
.pick { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--muted); }
/* A <button> carrying .btn was still wearing the browser's own grey, which
   turned black under the cursor. It gets the same look as the links do. */
button.btn { background: transparent; color: inherit; font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; }
button.btn-outline:hover, .btn-outline:hover { background: color-mix(in srgb, var(--foreground) 7%, transparent); }
button.btn:active { transform: translateY(1px); }
.period-head { margin: 1.5rem 0 .5rem; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 0; }
.stat { border-radius: 1rem; padding: 1rem 1.125rem; background: color-mix(in srgb, var(--accent) 6%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.stat .label { margin: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.stat .big { margin: .25rem 0 0; font-size: clamp(1.375rem, 4.5vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .sub { margin: .125rem 0 0; font-size: .8125rem; color: var(--muted); }
@media (max-width: 34rem) {
  .grid3 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   A SECOND MIX BESIDE THE FIRST.
   Two of everything: two boxes to fill in, two lines on every chart, and
   one small table instead of six big cards, because numbers you are meant
   to compare have to sit next to each other to be compared at all.
   --------------------------------------------------------------------- */
/* A .btn sets its own `display`, which beats the hidden attribute, so the
   button that opens the second mix stayed on screen after opening it. */
[hidden] { display: none !important; }
:root { --mixb: #7c3aed; }
@media (prefers-color-scheme: dark) { :root { --mixb: #c4b5fd; } }
.mix + .mix { margin-top: 1rem; }
.dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 999px; margin-right: .375rem; }
.cmp { width: 100%; border-collapse: collapse; margin-top: .25rem; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: .5rem .125rem; text-align: right; border-bottom: 1px solid var(--border); }
.cmp th { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cmp th:first-child, .cmp td:first-child { text-align: left; font-size: .8125rem; white-space: nowrap; }
.cmp td { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.cmp td small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }

/* ---------------------------------------------------------------------
   READING A CHART WITH A CURSOR OR A FINGER.
   A line with a year under it says roughly when. People want exactly
   when, and on a phone there is no hover at all, so this is pointer
   events: the same code answers a mouse and a thumb. pan-y keeps the
   page scrollable while a finger is dragged sideways across the plot.
   --------------------------------------------------------------------- */
.plot { position: relative; touch-action: pan-y; }
.plot .cross {
  position: absolute; top: 0; bottom: 1.5rem; width: 1px; pointer-events: none;
  background: color-mix(in srgb, var(--foreground) 40%, transparent);
}
.plot .tip {
  position: absolute; top: .25rem; z-index: 2; pointer-events: none; white-space: nowrap;
  border: 1px solid var(--border); background: var(--surface); border-radius: .5rem;
  padding: .375rem .5rem; font-size: .75rem; line-height: 1.55;
  box-shadow: 0 8px 24px rgb(0 0 0 / .18);
}
.plot .tip .when { color: var(--muted); }
.plot .tip b { font-variant-numeric: tabular-nums; }
.plot .tip i { display: inline-block; width: .5rem; height: .5rem; border-radius: 999px; margin-right: .375rem; }
/* The months panel is the bottom half of the fall chart, not a chart of
   its own: no gap between them, and the years belong to the pair. */
#c-under { margin-top: 0; }

