/* After Someone Dies. A calm dusk palette taken from the geese photo. Inter everywhere: the interface and the obituary text. */
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-latin-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-latin-ext-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  color-scheme: light;
  --dusk: #20394A; --dusk-deep: #13242F; --dusk-mid: #2F5166; --dusk-soft: #5C7C8E; --tint: #E8EEF1; --tint-2: #D5E0E6;
  --text: #1B2A36; --body: #3D4A55; --muted: #5E6A74; --paper: #FBF8F3; --sand: #F3EFE8; --sand-2: #EAE4D9; --white: #fff; --line: #E4DED3; --line-cool: #D9E1E6;
  --gold: #E9A63F; --gold-strong: #F7A531; --gold-ink: #8A5A10; --gold-tint: #FBF0DC; --good: #22613F; --good-tint: #E2F0E7; --bad: #93342A; --bad-tint: #F8E7E3;
  --radius: 22px; --radius-sm: 14px; --shadow: 0 1px 2px rgba(19,36,47,.05), 0 18px 40px -24px rgba(19,36,47,.28); --shadow-lg: 0 2px 4px rgba(19,36,47,.05), 0 40px 80px -40px rgba(19,36,47,.45);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --serif: var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--text); font-weight: 700; letter-spacing: -.022em; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: 1.22rem; letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--dusk-mid); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--dusk); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 32px, 1160px); margin-inline: auto; }
.narrow { width: min(100% - 32px, 760px); margin-inline: auto; }
.mid { width: min(100% - 32px, 940px); margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--body); }
.eyebrow { display: inline-block; color: var(--gold-ink); font-weight: 700; font-size: .84rem; letter-spacing: .02em; margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.xs { font-size: .84rem; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.15fr .85fr; } .split.wide-right { grid-template-columns: .85fr 1.15fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; background: none; transition: transform .16s, background .16s, box-shadow .16s, color .16s, border-color .16s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn-primary { background: var(--dusk); color: #fff; box-shadow: 0 12px 26px -14px rgba(19,36,47,.7); }
.btn-primary:hover { background: var(--dusk-deep); color: #fff; }
.btn-gold { background: var(--gold-strong); color: #2B1B02; box-shadow: 0 14px 30px -14px rgba(180,110,10,.8); }
.btn-gold:hover { background: #FFB54A; color: #2B1B02; }
.btn-light { background: #fff; color: var(--dusk); }
.btn-light:hover { background: var(--tint); color: var(--dusk-deep); }
.btn-ghost { border-color: var(--tint-2); color: var(--dusk); background: rgba(255,255,255,.65); }
.btn-ghost:hover { border-color: var(--dusk-soft); background: #fff; color: var(--dusk-deep); }
.btn-glass { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-danger { border-color: #E2BDB6; color: var(--bad); background: #fff; }
.btn-danger:hover { background: var(--bad-tint); color: var(--bad); }
.btn-sm { min-height: 40px; padding: 8px 17px; font-size: .94rem; }
.btn-xs { min-height: 32px; padding: 5px 13px; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--dusk); text-decoration: none; }
.text-link .icon { width: 17px; height: 17px; transition: transform .18s; }
.text-link:hover .icon { transform: translateX(3px); }

/* Floating glass header */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; pointer-events: none; }
.header-inner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 62px; padding: 8px 10px 8px 18px; border-radius: 999px; background: rgba(255,255,255,.76); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255,255,255,.75); box-shadow: 0 1px 1px rgba(19,36,47,.04), 0 14px 34px -22px rgba(19,36,47,.5); transition: background .2s; }
.site-header.scrolled .header-inner { background: rgba(255,255,255,.93); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 750; letter-spacing: -.02em; font-size: 1.07rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 13px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .97rem; white-space: nowrap; }
.site-nav a:hover { background: var(--tint); }
.site-nav a[aria-current="page"] { background: var(--tint); }
.site-nav a.btn { color: #fff; padding-inline: 18px; margin-left: 6px; }
.site-nav a.btn:hover { background: var(--dusk-deep); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint); color: var(--dusk); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.btn { margin: 6px 0 0; }
}
@media (max-width: 400px) { .brand { font-size: .98rem; } }
/* AINS rule, November 8, 2026: on phones the header bar holds only the brand name and the menu button. */
/* AINS rule (November 8, 2026): on phones the logo stays beside the name, a little smaller. */
@media (max-width: 768px) { .site-header .brand img { width: 30px; height: 30px; border-radius: 9px; flex: none; } .site-header .brand { gap: 9px; min-width: 0; } .header-inner { padding-left: 12px; } }
[data-buy-product][hidden], [data-buy-off][hidden] { display: none !important; }

/* Home hero */
.page-home .site-header, .has-hero .site-header { margin-bottom: -86px; }
.hero { position: relative; isolation: isolate; background: var(--dusk-deep); color: #fff; overflow: clip; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img picture { height: 100%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.1) translate(-1.2%, -.8%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,28,38,.9) 0%, rgba(14,28,38,.74) 36%, rgba(14,28,38,.2) 64%, rgba(14,28,38,.05) 100%), linear-gradient(0deg, rgba(14,28,38,.5), rgba(14,28,38,0) 34%); }
.hero-body { padding: clamp(150px, 17vh, 200px) 0 clamp(64px, 9vh, 110px); min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.3vw, 4.5rem); line-height: 1.02; letter-spacing: -.04em; max-width: 11.5em; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 29em; margin: 0 0 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 550; font-size: .97rem; color: inherit; }
.ticks .icon { width: 18px; height: 18px; color: var(--gold-strong); stroke-width: 2.4; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(0deg, rgba(14,28,38,.96) 0%, rgba(14,28,38,.9) 38%, rgba(14,28,38,.62) 62%, rgba(14,28,38,.28) 82%, rgba(14,28,38,.12) 100%); }
  .hero-img img { object-position: 62% 30%; }
  .hero-body { min-height: 90vh; justify-content: flex-end; padding: 150px 0 48px; }
}
@media (prefers-reduced-motion: reduce) { .hero-img img { animation: none; } html { scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; } }

/* Sections */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-sm { padding: clamp(40px, 6vw, 68px) 0; }
.sec-sand { background: var(--sand); }
.sec-white { background: #fff; }
.sec-tint { background: var(--tint); }
.sec-dusk { background: radial-gradient(60% 90% at 90% 0%, rgba(247,165,49,.14) 0%, rgba(247,165,49,0) 60%), linear-gradient(165deg, #274558 0%, var(--dusk) 48%, var(--dusk-deep) 100%); color: rgba(255,255,255,.86); }
.sec-dusk h2, .sec-dusk h3 { color: #fff; }
.sec-dusk a { color: #fff; }
.sec-head { max-width: 42em; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
.page-hero { padding: clamp(112px, 13vw, 150px) 0 clamp(36px, 5vw, 60px); background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 100%); margin-top: -86px; }
.page-hero .lead { max-width: 38em; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); box-shadow: 0 1px 2px rgba(19,36,47,.03); }
.card h3:last-child, .card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: var(--body); transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint-2); color: var(--body); }
.chip-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--dusk); align-items: center; justify-content: center; margin-bottom: 16px; }
.chip-icon.gold { background: var(--gold-tint); color: var(--gold-ink); }
.triage a { display: flex; flex-direction: column; min-height: 100%; }
.triage .go { margin-top: auto; padding-top: 14px; color: var(--dusk); font-weight: 650; display: inline-flex; gap: 7px; align-items: center; }
.triage a:hover .go .icon { transform: translateX(3px); }
.triage .go .icon { width: 17px; height: 17px; transition: transform .18s; }

/* Question wall */
.wall { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.wall-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.wall-item q { display: block; quotes: none; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; font-weight: 400; color: var(--text); margin-bottom: 10px; font-style: italic; }
.wall-item p { margin: 0; font-size: .97rem; }

/* Obituary paper */
.paper { background: #FFFDF9; border: 1px solid #EDE6D9; border-radius: 12px; box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 46px); font-family: var(--serif); color: #27323B; font-size: 1.06rem; line-height: 1.7; font-weight: 400; }
.paper p { margin: 0 0 .9em; }
.paper p:last-child { margin-bottom: 0; }
.paper-name { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 4px; color: var(--text); text-wrap: balance; }
.paper-dates { color: var(--muted); font-style: italic; margin-bottom: 18px; }
.paper-rule { width: 54px; height: 2px; background: var(--gold); border: 0; margin: 0 0 18px; }
.tone-tabs, .tabs { display: flex; flex-wrap: wrap; gap: 6px; background: var(--tint); padding: 5px; border-radius: 999px; width: fit-content; max-width: 100%; margin-bottom: 18px; }
.tabs button, .tone-tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--dusk); }
.tabs button[aria-selected="true"], .tone-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 6px rgba(19,36,47,.12); }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-tint); color: var(--gold-ink); font-weight: 650; font-size: .82rem; border-radius: 999px; padding: 4px 11px; font-family: var(--sans); }
.tag.cool { background: var(--tint); color: var(--dusk); }
.tag.good { background: var(--good-tint); color: var(--good); }
.tag.bad { background: var(--bad-tint); color: var(--bad); }
.tag.plain { background: var(--sand); color: var(--body); }

/* Tracker mock */
.tracker { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); }
.tracker-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 16px; }
.tracker-head b { color: var(--text); font-size: 1.08rem; }
.bar { height: 8px; background: var(--tint); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--dusk-soft), var(--dusk)); border-radius: 99px; transition: width .6s; }
.bar.gold i { background: linear-gradient(90deg, var(--gold), var(--gold-strong)); }
.t-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--text); }
.t-row:last-child { border-bottom: 0; }
.t-row small { display: block; color: var(--muted); font-size: .86rem; }
.dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--tint-2); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.dot.done { background: var(--good); border-color: var(--good); }
.dot .icon { width: 14px; height: 14px; stroke-width: 3; }

/* Stats */
.stats { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.stat { border-top: 2px solid var(--gold); padding-top: 18px; }
.stat b { display: block; font-size: clamp(2.3rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -.04em; color: #fff; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat p { margin: 0 0 8px; }
.stat cite { font-style: normal; font-size: .84rem; opacity: .75; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; margin: 0; }
.steps li::before { content: counter(s); display: flex; width: 42px; height: 42px; border-radius: 50%; background: var(--dusk); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--dusk); box-shadow: var(--shadow); position: relative; }
.plan .price { font-size: 2.9rem; font-weight: 750; letter-spacing: -.04em; color: var(--text); line-height: 1; margin: 10px 0 6px; }
.plan .price small { font-size: .92rem; font-weight: 500; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--good); width: 19px; height: 19px; margin-top: 4px; stroke-width: 2.3; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--text); padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.4rem; font-weight: 400; color: var(--dusk-soft); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 16px; }

/* Closing band */
.closing { position: relative; isolation: isolate; color: #fff; overflow: clip; background: var(--dusk-deep); }
.closing picture, .closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,28,38,.82), rgba(14,28,38,.45)); }
.closing-in { padding: clamp(84px, 12vw, 150px) 0; max-width: 34em; }
.closing h2 { color: #fff; }
.closing p { color: rgba(255,255,255,.88); }

/* Footer */
.site-footer { background: var(--dusk-deep); color: rgba(255,255,255,.72); padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: .92rem; letter-spacing: 0; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-brand { color: #fff !important; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .86rem; }
.footer-legal p { margin: 0 0 6px; }
.mobile-cta { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; display: none; }
@media (max-width: 640px) { body.show-mcta .mobile-cta { display: flex; } }

/* Prose pages */
.prose { color: var(--body); }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -.022em; margin: 1.7em 0 .55em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .55em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 0 0 1.2em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 650; }
.table-wrap { overflow-x: auto; }
.note { background: var(--tint); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 1.2em; color: var(--text); }
.note.warm { background: var(--gold-tint); }
.note > :last-child { margin-bottom: 0; }
.source { font-size: .86rem; color: var(--muted); }
.source a { color: var(--muted); }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; margin-bottom: 14px; }
.fact h3 { margin-bottom: 8px; }
.fact.unverified { background: var(--sand); border-style: dashed; }
.fact blockquote { margin: 10px 0 8px; padding-left: 14px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1rem; color: var(--text); }
.state-grid { display: grid; gap: 8px 16px; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); list-style: none; padding: 0; }
.state-grid li { margin: 0; }
.toc { background: var(--sand); padding: 16px 20px 8px; border-radius: var(--radius-sm); margin-bottom: 1.6em; font-size: .97rem; }

/* Forms */
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 620; color: var(--text); margin-bottom: 6px; font-size: .97rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=search], input[type=number], input:not([type]), select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--tint-2); border-radius: 12px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible, input[type=date]:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--dusk-soft); box-shadow: 0 0 0 3px rgba(92,124,142,.2); }
textarea { min-height: 110px; line-height: 1.5; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--body); margin-bottom: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--dusk); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.status-line { margin-top: 12px; font-weight: 600; min-height: 1.4em; }
.status-line.ok { color: var(--good); }
.status-line.err { color: var(--bad); }

/* Obituary wizard */
.wiz { max-width: 720px; margin-inline: auto; }
.wiz-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.wiz-steps { display: flex; gap: 6px; margin-bottom: 8px; }
.wiz-steps i { flex: 1; height: 6px; border-radius: 9px; background: var(--tint-2); transition: background .3s; }
.wiz-steps i.on { background: var(--dusk); }
.wiz-count { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.tone-pick { display: grid; gap: 10px; }
.result-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .result-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; } .result-side { position: sticky; top: 92px; } }
.editable { width: 100%; min-height: 380px; border: 0; background: transparent; font: inherit; padding: 0; resize: vertical; color: inherit; }
.editable:focus { outline: none; box-shadow: none; }
.loader { text-align: center; padding: 56px 12px; }
.loader .sun { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle, var(--gold-strong), var(--gold)); margin: 0 auto 20px; animation: glow 2.2s ease-in-out infinite; }
@keyframes glow { 0%, 100% { transform: scale(.9); box-shadow: 0 0 0 0 rgba(247,165,49,.35); } 50% { transform: scale(1); box-shadow: 0 0 0 20px rgba(247,165,49,0); } }

