/* Harborline Estate & Probate, Florida probate guide. Concept demo by Alex Mercer.
   Fonts: Newsreader and Source Sans 3 (SIL OFL 1.1), self-hosted. No external requests. */
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-Italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-Italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f7f4ee; --paper-2: #efeae0; --card: #fffdf9;
  --ink: #15222b; --ink-2: #44525c; --ink-3: #6b7780;
  --navy: #14232c; --navy-2: #1d3340;
  --tide: #1e5d5b; --tide-2: #e3eeec; --brass: #b38440; --brass-2: #f3e7d2;
  --line: #ddd5c7; --line-2: #c9bfae;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 19px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
a { color: var(--tide); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); margin: 0; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }
[id] { scroll-margin-top: 92px; }

/* Header */
.site { position: sticky; top: 0; z-index: 40; background: rgba(247,244,238,.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark rect { fill: var(--navy); }
.brand__mark path { fill: none; stroke: #c79a55; stroke-width: 2.6; stroke-linecap: round; }
.brand__mark .brand__sun { stroke: #e8dcc6; stroke-width: 2.2; }
.brand__name { font: 600 23px/1 var(--serif); letter-spacing: -0.01em; display: flex; flex-direction: column; gap: 4px; }
.brand__name small { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.site__nav { display: flex; align-items: center; gap: 28px; font: 600 15px/1 var(--sans); }
.site__nav a { color: var(--ink-2); text-decoration: none; }
.site__nav a:hover { color: var(--tide); }
.site__nav .site__cta { color: #fff; background: var(--tide); padding: 11px 18px; border-radius: 999px; }
.site__nav .site__cta:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); padding: 64px 0 52px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -40px; width: 520px; height: 260px; background: repeating-linear-gradient(180deg, transparent 0 26px, rgba(30,93,91,.09) 26px 28px); border-radius: 260px 260px 0 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.glance { background: var(--navy); color: #dfe6e9; border-radius: 18px; padding: 26px 28px 10px; box-shadow: 0 30px 60px -36px rgba(20,35,44,.7); }
.glance__k { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #e0b56f; margin-bottom: 8px; }
.glance dl { margin: 0; }
.glance dl > div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.glance dl > div:first-child { border-top: 0; }
.glance dt { font: 500 38px/1 var(--serif); color: #fff; letter-spacing: -0.01em; margin-bottom: 6px; }
.glance dd { margin: 0; font-size: 15.5px; line-height: 1.45; color: #b9c5cb; }
.crumbs { font: 500 14px/1.4 var(--sans); color: var(--ink-3); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.eyebrow { font: 700 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.04; max-width: 17ch; font-weight: 500; letter-spacing: -0.022em; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--tide); font-size: .6em; line-height: 1.18; margin-top: 16px; letter-spacing: -0.01em; max-width: 26ch; }
.deck { font: 400 22px/1.55 var(--serif); color: var(--ink-2); max-width: 46ch; margin: 26px 0 28px; }
.meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; font: 600 14px/1.3 var(--sans); color: var(--ink-2); }
.meta li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.meta li:last-child { background: var(--brass-2); border-color: #e3cfa9; color: #6b4a17; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; justify-content: space-between; gap: 64px; padding: 56px 0 72px; }
.post { min-width: 0; }
.post > h2 { font-size: clamp(30px, 3vw, 38px); line-height: 1.15; margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.post > h3 { font-size: 26px; line-height: 1.25; margin: 40px 0 12px; font-weight: 600; }
.post ul, .post ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.post li { margin-bottom: .55em; padding-left: .2em; }
.post li::marker { color: var(--brass); }
.post strong { font-weight: 700; color: var(--navy); }

.short { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--tide); border-radius: 6px 14px 14px 6px; padding: 28px 32px 14px; box-shadow: 0 18px 40px -30px rgba(20,35,44,.35); }
.short h2 { font: 700 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tide); margin-bottom: 14px; }
.short p { font-size: 19.5px; }

.note { background: var(--tide-2); border-radius: 10px; padding: 18px 22px; font-size: 18px; }
.callout { background: var(--navy); color: #e9eef0; border-radius: 14px; padding: 26px 30px 12px; margin: 26px 0 28px; position: relative; }
.callout a { color: #f0d6a8; }
.callout__k { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #e0b56f; margin-bottom: 12px; }
.callout p { font-size: 18px; }

.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 52px !important; margin-bottom: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--tide); color: var(--tide); font: 600 17px/31px var(--serif); text-align: center; }

/* Decision flow */
.flow { list-style: none; padding: 0 !important; margin: 26px 0 8px !important; position: relative; }
.flow::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 40px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px); }
.flow__q { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 0 !important; margin-bottom: 16px !important; position: relative; }
.flow__n { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #f2e3c8; font: 500 24px/52px var(--serif); text-align: center; margin: 0; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--paper); }
.flow__q > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px 8px; }
.flow__t { font: 600 20px/1.35 var(--serif); color: var(--navy); margin-bottom: 12px; }
.flow__a { font-size: 17px; line-height: 1.5; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; }
.flow__a b { color: var(--navy); }
.pill { flex: none; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.pill--yes { background: var(--tide); color: #fff; }
.pill--no { background: var(--brass-2); color: #6b4a17; border: 1px solid #e3cfa9; }

/* Table */
.table { margin: 22px 0 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
caption { text-align: left; padding: 16px 20px; font: 600 14px/1.3 var(--sans); color: var(--ink-3); border-bottom: 1px solid var(--line); caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
thead th { font: 600 17px/1.25 var(--serif); color: #fff; background: var(--navy); }
thead th:nth-child(3) { background: var(--tide); }
tbody th { font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); width: 20%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody td:nth-child(3) { background: #f2f7f6; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 21px/1.35 var(--serif); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--tide); border-bottom: 2px solid var(--tide); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); font-size: 18px; }

/* CTA, disclaimer, sources */
.cta { margin: 64px 0 28px; background: var(--navy); color: #e8edef; border-radius: 18px; padding: 40px 40px 26px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(199,154,85,.13); }
.cta h2 { color: #fff; font-size: 36px; margin-bottom: 14px; position: relative; }
.cta p { position: relative; max-width: 54ch; }
.cta__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 22px; }
.btn { display: inline-block; font: 700 16px/1 var(--sans); padding: 15px 22px; border-radius: 999px; background: #c79a55; color: var(--navy); text-decoration: none; }
.btn:hover { background: #e0b56f; color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.cta__small { font-size: 14.5px; line-height: 1.5; color: #b9c5cb; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; }
.disclaimer { font-size: 16px; line-height: 1.55; color: var(--ink-2); background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: 12px; padding: 18px 22px; }
.sources { margin-top: 40px; }
.sources h2 { font-size: 24px; margin-bottom: 12px; }
.sources ol { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

/* Rail */
.rail { position: relative; }
.rail > * { position: sticky; }
.toc { top: 104px; padding: 4px 0 0; }
.rail__k { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0 0 30px; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font: 500 16px/1.35 var(--sans); }
.toc a:hover { color: var(--tide); border-left-color: var(--tide); }
.rail__card { top: 420px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--brass); border-radius: 12px; padding: 20px 20px 16px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.rail__card .rail__k { color: var(--brass); }
.rail__card a { font-weight: 700; text-decoration: none; }

/* Writer's notes */
.notes { background: #10191f; color: #d9e0e3; padding: 80px 0 84px; border-top: 6px solid var(--brass); }
.notes a { color: #f0d6a8; }
.notes__tag { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #10191f; background: #e0b56f; padding: 7px 11px; border-radius: 4px; margin-bottom: 20px; }
.notes h2 { color: #fff; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.05; }
.notes h2 em { font-style: italic; font-weight: 400; color: #e0b56f; font-size: .55em; margin-left: .3em; letter-spacing: 0; }
.notes__lede { font: 400 21px/1.55 var(--serif); color: #b8c4ca; max-width: 60ch; margin: 18px 0 40px; }
.notes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ncard { background: #17242c; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 24px 22px 10px; font-size: 16px; line-height: 1.55; }
.ncard h3 { color: #fff; font: 600 21px/1.2 var(--serif); margin-bottom: 12px; }
.ncard ul { padding-left: 1.1em; margin: 0 0 14px; }
.ncard li { margin-bottom: 6px; }
.ncard b { color: #fff; }
.ncard__big { font: 400 56px/1 var(--serif); color: #e0b56f; margin-bottom: 14px; }
.ncard__big small { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8a9aa2; margin-left: 4px; }
.ncard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 8px 28px; align-items: start; }
.notes__dl { margin: 34px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.notes .btn--light { background: #e0b56f; color: #10191f; }
.notes .btn--light:hover { background: #f0d6a8; color: #10191f; }
.notes__src { font-weight: 600; }

.foot { background: #0b1216; color: #8d9ba2; font-size: 14.5px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 22px 0; }
.foot p { margin: 0; }
.foot b { color: #d9e0e3; }

/* Responsive */
@media screen and (max-width: 1100px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .glance { max-width: 760px; }
  .glance dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
  .glance dl > div { border-top: 0; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; justify-content: stretch; max-width: 760px; }
  .rail { order: -1; margin-bottom: 8px; }
  .rail > * { position: static; }
  .toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 6px; margin-bottom: 14px; }
  .toc ol { columns: 2; column-gap: 20px; border: 0; margin-bottom: 10px; }
  .toc a { padding-left: 0; border: 0; }
  .rail__card { margin-bottom: 30px; }
  .notes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 720px) {
  body { font-size: 18px; }
  .wrap { width: calc(100% - 40px); }
  .site__in { height: 64px; }
  .site__nav a:not(.site__cta) { display: none; }
  .site__nav .site__cta { padding: 10px 15px; font-size: 14px; }
  .brand__name { font-size: 20px; }
  .brand__mark { width: 34px; height: 34px; }
  .hero { padding: 40px 0 36px; }
  .hero::after { width: 300px; height: 150px; right: -100px; }
  .hero h1 { font-size: 38px; }
  .hero h1 em { font-size: .66em; }
  .deck { font-size: 20px; }
  .meta li { font-size: 13px; }
  .layout { padding-top: 32px; }
  .glance { padding: 22px 22px 6px; }
  .glance dl { grid-template-columns: minmax(0, 1fr); }
  .glance dl > div { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; }
  .glance dl > div:first-child { border-top: 0; }
  .glance dt { font-size: 32px; }
  .toc ol { columns: 1; }
  .short { padding: 22px 22px 8px; }
  .short p { font-size: 18px; }
  .post > h2 { font-size: 29px; margin-top: 52px; }
  .post > h3 { font-size: 23px; }
  .callout { padding: 22px 22px 8px; }
  .flow::before { left: 19px; }
  .flow__q { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .flow__n { width: 40px; height: 40px; font-size: 20px; line-height: 40px; }
  .flow__q > div { padding: 16px 16px 6px; }
  .flow__t { font-size: 18.5px; }
  .flow__a { flex-direction: column; gap: 6px; align-items: flex-start; }
  table, thead, tbody, tr, th, td, caption { display: block; }
  thead { display: none; }
  tbody tr { border-bottom: 1px solid var(--line); padding: 14px 18px 6px; }
  tbody tr:last-child { border-bottom: 0; }
  tbody th { width: auto; padding: 0 0 8px; border: 0; color: var(--tide); }
  tbody td { padding: 0 0 10px; border: 0; background: none !important; }
  tbody td::before { content: attr(data-label); display: block; font: 600 15px/1.3 var(--serif); color: var(--navy); margin-bottom: 2px; }
  .faq summary { font-size: 19px; }
  .cta { padding: 30px 22px 18px; }
  .cta h2 { font-size: 30px; }
  .notes { padding: 56px 0 60px; }
  .notes h2 em { display: block; margin: 8px 0 0; font-size: .6em; }
  .notes__grid { grid-template-columns: minmax(0, 1fr); }
  .ncard--wide { grid-template-columns: minmax(0, 1fr); }
}

/* Print / PDF */
@media print {
  @page { size: Letter; margin: 16mm 16mm 18mm; }
  body { background: #fff; font-size: 11pt; line-height: 1.5; }
  .glance { box-shadow: none; background: #f1f1f1 !important; color: #000 !important; break-inside: avoid; }
  .glance dt, .glance__k { color: #000 !important; }
  .glance dd { color: #333 !important; }
  .hero__in { display: block; }
  .glance { margin-top: 14px; padding: 12px 16px 4px; border-radius: 8px; }
  .glance dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
  .glance dl > div { border-top: 0 !important; padding: 6px 0; }
  .glance dt { font-size: 20pt; }
  .glance dd { font-size: 9pt; }
  .hero h1 { max-width: none; }
  .post > h2 { padding-top: 10pt; margin-top: 18pt; }
  .short p, .post p, .post li { font-size: 11pt; }
  table { font-size: 9.5pt; }
  .notes__grid { gap: 10px; }
  .ncard { font-size: 9.5pt; padding: 12px 14px 4px; }
  .ncard__big { font-size: 28pt; color: #000; }
  .ncard--wide { grid-template-columns: 160px 1fr; }
  .flow__t { font-size: 12pt; }
  .flow__a { font-size: 10pt; }
  .flow__n { box-shadow: none; }
  .foot, .site, .rail, .faq summary::after, .cta__links, .notes__dl, .hero::after, .cta::after { display: none !important; }
  .am-demo-bar { background: #fff !important; color: #000 !important; border: 1px solid #000; font-size: 9pt !important; }
  .am-demo-bar a { display: none; }
  .hero { background: none; padding: 18px 0 14px; }
  .wrap { width: 100%; }
  .layout { display: block; padding: 10px 0 0; }
  .hero h1 { font-size: 28pt; }
  .deck { font-size: 13pt; }
  .post > h2 { font-size: 18pt; margin-top: 22pt; break-after: avoid; }
  .post > h3 { font-size: 14pt; break-after: avoid; }
  .flow__q, .short, .callout, .note, tr, .ncard { break-inside: avoid; }
  .faq details > p { display: block; }
  a { color: inherit; text-decoration: none; }
  .callout, .cta { background: #f1f1f1 !important; color: #000 !important; }
  .callout a, .cta h2 { color: #000 !important; }
  .cta__small { color: #333; }
  .notes { background: #fff; color: #000; border-top: 2px solid #000; padding: 20px 0 0; break-before: page; }
  .notes h2, .ncard h3, .ncard b { color: #000; }
  .notes__lede { color: #333; }
  .ncard { background: #fff; border-color: #bbb; }
  .notes__grid { grid-template-columns: 1fr 1fr; }
  .notes a { color: #000; }
  .foot { background: #fff; color: #333; }
}
