/* What is a Bond: "The Guidebook". Approved 29 Sep 2026 (git tag approved-d).
   Refine, never rebuild. One book face, small caps, old-style figures in prose,
   lining tabular figures in tables. The Cortelytics field appears on covers only. */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/literata-normal-latin.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url(/fonts/literata-italic-latin.woff2) format("woff2"); }

:root {
  --paper: oklch(98.4% 0.006 95);
  --paper-2: oklch(95.6% 0.01 95);
  --paper-3: oklch(92.5% 0.014 95);
  --ink: oklch(22% 0.015 170);
  --ink-2: oklch(40% 0.015 170);
  --rule: oklch(87% 0.012 120);
  --green: #17604A;
  --green-deep: #0D4234;
  --green-wash: oklch(94% 0.03 160);
  --mint: #A6F0CF;
  --on-deep: oklch(97% 0.02 160);
  --on-deep-2: oklch(90% 0.035 160);
  --clay: #9E4227;
  --clay-wash: oklch(94% 0.03 40);
  --hl: oklch(91% 0.09 160);
  --focus: #0B57D0;
  --gutter: clamp(16px, 4vw, 64px);
  --measure: 38rem;
  --serif: "Literata", Georgia, serif;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1);
  --t-std: 0.6s;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 19px/1.65 var(--serif); font-optical-sizing: auto; font-variant-numeric: oldstyle-nums proportional-nums; }
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.sc { font-variant-caps: all-small-caps; letter-spacing: .06em; }
.lining { font-variant-numeric: lining-nums tabular-nums; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 3px; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- running head ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); min-height: 64px; border-bottom: 1px solid var(--rule); background: var(--paper); font-size: 16px; }
.top .title { font-style: italic; color: var(--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.top .here { color: var(--ink-2); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a:not(.pearl) { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--ink); text-decoration: none; }
.top nav a:not(.pearl):hover { text-decoration: underline; }
.top nav a.out { background: var(--green); color: var(--paper); border-radius: 3px; padding: 0 16px; font-weight: 600; }
.top nav a.out:hover { background: var(--green-deep); text-decoration: none; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

/* ---------- the cover spread (home) ---------- */
.spread { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: min(860px, calc(100svh - 64px)); }
.cover { position: relative; overflow: hidden; isolation: isolate; color: var(--on-deep); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 56px); background: linear-gradient(135deg, #0B2F3A, #0D4234 45%, #1E8A62); }
.cover canvas.field, .opener canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cover::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 28px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.18)); pointer-events: none; }
.cover .series { font-size: 19px; font-weight: 700; color: var(--mint); margin: 0; }
.cover h1 { font-weight: 600; font-size: clamp(48px, 6.4vw, 104px); line-height: .98; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.cover .sub { font-size: clamp(19px, 1.6vw, 23px); font-style: italic; max-width: 22em; margin: 20px 0 0; color: var(--on-deep-2); }
.cover .author { font-size: 17px; margin: 0; display: flex; gap: 14px; align-items: center; }
.cover .author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(166,240,207,.5); }
.cover .author b { display: block; font-weight: 600; font-size: 19px; }

.page { padding: clamp(24px, 3vw, 44px) clamp(24px, 5vw, 88px); display: flex; flex-direction: column; background: var(--paper); box-shadow: inset 24px 0 30px -28px rgba(0,0,0,.25); }
.page > h2 { font-weight: 500; font-size: 17px; margin: 0 0 14px; color: var(--ink-2); }
ol.toc { list-style: none; margin: 0; padding: 0; }
ol.toc a { display: grid; grid-template-columns: 3.2rem minmax(0, auto) minmax(24px, 1fr) auto; align-items: baseline; gap: 0 12px; padding: 6px 0; color: var(--ink); text-decoration: none; border-radius: 4px; }
ol.toc .num { font-variant-caps: all-small-caps; letter-spacing: .08em; color: var(--green); font-weight: 600; font-size: 18px; }
ol.toc .t { font-size: clamp(20px, 1.6vw, 25px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
ol.toc .lead { align-self: end; margin-bottom: .45em; height: 2px; background-image: radial-gradient(circle, var(--ink-2) 1px, transparent 1.3px); background-size: 8px 2px; background-repeat: repeat-x; opacity: .6; }
ol.toc .mins { font-size: 16px; color: var(--ink-2); white-space: nowrap; }
ol.toc .gloss { grid-column: 2 / -1; font-size: 16px; font-style: italic; color: var(--ink-2); margin-top: 2px; }
ol.toc a:hover .t, ol.toc a:focus-visible .t { color: var(--green); }
ol.toc li.app { margin-top: 6px; border-top: 1px solid var(--rule); }
.notice { margin-top: auto; padding-top: 16px; }
.notice p, p.notice-p { margin: 0; font-size: 17px; line-height: 1.5; padding: 12px 16px; background: var(--paper-2); border-radius: 4px; }
.notice .sc, .notice-p .sc { display: block; margin-bottom: 4px; color: var(--ink-2); font-size: 16px; }

/* ---------- chapter opener ---------- */
.opener { position: relative; overflow: hidden; isolation: isolate; color: var(--on-deep); background: linear-gradient(135deg, #0B2F3A, #0D4234 45%, #1E8A62); }
.opener .in { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px); }
.crumbs { font-size: 15px; margin: 0 0 22px; color: var(--on-deep-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--on-deep); display: inline-flex; min-height: 24px; align-items: center; }
.opener .chno { color: var(--mint); font-weight: 700; font-size: 19px; margin: 0 0 6px; }
.opener h1 { font-weight: 600; font-size: clamp(40px, 5.2vw, 80px); line-height: 1.02; letter-spacing: -.025em; margin: 0; max-width: 16ch; text-wrap: balance; }
.opener .standfirst { font-style: italic; font-size: clamp(19px, 1.6vw, 23px); max-width: 32em; margin: 18px 0 0; color: var(--on-deep-2); }
.opener .meta { margin: 26px 0 0; font-size: 16px; color: var(--on-deep-2); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.opener .meta b { color: var(--on-deep); font-weight: 600; }

/* ---------- reading layout ---------- */
.reading { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 80px); }
.reading > .text { grid-column: 1; }
.reading > aside.margin { grid-column: 2; }
.text > p, .text li { max-width: var(--measure); }
.text p { margin: 0 0 1.1em; }
.text h2 { font-weight: 600; font-size: clamp(27px, 2.5vw, 36px); line-height: 1.15; letter-spacing: -.015em; margin: 2.2em 0 .6em; text-wrap: balance; }
.text h3 { font-weight: 600; font-size: 22px; line-height: 1.25; margin: 1.6em 0 .4em; }
.text > h2:first-child { margin-top: 0; }
.text ul, .text ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.text li { margin-bottom: .45em; }
.text li::marker { color: var(--green); }
.oneline { font-size: 20px; line-height: 1.55; margin: 0 0 2em; padding: 20px 22px; background: var(--green-wash); border-radius: 4px; }
.oneline .sc { display: block; font-size: 16px; color: var(--green-deep); font-weight: 600; margin-bottom: 4px; }
.text p.first::first-line { font-variant-caps: all-small-caps; letter-spacing: .05em; font-weight: 500; }
mark { background: linear-gradient(var(--hl), var(--hl)) 0 88% / 0% 42% no-repeat; color: inherit; padding: 0 .06em; }
mark.on { background-size: 100% 42%; }
.small { font-size: 16px; color: var(--ink-2); }
.aside-note { font-size: 17px; line-height: 1.55; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 4px; margin: 1.4em 0; background: var(--paper); }
.aside-note .sc { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 2px; }
.risk-inline { font-size: 17px; line-height: 1.55; padding: 16px 18px; background: var(--paper-2); border-radius: 4px; margin: 0 0 2em; }
.risk-inline .sc { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 2px; }

table.ex { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-variant-numeric: lining-nums tabular-nums; }
table.ex caption { text-align: left; font-style: italic; color: var(--ink-2); font-size: 17px; margin-bottom: 8px; }
table.ex th, table.ex td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; vertical-align: top; }
table.ex thead th { font-weight: 600; font-size: 16px; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
table.ex td.num { text-align: right; font-weight: 600; white-space: nowrap; }
table.ex tr.total th, table.ex tr.total td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 700; }
table.ex tr.total td { color: var(--green); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.table-wrap table.ex { min-width: 520px; }

aside.margin { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
aside.margin .sticky { position: sticky; top: 96px; }
aside.margin dl { margin: 0; }
aside.margin dt { font-weight: 600; color: var(--ink); margin-top: 20px; }
aside.margin dt:first-child { margin-top: 4px; }
aside.margin dd { margin: 2px 0 0; }
aside.margin .sc { color: var(--green); font-weight: 600; margin: 0; }

/* chapter end */
.turn { border-top: 1px solid var(--rule); background: var(--paper-2); }
.turn .in { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(24px, 4vw, 64px); align-items: start; }
.turn a.next, .turn a.prev { display: block; text-decoration: none; color: var(--ink); padding: 20px 22px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); min-height: 44px; }
.turn a.next { border-color: var(--green); }
.turn a .sc { display: block; color: var(--green); font-weight: 600; font-size: 16px; }
.turn a .t { display: block; font-size: 24px; font-weight: 500; line-height: 1.2; margin-top: 4px; }
.turn a:hover .t { color: var(--green); }
.turn a.prev { justify-self: start; }
.byline { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; font-size: 16px; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 24px; }
.byline img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--ink); }

/* home: how this guide works */
.intro-band { border-top: 1px solid var(--rule); }
.intro-band .in { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter); display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 80px); }
.intro-band h2 { font-weight: 600; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; letter-spacing: -.02em; margin: 6px 0 22px; }
.intro-band .sc.k { color: var(--green); font-weight: 600; }
.ian { display: flex; gap: 18px; align-items: flex-start; font-size: 17px; }
.ian img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.ian b { display: block; color: var(--ink); font-size: 19px; }

