:root {
  color-scheme: light;
  --ink: #182f2b;
  --green: #21594c;
  --dark: #123e34;
  --muted: #52655d;
  --rule: #c6cdc3;
  --light-rule: #dce0d4;
  --paper: #fafaf3;
  --white: #fffef8;
  --mist: #edf0e6;
  --cream: #e5edc1;
  --focus: #8b460f;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-size: 1rem; line-height: 1.55; }
main { flex: 1; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.12; }
h1, h2 { letter-spacing: -.04em; text-wrap: balance; }
em { font-weight: normal; }
a { color: var(--green); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--dark); text-decoration-thickness: 2px; }
:is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #d4e5ad; color: var(--dark); }
.wrap { width: min(100% - 7.5rem, 76rem); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { top: .75rem; left: .75rem; z-index: 10; width: auto; height: auto; clip-path: none; padding: .6rem 1rem; background: var(--white); }
.site-head { border-bottom: 1px solid var(--rule); }
.head-inner, .foot-inner, .head-inner nav, .actions, .wordmark, .button, .text-link, .back-link { display: flex; align-items: center; }
.head-inner { min-height: 5.3rem; justify-content: space-between; gap: 1rem; }
.wordmark { gap: .65rem; color: var(--ink); font: 600 1.72rem/1 var(--serif); letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-block; position: relative; flex: none; width: 1.38em; height: 1.13em; color: var(--green); }
.brand-mark i { position: absolute; width: 84%; height: 74%; border: .083em solid currentColor; border-radius: .07em; background: var(--paper); transform: skewY(-12deg); }
.brand-mark i:nth-child(1) { top: 1%; left: 16%; }
.brand-mark i:nth-child(2) { top: 13%; left: 8%; }
.brand-mark i:nth-child(3) { top: 25%; left: 0; background: currentColor; }
.brand-mark i:nth-child(3)::after { content: ''; position: absolute; left: 18%; right: 25%; top: 34%; height: 1px; background: var(--paper); box-shadow: 0 .15em var(--paper); }
.head-inner nav { justify-content: flex-end; gap: 2.15rem; font-size: .9rem; font-weight: 600; }
.head-inner nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); text-decoration: none; }
.head-inner nav > a:is(:hover,[aria-current]) { text-decoration: underline; }
.button { display: inline-flex; min-height: 3.1rem; justify-content: center; gap: .85rem; padding: .72rem 1.2rem; border: 1px solid var(--dark); border-radius: .35rem; color: #fffef7; background: var(--dark); text-decoration: none; text-align: center; font: 600 .94rem/1.3 var(--sans); cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out; }
.button:hover { color: #fff; background: var(--green); border-color: var(--green); }
.button:active { transform: translateY(1px); }
.button.outline { color: var(--ink); border-color: #85988a; background: transparent; }
.button.outline:hover { background: var(--mist); border-color: var(--green); }
.button.small { min-height: 2.75rem; padding: .55rem 1rem; font-size: .88rem; }
.button.danger { background: transparent; color: #863e30; border-color: #ab7566; }
.button.danger:hover { background: #fae8e1; }
.arrow { position: relative; display: inline-block; vertical-align: middle; flex: none; width: 1.04em; height: .7em; }
.arrow::before, .arrow::after { content: ''; position: absolute; }
.arrow::before { top: 45%; left: 0; right: .1em; border-top: 1.5px solid currentColor; }
.arrow::after { right: .1em; top: 50%; width: .44em; height: .44em; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 5vw, 5.25rem); align-items: center; padding-block: clamp(3rem, 5vw, 5.2rem); }
.hero-copy { padding-bottom: 1.25rem; }
.hero-copy h1 { font-size: clamp(4rem, 6.15vw, 5.9rem); line-height: .99; letter-spacing: -.058em; }
.hero-copy h1 em { color: var(--green); }
.hero-copy > p { color: var(--muted); margin: 1.6rem 0 2.05rem; font-size: clamp(1.1rem, 1.4vw, 1.27rem); line-height: 1.6; max-width: 36ch; }
.actions { gap: 1rem 1.5rem; flex-wrap: wrap; }
.text-link { min-height: 2.75rem; color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration-thickness: 1px; }
.specimen { min-width: 0; }
.desk { position: relative; aspect-ratio: 1.27; padding: 1.2rem; display: grid; place-items: center; overflow: hidden; isolation: isolate; container-type: inline-size; border-radius: 2px; background-color: #204e44; background-image: radial-gradient(ellipse at 16% 0, #477061 0%, transparent 60%), linear-gradient(124deg, transparent 45%, #133c32 100%); }
.desk::before { content: ''; position: absolute; inset: 0; opacity: .23; background-image: radial-gradient(#bed0ab .8px, transparent .9px); background-size: 13px 13px; }
.desk-corner { position: absolute; width: 16px; height: 16px; border: solid #abc3a7; opacity: .75; }
.desk-corner.upper { top: 1rem; left: 1rem; border-width: 1px 0 0 1px; }
.desk-corner.lower { right: 1rem; bottom: 1rem; border-width: 0 1px 1px 0; }
.file { position: relative; width: 69%; aspect-ratio: 1.07; container-type: inline-size; background: #b8bd8d; border-radius: .45rem .55rem .7rem .6rem; transform: translate(-1%, 3%) rotate(-7deg); box-shadow: 8px 16px 15px #102f2c59; }
.index-tab { position: absolute; right: 5%; bottom: 99.2%; border-radius: .6em .65em 0 0; background: #b8bd8d; padding: .38em .95em .05em; font: 700 clamp(.6rem, .8vw, .78rem)/1.2 var(--sans); color: #30453b; letter-spacing: .1em; }
.loose-leaf, .note-paper { position: absolute; background: #fffbeb; }
.loose-leaf { inset: 1.5% 4.5% 2.5% 5%; transform: rotate(2.5deg); background: #e3dfbf; }
.note-paper { inset: 2.8% 4.1% 3.4% 4.2%; padding: 6% 7%; transform: rotate(2deg); box-shadow: 2px 4px 6px #30372b3d; font-size: 3.8cqw; color: #213c33; }
.paperclip { position: absolute; top: -3%; left: 11%; width: 4.5%; height: 15%; border: 2px solid #70796c; border-radius: 1em; transform: rotate(12deg); box-shadow: 1px 1px 1px #7d7a6a65; }
.paperclip::after { content: ''; position: absolute; inset: 14% 22% 5% -2px; border: solid #b6b7a3; border-width: 0 1px 1px 0; border-radius: 0 0 1em 0; }
.paper-brand { display: flex; align-items: center; gap: .45em; justify-content: end; font: 700 .83em var(--serif); letter-spacing: -.04em; }
.paper-heading { font: normal 9.8cqw/1.01 var(--serif); letter-spacing: -.045em; margin: 4% 0 3.5%; }
.paper-code { display: flex; justify-content: space-between; padding-bottom: 4%; font: 650 .71em/1.3 var(--sans); text-transform: uppercase; letter-spacing: .1em; border-bottom: 1.5px solid #748472; }
.paper-row { border-bottom: 1px solid #c8cbb4; padding: 2.1% 0; display: grid; line-height: 1.18; }
.paper-row span { font-size: .72em; color: #4c6050; }
.paper-row strong { width: fit-content; position: relative; margin-top: 1.25%; font-size: 1.03em; font-weight: 600; }
.pencil-underline::after { content: ''; position: absolute; inset: 100% -5% auto -3%; height: .12em; border-bottom: .15em solid #b98135; border-radius: 50%; transform: rotate(-3deg); }
.tab-edge { position: absolute; right: -2%; top: 37%; width: 6.5%; height: 21%; background: #e5b853; border-radius: 0 .22rem .22rem 0; box-shadow: -2px 2px 3px #9290684d; }
.specimen figcaption { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .8rem .05rem 0; color: var(--muted); font-size: .81rem; }
.specimen figcaption > span { display: flex; align-items: center; gap: .6em; }
.specimen figcaption > span::before { content: ''; width: 1.3rem; border-top: 1px solid var(--muted); }
.specimen figcaption a, .auth-side a { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; text-decoration: none; }
.specimen figcaption a:hover, .auth-side a:hover { text-decoration: underline; }
.how, .pilot-offer { display: grid; grid-template-columns: 1fr 1.22fr; gap: clamp(2rem, 7vw, 7rem); border-top: 1px solid var(--rule); padding-block: clamp(2.5rem, 5vw, 4.7rem); }
.how h2, .pilot-offer h2 { font-size: clamp(2.3rem, 3.5vw, 3.6rem); }
.how-intro > p, .pilot-offer p { max-width: 37ch; margin-top: .85rem; font-size: 1.06rem; line-height: 1.6; color: var(--muted); }
.steps { list-style: none; padding: 0; counter-reset: stages; }
.steps li { counter-increment: stages; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .7rem; padding-block: 1.25rem; border-bottom: 1px solid var(--light-rule); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps li::before { content: counter(stages, decimal-leading-zero); color: var(--green); padding-top: .17em; font: italic 1.15rem var(--serif); }
.steps h3 { font-size: 1.48rem; letter-spacing: -.03em; }
.steps p { color: var(--muted); margin-top: .42rem; max-width: 45ch; }
.scope { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-block-start: 1px solid var(--rule); padding-block: 1.5rem 3rem; color: var(--muted); font-size: .9rem; }
.site-foot { background: var(--mist); border-block-start: 1px solid var(--rule); }
.foot-inner { padding-block: 1.4rem; gap: 1.25rem; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
.foot-inner .wordmark { font-size: 1.2rem; }
.foot-inner > a:last-child { margin-left: auto; }
.app-page, .auth-layout { padding-block: 3.2rem 5rem; }
.app-page h1, .auth-panel h1 { font-size: 3.6rem; }
.page-heading { margin-bottom: 2.2rem; }
.page-heading > p, .intro { color: var(--muted); font-size: 1.08rem; margin-top: .85rem; max-width: 65ch; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 28rem) minmax(0, 25rem); justify-content: center; align-items: stretch; gap: 0; padding-block: clamp(3rem, 7vw, 7.5rem); }
.auth-panel { padding: clamp(1.7rem, 4vw, 3rem); border: 1px solid var(--rule); background: var(--white); }
.auth-panel h1 { font-size: 2.9rem; }
.auth-panel form { margin-top: 1.6rem; }
.auth-panel form > .button { width: 100%; }
.auth-side { background-color: var(--dark); padding: clamp(2rem, 4.2vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--white); }
.auth-side > .brand-mark { font-size: 2.4rem; color: var(--cream); --paper: var(--dark); margin-bottom: 1.6rem; }
.auth-side p { font: italic 2.45rem/1.1 var(--serif); letter-spacing: -.04em; }
.auth-side a { margin-top: 2rem; color: var(--cream); }
.help, .quiet, .field small { color: var(--muted); font-size: .9rem; }
.help { margin-top: 1.4rem; border-top: 1px solid var(--light-rule); padding-top: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; font-size: .94rem; font-weight: 600; }
.field small { font-weight: normal; line-height: 1.45; }
input, select { display: block; width: 100%; min-width: 0; min-height: 2.9rem; padding: .55rem .7rem; border: 1px solid #84958a; border-radius: .25rem; color: var(--ink); caret-color: var(--green); background: var(--white); font: inherit; font-size: 1rem; font-weight: normal; }
input[readonly] { background: var(--mist); }
.feedback { margin-block: 1rem; padding: .85rem 1rem; background: #e3edd6; color: var(--dark); border: 1px solid #a1b498; }
.feedback.error { background: #f7e8e0; border-color: #c79780; color: #76331d; }
.register-head, .register-row { display: grid; grid-template-columns: 2fr 1.35fr 1.1fr .9fr 1rem; gap: 1.25rem; align-items: center; }
.register-head { padding: .75rem 1rem; background: var(--mist); font-size: .81rem; font-weight: 650; color: var(--muted); }
.register ul, .question-list, .access-list, .history ol, .people-list ul { list-style: none; padding: 0; }
.register-row { border-bottom: 1px solid var(--rule); padding: 1.15rem 1rem; color: var(--ink); text-decoration: none; font-size: .96rem; }
.register-row:hover { background: var(--mist); }
.register-row:hover .matter-name strong { text-decoration: underline; }
.matter-name { display: grid; }
.matter-name strong { font: normal 1.35rem/1.3 var(--serif); }
.reference { color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.mobile-label { display: none; }
.empty { padding: 2rem; background: var(--mist); }
.empty h2 { font-size: 1.85rem; }
.empty p { color: var(--muted); max-width: 65ch; margin-top: .5rem; }
.disclosure { background: var(--white); border: 1px solid var(--rule); }
.create { margin-top: 2rem; }
summary { cursor: pointer; min-height: 2.8rem; }
.disclosure summary { padding: 1rem 1.2rem; font-weight: 650; }
summary:hover { color: var(--green); }
.form-body { padding: 0 1.2rem 1.2rem; }
.form-body > p { color: var(--muted); margin: .45rem 0 1rem; }
.form-body > p:last-child { margin-bottom: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.back-link { width: fit-content; gap: .5rem; padding: .4rem 0; min-height: 2.75rem; color: var(--muted); font-size: .92rem; }
.back-link .arrow { transform: rotate(180deg); }
.matter-title { margin: 1rem 0 2rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.matter-title .reference { margin-top: .55rem; }
.sample-tag { font-size: .8rem; color: var(--muted); padding: .35rem .64rem; border: 1px solid var(--rule); border-radius: .2rem; }
.matter-columns { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(15rem, 1fr); gap: clamp(1.5rem, 4vw, 3.2rem); align-items: start; }
.matter-main, .matter-aside { display: grid; min-width: 0; align-content: start; gap: 1.5rem; }
.full-sheet { background: var(--white); border: 1px solid var(--rule); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1.2rem, 3vw, 2rem); background: var(--dark); color: var(--white); }
.sheet-head > span:first-child { display: flex; align-items: center; gap: .65rem; font: 1.15rem var(--serif); }
.sheet-head > span:last-child { color: var(--cream); font-size: .86rem; }
.sheet-head .brand-mark { --paper: var(--dark); color: var(--cream); }
.sheet-content { padding: clamp(1.5rem, 3.5vw, 2.6rem); }
.sheet-dateline { color: var(--muted); font-size: .86rem; }
.sheet-content h2 { margin-top: .65rem; font-size: 2.85rem; }
.sheet-detail { margin: .75rem 0 1.45rem; font-size: 1.1rem; color: var(--muted); }
.sheet-facts > div { display: grid; grid-template-columns: 1fr 1.45fr; gap: 1rem; border-top: 1px solid var(--light-rule); padding: 1rem 0; align-items: baseline; }
.sheet-facts > div:last-child { padding-bottom: 0; }
.sheet-facts dt { color: var(--muted); font-size: .91rem; }
.sheet-facts dd { font-weight: 600; }
.sheet-facts small { display: block; margin-top: .3rem; line-height: 1.45; font-weight: normal; color: var(--muted); }
.sheet-foot { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem clamp(1.5rem, 3.5vw, 2.6rem); border-top: 1px solid var(--rule); color: var(--muted); font-size: .77rem; }
.control-panel { background: var(--mist); padding: 1.6rem; }
.control-panel h2, .side-index h2, .scope-note h2 { font-size: 1.7rem; }
.control-panel > p, .scope-note > p { color: var(--muted); margin: .65rem 0 1.1rem; }
.side-index, .scope-note { border-block-start: 1px solid var(--rule); padding-top: 1.3rem; }
.side-index a { display: block; margin-top: .45rem; min-height: 2.35rem; padding-top: .3rem; }
.paper-section { padding: 1.6rem 0 0; border-top: 1px solid var(--rule); }
.paper-section h2 { font-size: 2rem; margin-bottom: .8rem; }
.paper-section form { margin-top: 1rem; }
.question-list li, .access-list li, .people-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--light-rule); padding: 1rem 0; }
.question-list li { flex-wrap: wrap; }
.question-list h3, .history h3 { font-size: 1.22rem; margin: .3rem 0; }
.state { font-size: .84rem; font-weight: 650; color: var(--green); }
.state.open-state { color: #7c521a; }
.question-list form { margin: 0; }
.history li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; border-top: 1px solid var(--light-rule); padding: 1rem 0; scroll-margin-top: 1rem; }
.history li:target { background: var(--mist); }
.history li > strong { color: var(--green); font-size: .87rem; padding-top: .2rem; }
.history h3 { margin-top: 0; }
.history li p { color: var(--muted); font-size: .9rem; }
.people-list ul, .access-list { overflow-wrap: anywhere; }
.people-list { padding-top: 1rem; }
.person-actions { max-width: 19rem; }
.person-actions summary { color: var(--green); font-size: .9rem; font-weight: 600; padding: .45rem 0; }
.person-actions p { font-size: .87rem; color: var(--muted); margin-bottom: .5rem; }
.person-actions form { margin-top: .75rem; }
.narrow { max-width: 45rem; }
.narrow > :is(p,.field,.button) { margin-top: 1.2rem; }
.narrow .back-link { margin-bottom: 1.3rem; }
.pilot-offer .price { color: var(--ink); font: 3.25rem/1.1 var(--serif); letter-spacing: -.04em; margin: 0; }
.price span { font: 1rem/1.5 var(--sans); color: var(--muted); letter-spacing: 0; }
.pilot-offer .button { margin-top: 1.15rem; }
.auth-side h2 { color: var(--cream); font-size: 1.65rem; }
.auth-side .offer-amount { font-style: normal; font-size: 4rem; margin-top: .8rem; }
.auth-side .offer-unit { margin-top: .6rem; font: 1rem/1.45 var(--sans); letter-spacing: 0; }
.offer-terms { margin-top: 1.4rem; padding-left: 1.2rem; }
.offer-terms li + li { margin-top: .32rem; }
.setup-key { display: block; width: fit-content; font-size: 1.12rem; letter-spacing: .06em; padding: .85rem 1.1rem; background: var(--mist); border: 1px solid var(--rule); }
.setup-steps { padding: 0 0 0 1.3rem; margin: 1.3rem 0 .8rem; }
.setup-steps li { padding: .15rem 0; }
.narrow form { max-width: 28rem; margin-top: 1.5rem; }
.prose h2 { font-size: 1.8rem; margin: 2.25rem 0 .65rem; }
.prose p { max-width: 66ch; }
.prose h2 + p { margin-top: 0; }
.app-page :is(h1,h2,h3,p,li,dd,.reference), .register-row { overflow-wrap: anywhere; }
@media (min-width: 87rem) { .desk { aspect-ratio: 1.24; } }
@media (max-width: 66rem) {
  .wrap { width: calc(100% - 4rem); }
  .home-hero { gap: 2rem; }
  .hero-copy h1 { font-size: clamp(3.3rem, 6.7vw, 4.3rem); }
  .hero-copy > p { font-size: 1.07rem; margin-block: 1.1rem 1.35rem; }
  .file { width: 74%; }
  .matter-columns { grid-template-columns: minmax(0,1.65fr) minmax(15rem,1fr); }
}
@media (max-width: 49rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .head-inner nav { gap: 1.05rem; }
  .home-hero { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2.7rem 2.3rem; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(3.5rem, 9vw, 5.2rem); }
  .hero-copy > p { max-width: 43ch; }
  .specimen { width: min(100%,37rem); justify-self: center; }
  .desk { aspect-ratio: 1.5; }
  .file { width: 63%; }
  .index-tab { font-size: .65rem; }
  .matter-columns { grid-template-columns: minmax(0,1fr); }
  .side-index { display: none; }
  .app-page { padding-block: 2rem 3rem; }
  .app-page h1 { font-size: 2.9rem; }
  .how, .pilot-offer { grid-template-columns: 1fr; gap: 1.6rem; }
  .auth-layout { grid-template-columns: minmax(0,30rem); padding-block: 2.5rem; }
  .auth-side { display: none; }
  .auth-side:has(.offer-terms) { display: block; }
  .register-head { display: none; }
  .register-row { grid-template-columns: 1.2fr 1fr .8fr; gap: .75rem; padding: 1rem .25rem; }
  .register { border-top: 1px solid var(--rule); }
  .matter-name { grid-column: 1/3; grid-row: 1; }
  .register-row > .arrow { grid-column: 3; grid-row: 1; justify-self: end; }
  .mobile-label { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; }
}
@media (max-width: 35rem) {
  .head-inner { min-height: 4.45rem; gap: .65rem; flex-wrap: wrap; padding-block: .65rem; }
  .head-inner nav { gap: .85rem; font-size: .81rem; }
  .head-inner nav > a[href="/#how-it-works"] { display: none; }
  .wordmark { font-size: 1.42rem; gap: .4rem; }
  .head-inner .button.small { font-size: .82rem; padding-inline: .65rem; }
  .head-inner .button .arrow { display: none; }
  .actions { gap: .2rem 1rem; }
  .actions .button { padding-inline: .9rem; font-size: .88rem; }
  .text-link { font-size: .87rem; }
  .desk { aspect-ratio: 1.26; }
  .file { width: 73%; }
  .specimen figcaption { font-size: .74rem; }
  .how h2, .pilot-offer h2 { font-size: 2.3rem; }
  .scope, .matter-title { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .empty { padding: 1.3rem; }
  .sheet-content h2 { font-size: 2.25rem; }
  .sheet-facts > div { grid-template-columns: 1fr; gap: .25rem; }
  .people-list li, .access-list li { flex-wrap: wrap; }
  .register-row { font-size: .85rem; }
  .foot-inner { gap: .6rem .85rem; }
  .foot-inner > a:last-child { margin: 0; }
}
@media (max-width: 23rem) {
  .head-inner nav > a[href="/sample"] { display: none; }
  .head-inner:has(a[href="/people"]) { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
@media print {
  .site-head, .site-foot, .matter-aside, .back-link, form, .actions, .skip { display: none; }
  .wrap { width: 100%; }
  .matter-columns { display: block; }
  .sheet-head { background: white; color: black; border-bottom: 1px solid; }
  .sheet-head > span:last-child { color: black; }
  .full-sheet, .question-list li, .history li { break-inside: avoid; }
}

.resource-invite { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; border-top: 1px solid var(--rule); padding-block: 2.6rem; }
.resource-invite h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
.resource-invite p { max-width: 54ch; margin-top: .6rem; color: var(--muted); }
.resource-page { max-width: 69rem; padding-block: clamp(2.4rem, 6vw, 5.3rem); }
.resource-heading { padding-bottom: clamp(1.7rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.resource-heading h1 { max-width: 18ch; font-size: clamp(2.9rem, 6vw, 5.3rem); line-height: 1.02; }
.resource-heading p { max-width: 59ch; margin-top: 1.1rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.resource-columns { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2.5fr); gap: clamp(2rem, 6vw, 6rem); padding-top: 2.4rem; }
.resource-index h2 { font: 600 1rem var(--sans); }
.resource-index ul { display: grid; gap: .65rem; list-style: none; margin-top: 1rem; padding: 0; }
.resource-links { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; padding-block: 1.1rem; border-top: 1px solid var(--rule); }
.resource-index .resource-links { margin-top: 1.5rem; flex-direction: column; font-size: .92rem; }
.resource-index .resource-links a[href="/resources"] { display: none; }
.template-entry { border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; padding-bottom: 2.25rem; scroll-margin-top: 1rem; }
.template-entry h2, .single-resource > h2, .resource-next h2, .buyer-prompt h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
.resource-context, .resource-next p { color: var(--muted); margin-top: .6rem; max-width: 60ch; }
.message-sheet { margin-block: 1.15rem .8rem; background: var(--white); border: 1px solid var(--rule); padding: clamp(1.1rem, 3vw, 2rem); }
.message-sheet > p { font: normal clamp(1.19rem, 2vw, 1.4rem)/1.55 var(--serif); max-width: 53ch; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; font-size: .9rem; color: var(--green); }
.copy-row:has(button:not([hidden])) { margin-top: 1.2rem; }
.copy-row button[hidden] { display: none; }
.template-entry summary { width: fit-content; cursor: pointer; color: var(--green); padding-block: .4rem; font-weight: 600; }
.template-entry details p { margin: .4rem 0 0; max-width: 62ch; }
.resource-next { padding-block: 1rem; }
.resource-next .actions { margin-top: 1.25rem; }
.single-resource { max-width: 48rem; }
.single-resource > h2, .buyer-prompt { margin-top: 2rem; }
.single-resource > p, .buyer-prompt p { margin-top: .65rem; }
.single-resource .resource-links { margin-top: 2rem; }
.worksheet-action { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; padding-block: .6rem; }
.worksheet { margin-block: 1.15rem; }
.worksheet table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .94rem; }
.worksheet caption { text-align: left; font-weight: 600; margin-bottom: .6rem; }
.worksheet th, .worksheet td { border: 1px solid var(--rule); text-align: left; padding: .55rem; overflow-wrap: break-word; }
.worksheet th { background: var(--mist); }
.worksheet th:nth-child(2) { width: 34%; }
.worksheet td { height: 2.6rem; }
.buyer-prompt { padding: 1.5rem; background: var(--mist); }
.resource-source { font-size: .93rem; color: var(--muted); }
@media (max-width: 45rem) {
  .resource-columns { display: block; padding-top: 1.4rem; }
  .resource-index { margin-bottom: 1.7rem; border-bottom: 1px solid var(--rule); }
  .resource-index .resource-links { flex-direction: row; }
  .worksheet th, .worksheet td { padding: .35rem; font-size: .85rem; }
}
@media print {
  .resource-index, .resource-links, .resource-next, .copy-row, .worksheet-action { display: none; }
  .resource-columns { display: block; }
  .resource-page { max-width: none; padding: 0; }
  .resource-heading { padding-bottom: .6rem; }
  .resource-heading h1 { font-size: 2rem; }
  .single-resource > h2, .buyer-prompt h2 { font-size: 1.35rem; }
  .single-resource > h2, .buyer-prompt { margin-top: 1rem; }
  .template-entry, .buyer-prompt, .worksheet tr { break-inside: avoid; }
}


.help-index section{border-top:1px solid var(--rule);padding:1rem 0}.help-index section h2{margin-top:.4rem}.prose form{margin:1.25rem 0}.prose .setup-key{overflow-wrap:anywhere}
