/* Hallmark · shape: Spec Sheet · genre: modern-minimal · theme: Editorial (deal 3/3, seed fixed-deposit-calculator-amount-d04c·7539a4d8·2026-12-05·r6) · job: try · draw: manual
 * hero: the condensed head over the spec sheet, the fields on a paper well beside the maturity figure · nav: edge-aligned, the wordmark and two links · footer: a heavy ink rule over the note and the credit lines · imagery: none, the figures in the condensed face · signature: the maturity amount set in the condensed head face, changing in place as you type · fonts: Bricolage Grotesque (variable, wdth 75) and Source Serif 4 from @fontsource
 * axes: light/display-condensed/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, one calculator and one page that works its sum; the spec sheet and the ruled tables carry the look */
/* Hallmark · waive 77 · every page · a calculator and the page that works its sum, not a landing strip */
/* Hallmark · waive 59 · the calculator · the head and the spec sheet under it are one unit, the sheet is what the head asks the visitor to use; 68px keeps both on the first screen */
/* Hallmark · waive 44c · every page · the spec sheet of fields and the maturity figure is the first screen's visual; on the how-it-works page the formula stands under its head */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(97% 0.007 86); --color-paper-2: oklch(94% 0.010 86); --color-paper-3: oklch(91% 0.012 84);
  --color-ink: oklch(16% 0.012 280); --color-ink-2: oklch(29% 0.011 280); --color-muted: oklch(48% 0.010 75);
  --color-rule: oklch(85% 0.009 85); --color-rule-2: oklch(64% 0.010 80);
  --color-accent: oklch(49% 0.130 152); --color-accent-ink: oklch(98% 0.005 88); --color-focus: oklch(52% 0.135 152);
  --font-display: "Bricolage Grotesque", ui-sans-serif, sans-serif; --font-body: "Source Serif 4", ui-serif, Georgia, serif;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-heavy: 4px; --shadow-card: none;
  --tracking-display: -0.012em; --display-weight: 800;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: natural sat=-10 con=4 */
[data-slot] > img { filter: saturate(0.9) contrast(1.04); }

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.125rem; font-optical-sizing: auto; font-variant-numeric: oldstyle-nums; }
h1, h2 { font-weight: var(--display-weight); font-variation-settings: "wdth" 75, "opsz" 96; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
.num { font-variant-numeric: lining-nums tabular-nums; }
label, legend, th, caption, dt, .out__label, .bar__nav a, .foot__line { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 12; }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }
a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }

.bar { border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-xl); padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 48; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.wordmark span { color: var(--color-muted); }
.bar__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.bar__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--color-ink-2); }
.bar__nav a:active { transform: translateY(1px); }
.bar__nav a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-ink); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

.hero { padding-block: var(--space-2xl) var(--space-xl); }
.hero h1 { font-size: var(--text-display); line-height: 0.92; max-width: 13ch; }
.hero .lead { margin-top: var(--space-md); color: var(--color-ink); max-width: 40ch; }

/* the spec sheet: the fields on the well, the maturity figure beside them */
.desk__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: start; border-top: var(--rule-heavy) solid var(--color-ink); padding-top: var(--space-lg); }
.well { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); padding: var(--space-xl); }
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); margin: 0; }
.field { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink); min-width: 0; }
.field input { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 48; font-variant-numeric: lining-nums tabular-nums; font-size: 1.75rem; height: 52px; width: 100%; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); }
.field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }
.field--wide { grid-column: 1 / -1; }
.field--wide input { font-size: 2.125rem; }
.term { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); min-width: 0; }
.modes { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; min-width: 0; }
.modes legend { font-size: var(--text-sm); color: var(--color-ink); padding: 0; margin-bottom: var(--space-xs); }
.modes__set { display: flex; flex-wrap: wrap; padding: 1px 0 0 1px; }
.mode { position: relative; margin: -1px 0 0 -1px; }
.mode input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mode span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 12; }
.mode:hover span { background: var(--color-paper-3); }
.mode:active span { background: var(--color-rule); }
.mode input:checked + span { background: var(--color-ink); color: var(--color-paper); }
.mode input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; position: relative; z-index: var(--z-raised); }

