:root {
  color-scheme: light;
  --ink: #173632;
  --forest: #153a35;
  --muted: #50605a;
  --line: #d3dcd6;
  --paper: #fcfcf8;
  --mint: #bde4d3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.55; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
button, select, textarea, input { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
a { color: #135747; text-underline-offset: .22em; text-decoration-thickness: .08em; }
button { border: 1px solid var(--line); background: white; border-radius: .45rem; padding: .6rem 1rem; text-align: center; line-height: 1.35; }
button:hover { background: #edf4ee; border-color: #819e90; }
button:disabled { cursor: wait; opacity: .67; }
:focus-visible { outline: 3px solid #b97617; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(74rem, calc(100% - 6rem)); margin-inline: auto; }
.skip { position: fixed; top: .65rem; left: .65rem; transform: translateY(-180%); z-index: 5; background: white; padding: .65rem 1rem; }
.skip:focus { transform: none; }
.masthead { background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header-inner { min-height: 4.8rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font: 600 1.86rem/1 var(--serif); letter-spacing: -.065em; text-decoration: none; }
.brand-mark { width: 1.65rem; height: 1.55rem; position: relative; display: inline-block; border-bottom: 2px solid currentColor; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 46%; height: 1.05rem; top: .1rem; border: 2px solid currentColor; border-top-width: 3px; }
.brand-mark::before { right: 50%; transform: skewY(12deg); border-radius: .1rem .12rem 0 .1rem; }
.brand-mark::after { left: 50%; transform: skewY(-12deg); border-radius: .12rem .1rem .1rem 0; }
nav { display: flex; gap: clamp(1rem, 3.2vw, 2.7rem); align-items: center; }
nav a { font-size: .91rem; font-weight: 560; color: var(--ink); text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: #f9fbf4; }
.hero::after { content: ""; z-index: -1; pointer-events: none; position: absolute; left: -19rem; bottom: -33rem; width: 53rem; height: 50rem; border-radius: 50%; transform: rotate(-20deg) scaleY(.76); background: repeating-radial-gradient(ellipse, transparent 0 7px, #93bfab25 7.6px 8.1px, transparent 8.7px 13px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(2.7rem, 5.5vw, 5rem); }
.kicker { font: 650 .77rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: #3c685b; }
.hero-kicker { color: var(--mint); display: flex; align-items: center; gap: .65rem; }
.hero-kicker::before { content: ""; display: inline-block; width: 1.8rem; border-top: 1px solid currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { margin-block: .95rem 1.25rem; font-size: clamp(3.4rem, 6.35vw, 6.5rem); letter-spacing: -.072em; line-height: .97; }
h1 em { color: var(--mint); font-weight: 400; }
.lead { max-width: 27rem; font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.56; color: #e0eae3; }
.suggestions { margin-top: 1.9rem; }
.suggestions > p { font-size: .82rem; font-weight: 650; margin-bottom: .55rem; color: #e7f0e8; }
.examples, .chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.examples button, .examples a { color: #eff7ef; background: transparent; border: 1px solid #729489; border-radius: 3rem; padding: .44rem .78rem; font-size: .81rem; text-align: left; }
.examples button:hover, .examples a:hover { background: #294d44; border-color: var(--mint); }
.question-card { background: var(--paper); color: var(--ink); border-radius: .9rem; border-top: 4px solid var(--mint); padding: clamp(1.4rem, 3vw, 2.45rem); box-shadow: 0 .8rem 2.8rem #0a251f20; }
.question-card form { display: grid; gap: .55rem; }
label { font-size: .91rem; font-weight: 650; }
.question-label { font: 500 clamp(1.6rem, 2.2vw, 2.15rem)/1.15 var(--serif); letter-spacing: -.045em; margin-bottom: .3rem; }
textarea, select, input:not([type=radio]):not([type=checkbox]) { width: 100%; border: 1px solid #9caea1; border-radius: .38rem; background: white; padding: .7rem .85rem; line-height: 1.42; }
textarea { resize: vertical; min-height: 6rem; margin-bottom: .45rem; }
textarea::placeholder { color: #68766e; }
.select-box { position: relative; }
.select-box select { appearance: none; padding-right: 2.5rem; }
.select-box::after { content: ""; position: absolute; right: 1.05rem; top: 42%; width: .5rem; height: .5rem; border: solid var(--ink); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); pointer-events: none; }
.primary-action, .button { display: inline-block; background: var(--forest); color: #fff; border: 1px solid var(--forest); border-radius: .4rem; font-weight: 650; text-decoration: none; padding: .76rem 1.15rem; }
.primary-action { margin-top: .35rem; }
.primary-action:hover, .button:hover { background: #255648; border-color: #255648; }
.privacy { display: flex; justify-content: center; align-items: center; gap: .48rem; color: #4c6258; font-size: .81rem; margin-top: .3rem; }
.lock { width: .68rem; height: .55rem; border: 1.4px solid currentColor; border-radius: .12rem; position: relative; margin-top: .18rem; }
.lock::before { content: ""; position: absolute; bottom: 100%; left: 13%; width: 74%; height: .42rem; border: 1.4px solid currentColor; border-bottom: 0; border-radius: 50% 50% 0 0; }
.content { padding-block: clamp(2rem, 4.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.06; letter-spacing: -.055em; }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.75rem); letter-spacing: -.03em; line-height: 1.2; }
.feature { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.35rem, 3.5vw, 3rem); background: #e9f1e9; border: 1px solid #d0dfd1; border-radius: .75rem; align-items: start; }
.feature h2, .browse h2 { margin-top: .55rem; }
.feature-summary > p:last-child { margin-top: .9rem; max-width: 30rem; color: #40574d; }
.guide-mount { border-left: 1px solid #b8cbbd; padding-left: clamp(1.5rem, 3vw, 3rem); }
.guide-mount:empty { display: none; }
.guide-mount h3 { margin: .2rem 0 .65rem; }
.guide-mount fieldset { margin: .6rem 0; padding: .8rem; border: 1px solid #b8cbbd; }
.guide-mount legend { font-weight: 650; }
.guide-mount :is(label,select) { display: block; }
.guide-mount :is(button,select) { margin: .27rem .27rem .27rem 0; }
.guide-mount p + p, .guide-mount p + div, .guide-mount p + ul { margin-top: .55rem; }
.browse { padding-top: clamp(2.5rem, 4vw, 4rem); }
.browse-intro { margin-bottom: 1.4rem; }
.topics-mount { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 15.5rem),1fr)); gap: .8rem; }
.topics-mount > :is(button,a,article,details), .topic-card { display: block; text-align: left; padding: 1rem 1.15rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: .45rem; overflow-wrap: anywhere; }
.topics-mount > :is(button,a):hover, .topic-card:hover { background: #edf3ec; border-color: #8ca895; }
.topics-mount > :is(button,a), .topic-card :is(button,a) { text-align: left; }
.topics-mount strong { font-weight: 650; }
.topics-mount small, .topic-card span { line-height: 1.5; }
.answer-pane { padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid #b3c8ba; border-top: .26rem solid #56846e; border-radius: .65rem; background: #fff; margin-bottom: 2rem; scroll-margin-top: 1rem; overflow-wrap: anywhere; }
.answer-pane :is(p,ul,ol,details,section,article,div,button,h3,h4) + :is(p,ul,ol,details,section,article,div,button,h2,h3,h4) { margin-top: .7rem; }
.answer-pane h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.answer-pane li + li, .guide-mount li + li { margin-top: .3rem; }
.answer-pane ul, .answer-pane ol, .guide-mount ul, .guide-mount ol { padding-left: 1.4rem; }
.answer-pane p, .answer-pane li { max-width: 76ch; }
.answer-pane details, .guide-mount details { border-top: 1px solid var(--line); padding-block: .85rem; }
summary { font-weight: 650; }
.answer-pane .secondary, .secondary, .choice { background: white; color: var(--ink); border: 1px solid #8ba594; }
.answer-pane a:hover, footer a:hover { text-decoration-thickness: 2px; }
.no-script { margin-block: 1rem; }
footer { border-top: 1px solid var(--line); background: #f3f5ee; padding-block: 1.55rem; }
footer .brand { font-size: 1.35rem; }
footer .brand-mark { transform: scale(.8); transform-origin: left center; margin-right: -.25rem; }
footer p { max-width: 40rem; font-size: .83rem; color: var(--muted); }
@media (min-width: 94rem) { .hero-inner { padding-block: 5.7rem; } }
@media (max-width: 55rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-inner { gap: 1.6rem; }
  .feature { gap: 1.4rem; }
  .examples { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 4rem; gap: .6rem; flex-wrap: wrap; padding-block: .65rem; }
  .brand { font-size: 1.55rem; gap: .4rem; }
  nav { gap: .8rem; }
  nav a { font-size: .8rem; }
  nav a:first-child { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 2.35rem 1.65rem; }
  h1 { font-size: clamp(3.05rem, 10.7vw, 4.55rem); margin-block: .75rem .8rem; }
  h1 br { display: none; }
  h1 em::before { content: " "; }
  .lead { font-size: 1rem; }
  .suggestions { margin-top: 1.05rem; }
  .examples { flex-direction: row; align-items: center; }
  .feature { grid-template-columns: 1fr; }
  .guide-mount { border-left: none; border-top: 1px solid #b8cbbd; padding: 1.1rem 0 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .masthead, .hero, .examples, footer, .no-script, nav, button { display:none; }
  .wrap { width:100%; }
  .content { padding:0; }
  .answer-pane { border:0; padding:0; }
  a { color:#000; }
}
.library-toolbar { display: grid; gap: .35rem; max-width: 34rem; margin: .7rem 0 1.1rem; }
.library-toolbar label { font-size:.9rem; font-weight:600; }
.library-toolbar :is(input,select) { font: inherit; color:var(--ink); background:#fff; border:1px solid #91a59a; border-radius:.4rem; padding:.7rem .85rem; }
.topic-card small { color:#476252; margin-bottom:.2rem; }

.examples a { text-decoration: none; line-height: 1.35; }
.feature + .feature { margin-top: 2rem; }

#recent-sources { margin: .8rem 0; }
#recent-sources small, .live-answer small { display: block; color: var(--muted); }
#recent-sources li { margin-top: .55rem; }

.home-paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; margin-top:1.35rem; }
.home-paths a { display:flex; align-items:center; padding:.7rem .85rem; min-height:2.85rem; color:white; background:#21483e; border:1px solid #689282; border-radius:.45rem; text-decoration:none; font-weight:600; line-height:1.3; }
.home-paths a:hover,.home-paths a:focus-visible { background:#355f50; }
.help-nav { border:1px solid #96aea2; border-radius:2rem; padding:.55rem .8rem; }
.optional { color:var(--muted); font-weight:400; }
.help-panel { margin:0 0 2.5rem; padding:clamp(1.1rem,3.5vw,3rem); border:1px solid #d1dcd2; border-radius:.8rem; background:#fff; }
.help-panel h2 { margin:.4rem 0 1.4rem; }
.help-controls { display:grid; grid-template-columns:1fr 1fr; gap:1rem; border-bottom:1px solid var(--line); padding-bottom:1.35rem; }
.help-controls select,.keep-plan input { margin-top:.35rem; display:block; }
.step-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:clamp(1.4rem,4vw,3rem); margin:1.5rem 0; align-items:start; }
.contact-card { background:#edf4ee; border-radius:.5rem; padding:1.25rem; }
.contact-card a { display:block; padding:.45rem 0; }
.contact-card h4,.step-body h4 { margin:1rem 0 .35rem; }
.task-checklist { padding:0; margin: .65rem 0; list-style:none; }
.task-checklist li+li { border-top:1px solid var(--line); }
.task-checklist label { display:flex; align-items:flex-start; gap:.75rem; padding:.75rem 0; font:inherit; cursor:pointer; }
.task-checklist input { width:1.25rem; height:1.25rem; margin:.2rem 0 0; flex:none; accent-color:#235843; }
.task-checklist input:checked + span { color:#4f655a; }
.step-links { padding-left:1.2rem; }
.step-links li { padding:.25rem 0; }
.keep-plan { border-top:1px solid var(--line); padding-top:1rem; }
.keep-plan label { display:block; max-width:32rem; }
.keep-plan p { margin:.45rem 0; color:var(--muted); font-size:.92rem; }
.plan-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.8rem; }
.plan-actions button,.example-question { min-height:44px; }
.example-question { margin-top:.75rem; }
.steps-print { display:none; }
@media (max-width:44rem) {
  .step-grid,.help-controls { grid-template-columns:minmax(0,1fr); }
  .header-inner nav a[href="#estate"],.header-inner nav a[href="#browse"] { display:none; }
  .header-inner nav a[href="#ask"] { display:block; }
  .header-inner { flex-wrap:nowrap; }
  .header-inner nav a { min-height:44px; display:inline-flex; align-items:center; }
  .home-paths { gap:.45rem; }
  .home-paths a { font-size:.96rem; }
  .hero-inner { padding-top:1.5rem; }
}
@media print {
  body.printing-steps > :not(.steps-print) { display:none !important; }
  body.printing-steps > .steps-print { display:block; white-space:pre-wrap; overflow-wrap:anywhere; color:black; font:11pt/1.5 Georgia,serif; }
}

@media (max-width:44rem) {
  .header-inner nav .ask-nav { display:inline-flex; }
  .ask-nav span { display:none; }
  .help-nav { white-space:nowrap; }
}

.home-paths .protect-start { grid-column:1/-1; background:#d2e7d7; border-color:#d2e7d7; color:#173a2c; }
.home-paths .protect-start:hover,.home-paths .protect-start:focus-visible { background:#e5f1e6; }
.protect-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(1rem,3vw,2.5rem); margin-top:1.3rem; align-items:start; }
.protect-inputs { display:grid; gap:1rem; padding:1.15rem; background:#f1f5ef; border-radius:.6rem; }
.protect-inputs select { display:block; margin-top:.4rem; }
.protect-inputs fieldset { margin:0; padding:0; border:0; min-width:0; }
.protect-inputs legend { font-weight:650; }
.protect-inputs fieldset p { color:var(--muted); font-size:.94rem; margin:.25rem 0; }
.protect-inputs fieldset label { display:flex; gap:.7rem; align-items:center; min-height:44px; font:inherit; cursor:pointer; }
.protect-inputs input { width:1.2rem; height:1.2rem; flex:none; accent-color:var(--forest); }
#protect-plan { scroll-margin-top:1rem; }
#protect-plan ol,#protect-plan ul { padding-left:1.4rem; margin:.5rem 0; }
#protect-plan li { margin-bottom:.5rem; }
#protect-plan h4 { margin:1.15rem 0 .35rem; }
#protect-plan blockquote { margin:.35rem 0; border-left:3px solid #83a58f; padding:.45rem .8rem; }
.protect-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin-top:1.1rem; }
@media(max-width:44rem){.protect-grid {grid-template-columns:minmax(0,1fr);}}
.protect-notes { margin-top:1rem; border-block:1px solid var(--line); padding:.65rem 0; }
.protect-notes summary { min-height:44px; align-content:center; font-weight:650; }
.protect-notes label { display:block; margin-top:.7rem; }
.protect-notes textarea { display:block; margin-top:.25rem; min-height:4rem; }

html:not([data-page="ask"]) [data-screen="ask"],
html:not([data-page="benefits"]) [data-screen="benefits"],
html:not([data-page="estate"]) [data-screen="estate"],
html:not([data-page="divorce"]) [data-screen="divorce"],
html:not([data-page="get-help"]) [data-screen="get-help"],
html:not([data-page="browse"]) [data-screen="browse"],
html:not([data-page="protect"]) [data-screen="protect"],
html:not([data-page="injury"]) [data-screen="injury"],
html:not([data-page="publications"]) [data-screen="publications"] { display:none !important; }

html[data-page="ask"] .content:has(#answer[hidden]) { display:none; }
html:not([data-page="ask"]) main { min-height:65vh; }
nav a[aria-current="page"] { text-decoration:underline; text-underline-offset:.35em; }
.tool-directory { display:flex; flex-wrap:wrap; gap:.55rem 1.1rem; margin-bottom:1.4rem; }
.answer-pane form input,.answer-pane label select { display:block; width:100%; margin-block:.45rem; }
.answer-pane blockquote { margin:.55rem 0; border-left:3px solid var(--line); padding:.4rem .85rem; max-width:72ch; }
@media(max-width:44rem) {
  .header-inner {flex-wrap:wrap;gap:.1rem;}
  .header-inner nav {width:100%;justify-content:space-between;gap:.25rem;flex-wrap:wrap;}
  .header-inner nav a {display:inline-flex;min-height:44px;}
}

#subject-shortcuts { display:flex; flex-wrap:wrap; gap:.4rem; margin-block:.4rem; }
#library-count { color:var(--muted); font-size:.92rem; }

#benefit-result {max-width:76ch;overflow-wrap:anywhere;}
#benefit-result :is(h3,h4,button) {margin-top:1.1rem;}
#benefit-result li {margin-block:.4rem;}
#benefit-result :is(ol,ul) {padding-left:1.5rem;}
#benefit-result button + button {margin-left:.4rem;}
.benefit-paper-notes {display:none;}
@media print {
  html[data-page="benefits"] :is(.skip,#benefits > :not(#benefit-result),#benefit-result button) {display:none !important;}
  #benefits {padding:0;border:0;background:white;}
  #benefit-result {max-width:none;}
  #benefit-result a[href^="https:"]::after {content:" (" attr(href) ")";font-size:9pt;}
  #benefit-result .benefit-paper-notes {display:block;margin-top:2rem;line-height:2;}
}