/* Dialog */
dialog { border: 0; border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); max-width: min(520px, calc(100vw - 32px)); width: 100%; box-shadow: var(--shadow-lg); color: var(--body); }
dialog::backdrop { background: rgba(19,36,47,.55); backdrop-filter: blur(3px); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--dusk-deep); color: #fff; padding: 11px 20px; border-radius: 999px; opacity: 0; transition: .25s; pointer-events: none; z-index: 90; font-weight: 550; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Print: the obituary and the checklist print clean. */
@media print {
  .site-header, .site-footer, .mobile-cta, .no-print, .closing { display: none !important; }
  body { background: #fff; font-size: 11.5pt; }
  .page-hero { background: none; padding: 0 0 12px; margin: 0; }
  .card, .fact, .paper { box-shadow: none; border: 0; padding: 0; }
  .paper { font-size: 12.5pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: inherit; text-decoration: none; }
}

/* Account and admin */
.app-wrap { padding: 28px 0 72px; min-height: 70vh; }
.sign-card { max-width: 460px; margin: 40px auto; }
.app-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.app-top h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0; }
.app-nav { display: flex; gap: 4px; overflow-x: auto; padding: 5px; background: var(--tint); border-radius: 999px; margin-bottom: 24px; scrollbar-width: none; }
.app-nav a { padding: 8px 15px; border-radius: 999px; text-decoration: none; color: var(--dusk); font-weight: 600; font-size: .94rem; white-space: nowrap; }
.app-nav a[aria-current] { background: #fff; box-shadow: 0 2px 6px rgba(19,36,47,.12); }
.app-nav a:hover { background: rgba(255,255,255,.6); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.step summary { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 620; color: var(--text); }
.step summary::-webkit-details-marker { display: none; }
.step-body { padding: 0 18px 18px 58px; }
@media (max-width: 560px) { .step-body { padding-left: 18px; } }
.step.is-done summary span.title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--tint-2); }
.step-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.ring { --p: 0; width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--gold-strong) calc(var(--p) * 1%), var(--tint) 0); display: grid; place-items: center; flex: none; }
.ring b { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.45rem; letter-spacing: -.03em; color: var(--text); }
.kpi { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 20px; }
.kpi .card { padding: 16px 18px; }
.kpi b { display: block; font-size: 1.7rem; color: var(--text); letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi span { font-size: .9rem; color: var(--muted); }
.list-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-row:last-child { border-bottom: 0; }
.list-row > div:first-child { min-width: 0; flex: 1 1 220px; }
.letter-paper { white-space: pre-wrap; font-family: var(--serif); font-size: 1rem; line-height: 1.65; }
.locked { background: var(--gold-tint); border: 1px solid #F1DDB6; border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 18px; color: var(--text); }
.data { width: 100%; border-collapse: collapse; font-size: .94rem; }
.data th, .data td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { color: var(--muted); font-weight: 600; font-size: .84rem; }
.data tr[data-href] { cursor: pointer; }
.data tr[data-href]:hover td { background: var(--tint); }
.admin-layout { display: grid; gap: 26px; }
@media (min-width: 960px) { .admin-layout { grid-template-columns: 200px minmax(0, 1fr); } .admin-side { position: sticky; top: 90px; align-self: start; } }
.admin-side a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 560; }
.admin-side a[aria-current], .admin-side a:hover { background: var(--tint); }
.bubble { padding: 12px 16px; border-radius: 14px; margin-bottom: 10px; max-width: 86%; white-space: pre-wrap; }
.bubble.in { background: var(--tint); }
.bubble.out { background: var(--gold-tint); margin-left: auto; }
.setup-ok { color: var(--good); } .setup-no { color: var(--bad); font-weight: 600; }
.rounded { border-radius: var(--radius); }
.page-hero + .sec-sm { padding-top: 10px; }

/* Motion and finish, shared by every page */
.reveal { transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.page-hero { position: relative; isolation: isolate; overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(42% 80% at 88% 8%, rgba(247,165,49,.16), rgba(247,165,49,0) 70%); }
.page-hero h1, .page-hero .lead, .page-hero .btn-row { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .lead { animation-delay: .1s; }
.page-hero .btn-row { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.faq details { transition: box-shadow .2s, border-color .2s; }
.faq details:hover { border-color: var(--tint-2); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary::after { transition: transform .2s; }
.faq details > div { animation: rise .35s ease both; }
.plan { transition: transform .22s, box-shadow .22s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.closing img { animation: drift 28s ease-in-out infinite alternate; }
@media (max-width: 640px) {
  .mobile-cta { display: flex; transform: translateY(160%); opacity: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
  body.show-mcta .mobile-cta { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero h1, .page-hero .lead, .page-hero .btn-row, .faq details > div, .closing img { animation: none; }
  .reveal { transition: none; }
  .mobile-cta { transition: none; }
}

/* ===== Liquid glass, quieter surfaces, softer motion (November 8, 2026) =====
   The same layer as Plan Before You Die, in the dusk palette. Glass only where something shows through it: the
   floating header, the pills and buttons on the dark hero and bands, and the phone button bar. Light sections get
   calmer cards. Two motion curves: a glide for arrivals and a small spring for touches. Reduced motion, reduced
   transparency, missing backdrop-filter and print all fall back to solid, still surfaces. */
:root {
  --ease-glide: cubic-bezier(.32, .72, 0, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --glass-blur: blur(20px) saturate(140%);
  --glass-light: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .84));
  --glass-dark: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  --glass-edge-light: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .4);
  --glass-edge-dark: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .05), inset 0 0 0 1px rgba(255, 255, 255, .1);
  --lift: 0 1px 2px rgba(19, 36, 47, .04), 0 14px 34px -26px rgba(19, 36, 47, .4);
  --lift-hover: 0 2px 4px rgba(19, 36, 47, .04), 0 26px 48px -30px rgba(19, 36, 47, .52);
  --hairline: rgba(27, 42, 54, .08);
  interpolate-size: allow-keywords;
}

/* Floating header: a pane of glass with a lit top edge and a soft sheen. */
.header-inner {
  isolation: isolate;
  background: var(--glass-light);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--glass-edge-light), 0 10px 30px -20px rgba(19, 36, 47, .5);
  transition: background .5s var(--ease-glide), box-shadow .5s var(--ease-glide);
}
.header-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 160% at 10% -50%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 55%);
  opacity: .7; transition: opacity .5s var(--ease-glide);
}
.site-header.scrolled .header-inner { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .91)); box-shadow: var(--glass-edge-light), 0 18px 40px -22px rgba(19, 36, 47, .5); }
.site-header.scrolled .header-inner::before { opacity: .45; }
.site-nav a { transition: background-color .3s var(--ease-glide), color .3s var(--ease-glide); }
.nav-toggle { background: rgba(255, 255, 255, .55); box-shadow: var(--glass-edge-light), 0 0 0 1px rgba(27, 42, 54, .08); transition: transform .45s var(--ease-spring), background-color .3s; }
.nav-toggle:active { transform: scale(.92); transition-duration: .1s; }

/* Phone and tablet menu. Solid white on purpose: inside the header's backdrop-filter, any transparency lets the
   page show through the links in Chrome (seen on Plan Before You Die, November 8, 2026). The glass is in the edge. */
@media (max-width: 1040px) {
  .site-nav { background: #fff; border: 1px solid rgba(255, 255, 255, .6); box-shadow: var(--glass-edge-light), 0 30px 60px -28px rgba(19, 36, 47, .55); transform-origin: top center; }
  .site-nav.open { animation: glassDrop .5s var(--ease-glide) both; }
  .site-nav.open > * { animation: glassItem .5s var(--ease-glide) both; }
  .site-nav.open > :nth-child(2) { animation-delay: .03s; }
  .site-nav.open > :nth-child(3) { animation-delay: .06s; }
  .site-nav.open > :nth-child(4) { animation-delay: .09s; }
  .site-nav.open > :nth-child(5) { animation-delay: .12s; }
  .site-nav.open > :nth-child(n+6) { animation-delay: .15s; }
}
@keyframes glassDrop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes glassItem { from { opacity: 0; transform: translateY(-4px); } }

/* Buttons: a lit top edge like a drop of glass, a soft press, and a spring back. */
.btn { transition: transform .5s var(--ease-spring), box-shadow .35s var(--ease-glide), background-color .3s var(--ease-glide), border-color .3s var(--ease-glide), color .3s var(--ease-glide); }
.btn:active { transform: scale(.97); transition-duration: .12s, .35s, .3s, .3s, .3s; }
.btn .icon { transition: transform .45s var(--ease-spring); }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .16), 0 12px 26px -14px rgba(19, 36, 47, .7); }
.btn-gold { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 70, 0, .2), 0 14px 30px -14px rgba(180, 110, 10, .75); }
.btn-light { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(19, 36, 47, .08), 0 14px 30px -18px rgba(0, 0, 0, .5); }
.btn-ghost {
  background: var(--glass-light);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-color: var(--hairline); box-shadow: var(--glass-edge-light), 0 8px 20px -16px rgba(19, 36, 47, .4);
}
.btn-glass {
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-color: rgba(255, 255, 255, .24); box-shadow: var(--glass-edge-dark);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }

/* Light sections: quieter cards. Hairline edge, one soft shadow, a gentle lift on hover. */
.card, .faq details, .plan { border-color: var(--hairline); box-shadow: var(--lift); }
a.card, .plan { transition: transform .6s var(--ease-spring), box-shadow .45s var(--ease-glide), border-color .45s var(--ease-glide); }
@media (hover: hover) {
  a.card:hover, .plan:hover { transform: translateY(-3px); border-color: rgba(27, 42, 54, .12); box-shadow: var(--lift-hover); }
}

/* Questions open and close smoothly where the browser can animate to auto height. */
.faq details { transition: box-shadow .45s var(--ease-glide), border-color .45s var(--ease-glide); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-glide), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details[open] { border-color: rgba(27, 42, 54, .12); box-shadow: var(--lift-hover); }
.faq summary::after { transition: transform .5s var(--ease-spring); }

/* Sections arrive with a glide and come into focus, instead of only sliding. */
.reveal { transform: translateY(14px); transition: opacity .7s var(--ease-glide), transform .7s var(--ease-glide); transition-delay: var(--d, 0ms); }
.reveal.in, .no-js .reveal { transform: none; filter: none; }

/* Phone button bar: tinted glass, so the page shows through as it scrolls. */
@media (max-width: 640px) {
  .mobile-cta {
    background: rgba(32, 57, 74, .92);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 40px -12px rgba(19, 36, 47, .55);
    transition: transform .6s var(--ease-glide), opacity .4s var(--ease-glide);
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-inner, .btn-ghost { background: rgba(255, 255, 255, .96); }
  .mobile-cta { background: var(--dusk); }
}
@media (prefers-reduced-transparency: reduce) {
  .header-inner, .site-header.scrolled .header-inner, .btn-ghost { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-inner::before { display: none; }
  .mobile-cta { background: var(--dusk); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn-glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; transform: none; }
  .site-nav.open, .site-nav.open > * { animation: none; }
  .btn, .btn:hover, .btn:active, .nav-toggle:active { transform: none; }
  .faq details::details-content { transition: none; }
  a.card:hover, .plan:hover { transform: none; }
}
@media print {
  .header-inner, .btn, .card, .faq details, .plan { box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .reveal { filter: none !important; }
}

/* Obituary writer: optional detail behind a toggle (audit, November 9, 2026) */
.more-fields { margin: 4px 0 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.more-fields > summary { cursor: pointer; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.more-fields[open] > summary { margin-bottom: 16px; }

/* ===== Inner pages brought up to the home page (November 9, 2026) =====
   One set of parts for every page under the home page: a hero with a quiet flock and small facts, "on this page"
   links beside long pages, linked cards with an arrow, numbers people came for shown large, and tables that turn
   into cards on a phone so no column is cut off. Nothing here needs JavaScript to read. */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--tint); color: var(--dusk); }
.ico .icon { width: 22px; height: 22px; stroke-width: 1.7; }
.ico.gold { background: var(--gold-tint); color: var(--gold-ink); }
.ico.white { background: #fff; box-shadow: var(--lift); }
.h-sub { font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -.022em; margin: 44px 0 18px; }
.h-sub:first-child { margin-top: 0; }
.over { font-size: .86rem; font-weight: 700; color: var(--gold-ink); margin: 0 0 12px; }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--tint) 0%, #F1F2EE 55%, var(--paper) 100%); }
.page-hero .container { position: relative; }
.ph-main { max-width: 860px; }
.page-hero h1 { margin-bottom: .38em; }
.ph-flock { position: absolute; z-index: -1; top: clamp(96px, 11vw, 128px); right: max(28px, calc((100vw - 1160px) / 2)); width: clamp(190px, 21vw, 290px); overflow: visible; pointer-events: none; animation: phDrift 16s ease-in-out infinite alternate; }
.ph-flock path { fill: rgba(47, 81, 102, .2); transform-box: fill-box; transform-origin: 50% 60%; animation: phFlap 1.7s ease-in-out infinite; }
.ph-flock .fl1 { animation-delay: -.55s; } .ph-flock .fl2 { animation-delay: -1.1s; }
@keyframes phFlap { 0%, 100% { transform: none; } 50% { transform: scaleY(.64); } }
@keyframes phDrift { from { transform: translate(-22px, 8px); } to { transform: translate(12px, -6px); } }
@media (max-width: 1039px) { .ph-flock { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs i { font-style: normal; margin: 0 8px; opacity: .55; }
.crumbs a { padding: 4px 0; }
.eyebrow { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--hairline); margin-bottom: 16px; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 6px 13px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid var(--hairline); box-shadow: var(--glass-edge-light); font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.chips .icon { width: 16px; height: 16px; color: var(--gold-ink); stroke-width: 2.2; }
.page-hero .chips, .page-hero .jump, .page-hero .crumbs, .page-hero .ph-aside { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .16s; }
.page-hero .crumbs { animation-delay: 0s; }
.page-hero .ph-aside { animation-delay: .22s; }
.page-hero.has-aside .container { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) { .page-hero.has-aside .container { grid-template-columns: 1.1fr .9fr; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--hairline); box-shadow: var(--lift); text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--text); white-space: nowrap; transition: border-color .3s var(--ease-glide), transform .45s var(--ease-spring); }
.jump a:hover { border-color: var(--dusk-soft); transform: translateY(-1px); }
.jump a b { color: var(--gold-ink); }
@media (max-width: 700px) { .jump { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; } .jump::-webkit-scrollbar { display: none; } .jump a { flex: none; min-height: 44px; } }

/* Long pages: text, with "on this page" beside it on wide screens */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); }
.doc-main { min-width: 0; width: 100%; max-width: 760px; margin-inline: auto; }
.doc-aside { display: none; }
@media (min-width: 1040px) {
  .doc { grid-template-columns: minmax(0, 720px) 276px; justify-content: space-between; gap: 56px; }
  .doc-main { margin-inline: 0; }
  .doc-aside { display: block; position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; }
  .toc-m { display: none; }
}
.prose h2 { scroll-margin-top: 104px; }
.toc-h { font-size: .88rem; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin: 0; }
.toc .toc-list { border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .93rem; line-height: 1.35; transition: color .25s, border-color .25s; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); font-weight: 650; border-left-color: var(--gold-strong); }
.toc-m { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 1.6em; box-shadow: var(--lift); }
.toc-m summary { position: relative; cursor: pointer; font-weight: 650; color: var(--text); padding: 14px 28px 14px 0; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; font-weight: 400; color: var(--dusk-soft); }
.toc-m[open] summary::after { content: "−"; }
.toc-m .toc-list { padding-bottom: 12px; }
.toc-m a { display: block; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--dusk); font-weight: 550; }
.side-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--lift); }
.side-card > b { color: var(--text); font-size: 1.06rem; line-height: 1.3; }
.side-card p { margin: 0; font-size: .94rem; }
.side-card .ticklist { margin: 2px 0 4px; font-size: .95rem; }
.doc-aside .toc + .side-card { margin-top: 26px; }
.side-stack { display: grid; gap: 14px; align-content: start; }
.two { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } .two.wide-left { grid-template-columns: 1.35fr .65fr; } }

