/* QUIETWILL · shared stylesheet ("Last Letter"). Paper, ink, one seal-red accent. Used by /, /docs, /proof, /404. */

@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F0E6;
  --paper-2: #EDE6D7;
  --sheet: #FBF8F1;
  --ink: #1C1B18;
  --ink-2: #3B3933;
  --ink-3: #66625A;   /* small meta text (AA on paper) */
  --grey: #8A857A;    /* rules, large meta */
  --rule: #D8D0BF;
  --red: #B3261E;
  --red-ink: #8F1D17;
  --ok: #2F5A3C;
  --warn: #8A5A00;
  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4.2vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--sans); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* paper grain: inline SVG noise, no canvas */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }
code, pre, .addr { font-family: var(--mono); font-size: .86em; }
code { background: color-mix(in srgb, var(--paper-2) 80%, transparent); padding: .08em .32em; border-radius: 3px; }
em { font-style: italic; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 3px; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ buttons, badges, copy */
.btn {
  --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: var(--h); padding: 0 1.25em;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; border-radius: 2px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 #000, 0 10px 24px -14px rgba(28, 27, 24, .7); }
.btn-ink:hover { background: #000; transform: translateY(-1px); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-red { background: var(--red); border-color: var(--red); color: #FFF8F0; }
.btn-red:hover { background: var(--red-ink); }
.btn-sm { --h: 40px; padding: 0 1em; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: auto; }
.btn[disabled]:hover, .btn[aria-disabled="true"]:hover { background: transparent; color: var(--ink); }
.btn-ink[disabled]:hover { background: var(--ink); color: var(--paper); }

button.copy {
  font: 600 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
  border: 1px solid currentColor; background: transparent; border-radius: 2px; padding: 7px 9px; cursor: pointer;
}
button.copy:hover:not([disabled]) { background: var(--ink); color: var(--paper); }
button.copy[disabled] { opacity: .45; cursor: not-allowed; }

.badge {
  display: inline-flex; align-items: center; gap: .45em; font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 9px 5px; border: 1px solid var(--rule); border-radius: 99px; color: var(--ink-3); background: transparent; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.badge.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.badge.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.badge.bad { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--red); }
div.warn, div.bad { color: var(--ink); border-left: 2px solid var(--warn); padding: .2em 0 .2em 1.2em; }
div.bad { border-left-color: var(--red); }
.hint { font-size: 13.5px; color: var(--ink-3); }

/* ------------------------------------------------------------ top strip (live numbers marquee) */
.strip { position: relative; z-index: 3; background: var(--ink); color: var(--paper); overflow: hidden; height: 32px; }
.strip-link { display: block; height: 100%; text-decoration: none; color: inherit; }
.strip-track { display: inline-flex; white-space: nowrap; height: 100%; align-items: center; will-change: transform; animation: strip 48s linear infinite; }
.strip-run { display: inline-flex; flex: none; }
.strip-item { font: 500 12.5px/1 var(--sans); letter-spacing: .04em; font-variant-numeric: tabular-nums; padding: 0 1.4em; display: inline-flex; align-items: center; gap: .55em; }
.strip-item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-left: 2.2em; }
.strip-item b { font-weight: 700; font-family: var(--serif); font-size: 15px; letter-spacing: 0; }
.strip-item.is-off { color: #E9B4AE; }
html.motion .strip-track { animation: none; }
@keyframes strip { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ top bar (all pages) */
.topbar { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.topbar nav { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.topbar nav a { font: 500 14.5px/1 var(--sans); text-decoration: none; color: var(--ink-2); }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.topbar nav a.brand { font: 600 15px/1 var(--sans); letter-spacing: .22em; color: var(--ink); margin-right: 10px; text-decoration: none; }
.ca { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.stamp { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1px solid var(--ink); outline: 1px dashed var(--grey); outline-offset: 3px; border-radius: 1px; background: var(--sheet); }
.stamp-label { font: 700 10.5px/1 var(--sans); letter-spacing: .14em; color: var(--ink-3); }
.stamp .addr { background: none; padding: 0; font-size: 13px; color: var(--ink); }
.ca-when { margin: 0; font: 500 13px/1.3 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ca-count { color: var(--ink); font-weight: 600; margin-left: .5em; }
.btn-buy { --h: 36px; font-size: 13.5px; padding: 0 .95em; }

/* ------------------------------------------------------------ shared section scaffolding */
main { display: block; }
.eyebrow { display: flex; align-items: center; gap: .7em; flex-wrap: wrap; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1.4rem; }
.tag { display: inline-block; font: italic 400 14px/1 var(--serif); letter-spacing: .01em; text-transform: none; color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 45%, transparent); padding: 4px 9px 5px; border-radius: 99px; }
.sec-head { display: grid; grid-template-columns: 80px 1fr; column-gap: 24px; align-items: baseline; margin-bottom: clamp(28px, 5vw, 56px); }
.sec-head .no { font: italic 400 22px/1 var(--serif); color: var(--grey); margin: 0; }
.sec-head h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1; }
.sec-lede { grid-column: 2; margin: 1rem 0 0; max-width: 36em; color: var(--ink-2); font-size: 17px; }

/* ------------------------------------------------------------ hero */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vw, 68px) var(--gut) clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 8px clamp(28px, 5vw, 72px); align-items: start;
}
.dateline { font: italic 400 17px/1.3 var(--serif); color: var(--ink-3); margin: 0 0 1.6rem; }
.hero-title { font-size: clamp(2.7rem, 5.7vw, 5.6rem); line-height: .98; letter-spacing: -.028em; font-weight: 380; font-variation-settings: "opsz" 72; max-width: 12.5em; }
.hero-title .home { position: relative; display: inline-block; font-style: italic; white-space: nowrap; }
.home-ink { position: absolute; left: -2%; right: -4%; bottom: -.16em; width: 106%; height: .34em; overflow: visible; pointer-events: none; }
.home-ink path { fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-sub { font: 400 clamp(1.2rem, 2vw, 1.55rem)/1.35 var(--serif); color: var(--ink-2); margin: clamp(22px, 3vw, 34px) 0 0; max-width: 26em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.contract-line { margin: 22px 0 0; font: 500 13px/1.4 var(--sans); color: var(--ink-3); }
.contract-line .addr { color: var(--ink); }

/* motion gate: hidden at most 1.2 s, only when motion is allowed and JS is on */
html.motion:not(.motion-ready) .hero-in,
html.motion:not(.motion-ready) .hero-title,
html.motion:not(.motion-ready) .slip { opacity: 0; }

/* the slip: a torn-off form inside the letter */
.slip {
  position: relative; background: var(--sheet); padding: 26px 26px 22px; margin-top: 8px; transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 rgba(28, 27, 24, .06), 0 24px 50px -28px rgba(28, 27, 24, .45), 0 2px 6px -2px rgba(28, 27, 24, .12);
  -webkit-mask: radial-gradient(circle 5px at 100% 50%, #0000 96%, #000 100%) 0 0 / 100% 18px repeat-y;
          mask: radial-gradient(circle 5px at 100% 50%, #0000 96%, #000 100%) 0 0 / 100% 18px repeat-y;
}
.slip-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.slip-head .badge { order: -1; }
.slip-head h2 { font: 700 23px/1.1 var(--sans); letter-spacing: -.01em; }
.check-form label { display: block; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.check-row { display: flex; gap: 8px; }
.check-row input { flex: 1; min-width: 0; }
.check-form input, .ink-input {
  font: 400 14px/1.2 var(--mono); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  padding: 10px 2px; min-height: 40px; outline: none; transition: border-color .2s;
}
.check-form input:focus, .ink-input:focus { border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.check-hint { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }
.check-out { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--rule); font-size: 14.5px; }
.check-wait { color: var(--ink-2); margin: 0; }
.check-out .err { color: var(--red); }
.will-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.will-dl dt { font: 600 11px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.will-dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.will-dl .addr { font-size: 13px; }
.deadline { margin: 16px 0 6px; padding: 14px 0 12px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.deadline-k { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.deadline-v { display: block; font: 400 30px/1.1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; margin-top: 6px; }
.deadline-d { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.deadline.is-over .deadline-v { color: var(--red); font-style: italic; }
.will-dl dd.blank { color: var(--grey); font: italic 400 16px/1.3 var(--serif); }
.will-dl dd.blank::before { content: ""; display: inline-block; width: 46px; border-bottom: 1px dotted var(--grey); margin-right: 8px; vertical-align: 3px; }
.deadline.is-blank .deadline-v { color: var(--grey); font-style: italic; }
.moves { list-style: none; margin: 12px 0 0; padding: 0; }
.moves li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--rule); font-size: 14.5px; }
.moves li b { font-family: var(--serif); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.moves .why { font-size: 12.5px; text-align: right; }
.check-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.check-meta { font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; }
.check-meta a { color: var(--ink-2); }
.try { margin-top: 16px; font-size: 13.5px; }
.try summary { cursor: pointer; font: 600 13px/1.4 var(--sans); color: var(--ink-2); list-style: none; display: inline-flex; gap: .5em; align-items: center; }
.try summary::-webkit-details-marker { display: none; }
.try summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; line-height: 1; }
.try[open] summary::before { content: "−"; }
.try p { margin: 10px 0; color: var(--ink-3); }

/* command blocks (shared with /docs) */
.cmd { position: relative; display: flex; align-items: flex-start; gap: 10px; background: var(--ink); color: #EDE7DA; border-radius: 3px; padding: 12px 12px 12px 14px; margin: 10px 0; }
.cmd pre { margin: 0; flex: 1; min-width: 0; white-space: pre-wrap; word-break: break-all; font-size: 12.5px; line-height: 1.55; }
.cmd code { background: none; padding: 0; color: inherit; font-size: inherit; }
.cmd button.copy { color: #EDE7DA; flex: none; }
.cmd button.copy:hover { background: #EDE7DA; color: var(--ink); }

/* the pulse: one ink line, beats with the demo will's real last check-in */
.pulse { grid-column: 1 / -1; margin: clamp(16px, 3vw, 36px) 0 0; }
.pulse-svg { width: 100%; height: clamp(70px, 9vw, 120px); overflow: visible; }
.pulse-line, .pulse-blip { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pulse-blip { stroke-width: 2; }
.pulse-future { fill: none; stroke: var(--grey); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pulse-dot { fill: var(--red); }
.pulse[data-state="none"] .pulse-blip { stroke: var(--grey); }
.pulse[data-state="none"] .pulse-dot { fill: var(--grey); }
.pulse[data-state="over"] .pulse-line, .pulse[data-state="over"] .pulse-blip { stroke: var(--red); }
.pulse-cap { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline; margin-top: 10px; font: 500 12.5px/1.4 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pulse-cap #pulse-mid { text-align: center; font: italic 400 15px/1.35 var(--serif); color: var(--ink-2); }
.pulse-cap #pulse-right { text-align: right; }
.pulse-cap a { color: inherit; }

/* ------------------------------------------------------------ story: the letter (illustration) */
.story, .timeline, .day90, .write, .how, .isnot, .risks { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 13vw, 180px) var(--gut) 0; }
.story { padding-top: clamp(90px, 14vw, 200px); }
.letter { max-width: 15em; font: 400 clamp(2rem, 4.8vw, 4.3rem)/1.12 var(--serif); letter-spacing: -.02em; margin-left: clamp(0px, 9vw, 140px); }
.letter p { margin: 0 0 .62em; }
.letter .salute { font-style: italic; color: var(--ink-3); font-size: .55em; margin-bottom: 1.4em; }
.letter em { color: var(--ink); }
.letter .line-last { font-style: italic; color: var(--red); margin-top: 1.1em; }
.split-line { padding-bottom: .06em; }

.timeline { padding-top: clamp(60px, 10vw, 140px); }
.tl-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.tl-title { display: flex; align-items: baseline; gap: .12em; font-size: clamp(4.5rem, 16vw, 15rem); line-height: .85; letter-spacing: -.045em; font-variation-settings: "opsz" 72; }
.tl-word { font-style: italic; font-size: .38em; color: var(--ink-3); letter-spacing: -.01em; }
.tl-num { font-variant-numeric: tabular-nums lining-nums; min-width: 2.1ch; display: inline-block; }
.tl-num.is-due { color: var(--red); font-style: italic; }
.tl-figure { margin: clamp(10px, 3vw, 30px) 0 0; }
.tl-svg { width: 100%; height: auto; overflow: visible; }
.tl-base { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.tl-ticks line { stroke: var(--grey); stroke-width: 1; }
.tl-ticks line.big { stroke: var(--ink-3); stroke-width: 1.4; }
.tl-start circle { fill: var(--ink); }
.tl-start .tl-ring { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; }
.tl-end circle { fill: var(--red); }
.tl-labels { display: flex; justify-content: space-between; font: 500 12.5px/1.3 var(--sans); color: var(--ink-3); margin-top: 6px; }
.tl-notes { list-style: none; padding: 0; margin: clamp(26px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tl-notes li { font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--ink); padding-top: 12px; transition: opacity .4s, color .4s; }
.tl-notes li b { display: block; font: italic 400 21px/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.tl-notes li[data-at="90"] { border-top-color: var(--red); }
.tl-notes li[data-at="90"] b { color: var(--red); }
html.motion .tl-notes li:not(.is-on) { opacity: .28; }

.day90-inner { max-width: 980px; }
.fade-para { font: 400 clamp(1.8rem, 4.2vw, 3.6rem)/1.15 var(--serif); letter-spacing: -.02em; margin: 0 0 .7em; color: var(--ink); }
.fade-para .word { display: inline-block; }
.sent { display: flex; align-items: center; flex-wrap: wrap; gap: .3em .6em; font: 400 clamp(1.5rem, 3.4vw, 2.8rem)/1.2 var(--serif); margin: 0 0 1.4em; position: relative; }
.sent-label { font-style: italic; color: var(--ink-3); }
.sent-addr { font-family: var(--mono); font-size: .55em; letter-spacing: -.01em; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.seal-stamp { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); border: 2px solid var(--red); padding: 8px 10px 7px; transform: rotate(-6deg); border-radius: 2px; margin-left: .4em; box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px color-mix(in srgb, var(--red) 70%, transparent); }
.note { max-width: 40em; color: var(--ink-3); font-size: 15px; }

/* ------------------------------------------------------------ write your will */
.write { padding-top: clamp(100px, 15vw, 200px); }
.wallet-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; padding-left: 104px; }
.acct { font: 500 13.5px/1.3 var(--sans); color: var(--ink-3); }
.acct .addr { color: var(--ink); }
.form-note { padding-left: 104px; color: var(--ink-3); font-size: 14px; margin: 0 0 22px; }
.form-note.bad { color: var(--red); }
.will-form fieldset, .your-will { border: 0; margin: 0 0 0 104px; padding: clamp(24px, 4vw, 48px); background: var(--sheet); box-shadow: 0 30px 60px -40px rgba(28, 27, 24, .5), 0 1px 0 rgba(28, 27, 24, .05); position: relative; min-width: 0; }
.will-form fieldset::before, .your-will::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(12px, 2vw, 22px); border-left: 1px solid color-mix(in srgb, var(--red) 40%, transparent); }
.will-form fieldset[disabled] { opacity: .62; }
.will-form fieldset[disabled] * { cursor: not-allowed; }
.sentence { font: 400 clamp(1.45rem, 3.1vw, 2.5rem)/1.6 var(--serif); letter-spacing: -.012em; margin: 0 0 18px; }
.sentence .ink-input { font: italic 400 1em/1.2 var(--serif); padding: 0 4px 2px; min-height: 0; vertical-align: baseline; }
.sentence select.ink-input { -webkit-appearance: none; appearance: none; padding-right: 1.1em; cursor: pointer; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right .2em top 55% / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 0 top 55% / 6px 6px no-repeat; background-size: 6px 6px; }
.sentence .ink-addr { font: 400 .62em/1.4 var(--mono); width: min(100%, 30ch); }
.sentence .ink-num { width: 3.2ch; text-align: center; }
.warn-short { font-size: 14.5px; margin: -6px 0 12px; }
.ben-check { font-size: 14px; min-height: 1.4em; margin-bottom: 18px; }
.ben-check p { margin: 0 0 4px; }
.tok { margin: 26px 0 8px; }
.tok-head { font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.tok-head span { letter-spacing: 0; text-transform: none; font-weight: 500; }
.tok-row { display: grid; grid-template-columns: minmax(0, 1.5fr) 1fr 1fr minmax(0, 1.25fr); gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tok-th { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 0; border-bottom-color: var(--ink); }
.tok-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tok-name input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.tok-name small { display: block; color: var(--ink-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tok-cover { display: flex; gap: 6px; align-items: center; min-width: 0; }
.tok-cover select, .tok-cover input { font: 400 13.5px/1.2 var(--sans); min-height: 34px; padding: 4px 2px; }
.tok-cover input { width: 100%; min-width: 0; font-family: var(--mono); }
.tok-other { margin-top: 16px; max-width: 520px; }
.tok-other label { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 4px; }
.summary { font: italic 400 clamp(1.15rem, 2vw, 1.45rem)/1.4 var(--serif); margin: 28px 0 20px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.tick { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin: 0 0 10px; cursor: pointer; }
.tick input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }
.submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.steps-log { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; }
.steps-log li { padding: 6px 0; border-bottom: 1px dotted var(--rule); display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.steps-log li.done::before { content: "✓ "; color: var(--ok); }
.steps-log li.err { color: var(--red); }

.your-will h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.your-will .released { color: var(--red); font-weight: 600; }
.your-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.revoke-list { list-style: none; padding: 0; margin: 18px 0 0; }
.revoke-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dotted var(--rule); font-size: 14.5px; }

/* ------------------------------------------------------------ how it works */
.how-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.how-item { border-top: 1px solid var(--ink); padding-top: 18px; position: relative; }
.how-no { display: block; font: italic 300 clamp(4rem, 8vw, 7rem)/.9 var(--serif); letter-spacing: -.04em; color: var(--ink); margin-bottom: 18px; font-variant-numeric: lining-nums; }
.how-item:last-child .how-no { color: var(--red); }
.how-item h3 { font-size: 30px; margin-bottom: 10px; }
.how-item p { color: var(--ink-2); font-size: 16px; }

/* ------------------------------------------------------------ what this is not */
.isnot-list { list-style: none; padding: 0; margin: 0; }
.isnot-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px 40px; padding: clamp(18px, 2.4vw, 28px) 0; border-top: 1px solid var(--rule); align-items: baseline; }
.isnot-list li:last-child { border-bottom: 1px solid var(--rule); }
.isnot-k { font: 400 clamp(1.7rem, 3.6vw, 3rem)/1.05 var(--serif); letter-spacing: -.02em; }
.isnot-v { color: var(--ink-2); font-size: 16px; }

/* ------------------------------------------------------------ risks */
.risk-list { margin: 0; padding: 0; list-style: none; counter-reset: r; columns: 2 340px; column-gap: 56px; }
.risk-list li { counter-increment: r; break-inside: avoid; padding: 0 0 22px 44px; position: relative; color: var(--ink-2); }
.risk-list li::before { content: counter(r, lower-roman) "."; position: absolute; left: 0; top: -.05em; font: italic 400 20px/1.3 var(--serif); color: var(--red); }
.risk-list strong { color: var(--ink); }
.more { margin-top: 10px; font-weight: 600; }

/* ------------------------------------------------------------ footer (all pages) */
.foot { max-width: var(--wrap); margin: clamp(80px, 12vw, 160px) auto 0; padding: 36px var(--gut) 48px; border-top: 1px solid var(--ink); font-size: 14px; color: var(--ink-3); }
.foot nav { font: 500 14px/1.6 var(--sans); color: var(--ink-3); margin-bottom: 10px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot-contract { font-size: 13px; }
.foot-contract .addr { color: var(--ink); }
.disclaimer { max-width: 62em; font-size: 12.5px; line-height: 1.65; color: var(--ink-3); margin: 18px 0 0; }
.foot-home { border-top: 0; padding-top: 0; }
.sign { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; padding: 0 0 clamp(36px, 6vw, 70px); margin-bottom: 36px; border-bottom: 1px solid var(--ink); }
.sign-line { grid-column: 1; font: italic 300 clamp(2.4rem, 7vw, 6.4rem)/1 var(--serif); letter-spacing: -.035em; color: var(--ink); margin: 0; }
.sign-svg { grid-column: 1; width: min(520px, 90%); height: auto; margin-top: 8px; overflow: visible; }
.sign-path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seal { grid-column: 2; grid-row: 1 / span 2; width: clamp(90px, 12vw, 150px); height: auto; filter: drop-shadow(0 8px 10px rgba(80, 10, 6, .25)); }

/* ------------------------------------------------------------ document pages (/docs, /proof, /404) */
.doc { max-width: 1080px; margin: 0 auto; padding: clamp(44px, 8vw, 110px) var(--gut) 0; display: grid; grid-template-columns: 200px minmax(0, 720px); column-gap: 56px; }
.doc > * { grid-column: 2; min-width: 0; }
.doc-head { margin-bottom: clamp(40px, 7vw, 90px); }
.doc-head .eyebrow { margin-bottom: 1.2rem; }
.doc-head h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.03em; font-weight: 380; margin-bottom: 1.2rem; }
.doc-head p { font: 400 clamp(1.1rem, 1.8vw, 1.35rem)/1.45 var(--serif); color: var(--ink-2); max-width: 34em; }
.doc-head p.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; color: var(--ink-3); }
.doc-head .addr-line { font: 500 13.5px/1.4 var(--sans); color: var(--ink-3); }
.doc-head .addr-line .addr { color: var(--ink); }
.sec { padding: clamp(36px, 5vw, 64px) 0 0; position: relative; scroll-margin-top: 24px; }
.sec h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.05; margin-bottom: 1.1rem; position: relative; }
.sec h2 .no { font: italic 400 .6em/1 var(--serif); color: var(--red); margin-right: .45em; vertical-align: .18em; }
.sec h3 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
.sec p, .sec li { color: var(--ink-2); font-size: 16.5px; }
.sec ul, .sec ol { padding-left: 1.2em; margin: 0 0 1em; }
.sec li { margin-bottom: .55em; }
.sec li::marker { color: var(--grey); }
.sec strong { color: var(--ink); }
ol.steps { list-style: none; padding: 0; counter-reset: s; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 .9em 2.6em; }
ol.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .02em; font: italic 400 18px/1.4 var(--serif); color: var(--red); }
.fn { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 8px; margin: 0 0 1.4em; max-width: 34em; }
.fn sup { color: var(--red); font-weight: 700; margin-right: .3em; }
.ledger { overflow-x: auto; margin: 1em 0 1.4em; -webkit-overflow-scrolling: touch; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); }
.ledger thead th { font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--ink); }
.ledger tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.ledger td.ok, .ledger tr.ok td:nth-child(2) { color: var(--ok); }
.ledger td.warn, .ledger tr.warn td:nth-child(2) { color: var(--warn); }
.ledger td.bad { color: var(--red); }
.ledger .addr { overflow-wrap: anywhere; }
.ledger a.addr { color: var(--ink); }
.doc .cmd { margin: .8em 0 1.2em; }
.doc .badge { vertical-align: middle; }
.doc .warn ul { margin: 0; }

@media (min-width: 1000px) {
  /* footnotes move into the left margin, like an annotated deed */
  .doc .fn { grid-column: 1; grid-row: auto; position: absolute; left: -256px; width: 200px; margin-top: .3em; border-top: 1px solid var(--red); }
  .sec { position: relative; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 999px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .slip { transform: none; max-width: 520px; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc > * { grid-column: 1; }
  .tl-notes { grid-template-columns: repeat(2, 1fr); }
  .hero { row-gap: 40px; }
  .how-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .topbar { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .topbar nav { gap: 16px; }
  .ca { width: 100%; justify-content: space-between; gap: 10px; }
  .ca-when { order: 3; width: 100%; font-size: 12.5px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head .no { margin-bottom: 10px; }
  .sec-lede { grid-column: 1; }
  .wallet-bar, .form-note { padding-left: 0; }
  .will-form fieldset, .your-will { margin-left: 0; padding: 22px 18px 22px 26px; }
  .tok-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .tok-row > :nth-child(2), .tok-row > :nth-child(3) { font-size: 12.5px; color: var(--ink-3); }
  .tok-row > :nth-child(3) { text-align: right; }
  .tok-row > :nth-child(2) { grid-column: 1; grid-row: 2; padding-left: 28px; }
  .tok-row > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .tok-row > :nth-child(4) { grid-column: 2; grid-row: 1; }
  .tok-th { display: none; }
  .tl-notes { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tl-notes li { font-size: 14px; }
  .tl-pin { min-height: 0; padding: 0; }
  .isnot-list li { grid-template-columns: minmax(0, 1fr); }
  .pulse-cap { grid-template-columns: 1fr 1fr; }
  .pulse-cap #pulse-mid { grid-column: 1 / -1; grid-row: 1; }
  .sign { grid-template-columns: minmax(0, 1fr) auto; }
  .letter { margin-left: 0; }
  .slip { padding: 22px 20px 20px; }
}
@media (max-width: 420px) {
  .btn-buy { --h: 34px; }
  .stamp .addr { font-size: 12px; }
  .hero-cta .btn { flex: 1; }
}

/* ------------------------------------------------------------ reduced motion: final states, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .strip-track { animation: none; transform: none; }
  .strip-run + .strip-run { display: none; }
  .strip { height: auto; }
  .strip-track { white-space: normal; flex-wrap: wrap; padding: 7px 0; }
  .strip-run { flex-wrap: wrap; }
}