/* footer */
footer.foot { border-top: 1px solid var(--rule); background: var(--paper-3); font-size: 15px; color: var(--ink-2); }
footer.foot .in { max-width: 1180px; margin: 0 auto; padding: 40px var(--gutter) 48px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 48px; }
footer.foot p { margin: 0 0 10px; max-width: 46em; }
footer.foot ul { list-style: none; margin: 0; padding: 0; }
footer.foot li a { display: inline-flex; min-height: 36px; align-items: center; color: var(--ink); }
footer.foot .credit { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 16px; }

/* ---------- widgets ---------- */
figure.widget { margin: 2em 0; padding: clamp(18px, 2.4vw, 28px); background: var(--paper-2); border-radius: 6px; }
figure.widget figcaption { font-size: 16px; color: var(--ink-2); margin-top: 12px; }
figure.widget .w-title { font-weight: 600; font-size: 20px; margin: 0 0 4px; }
.w-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.w-controls button, .guess .answers button { all: unset; cursor: pointer; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 3px; font-size: 17px; font-weight: 500; background: var(--paper); font-variant-numeric: lining-nums; }
.w-controls button[aria-pressed="true"], .guess .answers button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.w-controls button:focus-visible, .guess .answers button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* travelling £1,000 (chapter I) */
.journey svg { display: block; width: 100%; height: auto; }
.journey .arc { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; }
.journey .arc-bg { fill: none; stroke: var(--rule); stroke-width: 2; stroke-dasharray: 3 6; }
.journey .node-b { fill: var(--paper); stroke: var(--green-deep); stroke-width: 2; }
.journey text { font: 600 17px var(--serif); fill: var(--ink); font-variant-numeric: lining-nums; }
.journey text.s { font-weight: 400; font-size: 15px; fill: var(--ink-2); }
.journey .me { fill: var(--green); }
.journey .coin { fill: var(--mint); stroke: var(--green-deep); stroke-width: 1.5; }
.widget .status { font-size: 18px; margin: 14px 0 0; min-height: 3.2em; }
.journey .status b { font-variant-numeric: lining-nums; }