/* Reading */
.prose ol:not([class]) { list-style: none; padding-left: 0; counter-reset: li; }
.prose ol:not([class]) > li { counter-increment: li; position: relative; padding-left: 2.6em; margin-bottom: .75em; }
.prose ol:not([class]) > li::before { content: counter(li); position: absolute; left: 0; top: .06em; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--tint); color: var(--dusk); font-weight: 700; font-size: .86em; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.prose ul:not([class]) > li::marker { color: var(--gold); }
.prose > p > a, .prose li > a { font-weight: 550; }
.note { border: 1px solid rgba(47, 81, 102, .1); }
.note.warm { border-color: #F1DDB6; }
.sources { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1em; display: grid; gap: 7px; }
.sources li { counter-increment: s; margin: 0; display: flex; gap: 10px; align-items: baseline; font-size: .95rem; }
.sources li::before { content: counter(s); flex: none; min-width: 1.4em; font-weight: 700; font-size: .84em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.glink { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 54px 18px 20px; background: #fff; border: 1px solid var(--hairline); border-radius: 18px; box-shadow: var(--lift); text-decoration: none; color: var(--body); transition: opacity .7s var(--ease-glide), transform .6s var(--ease-spring), box-shadow .45s var(--ease-glide), border-color .45s var(--ease-glide); transition-delay: var(--d, 0ms), 0s, 0s, 0s; }
.glink b { color: var(--text); font-size: 1.06rem; line-height: 1.28; letter-spacing: -.012em; text-wrap: balance; }
.glink > span:not(.ico) { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.glink .ico { margin-bottom: 8px; }
.glink > i { position: absolute; right: 16px; top: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--dusk); transition: background-color .3s, color .3s, transform .45s var(--ease-spring); }
.glink > i .icon { width: 14px; height: 14px; stroke-width: 2.3; }
@media (hover: hover) { .glink:hover { transform: translateY(-2px); box-shadow: var(--lift-hover); border-color: rgba(27, 42, 54, .12); color: var(--body); } .glink:hover > i { background: var(--dusk); color: #fff; transform: translateX(2px); } }
.next-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.ticklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticklist li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.ticklist .icon { flex: none; width: 19px; height: 19px; margin-top: 4px; color: var(--good); stroke-width: 2.4; }
.ticklist.roomy { gap: 14px; }
.tiles { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tiles li { display: flex; gap: 14px; align-items: center; margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--hairline); border-radius: 16px; box-shadow: var(--lift); color: var(--text); font-weight: 550; line-height: 1.35; }

/* Guides index */
.ggroup { display: grid; gap: 16px 40px; padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.ggroup:first-child { border-top: 0; padding-top: 6px; }
.ggroup-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ggroup-h h2 { font-size: 1.42rem; letter-spacing: -.02em; margin: 0; }
.ggroup-h p { margin: 0; flex-basis: 100%; }
.ggroup-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); align-content: start; }
@media (min-width: 900px) { .ggroup { grid-template-columns: 236px minmax(0, 1fr); } .ggroup-h { position: sticky; top: 104px; align-self: start; flex-direction: column; align-items: flex-start; gap: 10px; } .ggroup-h p { flex-basis: auto; margin-top: -6px; } }

/* State pages */
.glance-sec { padding: 4px 0 0 !important; }
.glance { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.glance a { display: flex; flex-direction: column; gap: 3px; padding: 18px 20px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--hairline); box-shadow: var(--lift); text-decoration: none; color: var(--body); transition: transform .6s var(--ease-spring), box-shadow .45s var(--ease-glide); }
@media (hover: hover) { .glance a:hover { transform: translateY(-2px); box-shadow: var(--lift-hover); } }
.glance .ico { width: 40px; height: 40px; margin-bottom: 12px; }
.glance-k { font-size: .85rem; font-weight: 650; color: var(--muted); }
.glance b { font-size: 1.75rem; letter-spacing: -.035em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.glance b.long { font-size: 1.14rem; letter-spacing: -.012em; line-height: 1.25; }
.glance small { font-size: .88rem; line-height: 1.4; color: var(--muted); margin-top: 4px; }
@media (max-width: 520px) { .glance { grid-template-columns: 1fr 1fr; gap: 8px; } .glance a { padding: 14px 14px 16px; border-radius: 16px; } .glance b { font-size: 1.32rem; } .glance .ico { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 8px; } .glance .ico .icon { width: 18px; height: 18px; } }
.fact { border-color: var(--hairline); border-radius: 18px; box-shadow: var(--lift); }
.fact.unverified { box-shadow: none; border-color: var(--sand-2); }
.fact.unverified ul { margin-bottom: .7em; }
.fact > :last-child { margin-bottom: 0; }
.kv { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 2px 0 12px; }
.kv span { display: flex; flex-direction: column; font-size: .86rem; line-height: 1.3; color: var(--muted); }
.kv b { font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.15; color: var(--text); font-variant-numeric: tabular-nums; }
.numbered { counter-reset: f; }
.numbered > .fact { counter-increment: f; position: relative; padding-left: 70px; }
.numbered > .fact::before { content: counter(f); position: absolute; left: 20px; top: 19px; width: 32px; height: 32px; border-radius: 50%; background: var(--dusk); color: #fff; font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
@media (max-width: 520px) { .numbered > .fact { padding: 62px 20px 20px; } }
.pick-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.pick-head h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -.022em; }
.pick-head > p { flex: 1 1 280px; }
.filter { position: relative; display: block; width: min(100%, 290px); }
.filter .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.filter input { padding-left: 44px; border-radius: 999px; min-height: 46px; }
.no-js [data-filter-wrap] { display: none; }
.state-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr)); gap: 8px; margin: 0; }
.state-tiles a { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 12px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--hairline); text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.2; transition: border-color .3s, box-shadow .3s, transform .45s var(--ease-spring); }
.state-tiles abbr { flex: none; width: 38px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--tint); color: var(--dusk); font-size: .78rem; font-weight: 750; letter-spacing: .03em; text-decoration: none; transition: background-color .3s, color .3s; }
@media (hover: hover) { .state-tiles a:hover { border-color: var(--dusk-soft); box-shadow: var(--lift); transform: translateY(-1px); } .state-tiles a:hover abbr { background: var(--dusk); color: #fff; } }

/* Tables */
.ref-wrap { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--lift); margin-bottom: 1.2em; }
.prose table.ref { margin: 0; font-size: .94rem; }
.ref thead th { background: var(--sand); color: var(--muted); font-size: .84rem; font-weight: 650; white-space: nowrap; border-bottom-color: var(--sand-2); }
.ref thead th:first-child { border-top-left-radius: var(--radius); } .ref thead th:last-child { border-top-right-radius: var(--radius); }
.ref tbody th { white-space: nowrap; }
.ref tbody th a { color: var(--text); text-decoration-color: var(--tint-2); }
.ref tbody:last-child tr:last-child > * { border-bottom: 0; }
.ref .num { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--text); }
@media (hover: hover) { .ref tbody:hover > tr > * { background: #FDFBF7; } }
@media (min-width: 900px) { .ref-wrap { overflow: visible; } .ref thead th { position: sticky; top: 86px; z-index: 2; box-shadow: 0 1px 0 var(--sand-2); } }
.compare-card { padding: 6px clamp(6px, 2vw, 18px) 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { padding-top: 18px; font-size: 1rem; color: var(--text); }
.compare tbody th { font-weight: 600; color: var(--text); }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--good-tint); color: var(--good); vertical-align: middle; }
.yes .icon { width: 14px; height: 14px; stroke-width: 3; }
.no { color: var(--muted); font-size: .9rem; }
@media (min-width: 701px) { .compare .feat { background: var(--tint); } .compare thead .feat { border-radius: 14px 14px 0 0; } .compare tbody tr:last-child .feat { border-radius: 0 0 14px 14px; } }
@media (max-width: 700px) {
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; }
  table.stack thead { position: absolute; left: -9999px; }
  table.stack th, table.stack td { border: 0; padding: 0; }
  table.stack tbody th { white-space: normal; font-size: 1.06rem; margin-bottom: 6px; }
  table.stack td[data-label] { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 3px 0; }
  table.stack td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .86rem; font-weight: 600; }
  table.stack tr + tr { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
  .ref.stack tbody { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .ref.stack tbody:last-child { border-bottom: 0; }
  .ref-wrap { overflow: hidden; }
  .compare.stack tr, .found.stack tr { padding: 14px 4px; }
  .compare.stack tr + tr, .found.stack tr + tr { margin-top: 0; border-top-style: solid; }
  .compare-card { padding: 4px 16px; }
}

/* Plans */
.plans { margin-top: 14px; }
.plan { position: relative; }
.plan h3 { margin-bottom: 0; }
.plan .price { margin: 12px 0 2px; font-size: 3.1rem; }
.price-note { margin: 0 0 12px; font-size: .9rem; font-weight: 550; color: var(--muted); }
.plan-line { margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; line-height: 1.4; min-height: 3.2em; }
.plan ul { margin: 18px 0 26px; }
.plan-flag { position: absolute; top: -13px; left: 22px; background: var(--gold-strong); color: #2B1B02; box-shadow: 0 8px 16px -10px rgba(138, 90, 16, .7); }
.plan-buy { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.plan-buy .btn { width: 100%; margin: 0; }
.plan-buy p { margin: 0; }
.plan.featured { border-color: var(--dusk); box-shadow: var(--lift-hover); }
@media (max-width: 640px) { .plan-line { min-height: 0; } }
.btn-row [data-buy-off] { flex-basis: 100%; order: 5; margin: 0; }

/* Paid help */
.product { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--lift); scroll-margin-top: 104px; }
.product:target { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint), var(--lift); }
.product header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 18px; }
.product h3 { flex: 1 1 180px; margin: 0; font-size: 1.3rem; }
.price-pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 14px; border-radius: 999px; background: var(--dusk); color: #fff; font-weight: 750; font-size: 1.08rem; letter-spacing: -.02em; white-space: nowrap; }
.price-pill small { font-size: .8rem; font-weight: 550; letter-spacing: 0; opacity: .82; }
.terms { display: grid; gap: 14px 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin: 0 0 20px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.terms dt { font-size: .82rem; font-weight: 700; color: var(--gold-ink); margin-bottom: 3px; }
.terms dd { margin: 0; font-size: .92rem; line-height: 1.5; }
.product-buy p { margin: 0; }
.addon { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 20px 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--hairline); box-shadow: var(--lift); text-decoration: none; color: var(--body); transition: opacity .7s var(--ease-glide), transform .6s var(--ease-spring), box-shadow .45s var(--ease-glide); transition-delay: var(--d, 0ms), 0s, 0s; }
.addon .price-pill { justify-self: end; background: var(--gold-tint); color: var(--gold-ink); }
.addon b { grid-column: 1 / -1; margin-top: 12px; color: var(--text); font-size: 1.1rem; line-height: 1.3; }
.addon > span:not(.ico):not(.price-pill) { grid-column: 1 / -1; padding-right: 36px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.addon > i { position: absolute; right: 16px; bottom: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--dusk); transition: background-color .3s, color .3s; }
.addon > i .icon { width: 14px; height: 14px; stroke-width: 2.3; }
@media (hover: hover) { .addon:hover { transform: translateY(-2px); box-shadow: var(--lift-hover); color: var(--body); } .addon:hover > i { background: var(--dusk); color: #fff; } }

/* Search Kit */
.mock { width: 100%; max-width: 440px; margin-inline: auto; border-color: var(--hairline); }
.mock .t-row em { font-style: normal; }
.mock .t-row:last-child { padding-bottom: 2px; }
.path-sec { display: grid; gap: 26px clamp(32px, 6vw, 84px); }
.path-head .lead { margin-bottom: 18px; }
@media (min-width: 940px) { .path-sec { grid-template-columns: .78fr 1.22fr; align-items: start; } .path-head { position: sticky; top: 112px; } }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: p; }
.path li { counter-increment: p; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--hairline); border-radius: 18px; box-shadow: var(--lift); }
.path h3 { margin: 0 0 2px; font-size: 1.1rem; }
.path h3::before { content: counter(p) ". "; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.path p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--muted); }
.path-n { padding: 4px 10px; border-radius: 999px; background: var(--gold-tint); color: var(--gold-ink); font-size: .84rem; font-weight: 650; white-space: nowrap; }
@media (max-width: 520px) { .path li { grid-template-columns: 44px minmax(0, 1fr); align-items: start; } .path-n { grid-column: 2; justify-self: start; margin-top: 6px; } }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.doc-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 16px 2px; border-top: 1px solid var(--line); }
.doc-list .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--gold-ink); }
.doc-list b { display: block; color: var(--text); font-size: 1.02rem; line-height: 1.3; }
.doc-list span { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.feature .ico { margin-bottom: 16px; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; }

/* Checklist, report, small parts */
.group-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.group-cards > li { position: relative; margin: 0; }
.group-cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.group-cards .ico { margin-bottom: 14px; }
.group-n { position: absolute; top: 28px; right: 26px; font-size: .84rem; font-weight: 700; color: var(--muted); }
.group-cards ul { padding-left: 1.1em; margin-bottom: 0; }
.group-cards ul li::marker { color: var(--gold); }
.report-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.report-sum { text-align: right; }
.report-sum b { font-size: 2.2rem; letter-spacing: -.035em; line-height: 1.1; color: var(--text); }
.report-sum p { margin: 0 0 4px; }
@media (max-width: 560px) { .report-sum { text-align: left; } }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row input { flex: 1; min-width: 0; }
.copy-row .btn { flex: none; min-height: 48px; }
.wiz-card { border-color: var(--hairline); }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(247, 165, 49, .5), transparent); }

