/* MyLienDoctor site layer on top of core.css + theme.css (Signature, preview) */
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--f-body); }
h1, h2, h3, .hero h1, .pagehead h1, .cta-photo h2 { font-family: var(--f-head); font-weight: 800; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; }
h1 em, h2 em, .cta-photo h2 em { font-style: italic; font-weight: 300; color: var(--accent); }
.section--navy h2 em, .hero h1 em, .cta-photo h2 em, .pagehead h1 em, .svc-hero h1 em { color: var(--highlight-light); }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
.nav__list { display: flex; gap: 1.4rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: var(--on-dark); font-weight: 600; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--highlight-light); }
/* the brand's own LT lockup, as on the live header */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.ltmark { display: inline-flex; font-weight: 800; font-size: .8rem; line-height: 1; flex: none; }
.ltmark span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 24px; background: #fff; color: #14171c; }
.ltmark .ltmark__t { background: #7aa7ff; color: #14171c; }
.brand__stack { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.15rem; color: #fff; }
.brand__lt { font-size: .74rem; color: var(--on-dark-2); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight-light); margin-right: .55rem; animation: ld-pulse 2.4s infinite; vertical-align: 1px; }
@keyframes ld-pulse { 0% { box-shadow: 0 0 0 0 rgba(240,154,147,.6); } 70% { box-shadow: 0 0 0 9px rgba(240,154,147,0); } 100% { box-shadow: 0 0 0 0 rgba(240,154,147,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
body.a11y-no-motion .live-dot { animation: none; }
.preview-note { background: var(--accent-wash); border-bottom: 1px solid var(--line-strong); padding: .7rem 1.1rem; margin: 0; font-size: .92rem; color: var(--ink); text-align: center; }
.preview-off { background: #ffffff; border: 1px solid var(--highlight); color: var(--highlight-deep); padding: .7rem 1rem; border-radius: var(--radius-sm); }
.rail-card img { object-position: center; }
.rail-card--all { background: linear-gradient(150deg, var(--brand-deep), var(--brand-soft)); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.blog-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 1100px; margin: 0 auto; }
.blog-card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8,45,107,.14); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card div { padding: 1.1rem 1.3rem 1.4rem; }
.blog-card h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.blog-card p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .blog-duo { grid-template-columns: 1fr; } }
.dark-story .tech__body p { max-width: 58ch; }
.tech-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .9rem; }
.tech-list li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: start; color: var(--on-dark-2); }
.tech-list svg { width: 26px; height: 26px; color: var(--highlight-light); }
.tech-list strong { display: block; color: #fff; }
.site-footer { background: var(--brand-deep); color: var(--on-dark-2); }
.site-footer a { color: #fff; }
.site-footer .footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; align-items: start; }
.site-footer .legal { font-size: .88rem; line-height: 1.6; color: var(--on-dark-2); }
.site-footer .legal--box { border: 1px solid rgba(255,255,255,.25); padding: .8rem 1rem; border-radius: var(--radius-sm); }
.footer__list { list-style: none; padding: 0; margin: 0; } .footer__list li { margin: 0 0 .5rem; }
.footer__base { display: flex; justify-content: center; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer__base a.swg img { width: 24px; height: 24px; display: block; }
@media (max-width: 900px) { .site-footer .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .footer__grid { grid-template-columns: 1fr; text-align: center; } }
.pagehead--simple { min-height: clamp(280px, 38vh, 400px); }
.prose-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; font-size: 1.05rem; line-height: 1.75; color: #2b3038; }
.prose-wrap h2 { font-size: 1.7rem; margin: 2.2rem 0 .7rem; }
.prose-wrap ul { padding-left: 1.3rem; } .prose-wrap a { color: var(--accent); }
.ld-legacy { font-family: var(--f-body); color: var(--ink); line-height: 1.55; }
.ld-legacy *, .ld-legacy *::before, .ld-legacy *::after { box-sizing: border-box; }
.lang-switch--utility a { color: var(--on-dark); }
@media (max-width: 980px) {
  .nav__list { flex-direction: column; align-items: stretch !important; gap: 0; }
  .nav__list > li > a { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
}
.hero__book li strong a { color: #fff; text-decoration: none; } .hero__book li strong a:hover { color: var(--highlight-light); }
/* part 2 (13523097245): mobile menu expands in place under the header (brief §3), no side drawer */
@media (max-width: 980px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav { position: static; inset: auto; width: 100%; flex-basis: 100%; transform: none; box-shadow: none; background: transparent; padding: 0; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .35s cubic-bezier(.2,.6,.2,1), visibility 0s linear .35s; z-index: auto; }
  .nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; padding: .4rem 0 1.2rem; transition: max-height .35s cubic-bezier(.2,.6,.2,1); }
  .nav__list > li { border-bottom-color: rgba(255,255,255,.12); }
}
@media (prefers-reduced-motion: reduce) { .nav, .nav.is-open { transition: none; } }
body.a11y-no-motion .nav, body.a11y-no-motion .nav.is-open { transition: none; }
/* part 2: inner templates - breadcrumb on the photo head, post column + sticky rail */
.pagehead .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .6rem; margin: 0 0 1rem; padding: 0; font-size: .88rem; }
.pagehead .crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .6; }
.pagehead .crumbs a, .pagehead .crumbs span { color: var(--on-dark-2); }
.pagehead .crumbs a:hover { color: var(--highlight-light); }
.svc-hero .crumbs ol { justify-content: flex-start; }
.svc-hero .crumbs a, .svc-hero .crumbs span { color: var(--on-dark-2); }
@media (min-width: 1000px) { .post-layout--rail { grid-template-columns: minmax(0, 1fr) 320px; } }
.post-layout--rail .sig-article h1 { display: none; }
.post-rail__back { display: block; text-align: center; font-size: .92rem; }
.post-rail__card .btn + .btn { margin-top: .55rem; }
/* part 2: added section titles are styled text (not H2) so each preview page keeps the live H2 set */
.cta-photo__title, .tech__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; letter-spacing: -.01em; color: #fff; margin: 0 0 1rem; text-wrap: balance; }
.cta-photo__title em, .tech__title em { color: var(--highlight-light); }
.post-rail__card .eyebrow { color: var(--highlight-light); }
/* part 2: style-audit fixes on the preview - hover labels keep contrast; wrapped chip rows centred */
.site-header .nav .btn--highlight:hover, .site-header .nav .btn--highlight:focus-visible, .btn.btn--highlight:hover { color: var(--brand-deep) !important; }
.btn.btn--on-navy:hover, .btn.btn--on-navy:focus-visible { color: var(--brand) !important; background: #fff; }
.svc-hero__chips, .hero__chips, .chips { justify-content: center; }
/* part 2: provider card grids - an incomplete last row is centred (style-lock orphan rule) */
.ld-legacy .cards { display: flex; flex-wrap: wrap; justify-content: center; }
.ld-legacy .cards > * { flex: 1 1 300px; max-width: calc((100% - 32px) / 3); }
@media (max-width: 1000px) { .ld-legacy .cards > * { max-width: calc((100% - 16px) / 2); } }
@media (max-width: 660px) { .ld-legacy .cards > * { max-width: 100%; } }
/* part 2: breadcrumb aligns with the page-head title; post column uses the full reading width on phones */
.pagehead .crumbs ol { justify-content: flex-start; }
.post-layout--rail .ld-legacy .wrap { padding-left: 0; padding-right: 0; max-width: none; }
/* 13523221759: a11y link-in-text-block (Lighthouse) - inline links inside running text are underlined, not colour-only */
main p a:not([class]), .site-footer p a:not([class]), footer p a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* 13523221627: home H2 parity with live. Titles the preview adds on the home are styled p, not h2; these rules mirror the
   h2 cascade they had (base + core + lien h2, .duo__body h2, .hero__book h2, .cta-photo h2) so the look does not change. */
main p.sec-title { margin: 0 0 .6em; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; color: var(--brand); }
main p.sec-title em { font-style: italic; font-weight: 300; letter-spacing: -0.01em; color: var(--accent); }
main .duo__body p.sec-title { margin-bottom: 1.1rem; }
main .hero__book p.hero__book__title { font-family: var(--f-head); font-weight: 800; font-size: 1.08rem; line-height: 1.1; margin: 0 0 .25rem; color: #fff; letter-spacing: -.01em; }
main .cta-photo p.cta-photo__title--home { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; margin-bottom: 1rem; max-width: none; }
main .cta-photo p.cta-photo__title--home em { font-style: italic; font-weight: 300; letter-spacing: -0.01em; }

/* 13523361184 (vision-review polish): legacy provider cards were a card inside a card (core .card on the li + the live
   article border). One card: the li keeps the Signature card (radius, shadow, hover bar); the inner article is flattened. */
.ld-legacy li.card { padding: 1.05rem 1.2rem; display: flex; }
.ld-legacy li.card > article { border: 0; padding: 0; border-radius: 0; background: none; width: 100%; height: auto; }
.ld-legacy li.card--feat { border: 2px solid var(--brand); }
/* legacy section titles + provider count follow the global centred default (kept as H2 for SEO parity) */
.ld-legacy h2, .ld-legacy .count { text-align: center; }
/* the brand-red button: white label on solid brand red (navy on the red half of the gradient failed contrast) */
.btn.btn--highlight, .hero .btn--highlight, .cta-photo .btn--highlight, .svc-hero .btn--highlight, .section--brand .btn--highlight, .tech .btn--highlight, .hero__book .btn--xs { background: var(--highlight); color: #fff; }
.site-header .nav .btn--highlight:hover, .site-header .nav .btn--highlight:focus-visible, .btn.btn--highlight:hover, .btn.btn--highlight:focus-visible { background: var(--highlight-deep); color: #fff !important; }

/* 13548748826 engine port: fleet domains can have 1 blog post or 1-3 rail specialties - a lone blog card is centred (orphan rule) */
.blog-duo > .blog-card:only-child { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 560px; }