/* the sentence (chapter V) */
figure.widget.sentence-w { background: linear-gradient(135deg, #0B2F3A, #0D4234 55%, #17604A); color: var(--on-deep); }
figure.widget.sentence-w .w-title { color: var(--mint); }
figure.widget.sentence-w figcaption, figure.widget.sentence-w [data-o="note"] { color: var(--on-deep-2); }
.sentence { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; margin: 10px 0 0; }
.tok { all: unset; cursor: pointer; color: #fff; border-bottom: .08em dashed var(--mint); padding: 0 .06em; border-radius: .1em; font-variant-numeric: lining-nums; }
.tok:hover, .tok[aria-expanded="true"] { background: rgba(166,240,207,.2); }
.tok:focus-visible { outline: 3px solid #FFD166; outline-offset: 2px; }
.out { color: var(--mint); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.chooser { margin-top: 14px; min-height: 76px; }
.chooser p { margin: 0 0 8px; font-size: 16px; color: var(--on-deep-2); }
.chooser .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chooser .opts button { all: unset; cursor: pointer; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid rgba(166,240,207,.55); font-size: 17px; color: var(--on-deep); font-variant-numeric: lining-nums; }
.chooser .opts button[aria-pressed="true"] { background: var(--mint); color: var(--green-deep); border-color: var(--mint); }
.chooser .opts button:focus-visible { outline: 3px solid #FFD166; outline-offset: 2px; }

/* the see-saw (chapter V) */
.seesaw svg { display: block; width: 100%; height: auto; }
.seesaw .beam { transition: transform .8s var(--ease); transform-box: view-box; }
.seesaw text { font: 600 18px var(--serif); fill: var(--ink); font-variant-numeric: lining-nums; }
.seesaw text.s { font-weight: 400; font-size: 15px; fill: var(--ink-2); }

/* guess first (chapter VII) */
ol.guess { list-style: none; margin: 1em 0 2em; padding: 0; counter-reset: q; }
ol.guess > li { counter-increment: q; padding: 22px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 16px; }
ol.guess > li::before { content: counter(q); font-size: 34px; line-height: 1; color: var(--green); font-weight: 600; font-variant-numeric: lining-nums; }
ol.guess .q { grid-column: 2; font-weight: 600; font-size: 21px; line-height: 1.3; margin: 0 0 12px; }
ol.guess .answers { grid-column: 2; }
ol.guess > li::before { grid-row: 1 / span 2; }
ol.guess .answers button { white-space: nowrap; }
ol.guess .answers { display: flex; flex-wrap: wrap; gap: 8px; }
ol.guess .reveal { grid-column: 2; display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--t-std) var(--ease); }
.jsx ol.guess > li:not(.done) .reveal { grid-template-rows: 0fr; }
ol.guess .reveal > div { overflow: hidden; }
ol.guess .reveal p { margin: 10px 0 0; }
.verdict { font-weight: 700; }
.verdict.right { color: var(--green); }
.verdict.nearly { color: var(--clay); }

/* fund example */
.fund { border: 1.5px solid var(--ink); border-radius: 4px; padding: 20px 22px; margin: 1.6em 0; background: var(--paper); }
.fund .sc { color: var(--clay); font-weight: 600; display: block; font-size: 15px; }
.fund h3 { margin: 4px 0 8px; font-size: 21px; }
.fund p { font-size: 17px; margin: 0 0 10px; }
.fund .warn { background: var(--clay-wash); border-radius: 3px; padding: 12px 14px; }
.fund .sc { color: var(--green-deep); }
.fund .code { font-variant-numeric: lining-nums tabular-nums; font-weight: 600; letter-spacing: .08em; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; padding: 1px 8px; white-space: nowrap; }

/* platforms appendix */
.cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 3px; background: var(--green); color: var(--paper); font-weight: 600; text-decoration: none; }
.cta:hover { background: var(--green-deep); }

/* ---------- motion (Tier 1: CSS + IntersectionObserver) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cover .anim { animation: rise 1.2s var(--ease-hero) both; }
  .cover .anim.d1 { animation-delay: .08s; } .cover .anim.d2 { animation-delay: .16s; }
  ol.toc li { animation: rise var(--t-std) var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * .08s); }
  ol.toc .lead { transform-origin: left; animation: lead .8s var(--ease) both; animation-delay: calc(.45s + var(--i, 0) * .08s); }
  mark { transition: background-size .8s var(--ease); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  @supports (animation-timeline: scroll()) {
    .progress { animation: grow linear both; animation-timeline: scroll(root); }
    @keyframes grow { to { transform: scaleX(1); } }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lead { from { transform: scaleX(0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  mark { background-size: 100% 42%; }
  ol.guess .reveal { transition: none; }
  .seesaw .beam { transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 1000px) {
  .spread { grid-template-columns: 1fr; min-height: 0; }
  .cover { min-height: 420px; }
  .cover::after { display: none; }
  .page { box-shadow: none; }
  .reading, .intro-band .in { grid-template-columns: minmax(0, 1fr); }
  .reading > aside.margin { grid-column: 1; grid-row: auto; border-top: 1px solid var(--rule); margin-top: 24px; padding-top: 8px; }
  aside.margin .sticky { position: static; }
  .top .here { display: none; }
  .top nav a.contents-link { display: none; }
  .turn .in, footer.foot .in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  body { font-size: 18px; }
  ol.toc a { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
  ol.toc .lead { display: none; }
  .top nav a.out { padding: 0 12px; }
}

/* ---------- logo ---------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--green-deep); text-decoration: none; min-height: 44px; }
.lockup svg { width: 34px; height: 34px; flex: none; --hole: var(--paper); }
.lockup .wm { display: flex; flex-direction: column; line-height: .95; }
.lockup .wm i { font-style: italic; font-weight: 400; font-size: 14px; letter-spacing: .01em; color: var(--ink-2); }
.lockup .wm b { font-weight: 600; font-size: 21px; letter-spacing: -.015em; color: var(--green-deep); }
.cover .mark-lg { width: 64px; height: 64px; color: var(--mint); --hole: #0D4234; margin-bottom: 18px; display: block; }

/* ---------- pearl button (ported from the Pearl Button component; plain CSS, no React) ----------
   Recoloured to the site green, sized for this site, text kept fully legible. Used on links,
   because every call to action here is navigation. */
.pearl { --bg: #0D4234; --ink-on: #F3FBF7; position: relative; display: inline-flex; border-radius: 100px; background-color: var(--bg); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 .3rem .9rem rgba(255,255,255,.28), inset 0 -.1rem .3rem rgba(0,0,0,.7), inset 0 -.4rem .9rem rgba(166,240,207,.45), 0 1.6rem 1.8rem -1rem rgba(13,66,52,.45), 0 .6rem .7rem -.5rem rgba(0,0,0,.6);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pearl .wrap { position: relative; overflow: hidden; border-radius: inherit; padding: 17px 30px; font-size: 19px; font-weight: 600; color: var(--ink-on); display: block; }
.pearl .lbl { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; transform: translateY(2%); transition: transform .2s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.82)); mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.82)); }
.pearl .g { font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif; color: var(--mint); font-size: .95em; line-height: 1; }
.pearl .g + .g { display: none; }
.pearl .wrap::before, .pearl .wrap::after { content: ""; position: absolute; transition: transform .3s var(--ease), opacity .3s var(--ease); pointer-events: none; }
.pearl .wrap::before { left: -15%; right: -15%; bottom: 25%; top: -100%; border-radius: 50%; background-color: rgba(255,255,255,.1); }
.pearl .wrap::after { left: 6%; right: 6%; top: 12%; bottom: 40%; border-radius: 22px 22px 0 0; box-shadow: inset 0 10px 8px -10px rgba(255,255,255,.7); background: linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(0,0,0,0) 50%); }
.pearl:hover, .pearl:focus-visible { box-shadow: inset 0 .3rem .5rem rgba(255,255,255,.4), inset 0 -.1rem .3rem rgba(0,0,0,.7), inset 0 -.4rem .9rem rgba(166,240,207,.65), 0 1.6rem 1.8rem -1rem rgba(13,66,52,.45), 0 .6rem .7rem -.5rem rgba(0,0,0,.6); }
.pearl:hover .g:first-child, .pearl:focus-visible .g:first-child { display: none; }
.pearl:hover .g + .g, .pearl:focus-visible .g + .g { display: inline-block; }
.pearl:hover .wrap::before { transform: translateY(-5%); }
.pearl:hover .wrap::after { opacity: .4; transform: translateY(5%); }
.pearl:hover .lbl { transform: translateY(-4%); }
.pearl:active { transform: translateY(2px); }
.pearl:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.pearl.sm .wrap { padding: 11px 20px; font-size: 16px; }
.pearl.sm { box-shadow: inset 0 .2rem .6rem rgba(255,255,255,.28), inset 0 -.1rem .25rem rgba(0,0,0,.7), inset 0 -.3rem .6rem rgba(166,240,207,.45), 0 .5rem .6rem -.4rem rgba(0,0,0,.5); }
.pearl.on-dark { --bg: #0A2A33; }
.cover .pearl { margin-top: 26px; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .pearl, .pearl .lbl, .pearl .wrap::before, .pearl .wrap::after { transition: none; } }
@media (max-width: 480px) { .pearl.sm .wrap { padding: 12px 14px; font-size: 15px; } .lockup .wm b { font-size: 19px; } }
.lockup .wm i, .lockup .wm b, .pearl.sm .lbl { white-space: nowrap; }
@media (max-width: 400px) {
  .top { gap: 8px; padding: 0 12px; }
  .lockup { gap: 7px; }
  .lockup svg { width: 30px; height: 30px; }
  .pearl.sm .wrap { padding: 12px 13px; font-size: 14px; }
  .pearl.sm .g { display: none !important; }
}

/* second header button (Bond funds, Ian 1 Oct): a light pearl beside the green one */
.pearl.alt { --bg: #DCEFE5; --ink-on: #0D4234; }
.pearl.alt .g { color: #17604A; }
.pearl.alt .wrap::before { background-color: rgba(255,255,255,.45); }
.top nav { gap: 10px; }
@media (max-width: 560px) {
  .lockup .wm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 400px) { .top nav { gap: 6px; } .pearl.sm .wrap { padding: 12px 11px; } }
/* fund panel matches site one's FundNote (Ian's screenshot, 1 Oct) */
aside.fund { border: 1px solid var(--rule); background: #F5F2EA; border-radius: 3px; }
aside.fund .sc { color: #6E4D10; letter-spacing: .1em; }
aside.fund h3 { font-size: 24px; line-height: 1.2; }
aside.fund .code { background: #fff; }
aside.fund .warn { background: none; border-top: 1px solid var(--rule); border-radius: 0; padding: 12px 0 0; margin-top: 14px; color: var(--ink-2); }