@media (prefers-reduced-motion: reduce) {
  .ph-flock, .ph-flock path, .page-hero .chips, .page-hero .jump, .page-hero .crumbs, .page-hero .ph-aside { animation: none; }
  .glink, .addon, .glance a, .state-tiles a, .jump a { transition: none; }
  .glink:hover, .addon:hover, .glance a:hover, .state-tiles a:hover, .jump a:hover { transform: none; }
}
@media print {
  .doc-aside, .toc-m, .jump, .ph-flock, .filter, .chips { display: none !important; }
  .doc { display: block; }
  .glink, .product, .addon, .side-card, .glance a, .ref-wrap { box-shadow: none !important; }
}
.doc-aside .toc { background: none; padding: 0; margin: 0; border-radius: 0; font-size: inherit; }
.next-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.state-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 174px), 1fr)); }
.state-tiles a span { min-width: 0; }
@media (max-width: 520px) { .state-tiles { grid-template-columns: 1fr 1fr; } .state-tiles a { font-size: .89rem; gap: 8px; padding-right: 8px; } .state-tiles abbr { width: 32px; height: 30px; font-size: .74rem; } }
.fact > h3:first-child { margin-top: 0; }
.numbered > .fact::before { top: 17px; }
@media (max-width: 520px) { .glance a:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.doc-list span { display: block; }
.ref .num, .ref .nw { white-space: nowrap; }
.ref .strong { font-weight: 650; color: var(--text); }
@media (max-width: 768px) { .crumbs { margin-bottom: 4px; } .crumbs a { display: inline-flex; align-items: center; min-height: 44px; } .btn-sm { min-height: 44px; } }

/* SEO and AEO pass, November 11, 2026. The short answer under a headline. */
.answer{border-left:4px solid #20394A;background:#fff;border-radius:12px;padding:16px 20px;margin:0 0 28px;box-shadow:0 1px 0 rgba(32,57,74,.06)}
.answer .answer-k{font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5b6b76;margin:0 0 6px}
.answer p:last-child{margin:0;font-size:1.05rem;line-height:1.6}
.tpl{white-space:pre-wrap;font-family:inherit;background:#fff;border:1px solid rgba(32,57,74,.15);border-radius:12px;padding:18px 20px;line-height:1.7;margin:0 0 12px}
@media print{.answer{box-shadow:none;border:1px solid #999}}
/* Build 8. Key facts and "How we checked this" */
.key-facts{background:#fff;border:1px solid rgba(32,57,74,.12);border-radius:12px;padding:16px 20px;margin:0 0 28px}
.key-facts h2{margin:0 0 8px;font-size:1rem}
.key-facts ul{margin:0;padding-left:1.1em}
.key-facts li{margin:0 0 8px;line-height:1.55}
.key-facts li:target{background:#FFF6DD;border-radius:6px}
.checked{border-top:1px solid rgba(32,57,74,.14);margin:32px 0 0;padding:16px 0 0;font-size:.92rem;color:#3c4d58}
.checked .checked-h{margin:0 0 4px}
.checked p{margin:0 0 6px}
/* Build 9. Plain link lists in two columns */
ul.cols{columns:2;column-gap:32px}
ul.cols li{break-inside:avoid}
@media (max-width:600px){ul.cols{columns:1}}

/* Free tools lists (AINS playbook pass, November 12, 2026). Lists so the release gate can drop held tools one by one. */
.tool-note .tool-links{margin:.5em 0 0;padding-left:1.2em}
.tool-note .tool-links li{margin:.25em 0}
.tool-note .tool-links a{display:inline-block;min-height:44px;line-height:44px}
@media (min-width:768px){.tool-note .tool-links a{min-height:0;line-height:inherit}}

/* Partner kit: the handout preview on screen, and only the handout when printed (November 12, 2026). */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.handout { padding: 8px 16px 40px; }
.handout-page { max-width: 560px; margin: 0 auto; background: #fff; color: #1F2A28; border: 1px solid #DCE3E1; border-radius: 16px; padding: 36px 32px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.handout-from { font-size: .9rem; color: #5B6866; margin: 0 0 10px; }
.handout-h { font-size: 2rem; line-height: 1.15; margin: 0 0 8px; }
.handout-lead { font-size: 1.1rem; margin: 0 auto 18px; max-width: 26em; }
.handout-qr { width: 220px; height: 220px; margin: 0 auto 10px; }
.handout-qr svg { width: 100%; height: 100%; display: block; }
.handout-scan { margin: 0; font-size: .9rem; color: #5B6866; }
.handout-url { font-weight: 700; font-size: 1.05rem; margin: 2px 0 18px; word-break: break-all; }
.handout-list { text-align: left; max-width: 22em; margin: 0 auto 18px; padding-left: 1.2em; }
.handout-list li { margin: 4px 0; }
.handout-fine { font-size: .8rem; color: #6B7775; margin: 0; }
@media print {
  body.kit .site-header, body.kit .site-footer, body.kit .kit-noprint, body.kit .skip, body.kit .toast, body.kit .mobile-cta { display: none !important; }
  body.kit .handout { padding: 0; }
  body.kit .handout-page { border: 0; box-shadow: none; max-width: none; padding: 40px 24px; }
  body.kit .handout-h { font-size: 34pt; }
  body.kit .handout-lead { font-size: 15pt; }
  body.kit .handout-qr { width: 3in; height: 3in; }
  body.kit .handout-list, body.kit .handout-url { font-size: 13pt; }
}
.kit-top { padding-bottom: 0; }
.kit-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.kit-jump a { font-size: .9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #DCE3E1; text-decoration: none; color: inherit; }
.handout-sample { margin: 0; }
.handout-sample .handout-page { transform: rotate(-1.5deg); padding: 26px 22px; max-width: 360px; }
.handout-sample .handout-h { font-size: 1.5rem; }
.handout-sample .handout-lead { font-size: .95rem; }
.handout-sample .handout-qr { width: 150px; height: 150px; }
.handout-sample .handout-list, .handout-sample .handout-url { font-size: .9rem; }
.handout-sample figcaption { text-align: center; font-size: .85rem; color: #5B6866; margin-top: 14px; }
@media (max-width: 939px) { .handout-sample { display: none; } }

/* Obituary writer, November 12, 2026 (polish pass): hero, wizard, family list, names check, result, cards */
:root { --print-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The writer's hero sits centered over the form it introduces */
.page-hero:has(+ .sec-sm #wiz) .ph-main { max-width: 760px; margin-inline: auto; text-align: center; }
.page-hero:has(+ .sec-sm #wiz) .lead { margin-inline: auto; max-width: 600px; }
.page-hero:has(+ .sec-sm #wiz) .ph-meta { justify-content: center; }

/* Wizard */
.wiz-card { border: 1px solid rgba(27,42,54,.08); box-shadow: 0 1px 2px rgba(19,36,47,.04), 0 30px 60px -36px rgba(19,36,47,.35); }
.wiz-steps { gap: 5px; }
.wiz-steps i { height: 4px; background: var(--sand-2); }
.wiz-steps i.on { background: linear-gradient(90deg, var(--dusk), var(--dusk-mid)); }
.wiz-count { font-size: .82rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); margin: 12px 0 10px; }
.wiz-card h2 { font-size: clamp(1.6rem, 3.2vw, 2.05rem); letter-spacing: -.025em; margin: 0 0 10px; }
.wiz-card > form > p:first-of-type, .wiz-card .wiz-intro { color: var(--body); }
.wiz-card input[type=text], .wiz-card input:not([type]), .wiz-card input[type=email], .wiz-card select, .wiz-card textarea { border: 1px solid #D6DEE3; background: #FCFCFB; border-radius: 12px; }
.wiz-card input:hover, .wiz-card select:hover, .wiz-card textarea:hover { border-color: #BCC9D1; }
.wiz-card input:focus, .wiz-card select:focus, .wiz-card textarea:focus { background: #fff; border-color: var(--dusk-soft); box-shadow: 0 0 0 4px rgba(92,124,142,.16); }
.wiz-nav { border-top: 1px solid var(--line); padding-top: 22px; align-items: center; }
.wiz-nav .btn-primary { min-width: 160px; }

/* Family list */
.people { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; counter-reset: person; }
.person { position: relative; border: 1px solid #E3E8EB; border-radius: 16px; padding: 18px 18px 10px; background: #fff; box-shadow: 0 1px 2px rgba(19,36,47,.04); transition: border-color .2s, box-shadow .2s; }
.person:focus-within { border-color: #C3D0D7; box-shadow: 0 10px 28px -18px rgba(19,36,47,.35); }
.person::before { counter-increment: person; content: counter(person); position: absolute; left: -11px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--dusk); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.person.is-before { background: #FAF8F4; border-style: dashed; }
.person.is-before::before { background: var(--dusk-soft); }
.person-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .person-row { grid-template-columns: 1fr 1fr; } .person-row:first-child { grid-template-columns: 190px 1fr; } }
.person .field { margin-bottom: 12px; }
.person .field label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.person .field .hint { display: inline; margin-left: 4px; font-size: .8rem; }
.person-name input { font-weight: 600; font-size: 1.02rem; }
.person-note { margin: -4px 0 10px; }
.person-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #EEF1F3; padding-top: 6px; }
.person-before { margin: 0; font-size: .93rem; color: var(--body); }
.person-move { display: flex; gap: 2px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--dusk-soft); cursor: pointer; transition: background .15s, color .15s; }
.icon-btn:hover:not(:disabled) { background: var(--tint); color: var(--dusk); }
.icon-btn.danger:hover:not(:disabled) { background: var(--bad-tint); color: var(--bad); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 1px; }
.icon-btn .icon { width: 18px; height: 18px; }
.icon-btn .icon.up { transform: rotate(-90deg); }
.icon-btn .icon.down { transform: rotate(90deg); }
.people-add-k { margin: 18px 0 8px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.people-add { display: flex; flex-wrap: wrap; gap: 8px; }
.add-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1.5px dashed #C9D3D9; border-radius: 999px; background: #fff; color: var(--dusk); font-weight: 600; font-size: .93rem; cursor: pointer; transition: border-color .15s, background .15s; }
.add-chip:hover { border-style: solid; border-color: var(--dusk-soft); background: var(--tint); }
.add-chip .icon { width: 15px; height: 15px; }
.add-chip:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 2px; }

/* Names check, set like a proof sheet */
.names-check { border: 1px solid #EDE6D9; background: #FFFDF9; border-radius: 16px; padding: 18px 20px 8px; margin: 6px 0 20px; }
.names-check h3 { margin: 0 0 6px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.names-check dl { margin: 0; display: grid; }
.names-check dl > div { display: grid; grid-template-columns: minmax(110px, 30%) 1fr auto; gap: 2px 12px; padding: 4px 0; border-top: 1px solid #F0EADF; align-items: center; }
.names-check dl > div:first-child { border-top: 0; }
.names-check dt { color: var(--muted); font-size: .88rem; }
.names-check dd { margin: 0; font-family: var(--print-serif); font-size: 1.06rem; color: var(--text); overflow-wrap: anywhere; }
.names-check .names-fix { font-family: var(--sans); }
.names-check .names-fix .text-link { background: none; border: 0; padding: 0 4px; cursor: pointer; min-height: 44px; font-size: .9rem; color: var(--dusk-soft); }
.names-check .names-fix .text-link:hover { color: var(--dusk); }
@media (max-width: 520px) { .names-check dl > div { grid-template-columns: 1fr auto; padding-top: 10px; } .names-check dt { grid-column: 1 / -1; } }

/* Result */
.result { max-width: 860px; margin: 0 auto; }
.result-head { text-align: center; margin: 4px 0 22px; }
.result-head .eyebrow { margin-bottom: 6px; }
.result-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.025em; margin: 0 0 6px; text-wrap: balance; }
.result-head p { margin: 0; }
.result-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.result-bar .tabs { margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--dusk); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 40px; height: 24px; border-radius: 99px; background: #CBD5DB; position: relative; transition: background .2s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(19,36,47,.3); transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--good); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.paper { font-family: var(--print-serif); }
.obit-paper { position: relative; padding: clamp(26px, 5vw, 56px) clamp(22px, 6vw, 64px) clamp(18px, 3vw, 26px); font-size: 1.12rem; line-height: 1.75; color: #2A2F33; }
.obit-paper::before { content: ""; position: absolute; left: 50%; top: 0; width: 64px; height: 3px; transform: translateX(-50%); background: var(--gold); border-radius: 0 0 3px 3px; }
.paper-kicker { font-family: var(--sans); text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 22px !important; }
.obit-paper .editable { min-height: 160px; overflow: hidden; resize: none; }
.paper-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #EFE8DC; font-family: var(--sans); font-size: .86rem; color: var(--muted); }
.paper-foot .text-link { font-size: .86rem; }
.result-actions { display: grid; gap: 10px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .result-actions { grid-template-columns: 1.3fr 1.3fr 1fr; } }
.result-actions .btn { width: 100%; justify-content: center; }
.result-fine { text-align: center; margin: 10px 0 0; }
.result-cards { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .result-cards { grid-template-columns: 1fr 1fr; } }
.r-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(27,42,54,.08); border-radius: 20px; padding: 22px; box-shadow: 0 1px 2px rgba(19,36,47,.04), 0 18px 40px -30px rgba(19,36,47,.3); }
.r-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.r-card-head h3 { margin: 0; font-size: 1.12rem; }
.r-card-head p { margin: 2px 0 0; }
.r-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-ink); }
.r-ico .icon { width: 19px; height: 19px; }
.r-card > p.small { margin: 0 0 10px; }
.r-card-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; }
.r-card-actions .btn { width: 100%; justify-content: flex-start; }
.rate-list { list-style: none; padding: 0; margin: 0 0 10px; font-size: .9rem; display: grid; gap: 6px; }
.rate-list li { background: var(--paper); border-radius: 10px; padding: 9px 12px; margin: 0; }
.photo-pick { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px dashed #D3DBE0; border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.photo-pick:hover { border-color: var(--dusk-soft); background: var(--paper); }
.photo-pick:focus-within { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.photo-pick > span:last-child { display: grid; }
.photo-pick b { color: var(--text); font-size: .95rem; overflow-wrap: anywhere; }
.photo-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--dusk); flex: none; }
.result-more { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .result-more { grid-template-columns: 1fr 1fr; } }
.more-card { position: relative; display: grid; gap: 4px; padding: 18px 48px 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); color: var(--body); text-decoration: none; transition: border-color .15s, transform .15s; }
.more-card.tint { background: var(--tint); border-color: var(--tint-2); }
.more-card:hover { border-color: var(--dusk-soft); transform: translateY(-1px); }
.more-card b { color: var(--text); }
.more-card span { font-size: .92rem; }
.more-card i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--dusk); }

/* Fact trace */
.traced p { margin: 0 0 .9em; }
mark.fact-ok, mark.fact-bad { border-radius: 4px; padding: 0 2px; cursor: pointer; color: inherit; }
mark.fact-ok { background: #DDEFE3; box-shadow: inset 0 -2px 0 #6FA884; }
mark.fact-bad { background: var(--gold-tint); box-shadow: inset 0 -2px 0 var(--gold); }
mark.fact-ok:focus, mark.fact-bad:focus { outline: 2px solid var(--dusk); outline-offset: 1px; }
.trace-key { margin-top: 14px; font-family: var(--sans); }

/* Dialogs from the writer */
dialog { border: 1px solid rgba(27,42,54,.06); }
dialog h2 { letter-spacing: -.02em; }
fieldset.remind { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 4px; margin: 0 0 16px; background: var(--paper); }
fieldset.remind legend { font-weight: 600; padding: 0 6px; }
.side-gap { margin-top: 16px; }
.text-link[data-edit2], .text-link[data-trace-on], .text-link[data-edit] { background: none; border: 0; cursor: pointer; padding: 0; }
@media print { .obit-paper::before { display: none; } .obit-paper { box-shadow: none; border: 0; padding: 0; } }

/* Will finder (/tools/find-a-will), second polish November 12, 2026 */
.wf-sec { padding-top: 8px; }
.wf .wf-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wf .wf-q { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; color: var(--text); letter-spacing: -.025em; line-height: 1.2; margin: 0 0 6px; padding: 0; outline: none; }
.wf-sub { color: var(--muted); font-size: 1rem; margin: 0 0 22px; }
.wf-progress[hidden] { display: none; }
.wf .wiz-count { margin-bottom: 14px; }
.wf .field label { font-weight: 620; }
.wf select#wf-state { min-height: 56px; font-size: 1.05rem; }
.wf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.wf-opt-l { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: 4px; }
.wf-ico { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--dusk); transition: background .15s, color .15s; }
.wf-ico .icon { width: 19px; height: 19px; }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wf-list { display: grid; gap: 12px; }
.wf-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px 12px 12px; border: 1.5px solid #E3E8EB; border-radius: 16px; background: #fff; cursor: pointer; color: var(--text); font-size: .97rem; font-weight: 560; line-height: 1.35; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.wf-card:hover { border-color: var(--dusk-soft); transform: translateY(-1px); }
.wf-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wf-l { flex: 1; min-width: 0; }
.wf-tick { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid #CBD5DB; position: relative; transition: background .15s, border-color .15s; }
.wf-card:has(input:checked) { border-color: var(--dusk); background: #F5F8FA; box-shadow: 0 0 0 1px var(--dusk); }
.wf-card:has(input:checked) .wf-ico { background: var(--dusk); color: #fff; }
.wf-card:has(input:checked) .wf-tick { background: var(--dusk); border-color: var(--dusk); }
.wf-card:has(input:checked) .wf-tick::after { content: ''; position: absolute; left: 6px; top: 6px; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.wf-card:has(input:focus-visible) { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.wf-wide { min-height: 76px; padding-right: 18px; }
.wf-wide b { display: block; font-size: 1.05rem; }
.wf-wide small { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; margin-top: 2px; }
.wf-wide em { font-style: normal; font-weight: 700; font-size: 1.15rem; color: var(--text); letter-spacing: -.01em; }
.wf-badge { position: absolute; top: -10px; right: 16px; background: var(--gold-strong); color: var(--dusk-deep); font-size: .72rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; border-radius: 99px; padding: 3px 10px; }
.wf-nav .btn[hidden] { display: none; }
.wf-nav [data-wf-back] { margin-right: auto; }
.wf-nav [data-wf-next], .wf-nav [data-wf-go] { margin-left: auto; }
.wf-nav .btn .icon { width: 16px; height: 16px; }
#wf-err:empty { display: none; }
/* The plan */
.wf-out { max-width: 760px; margin-inline: auto; }
.wf-out:empty { display: none; }
.wf-k { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.wf-sum { background: linear-gradient(150deg, var(--dusk-deep), var(--dusk) 60%, var(--dusk-mid)); color: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); margin-bottom: 18px; }
.wf-sum .wf-k { color: var(--gold-strong); }
.wf-sum-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.wf-sum h2 { color: #fff; margin: 0; outline: none; font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; }
.wf-tools { display: flex; gap: 8px; flex: none; }
.wf-tools button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .15s; }
.wf-tools button:hover { background: rgba(255,255,255,.18); }
.wf-tools .icon { width: 15px; height: 15px; }
.wf-stats { display: flex; gap: 12px; margin: 24px 0 0; }
.wf-stats > div { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; }
.wf-stats b { display: block; font-size: 1.7rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.wf-stats span { display: block; color: rgba(255,255,255,.75); font-size: .88rem; margin-top: 2px; }
.wf-sum-note { display: flex; gap: 8px; align-items: flex-start; color: rgba(255,255,255,.8); font-size: .88rem; margin: 14px 0 0; }
.wf-sum-note .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold-strong); }
.wf-sum-note a { color: #fff; }
.wf-track { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: .88rem; color: rgba(255,255,255,.8); }
.wf-track > span:first-child { flex: none; }
.wf-track b { color: #fff; }
.wf-track .wf-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.wf-track .wf-bar span { display: block; width: 0; height: 100%; background: var(--gold-strong); border-radius: 99px; transition: width .35s var(--ease-glide, ease); }
.wf-list-h { font-size: 1.15rem; margin: 30px 0 14px; }
/* Timeline of steps */
.wf-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; position: relative; }
.wf-steps > li { position: relative; margin: 0; }
.wf-steps > li:not(:last-child)::before { content: ''; position: absolute; left: 31px; top: 44px; bottom: -14px; width: 2px; background: var(--tint-2); z-index: 0; }
.wf-step-card { position: relative; z-index: 1; background: #fff; border: 1px solid #E6EBEE; border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.wf-step-card:hover { border-color: #D6DEE3; }
.wf-step-card[open] { border-color: #D6DEE3; box-shadow: var(--shadow); }
.wf-step-card > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; min-height: 60px; }
.wf-step-card > summary::-webkit-details-marker { display: none; }
.wf-step-card > summary > .icon { width: 18px; height: 18px; flex: none; color: var(--muted); transform: rotate(90deg); transition: transform .2s; }
.wf-step-card[open] > summary > .icon { transform: rotate(-90deg); }
.wf-n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--dusk); color: #fff; font-weight: 700; font-size: .88rem; box-shadow: 0 0 0 4px #fff; }
.wf-done { position: relative; flex: none; cursor: pointer; display: grid; }
.wf-done input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.wf-done:hover .wf-n { background: var(--dusk-mid); }
.wf-done input:focus-visible + .wf-n { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.is-done .wf-n { background: var(--good); color: transparent; position: relative; }
.is-done .wf-n::after { content: ''; position: absolute; width: 11px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.is-done .wf-t b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.wf-t { flex: 1; min-width: 0; }
.wf-t b { display: block; color: var(--text); font-size: 1.02rem; line-height: 1.3; }
.wf-t small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: 2px; }
.wf-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; background: var(--gold-tint); color: var(--gold-ink); font-size: .76rem; font-weight: 650; border-radius: 99px; padding: 3px 9px; }
.wf-chip .icon { width: 12px; height: 12px; }
.wf-body { padding: 0 18px 18px 62px; color: var(--body); font-size: .96rem; }
.wf-body ul { margin: 0 0 12px; padding-left: 18px; }
.wf-body li { margin-bottom: 7px; }
.wf-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .88rem; font-weight: 600; }
.wf-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; background: var(--tint); border-radius: 99px; color: var(--dusk); text-decoration: none; }
.wf-links a:hover { background: var(--tint-2); }
.wf-local { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-size: .93rem; }
.wf-local b { display: block; color: var(--text); margin-bottom: 4px; }
.wf-local p { margin: 0 0 6px; }
.wf-local .wf-links { margin-top: 8px; }
/* Chosen paid option */
.wf-offer { display: grid; grid-template-columns: 1fr 240px; gap: 24px; background: #fff; border: 1.5px solid var(--gold-strong); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 28px); box-shadow: 0 20px 44px -30px rgba(138,90,16,.55); }
.wf-offer h3 { font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 14px; }
.wf-offer .wf-ticks { margin: 0; }
.wf-offer-buy { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding-left: 24px; }
.wf-offer-buy .btn { justify-content: center; }
.wf-price { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; color: var(--text); margin: 0 0 12px; line-height: 1; }
.wf-price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.wf-how { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wf-how li { display: flex; align-items: center; gap: 12px; color: var(--body); }
.wf-how b { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-ink); font-size: .85rem; }
.wf-ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.wf-ticks li { position: relative; padding-left: 28px; color: var(--body); font-size: .96rem; line-height: 1.4; }
.wf-ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--good-tint); }
.wf-ticks li::after { content: ''; position: absolute; left: 5px; top: 7px; width: 8px; height: 4px; border: solid var(--good); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.wf-fine { color: var(--muted); font-size: .84rem; line-height: 1.45; margin: 12px 0 0; }
.wf-center { text-align: center; margin-top: 18px; }
.wf-ask { display: flex; align-items: center; gap: 16px; background: var(--gold-tint); border: 1px solid #F1DDB6; border-radius: var(--radius); padding: 20px 22px; margin: 0 0 18px; }
.wf-ask .wf-ico { background: #fff; color: var(--gold-ink); }
.wf-ask > div { flex: 1; }
.wf-ask b { color: var(--text); font-size: 1.05rem; }
.wf-ask p { margin: 2px 0 0; font-size: .93rem; color: var(--body); }
.wf-ask .btn { flex: none; }
.wf-mail { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #E6EBEE; border-radius: var(--radius); padding: 20px 22px; }
.wf-mail-main { flex: 1; min-width: 0; }
.wf-mail-main > label b { display: block; color: var(--text); font-size: 1.05rem; }
.wf-mail-main > label small { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.wf-mail-row { display: flex; gap: 8px; margin: 12px 0 10px; }
.wf-mail-row input { flex: 1; min-width: 0; margin: 0; }
.wf-consent { font-size: .88rem; color: var(--muted); margin: 0; }
/* Three ways */
.wf-ways-head { text-align: center; margin-bottom: 26px; }
.wf-ways-head h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -.03em; }
.wf-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin-inline: auto; align-items: stretch; }
.wf-tier { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E6EBEE; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.wf-tier .wf-ico { margin-bottom: 14px; }
.wf-tier h3 { margin: 0 0 6px; font-size: 1.15rem; }
.wf-tier .wf-price { margin-bottom: 18px; }
.wf-tier .btn { margin-top: auto; justify-content: center; }
.wf-tier.wf-featured { border: 1.5px solid var(--gold-strong); box-shadow: 0 24px 50px -30px rgba(138,90,16,.6); }
.wf-tier.wf-featured .wf-ico { background: var(--gold-tint); color: var(--gold-ink); }
.wf-tier .wf-badge { left: 24px; right: auto; }
.wf-tier .wf-fine { margin-bottom: 0; }
#wf-ways[hidden] { display: none; }
@media (max-width: 860px) { .wf-tiers { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 600px) {
  .wf-row, .wf-grid { grid-template-columns: 1fr; }
  .wf-card { min-height: 58px; }
  .wf-nav .btn { flex: 1; justify-content: center; }
  .wf-sum-top { flex-direction: column; }
  .wf-tools button span { display: inline; }
  .wf-stats b { font-size: 1.45rem; }
  .wf-body { padding-left: 18px; }
  .wf-offer { grid-template-columns: 1fr; }
  .wf-offer-buy { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .wf-ask { flex-direction: column; align-items: flex-start; }
  .wf-ask .btn { align-self: stretch; justify-content: center; }
  .wf-mail { flex-direction: column; }
  .wf-mail .wf-ico { display: none; }
}
@media print {
  .wf-sum { background: none; color: var(--text); box-shadow: none; border: 1px solid #ccc; }
  .wf-sum h2, .wf-stats span, .wf-sum-note, .wf-sum-note a { color: var(--text); }
  .wf-stats > div { border-color: #ccc; }
  .wf-step-card { break-inside: avoid; box-shadow: none; }
  .wf-steps > li::before { display: none; }
  .wf-chip { background: none; padding: 0; }
  .wf-offer, .wf-ask, #wf-ways { display: none; }
}

/* Program preview in the service card */
.prog-mini { display: grid; grid-template-columns: 1fr 1fr; margin: 4px auto 16px; width: min(100%, 260px); aspect-ratio: 11 / 8.5; background: #FFFDF9; border: 1px solid #EDE6D9; border-radius: 6px; box-shadow: 0 14px 30px -18px rgba(19,36,47,.45); overflow: hidden; }
.pm-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px; text-align: center; border-right: 1px dashed #E6DDCD; font-family: var(--print-serif); }
.pm-photo { width: 42px; height: 42px; border-radius: 50%; background: var(--sand-2) center / cover no-repeat; border: 2px solid #fff; box-shadow: 0 0 0 1px #E6DDCD; margin-bottom: 4px; }
.pm-k { font-family: var(--sans); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.pm-cover b { font-weight: 500; font-size: .8rem; line-height: 1.2; color: var(--text); }
.pm-cover i { font-size: .62rem; color: var(--muted); }
.pm-inside { display: grid; align-content: center; gap: 6px; padding: 14px 12px; }
.pm-inside span { height: 4px; border-radius: 4px; background: #ECE5D8; }
.pm-inside span.short { width: 62%; }
.person .opt { font-weight: 500; color: #8B959C; font-size: .78rem; margin-left: 4px; }
.person-row.one { grid-template-columns: 1fr !important; }
@media (min-width: 640px) { .person-row.one { grid-template-columns: 1fr 1fr !important; } }
.wiz-card ::placeholder { color: #A3ADB3; }

/* Family review pages (/obituary/review, /obituary/shared) */
#share { max-width: 760px; margin-inline: auto; }
.share-head { text-align: center; margin-bottom: 28px; }
.share-head h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); letter-spacing: -.03em; text-wrap: balance; }
.share-head .lead { max-width: 580px; margin-inline: auto; }
.share-sec { margin-top: 40px; }
.share-sec .h-sub { margin-bottom: 14px; }
.share-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.share-notes li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid rgba(27,42,54,.08); border-radius: 18px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(19,36,47,.04); }
.share-notes li p { margin: 0 0 .4em; }
.share-notes li p:last-child { margin-bottom: 0; }
.sn-av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-ink); font-weight: 700; font-size: .85rem; }
.sn-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sn-who b { color: var(--text); }
.share-empty { color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: 16px; padding: 18px; text-align: center; margin: 0; }
.share-form { margin-top: 32px; }
.share-form h2 { margin-top: 0; font-size: 1.25rem; }
.share-foot { margin-top: 30px; text-align: center; }
.result-actions.two { grid-template-columns: 1fr 1fr; max-width: 420px; }
@media (max-width: 639px) {
  .result-bar { flex-direction: column; align-items: stretch; }
  .result-bar .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 16px; gap: 4px; }
  .result-bar .tabs button { padding: 9px 6px; font-size: .84rem; line-height: 1.2; border-radius: 12px; min-height: 48px; }
  .result-bar .switch { align-self: flex-end; }
  .page-hero:has(+ .sec-sm #wiz) .ph-meta { display: none; }
}

/* Writer fields, second polish pass */
.fgrid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 600px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid > .field:not(.half) { grid-column: 1 / -1; } }
.wiz-card .field label .req { font-size: .74rem; font-weight: 650; letter-spacing: .03em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-tint); border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: 1px; }
fieldset.choice { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.choice legend { display: block; font-weight: 620; color: var(--text); margin-bottom: 8px; font-size: .97rem; padding: 0; }
fieldset.choice legend .hint { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-opt { position: relative; cursor: pointer; }
.choice-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #D6DEE3; border-radius: 999px; background: #FCFCFB; color: var(--body); font-weight: 560; font-size: .94rem; transition: border-color .15s, background .15s, color .15s; }
.choice-opt:hover span { border-color: #BCC9D1; }
.choice-opt input:checked + span { background: var(--dusk); border-color: var(--dusk); color: #fff; }
.choice-opt input:focus-visible + span { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
details.more-fields { border: 1px solid #E6EBEE; border-radius: 16px; margin: 6px 0 0; background: #FCFCFB; }
details.more-fields > summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; min-height: 44px; }
details.more-fields > summary::-webkit-details-marker { display: none; }
details.more-fields > summary b { display: block; color: var(--text); font-size: .98rem; }
details.more-fields[open] > summary { border-bottom: 1px solid #EEF1F3; }
details.more-fields > .fgrid { padding: 16px 16px 0; }
.mf-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--dusk); display: grid; place-items: center; flex: none; transition: transform .2s; }
.mf-ico .icon { width: 15px; height: 15px; }
details.more-fields[open] .mf-ico { transform: rotate(45deg); }
details.more-fields { padding: 0; margin-bottom: 18px; }
details.more-fields > summary, details.more-fields[open] > summary { margin: 0; font-weight: 400; }
.fgrid > .field.half { display: flex; flex-direction: column; }
.fgrid > .field.half > input, .fgrid > .field.half > textarea { margin-top: auto; }
/* Writer dialogs */
dialog h2 { font-size: 1.55rem; margin: 0 0 10px; }
dialog fieldset.remind { padding: 14px 16px 6px; }
dialog fieldset.remind legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-size: .92rem; color: var(--text); }
dialog fieldset.remind legend + * { clear: both; }
dialog .btn-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; }
dialog .btn-row .btn { justify-content: center; }
dialog .status-line:empty { display: none; }
@media (max-width: 420px) { dialog .btn-row { grid-template-columns: 1fr; } }
.result .note { font-size: .94rem; padding: 14px 18px; }

/* Writer, third pass: step bar, live preview, staged loader */
.wiz.has-preview { max-width: 1120px; }
.wiz-main { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1040px) { .wiz-main { grid-template-columns: minmax(0, 1fr) 340px; } .wiz-preview { position: sticky; top: 96px; } }
.wiz.has-preview .wiz-card { max-width: 720px; width: 100%; margin-inline: auto; }
@media (min-width: 1040px) { .wiz.has-preview .wiz-card { margin: 0; } }
.stepper { list-style: none; margin: 0 auto 22px; padding: 0; display: flex; justify-content: center; gap: 0; max-width: 720px; }
.stepper li { flex: 1; position: relative; display: flex; justify-content: center; }
.stepper li::before { content: ""; position: absolute; top: 21px; right: 50%; width: 100%; height: 2px; background: var(--sand-2); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: var(--dusk); }
.stepper li > span, .stepper li > button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: default; min-width: 44px; }
.stepper li > button { cursor: pointer; color: var(--dusk); }
.stepper li > button:hover .st-dot { box-shadow: 0 0 0 4px rgba(32,57,74,.12); }
.stepper li > button:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 4px; border-radius: 12px; }
.st-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--sand-2); color: #9AA5AC; transition: box-shadow .2s; }
.st-dot .icon { width: 18px; height: 18px; }
.stepper li.done .st-dot { background: var(--dusk); border-color: var(--dusk); color: #fff; }
.stepper li.now .st-dot { border-color: var(--dusk); color: var(--dusk); background: var(--gold-tint); box-shadow: 0 0 0 5px rgba(233,166,63,.18); }
.st-label { font-size: .8rem; font-weight: 650; }
.stepper li.now .st-label { color: var(--text); }
@media (max-width: 520px) { .st-label { font-size: .7rem; } .st-dot { width: 38px; height: 38px; } .stepper li::before { top: 18px; } }
.wiz-count { margin-top: 0; }
.wiz-preview { background: linear-gradient(180deg, #fff, var(--paper)); border: 1px solid rgba(27,42,54,.08); border-radius: 20px; padding: 18px; box-shadow: 0 18px 40px -30px rgba(19,36,47,.35); }
.wp-k { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.wp-k .icon { width: 15px; height: 15px; }
.wp-paper { background: #FFFDF9; border: 1px solid #EDE6D9; border-radius: 10px; padding: 20px 18px; font-family: var(--print-serif); font-size: .9rem; line-height: 1.6; color: #2A2F33; min-height: 260px; }
.wp-paper p { margin: 0 0 .8em; overflow-wrap: anywhere; }
.wp-paper p:last-child { margin-bottom: 0; }
.wp-name { font-size: 1.3rem; line-height: 1.2; text-align: center; color: var(--text); margin-bottom: 4px !important; }
.wp-dates { text-align: center; font-style: italic; color: var(--muted); font-size: .82rem; }
.wp-rule { width: 40px; height: 2px; border: 0; background: var(--gold); margin: 10px auto 14px; }
.wp-svc { font-style: italic; }
.wp-gap { display: block; height: 8px; border-radius: 6px; background: #EFE8DC; margin: 6px 0; }
.wp-name .wp-gap { height: 14px; margin: 4px auto; }
.wp-note { margin: 12px 2px 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1039px) { .wiz-preview { max-width: 720px; width: 100%; margin-inline: auto; } .wp-paper { min-height: 0; } }
.load-steps { list-style: none; padding: 0; margin: 22px auto 10px; max-width: 380px; text-align: left; display: grid; gap: 10px; }
.load-steps li { display: flex; gap: 12px; align-items: center; color: #9AA5AC; font-weight: 550; transition: color .3s; }
.load-steps li.now { color: var(--text); }
.load-steps li.done { color: var(--good); }
.ls-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; flex: none; display: grid; place-items: center; position: relative; }
.load-steps li.done .ls-dot { background: var(--good); border-color: var(--good); }
.load-steps li.done .ls-dot::after { content: ""; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.load-steps li.now .ls-dot { border-color: var(--gold); border-top-color: transparent; animation: lsspin .9s linear infinite; }
@keyframes lsspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .load-steps li.now .ls-dot { animation: none; border-top-color: var(--gold); } }
.wiz .loader { max-width: 720px; margin-inline: auto; }
.page-hero:has(+ .wf-sec) .ph-main { max-width: 760px; margin-inline: auto; text-align: center; }
.page-hero:has(+ .wf-sec) .crumbs { justify-content: center; }
.page-hero:has(+ .wf-sec) .lead { margin-inline: auto; max-width: 600px; }
.page-hero:has(+ .wf-sec) .ph-meta { justify-content: center; }
@media (min-width: 980px) { .wiz-main { grid-template-columns: minmax(0, 1fr) 300px; } .wiz-preview { position: sticky; top: 96px; max-width: none; margin: 0; } .wiz.has-preview .wiz-card { margin: 0; max-width: none; } .wp-paper { min-height: 260px; } }
@media (min-width: 1180px) { .wiz-main { grid-template-columns: minmax(0, 1fr) 340px; } }
/* Mid widths: the article lines up with the heading above it instead of floating in the middle */
@media (min-width: 800px) and (max-width: 1039px) { .doc-main { margin-inline: 0; } }
/* Obituaries hub feature */
.feature-writer { display: grid; gap: 24px; align-items: center; margin: 28px 0 8px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: linear-gradient(135deg, #fff 0%, var(--paper) 100%); border: 1px solid rgba(27,42,54,.08); box-shadow: 0 24px 50px -36px rgba(19,36,47,.4); }
@media (min-width: 760px) { .feature-writer { grid-template-columns: 1.1fr .9fr; } }
.fw-h { margin: 0 0 14px !important; font-size: clamp(1.3rem, 2.4vw, 1.6rem) !important; letter-spacing: -.02em; }
.fw-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.fw-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .95rem; }
.fw-list .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-ink); }
.fw-fine { margin: 10px 0 0 !important; }
.fw-paper { position: relative; background: #FFFDF9; border: 1px solid #EDE6D9; border-radius: 12px; padding: 22px 22px 18px; font-family: var(--print-serif); font-size: .9rem; line-height: 1.6; color: #2A2F33; box-shadow: 0 20px 40px -26px rgba(19,36,47,.45); transform: rotate(1deg); }
.fw-paper p { margin: 0 0 .7em; }
.fw-k { font-family: var(--sans); text-align: center; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.fw-name { text-align: center; font-size: 1.25rem; color: var(--text); margin-bottom: 2px !important; }
.fw-dates { text-align: center; font-style: italic; color: var(--muted); font-size: .8rem; }
.fw-paper hr { width: 36px; height: 2px; border: 0; background: var(--gold); margin: 8px auto 12px; }
.fw-fade { -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent); mask-image: linear-gradient(180deg, #000 20%, transparent); }
.fw-tag { position: absolute; top: -10px; right: 14px; font-family: var(--sans); font-size: .7rem; font-weight: 650; background: var(--tint); color: var(--dusk); border-radius: 99px; padding: 3px 10px; }

/* Will finder third pass, November 12, 2026 */
.wf-states { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; columns: auto; }
.wf-states li { margin: 0; break-inside: auto; }
.wf-states a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; background: #fff; border: 1px solid #E3E8EB; border-radius: 99px; color: var(--text); font-size: .92rem; font-weight: 560; text-decoration: none; transition: border-color .15s, background .15s; }
.wf-states a:hover { border-color: var(--dusk-soft); background: #F5F8FA; }
.wf-tier .wf-ico, .wf-offer .wf-ico { width: 44px; height: 44px; border-radius: 14px; }
.wf-step-card > summary:hover .wf-t b { color: var(--dusk); }

/* Order summary before payment (account start), November 12, 2026 */
.buy-wrap { max-width: 980px; margin: 24px auto 40px; }
.buy-steps { list-style: none; padding: 0; margin: 0 auto 26px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.buy-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.buy-steps li:not(:last-child)::after { content: ''; width: 34px; height: 2px; border-radius: 2px; background: var(--tint-2); margin-left: 4px; }
.buy-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--dusk); font-size: .84rem; }
.buy-steps b .icon { width: 14px; height: 14px; }
.buy-steps li.on { color: var(--text); }
.buy-steps li.on b { background: var(--dusk); color: #fff; box-shadow: 0 0 0 4px var(--tint); }
.buy-steps li.done b { background: var(--good); color: #fff; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.buy-main { padding: clamp(22px, 4vw, 34px); }
.buy-sum { position: sticky; top: 96px; background: linear-gradient(160deg, var(--dusk-deep), var(--dusk) 65%, var(--dusk-mid)); color: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.buy-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--gold-strong); margin-bottom: 14px; }
.buy-ico .icon { width: 21px; height: 21px; }
.buy-k { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-strong); margin: 0 0 4px; }
.buy-sum h2 { color: #fff; font-size: 1.5rem; letter-spacing: -.02em; margin: 0; }
.buy-line { color: rgba(255,255,255,.78); margin: 4px 0 14px; font-size: .95rem; }
.buy-price { font-size: 2.3rem; font-weight: 750; letter-spacing: -.03em; line-height: 1; margin: 0 0 18px; }
.buy-price small { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: 0; }
.buy-sum ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; }
.buy-sum li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: rgba(255,255,255,.9); line-height: 1.4; }
.buy-sum li .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold-strong); }
.buy-fine { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.45; }
.buy-fine .icon { width: 14px; height: 14px; flex: none; margin-top: 2px; }
@media (max-width: 860px) {
  .buy-grid { grid-template-columns: 1fr; }
  .buy-sum { position: static; order: -1; padding: 22px; }
  .buy-sum ul, .buy-fine { display: none; }
  .buy-price { font-size: 1.9rem; margin: 0; }
  .buy-steps li span { display: none; }
  .buy-steps li.on span { display: inline; }
}

/* Obituary writer, November 12, 2026 (stationery pass). A dusk hero that runs into the writer, serif display type,
   a candle while the drafts are written and paper that looks printed. */
.obit-hero { background: radial-gradient(55% 85% at 50% -10%, rgba(233,166,63,.26), rgba(233,166,63,0) 70%), radial-gradient(45% 60% at 0% 0%, rgba(120,163,186,.14), rgba(120,163,186,0) 70%), linear-gradient(180deg, #13283A 0%, var(--dusk) 100%); color: #F4EEE3; padding-bottom: clamp(26px, 4vw, 40px); }
.obit-hero::before { display: none; }
.obit-hero::after { content: ""; position: absolute; inset: 0 0 30% 0; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1.4px); background-size: 3px 3px; opacity: .035; }
.obit-hero .eyebrow { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; background: none; border: 0; padding: 0; margin-bottom: 18px; }
.obit-hero .eyebrow::before, .obit-hero .eyebrow::after { content: ""; display: inline-block; width: 28px; height: 1px; background: rgba(233,166,63,.55); vertical-align: middle; margin: 0 12px 3px; }
.obit-hero h1 { font-family: var(--print-serif); font-weight: 500; font-size: clamp(2.7rem, 6.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.012em; color: #FFF8EC; margin-bottom: .32em; text-wrap: balance; }
.obit-hero .lead { color: rgba(244,238,227,.78); font-size: clamp(1.02rem, 1.6vw, 1.14rem); }
.obit-hero .ph-meta { gap: 6px 20px; margin-top: 22px; }
@media (min-width: 900px) { .page-hero.obit-hero .ph-main { max-width: 880px !important; } .obit-hero .ph-meta { flex-wrap: nowrap; } .obit-hero .ph-meta li { white-space: nowrap; } }
.obit-hero .ph-meta li { background: none; border: 0; box-shadow: none; padding: 0; color: rgba(244,238,227,.86); font-weight: 550; font-size: .9rem; }
.obit-hero .ph-meta .icon { color: var(--gold); }
.obit-stage { background: linear-gradient(180deg, var(--dusk) 0, var(--dusk) 150px, var(--paper) 150px); padding-top: 6px !important; margin-top: -2px; position: relative; }
.page-hero.obit-hero + .sec-sm { padding-top: 6px; }

/* Stepper on the dusk band. */
.obit-stage .stepper li::before { background: rgba(255,255,255,.14); height: 1px; top: 22px; }
.obit-stage .stepper li.done::before, .obit-stage .stepper li.now::before { background: var(--gold); }
.obit-stage .st-dot { background: #283F50; border: 1px solid rgba(255,255,255,.2); color: rgba(244,238,227,.5); }
.obit-stage .stepper li.done .st-dot { background: var(--gold); border-color: var(--gold); color: var(--dusk); }
.obit-stage .stepper li.now .st-dot { background: #FFF8EC; border-color: #FFF8EC; color: var(--dusk); box-shadow: 0 0 0 6px rgba(233,166,63,.22), 0 0 28px rgba(233,166,63,.35); }
.obit-stage .st-label { color: rgba(244,238,227,.55); font-weight: 600; letter-spacing: .01em; }
.obit-stage .stepper li.now .st-label { color: #FFF8EC; }
.obit-stage .stepper li > button { color: rgba(244,238,227,.86); }
.obit-stage .stepper li > button:hover .st-dot { box-shadow: 0 0 0 5px rgba(233,166,63,.22); }
.obit-stage .stepper li > button:focus-visible { outline-color: var(--gold); }
@media (max-width: 520px) { .obit-stage .stepper li::before { top: 19px; } .obit-stage { background: linear-gradient(180deg, var(--dusk) 0, var(--dusk) 128px, var(--paper) 128px); } }

/* The writer card. */
.obit-stage .wiz-card { position: relative; border: 0; border-radius: 22px; box-shadow: 0 0 0 1px rgba(19,36,47,.06), 0 2px 4px rgba(19,36,47,.04), 0 40px 80px -40px rgba(19,36,47,.45); }
.obit-stage .wiz-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: linear-gradient(90deg, rgba(233,166,63,0), var(--gold) 50%, rgba(233,166,63,0)); }
.obit-stage .wiz-card h2, .result-head h2, .share-head h1 { font-family: var(--print-serif); font-weight: 600; letter-spacing: -.01em; }
.obit-stage .wiz-card h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
.result-head h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.obit-stage .wiz-preview { border: 0; border-radius: 22px; box-shadow: 0 0 0 1px rgba(19,36,47,.06), 0 30px 60px -40px rgba(19,36,47,.45); background: #fff; }

/* The live preview, set like a newspaper notice on a small stack of paper. */
.wp-paper { position: relative; background: #FFFDF8; border: 1px solid #ECE3D3; border-radius: 6px; padding: 26px 22px 22px; box-shadow: 4px 4px 0 -1px #FAF6EE, 4px 4px 0 0 #E9E0CF, 8px 8px 0 -1px #F6F0E4, 8px 8px 0 0 #E4DAC7; margin: 0 8px 8px 0; }
.wp-paper::before { content: "\25C6"; display: block; width: 72px; margin: 0 auto 12px; text-align: center; color: var(--gold); font-size: .5rem; line-height: 9px; background: linear-gradient(var(--gold), var(--gold)) left center / 28px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right center / 28px 1px no-repeat; opacity: .8; }
.wp-name { font-size: 1.4rem; font-weight: 600; letter-spacing: .005em; }
.wp-dates { text-align: center; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #8A7F6E; }
.wp-rule { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #D9CDB8, transparent); margin: 12px 0 14px; }

/* The finished draft. A printed card with an inner rule and a small ornament. */
.obit-paper { background: #FFFDF8; border: 1px solid #EAE1D0; border-radius: 10px; box-shadow: 0 1px 2px rgba(19,36,47,.05), 0 36px 70px -44px rgba(19,36,47,.45); outline: 1px solid #F0E8D9; outline-offset: -12px; font-family: var(--print-serif); font-size: 1.16rem; line-height: 1.8; padding-top: clamp(40px, 6vw, 64px); }
.obit-paper::before { top: 26px; width: 96px; height: 11px; border-radius: 0; content: "\25C6"; text-align: center; color: var(--gold); font-size: .62rem; line-height: 11px; transform: translateX(-50%); background: linear-gradient(var(--gold), var(--gold)) left center / 38px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right center / 38px 1px no-repeat; }
.obit-paper .paper-kicker { text-align: center; font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8A7F6E; margin: 0 0 18px; }
.obit-paper .editable { font: inherit; color: inherit; background: transparent; }
.obit-paper .editable:focus { box-shadow: none; outline: 1px dashed #D9CDB8; outline-offset: 8px; border-radius: 4px; }
.obit-paper p { font-family: var(--print-serif); }

/* A candle while the drafts are written. */
.loader .candle { position: relative; width: 44px; height: 92px; margin: 0 auto 22px; }
.loader .candle .wax { position: absolute; left: 50%; bottom: 0; width: 30px; height: 46px; transform: translateX(-50%); border-radius: 6px 6px 4px 4px; background: linear-gradient(90deg, #EFE6D6, #FFFBF3 45%, #E8DDCA); box-shadow: inset 0 3px 0 rgba(255,255,255,.7), 0 10px 18px -10px rgba(19,36,47,.4); }
.loader .candle .wick { position: absolute; left: 50%; bottom: 45px; width: 2px; height: 8px; transform: translateX(-50%); background: #3A3330; border-radius: 1px; }
.loader .candle .flame { position: absolute; left: 50%; bottom: 50px; width: 16px; height: 30px; margin-left: -8px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(60% 50% at 50% 72%, #FFF8E1 0 30%, #FFD27A 55%, rgba(233,166,63,.0) 100%); box-shadow: 0 0 22px 8px rgba(233,166,63,.28), 0 0 60px 20px rgba(233,166,63,.12); transform-origin: 50% 90%; animation: flicker 2.4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1) rotate(0); } 25% { transform: scale(.96, 1.05) rotate(-1.5deg); } 50% { transform: scale(1.03, .97) rotate(1deg); } 75% { transform: scale(.98, 1.03) rotate(-.5deg); } }
.wiz .loader h2 { font-family: var(--print-serif); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .loader .candle .flame { animation: none; } }

/* How it works, as a numbered list with gold numbers. */
.prose ol.how-steps { list-style: none; padding: 0; counter-reset: hs; display: grid; gap: 4px; margin: 18px 0 22px; }
.prose ol.how-steps li { counter-increment: hs; position: relative; padding: 14px 0 14px 58px; margin: 0; border-bottom: 1px solid var(--line); }
.prose ol.how-steps li:last-child { border-bottom: 0; }
.prose ol.how-steps li::before { content: counter(hs); position: absolute; left: 0; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--print-serif); font-size: 1.15rem; font-weight: 600; color: var(--gold-ink); background: var(--gold-tint); }
.prose ol.how-steps li b { display: block; color: var(--text); margin-bottom: 2px; }
@media print { .obit-hero, .obit-stage { background: none !important; color: inherit; } .obit-paper { outline: 0; } }
/* The finished drafts open on the dusk band, then the paper sits below it. */
.obit-stage:has(.result) { background: linear-gradient(180deg, var(--dusk) 0, var(--dusk) 24px, var(--paper) 24px); }
.obit-stage .result-head { margin: 0 0 30px; padding: 8px 0 40px; background: var(--dusk); box-shadow: 0 0 0 100vmax var(--dusk); clip-path: inset(0 -100vmax); }
.obit-stage .result-head h2 { color: #FFF8EC; }
.obit-stage .result-head p { color: rgba(244,238,227,.72); }
.obit-stage .result-head .eyebrow { background: none; border: 0; padding: 0; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; }

/* Will finder fourth pass, November 12, 2026: calmer offer card, aligned step cards */
.wf-offer { grid-template-columns: minmax(0, 1fr) 290px; border: 1px solid #F0DDB8; background: linear-gradient(180deg, #FFFBF3, #fff 70%); box-shadow: 0 1px 2px rgba(138,90,16,.06), 0 24px 48px -36px rgba(138,90,16,.45); }
.wf-offer h3 { font-size: 1.35rem; }
.wf-offer-buy { border-left-color: #F1E6D2; }
.wf-offer-buy .btn { white-space: nowrap; gap: 10px; min-height: 52px; }
.wf-offer-buy .btn .icon { width: 17px; height: 17px; }
.wf-offer .wf-ticks li { font-size: 1rem; }
.wf-step-card > summary { align-items: flex-start; padding: 16px 18px; }
.wf-step-card > summary > .icon { margin-top: 7px; }
.wf-step-card .wf-n, .wf-step-card .wf-done { margin-top: 1px; }
.wf-start { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 9px; border-radius: 99px; background: var(--gold-tint); color: var(--gold-ink); font-size: .7rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.is-done .wf-start { display: none; }
.wf-body { padding: 2px 22px 20px 64px; }
.wf-body > ul { list-style: none; margin: 0 0 14px; display: grid; gap: 10px; border-top: 1px solid #EEF1F3; padding: 16px 0 0; }
.wf-body > ul > li { position: relative; padding-left: 20px; margin: 0; line-height: 1.55; }
.wf-body > ul > li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-strong); }
.wf-chip { margin-top: 8px; }
@media (max-width: 600px) {
  .wf-body { padding: 2px 18px 18px 18px; }
  .wf-offer { grid-template-columns: 1fr; }
  .wf-offer-buy { border-left: 0; border-top: 1px solid #F1E6D2; padding: 18px 0 0; }
  .wf-offer-buy .btn { white-space: normal; }
}
.r-card-head h3, .r-card-head b, .more-card > b { font-family: var(--print-serif); font-weight: 600; font-size: 1.12rem; letter-spacing: 0; }

/* Will finder fifth pass, November 12, 2026: art, motion, loading, finishing touches */
.wf-art { display: block; margin: 0 auto 6px; width: 88px; height: 88px; filter: drop-shadow(0 14px 22px rgba(138,90,16,.18)); }
.wf-art svg { display: block; }
.page-hero:has(+ .wf-sec) .eyebrow { display: block; margin: 0 0 6px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.wiz-card.wiz-card input[type=date] { border: 1px solid #D6DEE3; background: #FCFCFB; border-radius: 12px; color: var(--text); }
.wiz-card.wiz-card input[type=date]:focus { background: #fff; border-color: var(--dusk-soft); box-shadow: 0 0 0 4px rgba(92,124,142,.16); }
.wf .wiz-card select:invalid, .wf input[type=date]:not(:focus):invalid { color: var(--muted); }
@keyframes wfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wfShimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }
.wf-step.wf-in { animation: wfIn .38s var(--ease-glide, ease) both; }
.wf-out > .wf-sum { animation: wfIn .45s var(--ease-glide, ease) both; }
.wf-out > .wf-offer { animation: wfIn .45s .08s var(--ease-glide, ease) both; }
.wf-out .wf-steps > li { animation: wfIn .4s var(--ease-glide, ease) both; }
.wf-out .wf-steps > li:nth-child(2) { animation-delay: .12s; } .wf-out .wf-steps > li:nth-child(3) { animation-delay: .16s; } .wf-out .wf-steps > li:nth-child(4) { animation-delay: .2s; } .wf-out .wf-steps > li:nth-child(5) { animation-delay: .24s; } .wf-out .wf-steps > li:nth-child(n+6) { animation-delay: .28s; }
.wf-loading { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.wf-skel { height: 64px; border-radius: 16px; background: linear-gradient(90deg, #EEF1F3 0, #F7F9FA 40%, #EEF1F3 80%) 0 0 / 800px 100%; animation: wfShimmer 1.2s linear infinite; }
.wf-skel-sum { height: 210px; border-radius: var(--radius); background-image: linear-gradient(90deg, #22394A 0, #2C4A5E 40%, #22394A 80%); margin-bottom: 8px; }
.wf-card:active { transform: scale(.99); }
.wf-card:has(input:checked) .wf-tick { animation: wfPop .25s ease; }
@keyframes wfPop { 50% { transform: scale(1.18); } }
.wf-cheer { display: none; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; font-size: .93rem; }
.wf-cheer .icon { width: 18px; height: 18px; flex: none; color: var(--gold-strong); }
.wf-sum.all-done .wf-cheer { display: flex; animation: wfIn .35s ease both; }
.wf-sum.all-done .wf-track .wf-bar span { background: #7CC49A; }
.wf-mail.is-sent { align-items: center; background: var(--good-tint); border-color: #CBE3D3; }
.wf-mail.is-sent .wf-ico { background: var(--good); color: #fff; }
.wf-sent-h { display: block; color: var(--text); font-size: 1.05rem; word-break: break-all; }
.wf-mail.is-sent small { color: var(--body); }
@media (prefers-reduced-motion: reduce) {
  .wf-step.wf-in, .wf-out > *, .wf-out .wf-steps > li, .wf-cheer, .wf-tick { animation: none !important; }
  .wf-skel { animation: none; }
}
@media (max-width: 600px) { .wf-art { width: 72px; height: 72px; } .wf-art svg { width: 72px; height: 72px; } .wf-skel-sum { height: 260px; } }

/* Obituary writer, November 12, 2026 (second stationery pass). */
#wiz { scroll-margin-top: 96px; }
.wp-kicker { text-align: center; font-family: var(--sans); font-size: .64rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: #A08C6A; margin: 0 0 6px !important; }
.wp-paper { background: radial-gradient(120% 60% at 50% 0%, #FFFEFB, #FFFBF2 70%); }
.wp-paper p, .wp-name { transition: opacity .25s; }

/* Cards settle in softly when a step opens. */
@keyframes obitIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.obit-stage .wiz-card > *, .obit-stage .result > * { animation: obitIn .5s cubic-bezier(.2,.7,.2,1) both; }
.obit-stage .wiz-card > :nth-child(2) { animation-delay: .04s; } .obit-stage .wiz-card > :nth-child(3) { animation-delay: .08s; } .obit-stage .wiz-card > :nth-child(n+4) { animation-delay: .12s; }
.obit-stage .result > :nth-child(2) { animation-delay: .06s; } .obit-stage .result > :nth-child(3) { animation-delay: .12s; } .obit-stage .result > :nth-child(n+4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .obit-stage .wiz-card > *, .obit-stage .result > * { animation: none; } }

/* Fields with a warm focus ring, and labels with a little more air. */
.obit-stage .wiz-card .field label { letter-spacing: -.005em; }
.obit-stage .wiz-card input:not([type=checkbox]):not([type=radio]), .obit-stage .wiz-card select, .obit-stage .wiz-card textarea { min-height: 50px; border-radius: 14px; border-color: #DCE2E5; background: #FCFBF8; box-shadow: inset 0 1px 2px rgba(19,36,47,.04); transition: border-color .15s, box-shadow .15s, background .15s; }
.obit-stage .wiz-card input:not([type=checkbox]):not([type=radio]):focus, .obit-stage .wiz-card select:focus, .obit-stage .wiz-card textarea:focus { background: #fff; border-color: #C99A4E; box-shadow: 0 0 0 4px rgba(233,166,63,.18); outline: none; }

/* Buttons. */
.obit-stage .btn-primary, .obit-close .oc-btn { background: linear-gradient(180deg, #2A4A5E, var(--dusk) 60%, #182E3D); border: 0; color: #FFF8EC; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(19,36,47,.2), 0 12px 24px -12px rgba(19,36,47,.55); }
.obit-stage .btn-primary:hover { background: linear-gradient(180deg, #31546A, #24425A 60%, #1B3445); }
.obit-stage .btn-primary .icon, .obit-close .oc-btn .icon { color: var(--gold); transition: transform .2s; }
.obit-stage .btn-primary:hover .icon, .obit-close .oc-btn:hover .icon { transform: translateX(3px); }
.obit-stage .choice-opt input:checked + span, .obit-stage .choice-opt:has(input:checked) { box-shadow: 0 6px 14px -8px rgba(19,36,47,.5); }
.obit-stage .add-chip:hover { border-color: #C99A4E; color: var(--gold-ink); background: var(--gold-tint); }

/* Reading list and questions, with the serif headings. */
.obit-more .h-sub, .obit-more h2 { font-family: var(--print-serif); font-weight: 600; letter-spacing: -.01em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.obit-more .grid .card, .obit-more .grid a { transition: transform .2s, box-shadow .2s; }
.obit-more .grid a:hover { transform: translateY(-2px); }
.obit-more .faq details { border-radius: 16px; }
.obit-more .faq summary { font-weight: 600; }

/* A closing band, the same dusk as the top of the page. */
.obit-close { position: relative; isolation: isolate; overflow: clip; text-align: center; color: #F4EEE3; padding: clamp(64px, 9vw, 104px) 0 clamp(60px, 8vw, 96px); margin-top: clamp(40px, 6vw, 72px); background: radial-gradient(50% 70% at 50% 0%, rgba(233,166,63,.2), rgba(233,166,63,0) 70%), linear-gradient(180deg, var(--dusk), #13283A); }
.obit-close h2 { font-family: var(--print-serif); font-weight: 500; color: #FFF8EC; font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.01em; margin: 18px 0 10px; }
.obit-close p { color: rgba(244,238,227,.74); max-width: 30em; margin: 0 auto 26px; }
.obit-close .oc-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 650; text-decoration: none; background: #FFF8EC; color: var(--dusk); box-shadow: 0 0 0 6px rgba(233,166,63,.14), 0 18px 40px -16px rgba(0,0,0,.6); }
.obit-close .oc-btn:hover { background: #fff; }
.obit-close .oc-btn .icon { color: var(--gold-ink); }
.oc-candle { display: inline-block; position: relative; width: 14px; height: 24px; }
.oc-candle i { position: absolute; inset: 0; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(60% 50% at 50% 72%, #FFF8E1 0 30%, #FFD27A 55%, rgba(233,166,63,0) 100%); box-shadow: 0 0 22px 8px rgba(233,166,63,.3), 0 0 70px 26px rgba(233,166,63,.14); transform-origin: 50% 90%; animation: flicker 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .oc-candle i { animation: none; } }
.obit-close + footer, .obit-close ~ footer { margin-top: 0; }
.obit-stage:has(.result) ~ .obit-close { display: none; }
.wf-stats > div { flex: 0 1 240px; }
@media (max-width: 600px) { .wf-stats > div { flex: 1 1 0; } }

/* Obituary writer, November 12, 2026 (conversion pass). A shorter first screen on phones and a reassurance line by the button. */
.wiz-safe { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .86rem; font-weight: 550; color: #5E6B73; }
.wiz-safe .icon { width: 16px; height: 16px; color: var(--good); flex: none; }
.wiz-safe.end { justify-content: flex-end; margin-top: 12px; }
@media (max-width: 560px) {
  .wiz-nav:has(.wiz-safe) { flex-direction: column-reverse; align-items: stretch; }
  .wiz-nav .wiz-safe { justify-content: center; text-align: center; font-size: .82rem; }
  .wiz-nav .btn-primary { width: 100%; justify-content: center; }
  .wiz-safe.end { justify-content: center; }
}
@media (max-width: 640px) {
  .obit-hero { padding-bottom: 12px; }
  .obit-hero h1 { font-size: 2.5rem; }
  .obit-hero .lead { font-size: .98rem; line-height: 1.55; text-wrap: balance; }
  .obit-hero .eyebrow { margin-bottom: 10px; }
}

/* Will finder sixth pass, November 12, 2026: help offers inside the plan */
a.wf-chip-link { text-decoration: none; transition: background .15s, color .15s; }
a.wf-chip-link:hover { background: var(--gold-strong); color: var(--dusk-deep); }
a.wf-chip-link .icon:last-child { width: 11px; height: 11px; margin-left: 1px; }
.wf-steps > li.wf-nudge { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed #E8D4AE; border-radius: 16px; background: #FFFBF3; animation: wfIn .4s .3s var(--ease-glide, ease) both; }
.wf-steps > li.wf-nudge::before { display: none; }
.wf-nudge .wf-ico { background: var(--gold-tint); color: var(--gold-ink); }
.wf-nudge p { flex: 1; margin: 0; color: var(--body); font-size: .95rem; }
.wf-nudge b { color: var(--text); }
.wf-nudge .btn { flex: none; }
.wf-end { margin: 6px 0 22px; }
.wf-end h3 { font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 4px; }
.wf-end .wf-sub { margin: 0 0 16px; }
.wf-end-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wf-end-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E6EBEE; border-radius: var(--radius); padding: 22px; }
.wf-end-card .wf-ico { margin-bottom: 12px; }
.wf-end-card > b { color: var(--text); font-size: 1.08rem; }
.wf-end-card > p { color: var(--body); font-size: .93rem; margin: 4px 0 14px; }
.wf-end-card .wf-price { font-size: 1.7rem; margin: auto 0 12px; }
.wf-end-card .btn { justify-content: center; }
.wf-end-card .wf-fine { display: block; text-align: center; margin-top: 10px; }
.wf-end-card.wf-featured { border: 1.5px solid var(--gold-strong); background: linear-gradient(180deg, #FFFBF3, #fff 60%); box-shadow: 0 22px 44px -32px rgba(138,90,16,.55); }
.wf-end-card.wf-featured .wf-ico { background: var(--gold-tint); color: var(--gold-ink); }
.wf-end-card .wf-badge { left: 22px; right: auto; }
@media (max-width: 600px) {
  .wf-end-grid { grid-template-columns: 1fr; }
  .wf-end-card.wf-featured { order: -1; }
  .wf-steps > li.wf-nudge { flex-wrap: wrap; }
  .wf-nudge .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .wf-steps > li.wf-nudge { animation: none; } }

/* Obituary results: what comes next, with the Search Kit and Service (November 12, 2026) */
.obit-next { margin-top: 28px; background: linear-gradient(180deg, #FFFBF3, var(--paper)); border: 1px solid #F0E3CB; border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); }
.obit-next-head { text-align: center; max-width: 560px; margin: 0 auto 22px; }
.obit-next-head .eyebrow { margin-bottom: 8px; }
.obit-next-head h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); letter-spacing: -.025em; margin: 0 0 6px; }
.obit-next-head p { color: var(--body); margin: 0; }
.obit-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.obit-tier { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #E6EBEE; border-radius: 18px; padding: 20px; color: var(--body); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.obit-tier:hover { border-color: var(--dusk-soft); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--body); }
.obit-tier .wf-ico { margin-bottom: 6px; }
.obit-tier > b { color: var(--text); font-size: 1.05rem; }
.obit-tier > span:not(.wf-ico):not(.wf-badge):not(.obit-go) { font-size: .92rem; line-height: 1.45; }
.obit-tier em { font-style: normal; font-weight: 750; font-size: 1.5rem; letter-spacing: -.02em; color: var(--text); margin-top: auto; padding-top: 8px; }
.obit-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--dusk); font-size: .93rem; }
.obit-go .icon { width: 15px; height: 15px; transition: transform .15s; }
.obit-tier:hover .obit-go .icon { transform: translateX(3px); }
.obit-featured { border: 1.5px solid var(--gold-strong); box-shadow: 0 20px 40px -30px rgba(138,90,16,.55); }
.obit-featured .wf-ico { background: var(--gold-tint); color: var(--gold-ink); }
.obit-featured .wf-badge { left: 20px; right: auto; }
.obit-featured .obit-go { color: var(--gold-ink); }
.obit-next-fine { text-align: center; color: var(--muted); font-size: .85rem; margin: 16px 0 0; }
@media (max-width: 600px) { .obit-tiers { grid-template-columns: 1fr; } .obit-featured { order: -1; } }

/* Obituary results: newspaper estimate (November 12, 2026) */
.news-est { display: grid; justify-items: start; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 12px 0 10px; }
.news-k { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.news-est b { font-size: 1.9rem; font-weight: 750; letter-spacing: -.03em; color: var(--text); line-height: 1.1; }
.news-sub { font-size: .84rem; color: var(--muted); }
.news-rows { list-style: none; padding: 0; margin: 0 0 8px; }
.news-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #EEF1F3; }
.news-rows li:last-child { border-bottom: 0; }
.news-rows li > span { flex: 1; min-width: 0; }
.news-rows b { display: block; color: var(--text); font-size: .93rem; }
.news-rows small { display: block; color: var(--muted); font-size: .82rem; }
.news-rows em { font-style: normal; font-weight: 700; color: var(--text); }
.news-rows a { font-size: .82rem; font-weight: 650; color: var(--dusk); }
.news-fine { font-size: .8rem; color: var(--muted); line-height: 1.45; margin: 0 0 4px; }

/* Obituary results: paid add-ons for the service (November 12, 2026) */
.obit-addons { margin-top: 22px; }
.obit-addons[hidden], .obit-addon[hidden] { display: none; }
.obit-addons h3 { font-family: var(--print-serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 12px; }
.obit-addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.obit-addon { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #E6EBEE; border-radius: 16px; padding: 14px 16px; color: var(--body); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.obit-addon:hover { border-color: var(--dusk-soft); transform: translateY(-1px); box-shadow: var(--shadow); color: var(--body); }
.obit-addon > span:not(.wf-ico) { flex: 1; min-width: 0; }
.obit-addon b { display: block; color: var(--text); font-size: .98rem; }
.obit-addon small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.obit-addon em { font-style: normal; font-weight: 750; color: var(--text); font-size: 1.1rem; }

/* Build 11. Newspaper pages: a start box for the obituary writer. */
.obit-start{background:linear-gradient(180deg,#fff, #FBF6EC);border:1px solid rgba(201,180,142,.55);border-radius:18px;padding:22px 22px 20px;box-shadow:0 10px 30px -18px rgba(32,57,74,.35);max-width:920px;margin:0 auto}
.obit-start .os-head h2{margin:4px 0 6px;font-size:clamp(1.35rem,2.6vw,1.7rem)}
.obit-start .os-head p{margin:0 0 14px;color:var(--muted,#55626b)}
.obit-start .os-row{display:grid;grid-template-columns:1.3fr 1fr auto;gap:12px;align-items:end}
.obit-start .field{margin:0}
.obit-start .btn{min-height:44px;white-space:nowrap}
@media (max-width:760px){.obit-start .os-row{grid-template-columns:1fr}.obit-start .btn{width:100%;justify-content:center}}
.wf .wf-fixed{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:8px 14px;border-radius:999px;background:#FBF0DC;color:var(--text);font-weight:620}

/* ===== Frame v2 (November 17, 2026). Every inner page at the /what-to-do bar: the dusk sky hero with the flock,
   a headline that rises, a short answer that reads like a statement, warmer reading type and a photo band to close. ===== */

/* Word rise, shared (home.css has the same rules for the home page) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; }
.rising .w > span { animation: wordUp .95s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
@keyframes wordUp { from { transform: translateY(115%); } }

/* The dusk hero */
.page-hero.ph-dusk { background: var(--dusk-deep); color: #fff; padding: clamp(132px, 15vw, 176px) 0 clamp(52px, 7vw, 92px); }
.ph-dusk .ph-bg { position: absolute; inset: 0; z-index: -2; }
.ph-dusk .ph-bg picture, .ph-dusk .ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.ph-dusk .ph-bg img { animation: phSky 2s cubic-bezier(.2,.7,.2,1) both, drift 30s ease-in-out 2s infinite alternate; transform-origin: 70% 50%; }
@keyframes phSky { from { opacity: 0; transform: scale(1.06); } }
.page-hero.ph-dusk::before { background: linear-gradient(90deg, rgba(14,28,38,.9) 0%, rgba(14,28,38,.74) 38%, rgba(14,28,38,.3) 70%, rgba(14,28,38,.12) 100%), linear-gradient(0deg, rgba(14,28,38,.55), rgba(14,28,38,0) 45%); }
.page-hero.ph-dusk::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; z-index: -1; background: var(--paper); border-radius: 28px 28px 0 0; }
.ph-dusk h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.042em; max-width: 13em; margin-bottom: .34em; }
.ph-dusk .lead { color: rgba(255,255,255,.86); font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; text-wrap: pretty; }
.ph-dusk .lead a { color: #fff; }
.ph-dusk .eyebrow { color: var(--gold-strong); background: none; border: 0; box-shadow: none; padding: 0; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.ph-dusk .crumbs, .ph-dusk .crumbs a { color: rgba(255,255,255,.66); }
.ph-dusk .crumbs a:hover { color: #fff; }
.ph-dusk .crumbs [aria-current] { color: rgba(255,255,255,.92); }
.ph-dusk .chips li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; }
.ph-dusk .chips .icon { color: var(--gold-strong); }
.ph-dusk .chips a { color: #fff; }
.ph-dusk .ph-flock { top: clamp(110px, 12vw, 140px); }
.ph-dusk .ph-flock path { fill: rgba(14, 24, 32, .62); }
.ph-dusk .btn-primary { background: var(--gold-strong); border-color: var(--gold-strong); color: #2B1B02; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 30px -14px rgba(180,110,10,.75); }
.ph-dusk .btn-primary:hover { background: #FFB54A; color: #2B1B02; }
.ph-dusk .btn-ghost, .ph-dusk .btn-secondary { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.ph-dusk .jump a { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.ph-dusk .jump a:hover { background: rgba(255,255,255,.2); color: #fff; }
.ph-dusk .ph-main > p:not(.lead), .ph-dusk .ph-main .small { color: rgba(255,255,255,.78); }
.ph-dusk .ph-main > p a, .ph-dusk .ph-main .small a { color: #fff; }
.ph-dusk .ph-aside { color: var(--body); }
.page-hero.ph-dusk + .sec-sm, .page-hero.ph-dusk + section { padding-top: clamp(14px, 2vw, 24px); }
@media (max-width: 768px) {
  .page-hero.ph-dusk { padding: 118px 0 46px; }
  .ph-dusk h1 { font-size: clamp(2.05rem, 9.4vw, 2.6rem); }
  .ph-dusk .ph-bg img { object-position: 30% 60%; }
  .page-hero.ph-dusk::before { background: linear-gradient(180deg, rgba(14,28,38,.5) 0%, rgba(14,28,38,.62) 45%, rgba(14,28,38,.8) 100%); }
  .page-hero.ph-dusk::after { height: 20px; border-radius: 20px 20px 0 0; }
}

/* The short answer reads like a statement */
.answer { position: relative; border: 1px solid var(--hairline); border-left: 0; background: linear-gradient(180deg, #fff, #FFFDF9); border-radius: 22px; padding: 22px 26px 22px 30px; margin: 0 0 32px; box-shadow: var(--shadow); overflow: hidden; }
.answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--gold-strong), var(--gold)); }
.answer .answer-k { display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 10px; }
.answer .answer-k::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); }
.answer p:last-child { font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--text); letter-spacing: -.008em; }

/* Key facts become a set of numbered notes */
.key-facts:not(.wtd-numbers):not(.kf-x) { position: relative; background: var(--sand); border: 0; border-radius: 22px; padding: 24px 26px 18px; margin: 0 0 34px; }
.key-facts:not(.wtd-numbers):not(.kf-x) > h2, .key-facts:not(.wtd-numbers):not(.kf-x) .h-sub { display: flex; align-items: center; gap: 10px; font-size: 1.12rem !important; letter-spacing: -.015em; margin: 0 0 14px !important; padding: 0; color: var(--text); }
.key-facts:not(.wtd-numbers):not(.kf-x) > h2::before { content: ""; position: static; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--dusk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A531' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.key-facts:not(.wtd-numbers):not(.kf-x) > p { font-size: .92rem; color: var(--muted); }
.key-facts:not(.wtd-numbers):not(.kf-x) ul { list-style: none; padding: 0; margin: 0; counter-reset: kf; display: grid; gap: 0; }
.key-facts:not(.wtd-numbers):not(.kf-x) li { counter-increment: kf; position: relative; margin: 0; padding: 13px 0 13px 40px; border-top: 1px solid rgba(27, 42, 54, .08); line-height: 1.6; color: var(--body); }
.key-facts:not(.wtd-numbers):not(.kf-x) li:first-child { border-top: 0; padding-top: 4px; }
.key-facts:not(.wtd-numbers):not(.kf-x) li::before { content: counter(kf, decimal-leading-zero); position: absolute; left: 0; top: 16px; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; font-size: .78rem; font-weight: 750; letter-spacing: .04em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.key-facts:not(.wtd-numbers):not(.kf-x) li:first-child::before { top: 7px; }
.key-facts:not(.wtd-numbers):not(.kf-x) li b, .key-facts:not(.wtd-numbers):not(.kf-x) li strong { color: var(--text); }
.key-facts:not(.wtd-numbers):not(.kf-x) .table-wrap { background: #fff; border-radius: 14px; }

/* Reading type and rhythm */
.doc-main.prose, .narrow.prose { font-size: 1.04rem; line-height: 1.7; }
.prose > p:first-of-type:not(.source):not(.small) { text-wrap: pretty; }
.prose h2 { position: relative; font-size: clamp(1.55rem, 2.7vw, 2.05rem); letter-spacing: -.03em; line-height: 1.12; margin: 2em 0 .6em; padding-top: 18px; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); }
.prose .answer + h2, .prose .key-facts + h2 { margin-top: 1.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul:not([class]) { list-style: none; padding-left: 0; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.5em; margin-bottom: .6em; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: .2em; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); }
.prose ol:not([class]) > li::before { background: var(--dusk); color: #fff; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.1rem; color: var(--text); }
.prose .note { border-radius: 18px; padding: 18px 22px; }

/* Fact links read as text with a quiet underline, so a paragraph isn't a wall of links */
main a[data-fact] { color: inherit; text-decoration: underline dotted; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
main a[data-fact]:hover { text-decoration-style: solid; text-decoration-color: var(--gold); }

/* Tables sit in a soft card */
.prose table { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--lift); }
.prose thead th { background: var(--sand); font-size: .84rem; letter-spacing: .02em; }
.prose th, .prose td { padding: 12px 16px; }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: 0; }
.table-wrap .prose table, .table-wrap table { box-shadow: none; }

/* The side card becomes a small dusk panel */
.doc-aside .side-card { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--dusk) 0%, var(--dusk-deep) 100%); border: 0; color: rgba(255,255,255,.82); box-shadow: 0 24px 50px -30px rgba(14, 28, 38, .7); padding: 22px; }
.doc-aside .side-card::after { content: ""; position: absolute; z-index: -1; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(247,165,49,.34), rgba(247,165,49,0) 70%); }
.doc-aside .side-card > b { color: #fff; font-size: 1.12rem; }
.doc-aside .side-card p { color: rgba(255,255,255,.78); }
.doc-aside .side-card a:not(.btn) { color: #fff; }
.doc-aside .side-card .btn-primary { background: var(--gold-strong); color: #2B1B02; border-color: var(--gold-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.doc-aside .side-card .btn-primary:hover { background: #FFB54A; color: #2B1B02; }
.doc-aside .side-card .ticklist .icon { color: var(--gold-strong); }

/* The closing band, a touch taller and with the flock */
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.04em; line-height: 1.04; max-width: 11em; }
.closing .lead { max-width: 30em; margin-bottom: 26px; }

@media (prefers-reduced-motion: reduce) { .ph-dusk .ph-bg img { animation: none; } .rising .w > span { animation: none; } }
@media print {
  .page-hero.ph-dusk { background: none; color: var(--text); padding: 0 0 12px; }
  .ph-dusk .ph-bg, .page-hero.ph-dusk::before, .page-hero.ph-dusk::after { display: none; }
  .ph-dusk h1, .ph-dusk .lead, .ph-dusk .crumbs, .ph-dusk .crumbs a { color: var(--text); }
  .doc-aside .side-card { display: none; }
}

/* Long guides count their parts, so the page reads as a sequence */
.doc-main { counter-reset: part; }
.doc-main > h2 { counter-increment: part; padding-top: 26px; }
.doc-main > h2::before { content: counter(part, decimal-leading-zero); width: 74px; height: auto; top: 0; border-radius: 0; background: linear-gradient(var(--gold), var(--gold)) right 7px / 44px 2px no-repeat; font-size: .78rem; font-weight: 750; letter-spacing: .06em; line-height: 1.1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.doc-main.no-count > h2 { padding-top: 18px; }
.doc-main.no-count > h2::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); }

/* Shared sections for richer pages: accent cards, the dusk band of promises (About, November 17, 2026) */
.accent-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 32px); background: #fff; border: 1px solid var(--hairline); border-radius: 24px; box-shadow: var(--lift); overflow: hidden; transition: transform .5s var(--ease-spring), box-shadow .45s var(--ease-glide); }
.accent-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold); }
.accent-card:nth-child(2)::before { background: var(--dusk-soft); }
.accent-card:nth-child(3)::before { background: var(--dusk); }
@media (hover: hover) { .accent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.accent-card h3 { margin: 6px 0 0; font-size: clamp(1.4rem, 2.3vw, 1.75rem); letter-spacing: -.03em; }
.accent-card p { margin: 0; line-height: 1.65; }
.band-dusk { position: relative; isolation: isolate; overflow: hidden; background: var(--dusk-deep); color: rgba(255,255,255,.86); }
.band-dusk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 100% 0%, rgba(247,165,49,.2), rgba(247,165,49,0) 60%), radial-gradient(40% 80% at 0% 100%, rgba(92,124,142,.34), rgba(92,124,142,0) 70%); }
.band-dusk h2 { color: #fff; }
.band-dusk .eyebrow { color: var(--gold-strong); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.promises li { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 26px 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: clamp(1.15rem, 1.7vw, 1.32rem); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.promise-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(247,165,49,.7); color: var(--gold-strong); background: rgba(14,28,38,.5); }
.promise-ic .icon { width: 21px; height: 21px; stroke-width: 2; }
.about-line { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -.05em; max-width: 10em; margin-bottom: .45em; }
.about-reach { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) { .about-reach { grid-template-columns: 1fr 1fr; } }
.about-reach h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.about-links { gap: 14px; }
@media print { .band-dusk { background: none; color: inherit; } .band-dusk h2, .promises li { color: var(--text); } }
.band-dusk .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; }
.about-intro { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (min-width: 940px) { .about-intro { grid-template-columns: 1fr 1.1fr; } .about-intro .about-line { margin-bottom: 0; } }

/* Polish, November 17, 2026: the hero glance card, the reading line and state tiles that never break a name */
.ph-glance { display: none; }
@media (min-width: 1040px) {
  .ph-has-glance .container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(36px, 5vw, 72px); align-items: end; }
  .ph-has-glance .ph-flock { display: none; }
  .ph-has-glance h1 { max-width: 11em; }
  .ph-glance { display: block; background: rgba(14, 28, 38, .36); border: 1px solid rgba(255, 255, 255, .2); border-radius: 24px; padding: 20px 18px 12px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); animation: rise .9s cubic-bezier(.2, .7, .2, 1) .45s both; }
  .ph-glance-h { margin: 0 0 8px 4px; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-strong); }
  .ph-glance ol { list-style: none; margin: 0; padding: 0; position: relative; }
  .ph-glance ol::before { content: ""; position: absolute; left: 19px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: linear-gradient(var(--gold-strong), rgba(255, 255, 255, .16)); }
  .ph-glance li { margin: 0; }
  .ph-glance a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 7px 8px 7px 0; border-radius: 14px; color: #fff; text-decoration: none; transition: background-color .3s, transform .45s var(--ease-spring); }
  .ph-glance a:hover { background: rgba(255, 255, 255, .08); transform: translateX(3px); color: #fff; }
  .ph-n { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 28, 38, .78); border: 1.5px solid rgba(247, 165, 49, .65); color: var(--gold-strong); font-size: .78rem; font-weight: 750; font-variant-numeric: tabular-nums; }
  .ph-glance li:first-child .ph-n { background: var(--gold-strong); border-color: var(--gold-strong); color: #2B1B02; box-shadow: 0 0 0 5px rgba(247, 165, 49, .18); }
  .ph-glance b { font-size: .98rem; font-weight: 600; line-height: 1.3; text-wrap: balance; }
  .ph-glance-more { margin: 6px 0 4px 52px; font-size: .84rem; color: rgba(255, 255, 255, .62); }
}
.read-line { position: fixed; z-index: 60; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-strong)); pointer-events: none; }
@media (min-width: 521px) { .doc-main .state-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); } }
.state-tiles a span { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (prefers-reduced-motion: reduce) { .ph-glance { animation: none; } }
@media print { .ph-glance, .read-line { display: none !important; } }

/* State tiles carry the state's flag (November 17, 2026) */
.state-tiles .flag { flex: none; width: 36px; height: 24px; object-fit: contain; object-position: center; border-radius: 4px; filter: drop-shadow(0 0 .5px rgba(19, 36, 47, .55)) drop-shadow(0 2px 3px rgba(19, 36, 47, .12)); transition: transform .45s var(--ease-spring); }
.state-tiles a { gap: 12px; padding-left: 12px; }
@media (hover: hover) { .state-tiles a:hover .flag { transform: scale(1.12) rotate(-3deg); } }
@media (max-width: 520px) { .state-tiles .flag { width: 30px; height: 20px; } .state-tiles a { gap: 9px; padding-left: 10px; } }
@media (prefers-reduced-motion: reduce) { .state-tiles .flag { transition: none; } .state-tiles a:hover .flag { transform: none; } }
.state-grid:not(.state-tiles) a { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; }
.state-grid:not(.state-tiles) .flag { flex: none; width: 27px; height: 18px; object-fit: contain; border-radius: 3px; filter: drop-shadow(0 0 .5px rgba(19, 36, 47, .55)); }
.flag-i { display: inline-block; width: 24px; height: 16px; object-fit: contain; vertical-align: -2px; margin-right: 9px; border-radius: 2px; filter: drop-shadow(0 0 .5px rgba(19, 36, 47, .55)); }
.ph-flag { display: block; width: auto; height: 40px; max-width: 76px; margin: 2px 0 18px; border-radius: 5px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 14px 30px -12px rgba(0, 0, 0, .6); animation: rise .8s cubic-bezier(.2, .7, .2, 1) .1s both; }
.page-hero:has(+ .sec-sm #wiz) .ph-flag, .page-hero:has(+ .wf-sec) .ph-flag { margin-inline: auto; }
.glink-flag { width: 42px; height: 28px; object-fit: contain; object-position: left center; margin-bottom: 8px; border-radius: 4px; filter: drop-shadow(0 0 .5px rgba(19, 36, 47, .55)) drop-shadow(0 3px 6px rgba(19, 36, 47, .14)); }
.wf-fixed .flag { display: inline-block; width: 27px; height: 18px; object-fit: contain; vertical-align: -3px; margin-right: 6px; border-radius: 2px; filter: drop-shadow(0 0 .5px rgba(19, 36, 47, .55)); }
@media (max-width: 768px) { .ph-flag { height: 32px; margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .ph-flag { animation: none; } }
@media (min-width: 1040px) {
  .page-hero.ph-has-glance:has(+ .wf-sec) .ph-main, .page-hero.ph-has-glance:has(+ .sec-sm #wiz) .ph-main { max-width: none; margin-inline: 0; text-align: left; }
  .page-hero.ph-has-glance:has(+ .wf-sec) .crumbs, .page-hero.ph-has-glance:has(+ .wf-sec) .ph-meta, .page-hero.ph-has-glance:has(+ .sec-sm #wiz) .ph-meta { justify-content: flex-start; }
  .page-hero.ph-has-glance:has(+ .wf-sec) .lead, .page-hero.ph-has-glance:has(+ .sec-sm #wiz) .lead { margin-inline: 0; }
  .page-hero.ph-has-glance .ph-flag { margin-inline: 0; }
}
