/* The site's three faces, served from the site itself (no request to Google): the Latin subsets of Public Sans,
   Cinzel and Cormorant Garamond, variable, so one file covers every weight. SIL Open Font License 1.1. */
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
/* The public site, devonshire.app (site/, the marketing-site skill), in the Banknote theme (the design system
   "Devonshire Banknote"; root CLAUDE.md §4.2). Layout: an engraved note. Full-width bands, a 1120px measure, a guilloche seal beside the headline,
   statements and ledgers set like printed securities, hairline engraving instead of shadows. */
:root {
  --paper: #edf1ec;      /* cool sage paper */
  --paper-2: #f6f8f4;    /* lifted sheet */
  --paper-3: #e2e9e3;    /* inset well */
  --ink: #113526;        /* banknote green ink */
  --ink-2: #3a5547;      /* secondary text */
  --muted: #627569;      /* captions */
  --line: #b8c7bc;       /* engraved hairline */
  --line-soft: #d3ddd5;
  --seal: #0f4a33;       /* rosette strokes */
  --gold: #84651f;       /* gold leaf, sparingly */
  --gold-soft: #e9dfc4;
  --pos: #2c7449;
  --neg: #9a3b31;
  --on-ink: #f3f6f1;
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1410; --paper-2: #111d17; --paper-3: #0e1813;
    --ink: #e4ede5; --ink-2: #b3c5b8; --muted: #849789;
    --line: #2a3c32; --line-soft: #1d2b23;
    --seal: #7fb596; --gold: #d2ae62; --gold-soft: #2d2715;
    --pos: #79c393; --neg: #e48a7f; --on-ink: #0b1410;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1410; --paper-2: #111d17; --paper-3: #0e1813;
  --ink: #e4ede5; --ink-2: #b3c5b8; --muted: #849789;
  --line: #2a3c32; --line-soft: #1d2b23;
  --seal: #7fb596; --gold: #d2ae62; --gold-soft: #2d2715;
  --pos: #79c393; --neg: #e48a7f; --on-ink: #0b1410;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--paper);
}
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: 88px; border-top: 1px solid var(--line); }
.num, table { font-variant-numeric: tabular-nums lining-nums; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Type scale: 12 / 14 / 16 / 20 / 28 / 40 / 60 */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; text-wrap: balance; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6.2vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0; }
.eyebrow {
  font: 600 12px/1.4 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.lede { font-size: 18px; color: var(--ink-2); max-width: 36em; }
.small { font-size: 14px; color: var(--muted); }

/* Engraved rule: a double hairline with a lozenge */
.rule { display: flex; align-items: center; gap: 12px; color: var(--line); }
.rule::before, .rule::after { content: ""; flex: 1; height: 3px; border-block: 1px solid var(--line); }
.rule i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); }

/* Header */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.wordmark { font: 600 19px/1 var(--display); letter-spacing: 0.16em; }
nav.links { display: flex; gap: 28px; margin-left: auto; }
nav.links a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
nav.links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px;
  font: 600 13px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); color: var(--ink); background: transparent; border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: var(--on-ink); }
.btn.solid { background: var(--ink); color: var(--on-ink); }
.btn.solid:hover { background: var(--seal); border-color: var(--seal); }
@media (max-width: 760px) { nav.links { display: none; } header.top .btn { margin-left: auto; } }

/* Hero */
.hero { padding-block: 72px 56px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.seal { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; justify-self: center; }
.seal canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal .core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--paper); border: 1px solid var(--gold);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--line);
  display: grid; place-items: center;
}
.seal .core span { font: 600 clamp(44px, 8vw, 76px)/1 var(--display); color: var(--seal); transform: translateY(4%); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .seal { max-width: 360px; order: -1; }
}