.out { padding-top: var(--space-sm); }
.out__label { font-size: var(--text-sm); color: var(--color-muted); }
.out__big { margin-top: var(--space-2xs); font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(3rem, 4.4vw + 1rem, 5.25rem); line-height: 0.95; letter-spacing: var(--tracking-display); color: var(--color-ink); overflow-wrap: anywhere; }
.out__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-lg); margin: var(--space-lg) 0 0; }
.out__facts div { padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); min-width: 0; }
.out__facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.out__facts dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 32; font-size: var(--text-2xl); line-height: 1.1; color: var(--color-ink); overflow-wrap: anywhere; }
.out__how { margin-top: var(--space-md); color: var(--color-ink); }
.out__check { margin-top: var(--space-sm); max-width: 40ch; }
.out__big, .out__facts, .t-wrap { transition: opacity var(--dur-short) var(--ease-out); }
.out.is-off .out__big, .out.is-off .out__facts, .t-wrap.is-off { opacity: 0.3; }

.head { padding-block: var(--space-3xl) var(--space-xl); }
.head h1 { font-size: var(--text-display); line-height: 0.92; max-width: 14ch; }
.head .lead { margin-top: var(--space-md); color: var(--color-ink); max-width: 44ch; }

.sec { padding-top: var(--space-3xl); }
.sec--first { padding-top: var(--space-2xl); }
.sec__in { border-top: var(--rule-heavy) solid var(--color-ink); padding-top: var(--space-lg); }
.sec h2 { font-size: var(--text-display-s); max-width: 22ch; }
.sec__lead { margin-top: var(--space-md); font-size: var(--text-lead); line-height: 1.35; color: var(--color-ink); max-width: 46ch; }
.sec__note { margin-top: var(--space-md); max-width: 62ch; }
.sec__note b { font-family: var(--font-display); font-weight: 800; color: var(--color-ink); }
.formula { margin-top: var(--space-lg); font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 48; font-size: var(--text-2xl); color: var(--color-ink); }
.formula sup { font-size: 0.6em; }
.keys { list-style: none; margin: var(--space-lg) 0 0; padding: 0; max-width: 60ch; border-top: var(--rule-hair) solid var(--color-rule); }
.keys li { display: grid; grid-template-columns: 2.5ch minmax(0, 1fr); column-gap: var(--space-xs); align-items: baseline; padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.keys b { font-family: var(--font-display); font-weight: 800; color: var(--color-ink); }

.t-wrap { overflow-x: auto; margin-top: var(--space-lg); }
.t { border-collapse: collapse; width: 100%; max-width: 880px; font-family: var(--font-display); font-variation-settings: "wdth" 85, "opsz" 14; font-variant-numeric: lining-nums tabular-nums; }
.t--narrow { max-width: 560px; }
.t caption { text-align: left; caption-side: top; padding-bottom: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.t th, .t td { text-align: right; padding: var(--space-sm) 0 var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); white-space: nowrap; }
.t th:first-child { text-align: left; padding-left: 0; }
.t thead th { font-size: var(--text-sm); color: var(--color-muted); border-bottom-color: var(--color-rule-2); }
.t tbody th { color: var(--color-ink); }
.t tbody td { color: var(--color-ink); font-weight: 500; }
.t tbody td:last-child { font-weight: 800; }

.foot { margin-top: var(--space-3xl); }
.foot__in { border-top: var(--rule-heavy) solid var(--color-ink); padding-block: var(--space-lg) var(--space-xl); display: grid; gap: var(--space-xs); font-size: var(--text-sm); }
.foot__note, .foot__line { margin: 0; max-width: 72ch; }

@media (max-width: 960px) {
  .desk__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding-block: var(--space-xl) var(--space-lg); }
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .well { padding: var(--space-lg) var(--space-md); }
  .calc { gap: var(--space-md); }
  .mode span { padding: 0 var(--space-sm); font-size: var(--text-sm); }
  .t th, .t td { padding-left: var(--space-sm); font-size: var(--text-sm); }
  /* the column names wrap onto two lines, so the year table fits a phone whole (it hid the edge of the Amount column) */
  .t thead th { white-space: normal; vertical-align: bottom; }
  .sec { padding-top: var(--space-2xl); }
}
@media (prefers-reduced-motion: reduce) {
  a, .out__big, .out__facts, .t-wrap { transition: none; }
}

/* ---- the expansion (2026-12-05): the menu on a phone, breadcrumbs, quoted rules, the directory, the register ---- */
.menu-btn { display: none; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); cursor: pointer; }
.menu-btn:hover { background: var(--color-paper-3); }
.menu-btn:active { background: var(--color-rule); }
.menu-btn[aria-expanded="true"] { background: var(--color-ink); color: var(--color-paper); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); list-style: none; margin: 0 0 var(--space-lg); padding: 0; font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-rule-2); }
.crumbs a { color: var(--color-ink-2); }
.crumbs [aria-current="page"] { color: var(--color-ink); }

