/* Juvenile center design tokens and shared components. */
@font-face {
  font-family: 'Pretendard Variable';
  src: url('PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --canvas:#fff; --paper:#fff; --surface:#f2f4f6; --chip:#e8f3ee;
  --ink:#191f28; --muted:#4e5968; --caption:#697586; --copy:#333d4b;
  --accent:#144534; --accent-hover:#0e3326; --accent-copy:#e8f3ee;
  --border:#e5e8eb; --control-border:#768b80; --focus:#14644a;
  --sans:'Pretendard Variable',Pretendard,'Center Sans',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --serif:var(--sans); --radius-control:12px; --radius-panel:20px;
  --content-max:1120px; --rail-width:0px; --gutter:24px; --grid-gap:20px;
  --section-space:80px; --top-bar:68px; --bottom-bar:80px;
  --type-hero:clamp(1.75rem,3.5vw,2.75rem); --type-page-title:var(--type-hero);
  --type-section:1.75rem; --type-article:1.5rem; --type-card:1.125rem;
  --copy-width:640px;
}
html { scroll-padding-block-start:calc(var(--drawer-top,var(--top-bar)) + 16px); }
body { margin:0; color:var(--ink); font:1rem/1.65 var(--sans); letter-spacing:-.015em; }
h1,h2,h3,h4 { font-family:var(--sans); font-weight:700; line-height:1.35; letter-spacing:-.03em; }
h2 { letter-spacing:-.025em; line-height:1.4; }
p { color:var(--copy); }
.sample-page a, .sample-page a:hover, .sample-page .nav-list a[aria-current], .sample-page .tile .tile-link { text-decoration:none; }
.sample-page main p { max-inline-size:var(--copy-width); }
.wrap,.reading-wrap,.sample-home .team-wrap { --content-max:1120px; }
.keep-together { white-space:normal; }
.inline-phrase { display:inline; }
.sample-page [data-ui] {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-inline-size:0; max-inline-size:100%; min-block-size:48px;
  border:1px solid transparent; border-radius:12px; padding:10px 16px;
  color:var(--accent); background:var(--surface); font-size:1rem; font-weight:650;
  line-height:1.4; text-align:center; word-break:keep-all; overflow-wrap:anywhere;
}
.sample-page [data-ui="primary"] { background:var(--accent); color:white; min-block-size:52px; }
.sample-page [data-ui="primary"]:hover { background:var(--accent-hover); color:white; }
.sample-page [data-ui="phone"] { background:var(--chip); flex-wrap:wrap; gap:4px 8px; }
.sample-page [data-ui="step"] { border-color:var(--border); background:white; min-block-size:52px; }
.sample-page [data-ui="chip"] { border-radius:9999px; background:var(--chip); padding-inline:16px; }
.sample-page [data-ui="row"] { display:flex; justify-content:space-between; text-align:start; background:#f9fafb; inline-size:100%; }
.sample-page [data-ui]:not([data-ui="primary"]):hover { background:var(--chip); color:var(--accent); }
.sample-pair,.sample-action-group { min-width:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.action-arrow { flex:none; display:grid; place-items:center; inline-size:28px; block-size:28px; border-radius:50%; color:var(--accent); background:var(--chip); }
.action-arrow svg { width:18px; height:18px; }
.ui-arrow { flex:none; font-size:1.2em; font-weight:400; }
.site-header { position:sticky; inset:0 0 auto; inline-size:100%; z-index:12; min-block-size:68px; padding:0 max(var(--gutter),calc((100% - 1120px)/2)); display:flex; flex-direction:row; align-items:center; overflow:visible; gap:20px; background:rgba(255,255,255,.88); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:0; border-block-end:1px solid var(--border); }
.brand-row { padding:0; min-block-size:68px; border:0; }
.brand-emblem img { width:34px; height:auto; }
.brand-text { white-space:nowrap; }
.brand-center { font-size:1.125rem; color:var(--ink); }
.brand-firm { font-size:.75rem; }
.header-nav { flex-direction:row; align-items:center; gap:12px; margin:0; min-inline-size:0; justify-content:flex-end; }
.nav-list { display:flex; gap:4px; align-items:center; }
.nav-list a { min-block-size:48px; font-size:.875rem; font-weight:600; padding:8px; white-space:nowrap; }
.nav-list a[aria-current] { background:var(--chip); color:var(--accent); }
.side-tools { display:flex; margin:0; gap:8px; align-items:center; }
.side-tools .button { white-space:nowrap; min-block-size:48px; padding:8px 12px; font-size:.875rem; }
.header-extra { position:relative; min-inline-size:0; }
.header-extra > summary { font-size:.875rem; white-space:nowrap; min-height:48px; padding:8px; border-radius:12px; background:var(--surface); }
.header-extra > summary .disclosure-mark { display:none; }
.header-extra-body { position:absolute; inset:calc(100% + 8px) 0 auto auto; width:248px; padding:16px; background:white; border:1px solid var(--border); border-radius:16px; box-shadow:0 8px 24px #191f2810; }
.header-extra .side-phone { display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; min-height:48px; border-radius:12px; color:var(--accent); background:var(--chip); }
.header-extra .side-links { margin-top:12px; border:0; padding:0; }
.header-extra .side-links a { min-height:48px; }
.eyebrow { background:var(--chip); color:var(--accent); width:fit-content; border-radius:9999px; padding:6px 12px; font-size:.875rem; }
.hero { padding-block:64px 40px; }
.hero-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; }
.hero-copy,.hero-visual { grid-column:auto; }
.hero h1 { max-inline-size:none; margin-block:16px; font-size:var(--type-hero); line-height:1.35; }
.hero h1 .inline-phrase:last-child { color:var(--accent); }
.hero-visual { border-radius:20px; aspect-ratio:5/3; }
.hero-visual img { filter:none; object-position:57% 52%; }
.hero-visual::after { display:none; }
/* Home hero only: balanced secondary actions; the mobile booking bar remains the primary CTA. */
.hero .sample-pair { margin-top:24px; max-width:480px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.sample-page .hero .sample-pair>[data-ui] {
  display:inline-flex; align-items:center; justify-content:center;
  min-block-size:52px; border:0; border-radius:14px; padding:8px;
  font-size:.9375rem; font-weight:600; letter-spacing:-.02em;
  transition:background-color .18s ease,transform .15s ease;
}
.sample-page .hero .sample-pair>[data-ui="step"] { background-color:#f2f4f6; color:#191f28; }
.sample-page .hero .sample-pair>[data-ui="step"]:is(:hover,:active) { background-color:#e5e8eb; color:#191f28; }
.sample-page .hero .sample-pair>[data-ui="primary"] { background-color:#e3f1ea; color:#144534; }
.sample-page .hero .sample-pair>[data-ui="primary"]:is(:hover,:active) { background-color:#d2e8dd; color:#144534; }
.sample-page .hero .sample-pair>[data-ui]:active { transform:scale(.985); }
@media(prefers-reduced-motion:reduce) {
  .sample-page .hero .sample-pair>[data-ui] { transition:none; }
  .sample-page .hero .sample-pair>[data-ui]:active { transform:none; }
}
.stage-section { padding-block:40px 80px; }
.guide-section,.cases-section { border:0; background:#f9fafb; }
.section-head { margin-block-end:24px; }
.section-head h2,.faq-grid h2,.contact-strip h2 { font-size:var(--type-section); }
.stage-grid,.guide-grid,.case-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch; }
.guide-grid>.tile,.case-grid>.tile { height:100%; display:flex; flex-direction:column; }
.stage-grid { border:0; background:transparent; }
.stage-grid li,.guide-grid>.tile,.case-grid>.tile,.featured-grid>.tile:first-child { grid-column:auto; grid-row:auto; border:0; min-width:0; }
.stage-grid li+li { border:0; }
.stage-card,.tile,.featured-grid>.tile:first-child { background:var(--surface); border:1px solid var(--border); padding:28px; border-radius:20px; color:var(--ink); }
.stage-card { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; min-height:170px; height:100%; }
.stage-card .stage-icon { display:grid; place-items:center; inline-size:40px; block-size:40px; border-radius:12px; background:var(--chip); color:var(--accent); grid-column:1; }
.stage-icon svg { width:24px; height:24px; }
.stage-card .stage-label { grid-column:1; width:fit-content; color:#334155; border-radius:9999px; background:#eef2f6; padding:4px 10px; font-size:.8125rem; }
.stage-card strong,.stage-summary { grid-column:1; }
.stage-card .action-arrow { grid-column:2; grid-row:1/-1; align-self:center; }
.stage-card strong,.tile h2,.tile h3,.featured-grid>.tile:first-child h3 { font:650 var(--type-card)/1.45 var(--sans); color:var(--ink); }
.stage-summary,.tile p,.featured-grid>.tile:first-child p { color:var(--muted); font-size:1rem; line-height:1.65; }
.tile .tile-link,.featured-grid>.tile:first-child .tile-link { text-decoration:none; color:var(--accent); font-size:.875rem; font-weight:650; }
.tile-link { gap:4px; }
.tile-link svg,.ui-arrow svg,.nav-chevron svg { display:block; width:18px; height:18px; flex:none; }
.tag,.case-label { width:fit-content; border-radius:9999px; background:var(--chip); color:var(--accent); padding:5px 10px; font-size:.8125rem; }
.case-label { white-space:normal; }
.featured-grid>.tile:first-child { border:0; }
.featured-grid>.tile:first-child:hover { background:var(--surface); }
.all-guides { margin-top:24px; }
.all-guides [data-ui] { width:100%; }
.lawyer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
/* LawyerCompactCard: fixed avatar, compact credentials, preserved home biographies. */
.lawyer-compact-card {
  display:flex; align-items:center; gap:14px; min-width:0; height:100%;
  padding:14px 16px; border:1px solid #e5e8eb; border-radius:16px;
  background:#fff; color:#191f28; text-decoration:none;
}
.lawyer-avatar { flex:0 0 48px; width:48px; height:48px; border-radius:50%; object-fit:cover; object-position:top center; background:#f2f4f6; }
.lawyer-compact-copy { display:flex; flex:1; flex-direction:column; gap:4px; min-inline-size:0; }
.lawyer-name-line { display:flex; align-items:center; flex-wrap:wrap; column-gap:6px; row-gap:4px; }
.lawyer-name { color:#191f28; font-size:1rem; font-weight:700; line-height:1.45; }
.lawyer-role { color:#4e5968; background:#f2f4f6; font-size:.75rem; font-weight:600; line-height:1.45; padding:2px 8px; border-radius:6px; white-space:nowrap; }
.lawyer-summary { display:block; font-size:.8125rem; line-height:1.5; color:#6b7684; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lawyer-biography { color:var(--muted); font-size:.875rem; line-height:1.6; margin-top:4px; overflow-wrap:break-word; word-break:keep-all; }
.lawyer-card-arrow { flex:0 0 20px; width:20px; height:20px; display:grid; place-items:center; color:#144534; }
.lawyer-card-arrow svg { width:20px; height:20px; }
.case-detail { display:grid; gap:12px; margin:16px 0; flex:1; align-content:start; }
.case-detail div { background:white; padding:12px; border-radius:12px; }
.case-detail dt { font-size:.8125rem; font-weight:700; color:var(--accent); }
.case-detail dd { margin:4px 0 0; font-size:.9375rem; color:var(--copy); }
.faq-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
.faq-grid>* { grid-column:1; }
.faq-grid details,.faq-grid details:last-child { padding:0 20px; border:1px solid var(--border); border-radius:16px; margin-bottom:12px; background:#f9fafb; }
.faq-grid summary { min-height:56px; }
.faq-answer { padding:0 0 20px; }
.faq-answer [data-ui] { margin-top:16px; }
/* Shared consultation banner and quiet, text-only sitemap footer. */
.contact-section { background:white; padding-block:48px; }
@media print { .contact-section { display:none; } }
.sample-page .contact-strip { margin:0 auto; background:#f2f4f6; color:var(--ink); border:0; border-radius:24px; padding:28px 24px; }
.contact-inner { display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; gap:24px; }
.contact-copy { min-width:0; flex:1; display:flex; flex-direction:column; justify-content:center; }
.contact-copy>h2 { margin:0; line-height:1.35; }
.contact-copy>p { margin:10px 0 0; color:var(--muted); line-height:1.5; }
.contact-copy .sample-action-note { font-size:.875rem; }
.contact-copy .sample-legal { margin:10px 0 0; padding:0; border:0; border-radius:0; box-shadow:none; background:none; font-size:.8125rem; color:var(--readable-caption); }
.contact-strip .contact-copy .sample-legal { line-height:1.45; }
.contact-strip .sample-action-group { display:flex; flex-direction:column; flex-shrink:0; gap:12px; margin:0; max-width:100%; width:100%; }
.sample-page .contact-strip .sample-action-group [data-ui] { min-height:52px; border-radius:14px; font-size:1rem; font-weight:600; padding:0 28px; }
.sample-page .contact-strip [data-ui="phone"] { background:white; color:#191f28; border:1px solid #d1d6db; flex-wrap:nowrap; padding:0 24px; }
.sample-page .contact-strip [data-ui="phone"]:hover { background:#f9fafb; color:#191f28; border-color:#a9b3ba; }
.contact-phone svg { width:20px; height:20px; flex:none; }
.sample-page .contact-strip :focus-visible { outline-color:var(--focus); }
.site-footer { border:0; border-block-start:1px solid #e5e8eb; background:#f9fafb; padding:64px 24px 56px; }
.site-footer .footer-inner { display:block; inline-size:100%; max-inline-size:1120px; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr)); gap:40px; align-items:start; }
.footer-grid>* { min-width:0; }
.sample-firm>strong { display:block; color:#191f28; font-size:1rem; font-weight:700; line-height:1.45; margin:0 0 16px; }
.sample-firm p,.sample-firm address { color:#6b7684; font-size:.875rem; line-height:1.8; font-style:normal; margin:0; }
.sample-firm address { display:block; }
.sample-firm address span { display:inline; }
.sample-firm a.footer-phone { display:inline-block; min-height:0; color:#6b7684; background:transparent; font:inherit; border:0; padding:0; }
.footer-column h2 { font-size:.875rem; font-weight:700; color:#333d4b; line-height:1.45; margin:0 0 14px; }
.footer-column ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer-column a { display:inline-block; font-size:.875rem; font-weight:400; color:#6b7684; line-height:1.5; background:none; border:0; padding:0; border-radius:0; }
.footer-column a.footer-privacy { font-weight:600; color:#333d4b; }
.footer-column a:hover,.sample-firm a.footer-phone:hover { color:#191f28; }
.site-footer .footer-copyright { margin:40px 0 0; padding-top:24px; border-top:1px solid #e5e8eb; color:#8b95a1; font-size:.75rem; line-height:1.5; }
@media(min-width:1024px) {
  .contact-section { padding-block:64px; }
  .sample-page .contact-strip { padding:40px 48px; }
  .contact-inner { flex-direction:row; align-items:center; gap:32px; }
  .contact-strip .sample-action-group { flex-direction:row; width:auto; flex-wrap:wrap; justify-content:flex-end; max-width:52%; }
}
.sub-hero { border:0; background:white; padding-block:40px 16px; }
.breadcrumb { gap:4px 8px; margin-bottom:12px; }
.breadcrumb a { display:inline-flex; align-items:center; min-height:48px; padding:8px; border-radius:12px; background:#f2f4f6; color:var(--accent); }
.sub-hero h1 { max-width:unset; }
.sub-hero p { margin-top:16px; font-size:1rem; line-height:1.65; }
.page-body { padding-block:24px 80px; }
.filters { gap:8px; }
.filter { min-block-size:48px; padding:8px 16px; background:#f2f4f6; border:1px solid var(--border); border-radius:9999px; color:var(--copy); }
.filter[aria-pressed="true"] { color:white; background:var(--accent); }
.results { margin:16px 0; }
.archive-link,.consult-reference { margin-top:24px; }
.guide-layout { grid-template-columns:minmax(0,1fr) minmax(240px,300px); grid-template-areas:'choices toc' 'article toc'; gap:24px 40px; }
.guide-layout--reader { grid-template-areas:'article toc'; }
.landing-links { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; gap:12px; }
.landing-links>[data-ui="primary"] { width:100%; }
.guide-sidebar { grid-area:toc; position:sticky; top:calc(var(--drawer-top,var(--top-bar)) + 16px); display:grid; gap:16px; min-width:0; max-height:calc(100dvh - var(--drawer-top,var(--top-bar)) - 32px); overflow:auto; }
.guide-toc { grid-area:auto; position:static; background:#f9fafb; border:1px solid var(--border); border-radius:16px; }
.toc-panel>summary { padding:16px 20px; }
.toc-content { padding:0 16px 16px; }
.toc-content ol { list-style:none; padding:0; display:grid; gap:8px; }
.toc-content li { margin:0; }
.toc-content [data-ui="row"] { background:white; min-height:48px; padding:10px 12px; font-size:.875rem; }
.toc-content [data-ui="step"] { width:100%; margin-top:12px; }
.side-consult { display:grid; gap:12px; background:var(--chip); padding:20px; border-radius:16px; }
.side-consult h2 { font-size:1.125rem; }
.side-consult p { font-size:.9375rem; }
.article-copy { max-width:100%; color:var(--copy); }
.article-copy h2 { font-size:var(--type-article); margin-bottom:16px; }
.article-copy>section+section { margin-top:40px; border:0; padding:0; }
.article-copy p,.article-copy li { max-width:var(--copy-width); }
.article-copy p+p,.article-copy p+ul,.article-copy p+ol,.article-copy ul+p { margin-top:16px; }
.article-copy :is(p,li:not(.roadmap li))>a:not([data-ui],.content-card-row,.lawyer-compact-card) { display:inline; border-radius:6px; padding:2px 4px; background:var(--chip); color:var(--accent); font-weight:650; }
.article-copy ul,.article-copy ol { list-style:none; padding:0; display:grid; gap:8px; }
.article-copy li+li { margin:0; }
.article-copy section:not(.roadmap,.source-region,.related-section)>ul>li { padding:16px 16px 16px 48px; background:#f9fafb; border-radius:14px; position:relative; }
.article-copy section:not(.roadmap,.source-region,.related-section)>ul>li::before { content:''; position:absolute; left:16px; top:19px; width:19px; height:19px; border-radius:50%; background:var(--chip); }
.article-copy section:not(.roadmap,.source-region,.related-section)>ul>li::after { content:''; position:absolute; top:23px; left:22px; width:6px; height:10px; border:solid var(--accent); border-width:0 2px 2px 0; transform:rotate(45deg); }
.article-copy section:not(.roadmap,.source-region)>ol { counter-reset:steps; }
.article-copy section:not(.roadmap,.source-region)>ol>li { counter-increment:steps; position:relative; background:#f9fafb; border-radius:14px; padding:16px 16px 16px 56px; }
.article-copy section:not(.roadmap,.source-region)>ol>li::before { content:counter(steps); position:absolute; left:16px; top:16px; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--chip); color:var(--accent); font-weight:700; }
.roadmap { padding:20px; border-radius:16px; background:#f2f4f6; }
.roadmap h2 { font-size:1.125rem; }
.roadmap ol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.roadmap a { display:grid; grid-template-columns:28px minmax(0,1fr) 18px; align-items:center; gap:8px; min-height:52px; padding:12px; border-radius:12px; background:white; color:var(--ink); font-size:.875rem; font-weight:600; }
.step-index { display:grid; place-items:center; width:28px; height:28px; border-radius:100%; background:var(--chip); color:var(--accent); font-weight:700; }
.roadmap svg { width:18px; height:18px; color:var(--accent); }
/* ContentCardRow: one surface for all document, case, source and question links. */
.sample-page .content-card-row {
  display:grid; grid-template-columns:minmax(0,1fr) 28px; align-items:center;
  gap:14px; width:100%; min-width:0; min-height:64px; padding:18px 20px;
  border:0; border-radius:16px; background:#f4f5f7; color:#191f28;
  text-decoration:none; text-align:left;
}
.content-card-copy { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; }
.content-card-chip { display:inline-flex; max-width:100%; align-items:center; background:#e3f1ea; color:#144534;
  font-size:.75rem; font-weight:600; line-height:1.35; padding:4px 10px; border-radius:9999px;
  word-break:keep-all; overflow-wrap:anywhere; }
.content-card-chip[data-tone="case"] { background:#e8eef5; color:#2c4a6e; }
.content-card-title { display:block; min-width:0; font-size:1rem; font-weight:600; color:#191f28; line-height:1.45;
  word-break:keep-all; overflow-wrap:anywhere; }
.content-card-arrow { width:28px; height:28px; border-radius:50%; background:#fff; color:#144534; display:grid; place-items:center; }
.content-card-arrow svg { width:18px; height:18px; }
.source-region li { max-inline-size:none; width:100%; }
.source-region small { color:#8b95a1; font-size:.8125rem; line-height:1.5; }
.sample-jumps { display:grid; gap:12px; margin-block:24px; }
.action-card { display:grid; grid-template-columns:40px minmax(0,1fr) 28px; align-items:center; gap:12px; padding:20px; background:#f9fafb; border:1px solid var(--border); border-radius:16px; color:var(--ink); }
.action-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:var(--chip); color:var(--accent); }
.action-icon svg { width:24px; height:24px; }
.action-copy { display:grid; gap:4px; min-width:0; overflow-wrap:anywhere; }
.action-copy strong { font-size:1rem; font-weight:650; }
.action-copy>span { font-size:.8125rem; color:var(--caption); }
.sample-next { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.sample-next [data-ui="chip"] { justify-self:start; }
.sample-next [data-ui="step"] { width:100%; }
.disposition-table caption { color:#8b95a1; font-size:.8125rem; line-height:1.5; }
.disposition-table { border-collapse:separate; border-spacing:0 8px; table-layout:fixed; }
.disposition-table th,.disposition-table td { padding:16px; border:0; background:#f9fafb; vertical-align:middle; }
.disposition-table thead th { background:var(--surface); color:var(--ink); }
.disposition-table th:first-child { border-radius:12px 0 0 12px; width:5rem; white-space:normal; color:var(--accent); }
.disposition-table td:last-child,.disposition-table th:last-child { border-radius:0 12px 12px 0; }
.sample-consult .checklist { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.sample-consult .checklist li { border:0; max-width:none; background:#f9fafb; border-radius:16px; }
.sample-consult .checklist label { min-height:64px; height:100%; padding:20px; align-items:start; }
.checklist li:has(input:checked) { background:var(--chip); }
.checklist-below { justify-content:flex-start; gap:12px; }
.stage-card,.tile--link,.lawyer-compact-card,.action-card,.content-card-row,[data-ui],.quick-link { transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease; }
@media(hover:hover) {
  .stage-card:hover,.tile--link:hover,.action-card:hover,.lawyer-compact-card:hover,.content-card-row:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(25,31,40,.06); }
  .sample-page .content-card-row:hover { background:#edf0f2; }
  .lawyer-compact-card:hover { background:#f9fafb; border-color:#c8d6d0; }
}
.stage-card:active,.tile--link:active,.action-card:active,.lawyer-compact-card:active,.content-card-row:active,[data-ui]:active,.quick-link:active { transform:scale(.985); }
@media(max-width:62rem) {
  :root { --top-bar:56px; --gutter:20px; --section-space:56px; --grid-gap:16px; --type-section:1.375rem; --type-article:1.375rem; }
  .site-header { display:block; min-height:56px; padding:0; }
  .brand-row { min-block-size:56px; padding:3px 20px; }
  .brand-text { white-space:normal; }
  .menu-toggle { min-height:48px; border:0; background:#f2f4f6; border-radius:12px; }
  .header-nav { display:block; margin:0; padding:12px 20px 20px; max-height:calc(100dvh - var(--drawer-top,56px) - var(--drawer-bottom,80px)); }
  .nav-list { display:block; }
  .nav-list a { padding:12px 0; font-size:1.0625rem; white-space:normal; font-weight:500; }
  .nav-list a[aria-current] { padding-inline:12px; border-radius:12px; font-weight:700; }
  .side-tools { display:grid; margin-top:12px; }
  .header-extra>summary { display:none; }
  .header-extra-body { position:static; width:auto; padding:0; border:0; box-shadow:none; }
  .header-extra .side-phone { justify-content:space-between; padding:12px; }
  .center-list { background:#f2f4f6; border-radius:14px; }
  .mobile-actions { display:grid; grid-template-columns:minmax(56px,.75fr) minmax(66px,.9fr) minmax(0,2fr); gap:8px; padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px)); border:0; background:rgba(255,255,255,.9); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); box-shadow:0 -8px 24px #191f2809; }
  .quick-link,.quick-link+.quick-link { min-height:56px; border:0; border-radius:14px; background:var(--surface); padding:6px; font-size:.8125rem; line-height:1.25; color:var(--ink); }
  .quick-link { touch-action:manipulation; cursor:pointer; }
  .quick-link svg { width:20px; height:20px; color:var(--accent); pointer-events:none; }
  .quick-link.quick-reservation { background:var(--accent); color:white; font-size:1rem; font-weight:700; }
  .site-footer { padding:48px 20px max(100px,calc(var(--drawer-bottom,80px) + 24px)); }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .footer-grid .sample-firm { grid-column:1/-1; }
  .footer-column a { display:flex; align-items:center; min-height:48px; }
  .sample-firm a.footer-phone { display:inline-flex; align-items:center; min-height:48px; }
  .hero { padding-block:32px 24px; }
  .hero-inner { gap:24px; }
  .stage-section { padding-block:24px 56px; }
  .stage-grid,.guide-grid,.case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stage-card,.tile,.featured-grid>.tile:first-child { padding:24px; }
  .guide-layout,.guide-layout--reader { grid-template-columns:minmax(0,1fr); grid-template-areas:'toc' 'article'; gap:20px; }
  .guide-layout--landing { grid-template-areas:'choices' 'toc' 'article'; }
  .guide-sidebar { position:static; max-height:none; overflow:visible; }
  .side-consult { display:none; }
  .sub-hero { padding-block:24px 12px; }
  .page-body { padding-block:20px 56px; }
}
@media(max-width:47.99rem) {
  :root { --type-hero:clamp(1.625rem,7vw,1.75rem); }
  .hero-inner,.stage-grid,.guide-grid,.case-grid,.lawyer-grid,.sample-consult .checklist,.footer-inner { grid-template-columns:minmax(0,1fr); }
  .hero-visual { aspect-ratio:16/10; }
  .hero .sample-pair { margin-top:20px; }
  .stage-card { min-height:auto; }
  .stage-card,.tile,.featured-grid>.tile:first-child { padding:20px; }
  .stage-card { grid-template-columns:40px minmax(0,1fr) 28px; align-items:center; gap:4px 12px; }
  .stage-card .stage-icon { grid-column:1; grid-row:1/4; }
  .stage-card .stage-label,.stage-card strong,.stage-summary { grid-column:2; }
  .stage-card .action-arrow { grid-column:3; grid-row:1/4; }
  .stage-summary { font-size:.875rem; }

  .sample-action-group { grid-template-columns:minmax(0,1fr); }
  .sample-pair [data-ui] { padding:8px; font-size:.9375rem; }
  .roadmap ol { grid-template-columns:minmax(0,1fr); }
  .article-copy>section+section { margin-top:32px; }
  .source-region li { max-inline-size:none; width:100%; }
  .disposition-table th,.disposition-table td { padding:12px; }
  .disposition-table thead th:first-child,.disposition-table th[scope="row"] { width:3.75rem; }
}
@media(max-width:360px) {
  .mobile-actions { padding-inline:10px; gap:6px; }
  .stage-card { padding:20px; gap:4px 8px; }
}
@media(prefers-reduced-motion:reduce) {
  .stage-card,.tile--link,.lawyer-compact-card,.action-card,.content-card-row,[data-ui],.quick-link { transition:none; transform:none; }
}
@media print {
  .guide-sidebar { display:none; }
  .guide-layout { display:block; }
}
.brand-lockup { min-height:48px; color:var(--ink); }
.brand-lockup .brand-emblem { display:block; }
.brand-lockup .brand-text { display:grid; }
.stage-card .action-arrow { grid-row:1/5; }
@media(max-width:47.99rem) { .stage-card .action-arrow { grid-row:1/4; } }


.guide-location { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; justify-content:space-between; margin-bottom:12px; }
.guide-location .breadcrumb { margin:0; }
.guide-location [data-ui="chip"] { background:var(--surface); font-size:.875rem; }

.sample-next { margin-top:24px; }
@media(max-width:47.99rem) {
  .guide-location { gap:8px; }
  .guide-location [data-ui="chip"] { min-height:48px; padding:8px 12px; }
}
.roadmap>p { margin-top:12px; color:#8b95a1; font-size:.8125rem; line-height:1.5; }


@media(max-width:360px) {
  .sample-page .contact-strip .sample-action-group [data-ui] { padding:8px 12px; }
  .sample-page .contact-strip [data-ui="phone"] { padding:8px 10px; }
}

/* Question lists share the center's existing typography and single-icon rows. */
:root { --qa-point:#FF5B42; --readable-caption:#626d7b; }
.sample-page h1,.sample-page h2,.sample-page h3 { text-wrap:balance; word-break:keep-all; overflow-wrap:break-word; }
.sample-page p { text-wrap:pretty; word-break:keep-all; overflow-wrap:break-word; }
.sample-page .sample-legal,.source-region small,.disposition-table caption,.roadmap>p,.site-footer .footer-copyright { color:var(--readable-caption); font-size:.8125rem; line-height:1.5; }
.site-footer .footer-copyright { border:0; padding-top:0; }
.guide-location .breadcrumb a {
  background:transparent; border:0; border-radius:4px; min-height:44px;
  padding:0 2px; font-weight:550; color:var(--accent);
}
.guide-location [data-ui="chip"] {
  border:0; border-radius:4px; background:transparent; padding:6px 0; min-height:44px;
}
.guide-location .breadcrumb a:hover,.guide-location [data-ui="chip"]:hover { background:#e8f3ee; }
.toc-content ol { gap:0; }
.toc-content [data-ui="row"] { background:transparent; border:0; border-radius:6px; padding:9px 4px; min-height:44px; }
.side-consult [data-ui="step"] { background:#fff; border:1px solid #d1d6db; min-height:48px; }

.home-questions { padding-block:0 var(--section-space); }

.qa-list { display:grid; gap:10px; list-style:none; margin:0; padding:0; min-width:0; }
.qa-list>li { display:block; margin:0; padding:0; border:0; min-width:0; }
.qa-list .qa-item { margin:0; padding:0; border:0; border-radius:16px; background:#f4f5f7; min-width:0; }
.qa-item>summary {
  min-height:64px; display:grid; grid-template-columns:minmax(0,1fr) 28px;
  gap:14px; align-items:center; padding:18px 20px; color:var(--ink); font-size:1rem;
  line-height:1.45; font-weight:600; text-align:left; border-radius:16px;
}
.qa-item>summary::marker,.qa-item>summary::-webkit-details-marker { display:none; content:""; }
.qa-item>summary::before,.qa-item>summary::after { content:none; display:none; }
.qa-item>summary>span { min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
.qa-item>summary svg { display:block; width:28px; height:28px; padding:5px; border-radius:50%; background:white; color:var(--accent); transition:transform .15s ease; }
.qa-item[open]>summary>svg { transform:rotate(180deg); }
.qa-item[open]>summary { color:var(--accent); }
.qa-item:target,.reference-list li:target { outline:2px solid var(--qa-point); outline-offset:3px; border-radius:16px; }
.qa-item>summary:focus-visible,.content-card-row:focus-visible,.lawyer-compact-card:focus-visible,.qa-more-link:focus-visible,.question-controls :is(button,input):focus-visible {
  outline:3px solid var(--focus); outline-offset:3px;
}
.qa-item>summary:hover { color:var(--accent); background:#edf0f2; }
.qa-answer { max-inline-size:none; padding:0 20px 20px; color:var(--copy); font-size:1rem; line-height:1.65; }
.qa-answer p,.qa-answer p+p { margin:0 0 12px; line-height:1.65; }
.sample-page .qa-answer p>a:not(.content-card-row),.sample-page .sub-hero p>a { background:#e3f1ea; padding:2px 4px; border-radius:6px; color:var(--accent); font-weight:600; text-decoration:none; word-break:keep-all; overflow-wrap:anywhere; }
.qa-references { display:grid; gap:10px; margin-top:16px; }
.qa-more-link { display:flex; align-items:center; justify-content:center; min-height:52px; margin-top:16px; padding:12px 16px; border:1px solid #d1d6db; border-radius:14px; background:#fff; color:var(--accent); text-decoration:none; font-size:.9375rem; font-weight:650; text-align:center; cursor:pointer; width:100%; }
.qa-more-link:hover { background:#f2f4f6; }

.qa-section { min-width:0; }
.qa-section [id],#qa-a04,#qa-d02,#qa-d04 { scroll-margin-block-start:10px; }
.consult-questions { margin-block:40px 24px; }
.question-browser { padding-block:12px var(--section-space); }
.question-controls { margin-bottom:26px; }
.question-controls label { display:block; font-weight:650; margin-bottom:8px; }
.question-search-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.question-search-row input,.question-search-row button {
  font:inherit; min-width:0; min-height:48px; border:1px solid #84938a; background:white; color:var(--ink); border-radius:10px; padding:10px 12px;
}
.question-search-row input::placeholder { color:var(--caption); opacity:1; }
.question-filters { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.question-filters button { cursor:pointer; font:600 .9375rem/1.35 var(--sans); padding:10px 14px; min-height:48px; background:#f2f4f6; border:1px solid var(--border); border-radius:9999px; color:var(--ink); }
.question-filters button[aria-pressed="true"] { background:var(--accent); border-color:var(--accent); color:white; }
.question-results-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 16px; margin-bottom:12px; }
.question-results-head h2 { font-size:var(--type-section); }
.question-count,.question-empty { font-size:.9375rem; color:var(--readable-caption); }
.sample-questions main .wrap { --content-max:880px; }
@media(max-width:420px) {
 .guide-location { align-items:flex-start; }
 .qa-item>summary { font-size:1rem; }
 .qa-answer { font-size:1rem; }
 .question-filters { gap:6px; }
 .question-filters button { padding-inline:9px; }
}
@media(min-width:62.01rem) and (max-width:1180px) {
 .header-nav,.side-tools { gap:6px; }
 .nav-list { gap:1px; }
 .nav-list a { padding-inline:5px; font-size:.8125rem; }
 .site-header { gap:12px; }
}
@media(prefers-reduced-motion:reduce) { .qa-item>summary svg { transition:none; } }

/* Shared card lists: preserve source anchors and quiet footer. */
.article-copy .reference-list,.article-copy .lawyer-compact-list { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.article-copy .reference-list>li,.article-copy .lawyer-compact-list>li {
  max-inline-size:none; min-inline-size:0; margin:0; padding:0;
  background:transparent; border:0; border-radius:0; position:static;
}
.article-copy .reference-list>li::before,.article-copy .reference-list>li::after,.article-copy .lawyer-compact-list>li::before,.article-copy .lawyer-compact-list>li::after { content:none; display:none; }

.source-region small { display:block; margin-top:10px; }
/* Equal heading hierarchy and a tangible separation between content and people. */
.article-copy .source-region>h2,.article-copy .qa-section>h2,.consult-questions .qa-section>h2,.article-copy .related-section>h2,.article-copy .related-profile-heading { font-size:1.3125rem; font-weight:700; color:#191f28; letter-spacing:-.025em; margin:0 0 16px; }
.section-divider { height:12px; background:#f2f4f6; margin:36px 0; border-radius:4px; }
.article-copy .lawyer-compact-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:47.99rem) {
  .section-divider { margin:36px -20px; border-radius:0; }
  .article-copy .lawyer-compact-list { grid-template-columns:minmax(0,1fr); }
}
.toc-content>[data-ui="row"] { margin-top:6px; font-weight:600; color:var(--accent); }
.toc-content>[data-ui="row"] .ui-arrow { background:none; }
.site-footer { border:0; }
.site-footer .sample-firm p,.site-footer .sample-firm address,.site-footer .sample-firm a.footer-phone,
.site-footer .footer-column a { color:#53606f; }
.site-footer .footer-column a.footer-privacy { color:#333d4b; }
.site-footer .footer-column a:focus-visible,.site-footer .sample-firm a.footer-phone:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.site-footer .footer-copyright { margin-top:32px; overflow-wrap:anywhere; }
@media(max-width:62rem) {
  .site-footer { padding:36px 20px calc(var(--drawer-bottom,80px) + 22px); }
  .footer-grid { gap:24px 18px; }
  .footer-grid>.footer-column:nth-child(2) { grid-column:1/-1; }
  .footer-grid>.footer-column:nth-child(2) ul { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 18px; }
  .footer-column ul { gap:2px; }
  .footer-column h2 { margin-bottom:6px; }
  .footer-column a,.sample-firm a.footer-phone { min-height:44px; overflow-wrap:break-word; word-break:keep-all; }
  .site-footer .footer-copyright { margin-top:24px; }
}

/* The related links follow the reading column and its sticky sidebar. */
.guide-layout.page-body { padding-block-end:40px; }
.guide-followup { padding-block-end:var(--section-space); }
.guide-followup .sample-next { margin-top:20px; gap:10px; }
.guide-followup .sample-next .qa-more-link { margin:0; background:transparent; border-color:transparent; }
.guide-followup .sample-next .qa-more-link:hover { background:#f2f4f6; }
@media (min-width:48rem) {
  .home-questions .qa-list, .guide-followup .reference-list, .guide-followup .sample-next {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }
  .guide-followup .sample-next .qa-more-link { border-color:var(--border); }
}