/* Statement (Net Worth mock) */
.sheet {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: inset 0 0 0 5px var(--paper-2), inset 0 0 0 6px var(--line-soft);
  padding: 28px; min-width: 0;
}
.sample {
  display: inline-block; font: 600 10px/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); padding: 5px 7px 4px; border-radius: 2px;
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.sheet-title { font: 600 12px/1.5 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.serial { font: 500 12px/1 var(--sans); letter-spacing: 0.12em; color: var(--muted); }
.statement { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 20px; }
.figure { font: 600 clamp(40px, 6vw, 58px)/1 var(--serif); letter-spacing: -0.01em; }
.delta { color: var(--pos); font-size: 14px; font-weight: 600; }
.figure-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.ranges { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; }
.ranges[hidden] { display: none; }
.ranges button {
  appearance: none; background: transparent; border: 0; border-left: 1px solid var(--line); padding: 7px 11px; cursor: pointer;
  font: 600 11px/1 var(--display); letter-spacing: .14em; color: var(--ink-2);
}
.ranges button:first-child { border-left: 0; }
.ranges button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.chart-box { position: relative; margin-top: 16px; }
.chart { width: 100%; height: auto; display: block; touch-action: pan-y; cursor: crosshair; overflow: visible; }
.chart .grid line { stroke: var(--line-soft); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .end { fill: var(--gold); }
.chart .labels { font: 11px var(--sans); fill: var(--muted); }
/* The chart shrinks with the phone's width, its labels in viewBox units with it: larger units keep them readable. */
@media (max-width: 600px) { .chart .labels { font-size: 19px; } }
.chart .guide { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .marker { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2; }
.chart-tip {
  position: absolute; top: 0; transform: translateX(10px); pointer-events: none;
  display: grid; gap: 2px; padding: 7px 10px; white-space: nowrap;
  background: var(--paper-2); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 2px;
}
.chart-tip.flip { transform: translateX(calc(-100% - 10px)); }
.chart-tip[hidden] { display: none; }
.chart-tip b { font: 600 18px/1.1 var(--serif); }
.chart-tip span { font-size: 12px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Screenshots of the suite (#tour): a tab per page over a framed picture */
.tour-tabs { display: flex; gap: 4px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tour-tabs button {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 0; cursor: pointer;
  font: 600 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.tour-tabs button:hover { color: var(--ink); }
.tour-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.shot { margin: 0; padding: 12px; display: grid; gap: 12px; }
.shot[hidden] { display: none; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-soft); border-radius: 2px; background: var(--paper); }
.shot figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); padding-inline: 4px; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ledger th {
  text-align: left; font: 600 11px/1.4 var(--display); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding: 0 10px 10px; border-bottom: 1px solid var(--line);
}
table.ledger td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.ledger tr:last-child td { border-bottom: 0; }
table.ledger .amt { text-align: right; white-space: nowrap; }
table.ledger tfoot td { border-top: 3px double var(--line); font-weight: 600; }
.neg { color: var(--neg); }
.pos { color: var(--pos); }
.scroll { overflow-x: auto; min-width: 0; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } .sheet { padding: 20px; } }

/* Apps */
.apps-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.group h3 { font-family: var(--display); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-bottom: 12px; border-bottom: 3px double var(--line); }
.app { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.app b { font: 600 21px/1.2 var(--serif); }
.app span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .apps-head, .groups { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .app { grid-template-columns: 1fr; gap: 2px; } }

/* Spotlights */
.spot { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.spot.flip { grid-template-columns: 1.15fr 0.85fr; }
.spot.flip .spot-copy { order: 2; }
.spot-copy { display: grid; gap: 18px; min-width: 0; }
.spot-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.spot-copy li { padding-left: 20px; position: relative; color: var(--ink-2); }
.spot-copy li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold); }
@media (max-width: 860px) { .spot, .spot.flip { grid-template-columns: 1fr; gap: 32px; } .spot.flip .spot-copy { order: 0; } }
.chip { display: inline-block; font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-2); white-space: nowrap; }
.chip.tag { border-color: var(--gold); color: var(--gold); }
tr.split td { color: var(--ink-2); font-size: 13px; padding-top: 4px; padding-bottom: 6px; }
tr.split td:first-child { border-left: 0; }
tr.split td.indent { padding-left: 26px; position: relative; }
tr.split td.indent::before { content: ""; position: absolute; left: 12px; top: 0; height: 60%; width: 8px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Claude letter */
.letter { display: grid; gap: 16px; }
.msg { padding: 16px 18px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-2); max-width: 92%; }
.msg.you { justify-self: end; background: var(--paper-3); }
.msg .who { font: 600 11px/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.msg p + p { margin-top: 8px; }
.approve { border: 1px solid var(--gold); border-radius: 3px; padding: 16px 18px; background: var(--paper-2); display: grid; gap: 12px; max-width: 92%; }
.approve .row { display: flex; gap: 10px; flex-wrap: wrap; }
.approve .btn { height: 36px; padding: 0 16px; font-size: 11px; cursor: pointer; }
.approve .ask, .approve .outcome { display: grid; gap: 12px; justify-items: start; }
.approve [hidden] { display: none; }
.approve.done { border-color: var(--line); }
.card-label { font: 600 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.text-btn { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 14px; color: var(--seal); text-decoration: underline; text-underline-offset: 2px; }

/* Phone */
.phone-stage { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.phone {
  width: 260px; max-width: 100%; aspect-ratio: 9 / 19; border-radius: 40px; padding: 12px;
  background: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(10, 30, 20, .45);
}
.screen { width: 100%; height: 100%; border-radius: 30px; background: var(--paper); padding: 34px 14px 10px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; overflow: hidden; }
.phone-panels { min-height: 0; overflow: hidden; }
.pane { display: grid; gap: 10px; align-content: start; }
.pane[hidden] { display: none; }
.pane-label { font: 600 9px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-grid span { display: grid; place-items: center; text-align: center; aspect-ratio: 1; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); font: 600 11px/1.15 var(--serif); }
.widget { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.widget .k { font: 600 9px/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.widget .v { font: 600 26px/1.1 var(--serif); margin-top: 4px; }
.widget svg { width: 100%; height: 44px; display: block; margin-top: 4px; }
.due { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 9px 2px; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
.due b { font-weight: 600; }
.due span { color: var(--muted); font-size: 11px; }
.due .when { text-align: right; }
.soon { color: var(--neg); font-weight: 600; }
.tabbar { display: flex; justify-content: space-around; padding-top: 4px; border-top: 1px solid var(--line); }
.tabbar button {
  appearance: none; background: none; border: 0; padding: 6px 2px; cursor: pointer;
  font: 600 8px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.tabbar button[aria-selected="true"] { color: var(--gold); }
.tabbar button:hover { color: var(--ink); }

/* Alerts table */
table.alerts { width: 100%; border-collapse: collapse; font-size: 15px; }
table.alerts th { font: 600 11px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 12px 12px; border-bottom: 3px double var(--line); }
table.alerts th.c, table.alerts td.c { text-align: center; width: 84px; }
table.alerts td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); }
table.alerts td .small { display: block; }
.tick { display: inline-block; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); }
.dash { color: var(--line); }

/* Privacy: a certificate */
.cert {
  border: 1px solid var(--line); padding: 8px; border-radius: 3px; background: var(--paper-2);
}
.cert-inner { border: 3px double var(--gold); padding: 48px clamp(20px, 5vw, 56px); display: grid; gap: 36px; }
.cert-head { text-align: center; display: grid; gap: 14px; justify-items: center; }
.clauses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.clause h3 { font-family: var(--display); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.clause p { color: var(--ink-2); }
@media (max-width: 760px) { .clauses { grid-template-columns: 1fr; } }

/* Brand kit */
.kit { display: grid; gap: 40px; }
.kit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kit-card { border: 1px solid var(--line); border-radius: 3px; padding: 24px; background: var(--paper-2); display: grid; gap: 16px; align-content: start; min-width: 0; }
.kit-card .cap { font: 600 11px/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sizes { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sizes figure { margin: 0; display: grid; gap: 8px; justify-items: center; }
.sizes figcaption { font-size: 11px; color: var(--muted); }
.ground { display: flex; gap: 12px; flex-wrap: wrap; }
.ground > div { flex: 1 1 200px; border-radius: 3px; padding: 20px; display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.ground .lt { background: #edf1ec; border: 1px solid #d3ddd5; }
.ground .dk { background: #0b1410; border: 1px solid #2a3c32; }
.lockup { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lockup svg { width: 72px; height: 72px; }
.lockup .wm { font: 600 clamp(30px, 6vw, 52px)/1 var(--display); letter-spacing: .14em; }
.lockup .tag { font: italic 500 18px/1.3 var(--serif); color: var(--ink-2); }
.spec { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.spec:last-child { border-bottom: 0; }
.spec .nm { font-size: 12px; color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.sw { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.sw i { display: block; height: 56px; }
.sw div { padding: 8px 10px; font-size: 12px; line-height: 1.4; }
.sw code { color: var(--muted); font-size: 11px; }
@media (max-width: 760px) { .kit-grid { grid-template-columns: 1fr; } }

footer.bottom { border-top: 3px double var(--line); padding-block: 40px 48px; }
footer.bottom .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer.bottom nav { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; font-size: 14px; }
footer.bottom nav a { text-decoration: none; color: var(--ink-2); }
footer.bottom nav a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- the Privacy Policy and Terms of Service (site/content/legal.ts) ---- */
.brand img { flex: none; display: block; }
.doc { padding-block: 56px 88px; }
.doc-wrap { max-width: 780px; display: grid; gap: 18px; }
.doc section { display: grid; gap: 12px; padding-top: 26px; margin-top: 10px; border-top: 1px solid var(--line); }
.doc h2 { font-size: clamp(24px, 3vw, 28px); }
.doc h2 .num { font: 600 16px/1 var(--display); color: var(--gold); margin-right: 6px; vertical-align: 3px; }
.doc p, .doc li { color: var(--ink-2); max-width: 68ch; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.doc a { color: var(--seal); text-underline-offset: 2px; }
.doc strong { color: var(--ink); font-weight: 600; }
.in-short ul { margin-top: 12px; }
.in-short li { color: var(--ink); }
table.legal-table { min-width: 640px; }
table.legal-table td { font-size: 14px; line-height: 1.5; }
table.legal-table td:first-child { white-space: nowrap; color: var(--ink); }

/* ---- the 404 (site/src/not-found.html): the banknote card of the maintenance page (site/src/maintenance.html) and the
   suite's own 404 (app/not-found.tsx), a lifted sheet with an inner hairline, alone on the paper ---- */
body.note-page {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}
.note {
  width: 100%; max-width: 520px; text-align: center; position: relative;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; padding: 40px 28px 32px;
}
.note::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none; }
.note-seal { width: 72px; height: 72px; display: block; margin: 0 auto 18px; }
.note-wordmark { font: 600 13px/1.6 var(--display); letter-spacing: 0.22em; color: var(--gold); margin: 0 0 6px; }
.note h1 { font-size: 34px; line-height: 1.15; letter-spacing: 0; }
.note-subtitle { font: italic 400 19px/1.35 var(--serif); color: var(--ink-2); margin: 10px auto 0; max-width: 34ch; }
/* A flourish in gold leaf: a hairline with a lozenge in the middle and a scroll curling up and down at each end. */
.note-flourish { display: block; width: 280px; max-width: 80%; height: auto; margin: 22px auto 24px; color: var(--gold); }
.note-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; }
