/* Public marketing refinements. Existing legacy tables retain table.css. */
:root {
  --page-max: 1120px;
  --page-pad: clamp(1rem, 3.5vw, 2rem);
  --section-gap: clamp(2.5rem, 6vw, 4rem);
}

body { background: #f5f6f7; font-size: 1rem; line-height: 1.65; }
a { text-underline-offset: 0.2em; }
address { font-style: normal; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 100; padding: 0.8rem 1.1rem; background: #fff; color: #111; font-weight: 700; }
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }

/* Keep the existing brand image and grayscale navigation, without shimmer. */
.site-header.site-header--fullbleed { background: #fff; border-bottom: 1px solid #d9dce2; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header__inner { gap: 0; padding-bottom: 0; padding-top: 0; }
.hero-copy { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; border: 0; box-shadow: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand-lockup { align-items: center; gap: 1rem; width: auto; }
.brand-logo-panel { flex: 0 0 auto; width: auto; padding: 0; border: 0; box-shadow: none; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
.brand-logo-panel::before, .brand-logo-panel::after { display: none; animation: none; }
.brand-logo { display: block; width: 92px; height: 92px; opacity: 1; }
.firm-name { margin: 0; font-size: 1.35rem; line-height: 1.35; font-weight: 650; letter-spacing: -0.025em; }
.firm-name span { display: block; margin-top: 0.3rem; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: #50545c; }
.header-contact { flex: 0 0 auto; max-width: 100%; text-align: right; }
.header-contact span { display: block; color: #50545c; font-size: 0.9rem; }
.header-contact a { font-size: 1.25rem; font-weight: 650; text-decoration: none; }
.nav-shell { padding: 0.4rem 0.5rem; border: 0; box-shadow: none; background: #191b20; backdrop-filter: none; -webkit-backdrop-filter: none; }
.navbar { flex-wrap: wrap; align-items: center; gap: 0.2rem; overflow: visible; }
.navbar a, .theme-toggle { min-height: 44px; padding: 0.55rem 0.9rem; border: 1px solid transparent; border-radius: 2px; font-size: 1rem; font-weight: 500; background: transparent; color: #fff; transition: none; }
.navbar a[aria-current="page"] { background: #fff; color: #17191e; font-weight: 650; }
.navbar a:hover, .navbar a:not(.btn):hover, .theme-toggle:hover { color: #fff; background: #30343d; transform: none; }
.navbar a:focus-visible, .theme-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
.navbar a[aria-current="page"]:focus-visible { color: #17191e; background: #fff; outline: 3px solid var(--cobalt); outline-offset: -4px; }
.theme-toggle { margin-left: auto; font-size: 0.9rem; border-color: #858b98; }

main { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.legacy-page main { gap: 1.25rem; }
.review-notice { margin: 0; padding: 0.55rem 0.85rem; border: 1px solid #cdd1d9; background: #fff; color: #4b505b; font-size: 0.875rem; }
.marketing-page h1, .marketing-page h2, .marketing-page h3 { color: #17191e; }
.marketing-page h1 { max-width: 18ch; margin: 0 0 1.25rem; font-size: clamp(2.25rem, 4.5vw, 3.65rem); line-height: 1.12; font-weight: 650; letter-spacing: -0.045em; }
.marketing-page h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.22; font-weight: 650; letter-spacing: -0.025em; }
.marketing-page h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 0.7rem; }
.marketing-page p { max-width: 70ch; }
.marketing-page main > *, .marketing-hero > *, .service-grid > *, .contact-grid > *, .content-columns > * { min-width: 0; }
.marketing-page p:last-child { margin-bottom: 0; }
.marketing-page main a:not(.btn):not(.phone-link) { color: #173c9b; }
.marketing-page main a:not(.btn):not(.phone-link):hover { color: #10285f; }
.eyebrow { color: #4c5362; font-size: 0.875rem; font-weight: 650; letter-spacing: 0.065em; text-transform: uppercase; margin-bottom: 0.8rem; }
.lead { font-size: 1.15rem; line-height: 1.65; color: #454b57; max-width: 58ch; }
.supporting-text { color: #555c68; font-size: 0.95rem; margin-top: 1.15rem; }
.privacy-note { color: #555c68; font-size: 0.9rem; line-height: 1.6; }
.marketing-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 3.5rem); }
.hero-message { padding: 0.6rem 0; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.marketing-page .btn { min-height: 48px; max-width: 100%; padding: 0.7rem 1.1rem; border-radius: 3px; border: 1px solid #737b8b; background: #fff; color: #252a35; font-size: 1rem; font-weight: 600; text-align: center; line-height: 1.4; overflow-wrap: anywhere; }
.marketing-page .btn:hover { background: #ebedf2; transform: none; }
.marketing-page .btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.marketing-page .btn-primary:hover { color: #fff; background: #172f82; border-color: #172f82; }
.marketing-page .table-card { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid #d8dce3; border-radius: 4px; box-shadow: 0 3px 10px rgba(18, 25, 45, 0.025); background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.contact-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.marketing-page .contact-panel { border-top: 3px solid var(--cobalt); }
.contact-panel h2 { font-size: 1.6rem; }
.contact-panel .privacy-note { margin-top: 1rem; }
.contact-panel a, .header-contact a { overflow-wrap: anywhere; }
.contact-panel .phone-link { display: inline-block; margin: 0.35rem 0 1rem; color: #17191e; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.3; font-weight: 650; text-decoration: none; letter-spacing: -0.025em; }
.section-intro { max-width: 720px; margin-bottom: 1.5rem; }
.section-intro p { color: #4d5460; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.service-card { display: flex; flex-direction: column; }
.service-card a { margin-top: auto; font-weight: 600; }
.service-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
.service-feature p { max-width: 65ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.steps li { border-top: 2px solid #c8cdd7; padding-top: 1.2rem; counter-increment: steps; }
.steps h3::before { content: counter(steps) ". "; color: var(--cobalt); }
.steps p { color: #4d5460; }
.consultation-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.25rem); background: #e9edf5; border-left: 3px solid var(--cobalt); }
.consultation-band h2 { font-size: 1.65rem; }
.consultation-band p { color: #4d5460; }
.consultation-band .btn { flex: 0 0 auto; }
.page-intro { max-width: 830px; }
.page-intro h1 { max-width: 23ch; }
.content-columns { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); }
.content-columns p, .content-columns address { color: #454b57; }
.marketing-page .table-scroll { border: 1px solid #d9dde5; border-radius: 0; }
.service-table { font-size: 1rem; line-height: 1.6; }
.service-table th, .service-table td { padding: 1rem 1.15rem; }
.service-table th[scope="row"] { width: 31%; color: #222835; font-weight: 600; background: transparent; }
.service-table thead th { color: #303845; background: #eef0f4; }
.faq-list { border-top: 1px solid #cdd2dc; }
.faq-list details { border-bottom: 1px solid #cdd2dc; padding: 0; }
.faq-list summary { padding: 1.15rem 0.25rem; font-size: 1.08rem; font-weight: 600; line-height: 1.5; cursor: pointer; }
.faq-list summary::marker { color: var(--cobalt); }
.faq-list details p { margin: 0 0 1.25rem; padding: 0 0.25rem; max-width: 78ch; color: #454b57; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.information-note { padding: 1.4rem 1.6rem; background: #eceff4; border: 1px solid #d6dce6; }
.information-note h2 { font-size: 1.3rem; }

.site-footer { width: calc(100% - 2 * var(--page-pad)); max-width: calc(var(--page-max) - 2 * var(--page-pad)); padding: 2rem 0; border: 0; border-top: 1px solid #cdd1d9; border-radius: 0; box-shadow: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
.footer-block h2, .marketing-page .footer-block h2 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.footer-block p { margin-bottom: 0.6rem; }
.footer-block address { margin: 0.9rem 0; }
.footer-block a { overflow-wrap: anywhere; }
.footer-block .privacy-note { margin-top: 1rem; }
.footer-disclaimer { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid #d9dce2; color: #555c68; font-size: 0.9rem; max-width: none; }
.footer-copyright { color: #555c68; font-size: 0.875rem; }

@media (max-width: 860px) {
  .marketing-hero { grid-template-columns: 1fr; align-items: stretch; }
  .marketing-hero h1 { max-width: 20ch; }
  .marketing-hero .contact-panel { max-width: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { gap: 0; }
  .service-card a { margin-top: 0.15rem; }
  .service-feature { grid-template-columns: 1fr; gap: 1rem; }
  .service-feature .btn { justify-self: start; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .consultation-band { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .content-columns { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  .hero-copy { flex-wrap: wrap; gap: 0.75rem; padding: 1rem 0; }
  .brand-lockup { flex-direction: row; gap: 0.75rem; }
  .brand-logo { width: 72px; height: 72px; }
  .firm-name { font-size: 1.1rem; letter-spacing: -0.015em; }
  .firm-name span { font-size: 0.9rem; }
  .header-contact { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: baseline; text-align: left; }
  .header-contact a { font-size: 1.05rem; }
  .nav-shell { padding: 0.35rem; }
  .navbar { gap: 0.15rem; }
  .navbar a { font-size: 1rem; padding: 0.6rem 0.7rem; }
  .theme-toggle { font-size: 0.875rem; padding: 0.6rem 0.7rem; margin-left: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-table th, .service-table td { padding: 0.8rem 0.6rem; overflow-wrap: anywhere; }
  .service-table th[scope="row"] { width: 35%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .action-row { align-items: stretch; }
  .action-row .btn { flex: 1 1 100%; }
  .marketing-page h1 { font-size: clamp(2.15rem, 8vw, 2.8rem); }
  .lead { font-size: 1.08rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media print {
  .nav-shell, .header-contact, .skip-link, .theme-toggle { display: none; }
  .theme-invert { filter: none; }
  .theme-invert img, .theme-invert video, .theme-invert iframe, .theme-invert canvas { filter: none; }
  body { background: #fff; }
  .marketing-page .table-card, .consultation-band, .information-note { box-shadow: none; background: #fff; }
  .faq-list details { break-inside: avoid; }
}