.sec__in--light { border-top: 0; padding-top: var(--space-md); }
.say { margin: var(--space-lg) 0 0; padding: var(--space-md) var(--space-lg); max-width: 68ch; background: var(--color-paper-2); border-left: var(--rule-heavy) solid var(--color-rule-2); }
.say p { margin: 0; color: var(--color-ink); }
.say .say__by { margin-top: var(--space-xs); font-family: var(--font-display); font-size: var(--text-sm); }
.ref { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); white-space: nowrap; }
.next { list-style: none; margin: var(--space-lg) 0 0; padding: 0; max-width: 60ch; border-top: var(--rule-hair) solid var(--color-rule); }
.next li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.next a { display: flex; align-items: center; min-height: 48px; padding: var(--space-xs) 0; font-family: var(--font-display); font-weight: 500; text-decoration: none; color: var(--color-ink); }
.next a::after { content: "\2192"; margin-left: auto; padding-left: var(--space-md); color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.next a:hover::after { transform: translateX(4px); color: var(--color-accent); }

.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); margin-top: var(--space-lg); }
.index h3 { font-variation-settings: "wdth" 75, "opsz" 48; color: var(--color-ink); }
.index .next { margin-top: var(--space-sm); }

.t--wide { max-width: 1100px; }
.t--wide th, .t--wide td { white-space: normal; vertical-align: top; }
.t--wide td:last-child { min-width: 14ch; }
.t--chart { max-width: 1200px; font-size: var(--text-sm); }
.t--chart td { font-weight: 500; }
.t--chart tbody td:last-child { font-weight: 500; }
.t--chart tbody tr:nth-child(odd) { background: var(--color-paper-2); }
.t--chart tbody th, .t--chart thead th:first-child { position: sticky; left: 0; background: var(--color-paper); }
.t--chart tbody tr:nth-child(odd) th { background: var(--color-paper-2); }

.kinds { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); max-width: 880px; }
.kinds a { display: grid; gap: var(--space-2xs); padding: var(--space-lg); min-height: 112px; background: var(--color-paper-2); border-top: var(--rule-heavy) solid var(--color-ink); text-decoration: none; color: var(--color-ink); }
.kinds a:hover { background: var(--color-paper-3); }
.kinds b { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 48; font-size: var(--text-2xl); line-height: 1.05; }
.kinds span { font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); }
.steps { margin: var(--space-md) 0 0; padding-left: var(--space-lg); max-width: 60ch; }
.steps li { padding: var(--space-2xs) 0; color: var(--color-ink); }

.dir { list-style: none; margin: var(--space-lg) 0 0; padding: 0; max-width: 960px; border-top: var(--rule-hair) solid var(--color-rule-2); counter-reset: bank; }
.dir__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); counter-increment: bank; }
.dir__name { font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.dir__name::before { content: counter(bank) "."; display: inline-block; min-width: 3ch; color: var(--color-muted); font-variant-numeric: lining-nums tabular-nums; }
.dir__links { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); font-family: var(--font-display); font-size: var(--text-sm); }
.dir__links a { min-height: 32px; display: inline-flex; align-items: center; }
.dir__none { color: var(--color-muted); }

.register { list-style: none; margin: 0; padding: 0; max-width: 72ch; }
.register li { padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.register__claim { font-family: var(--font-display); font-weight: 500; color: var(--color-ink); }
.register blockquote { margin: var(--space-xs) 0 0; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); border-left: var(--rule-heavy) solid var(--color-rule-2); }
.register blockquote p { margin: 0; }
.register__src { margin-top: var(--space-xs); font-size: var(--text-sm); }
.register li:target { background: var(--color-paper-2); }


@media (max-width: 760px) {
  .menu-btn:not([hidden]) { display: inline-flex; align-items: center; }
  .bar__nav { flex-basis: 100%; flex-direction: column; gap: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .bar__nav a { border-bottom: var(--rule-hair) solid var(--color-rule); }
  .bar__nav.is-closed { display: none; }
  .index, .kinds { grid-template-columns: minmax(0, 1fr); }
  .dir__row { grid-template-columns: minmax(0, 1fr); }
  .say { padding: var(--space-sm) var(--space-md); }
}
@media print {
  .bar, .foot, .crumbs, .next, .skip { display: none; }
  .t--chart tbody tr:nth-child(odd) { background: none; }
}
@media (prefers-reduced-motion: reduce) {
  .next a::after { transition: none; }
}
