/* Extend the existing MUSCAT visual system. */
:focus-visible { outline: 3px solid #e89552; outline-offset: 4px; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5.2rem); line-height: 1.04; letter-spacing: -.055em; }
.hero-copy { width: min(780px, 100%); }
.hero-lede { width: min(650px, 100%); }
.product-card { display: flex; flex-direction: column; }
.product-card h3 a:hover { color: var(--accent-deep); }
.product-detail-link { margin-top: auto; padding-top: 18px; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; min-width: 32px; }
.resource-strip { padding: 54px 0; background: #e8f2f4; border-block: 1px solid var(--line); }
.resource-strip h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; line-height: 1.3; }
.resource-strip p { max-width: 850px; }
.detail-page .site-header { position: relative; top: 0; background: var(--ink-deep); }
.detail-page .header-inner { min-height: 100px; }
.detail-page .desktop-nav { gap: 24px; margin: 0 22px; }
.detail-hero { padding: 48px 0 62px; background: var(--ink-deep); color: #fff; }
.detail-hero .eyebrow { color: #8fdae7; }
.detail-hero h1 { max-width: 1000px; margin: 22px 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.detail-lead { max-width: 850px; margin-bottom: 30px; color: #cfdee5; font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: #b9cbd3; font-size: .86rem; margin-bottom: 30px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 54px; align-items: start; }
.detail-copy h2 { font-size: 1.7rem; line-height: 1.3; font-weight: 500; margin-top: 32px; }
.detail-copy h2:first-child { margin-top: 0; }
.selection-list { padding-left: 23px; margin-bottom: 32px; }
.selection-list li { margin: 12px 0; }
.inquiry-panel { padding: 30px; border: 1px solid var(--line); background: white; }
.inquiry-panel h2 { font-size: 1.6rem; line-height: 1.3; font-weight: 500; }
.inquiry-panel .text-link { display: block; margin: 24px 0; }
.inquiry-panel p { overflow-wrap: anywhere; }
.related-section { padding-top: 0; }
.related-section > .container > h2 { font-size: 2rem; font-weight: 500; }
.table-wrap { overflow-x: auto; margin-bottom: 28px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table caption { text-align: left; font-size: 1.5rem; margin-bottom: 20px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 16px; vertical-align: top; }
.data-table thead { background: var(--ink-deep); color: white; }
.data-table tbody th { width: 28%; background: #eaf1f3; }
.footer-copy { overflow-wrap: anywhere; }
.resources-section { background: #eaf1f3; border-block: 1px solid var(--line); }
.resources-heading { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; margin-bottom: 32px; }
.resources-heading > div { max-width: 760px; }
.resources-heading h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.18; font-weight: 500; letter-spacing: -.035em; margin: 18px 0; }
.resources-heading > .text-link { flex: 0 0 auto; margin-bottom: 20px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); background: #fff; border-top: 3px solid var(--accent-deep); min-width: 0; }
.resource-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.resource-index { color: var(--accent-deep); font-size: .9rem; font-weight: 700; }
.resource-category { color: #486274; font-size: .66rem; letter-spacing: .13em; font-weight: 700; }
.language-badge { padding: 1px 6px; border: 1px solid #b0c7ce; font-size: .65rem; color: #456174; border-radius: 3px; }
.resource-card h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.resource-card h3 a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; }
.resource-card p { font-size: .94rem; color: #4b6271; }
.resource-read { margin-top: auto; padding-top: 20px; }
.resource-strip-link { margin-top: 32px; display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.resource-strip-link p { max-width: 630px; color: #526b7b; font-size: .85rem; margin: 0; }
.resources-hero { position: relative; background-image: linear-gradient(115deg,#071b2d 40%,#143f55); }
.resources-hero h1 { max-width: 900px; }
.resource-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.resource-topics span { border: 1px solid #577989; color: #d3e4eb; padding: 6px 12px; font-size: .8rem; }
.resource-language-note { color: #526b7b; padding-left: 18px; border-left: 3px solid var(--accent-deep); margin-bottom: 32px; max-width: 880px; }
.resource-list-title { font-size: 1.5rem; line-height: 1.35; font-weight: 500; margin-bottom: 28px; }
.resource-cta { padding: 48px 0; background: #e4eff2; border-top: 1px solid var(--line); }
.resource-cta > .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.resource-cta > .container > div { max-width: 780px; }
.resource-cta h2 { font-size: 1.8rem; line-height: 1.3; font-weight: 500; }
.resource-cta p { margin-bottom: 0; }
.resource-cta .button { flex-shrink: 0; }
.article-byline { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .8rem; color: #a8c7d5; margin-bottom: 0; }
.article-content { padding-top: 58px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(230px, 1fr); gap: 68px; align-items: start; }
.article-copy { min-width: 0; font-size: 1.03rem; }
.article-copy p { line-height: 1.85; }
.guide-takeaway { padding: 24px 28px; background: #e7f1f4; border-left: 3px solid var(--accent-deep); margin-bottom: 40px; }
.guide-takeaway p:last-child { margin-bottom: 0; }
.guide-section { margin: 0 0 40px; scroll-margin-top: 24px; }
.guide-section h2 { font-size: 1.85rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 24px; }
.guide-section h3 { font-size: 1.18rem; line-height: 1.4; margin-top: 26px; font-weight: 600; }
.article-table { font-size: .91rem; line-height: 1.65; }
.article-table caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.article-table td, .article-table th { padding: 14px; overflow-wrap: break-word; }
.article-table tbody th { width: 25%; }
.article-sidebar { position: sticky; top: 24px; padding: 24px; background: white; border: 1px solid var(--line); font-size: .86rem; }
.article-sidebar h2 { font-size: 1.05rem; line-height: 1.4; font-weight: 600; }
.article-sidebar ol, .article-sidebar ul { padding-left: 20px; }
.article-sidebar li { margin: 12px 0; }
.article-sidebar li a:hover, .related-guides a:hover { color: var(--accent-deep); text-decoration: underline; }
.sidebar-products { padding-top: 22px; margin-top: 24px; margin-bottom: 24px; border-top: 1px solid var(--line); }
.inquiry-example { white-space: pre-wrap; overflow-wrap: anywhere; font: .87rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; padding: 24px; background: #edf2f4; border: 1px solid var(--line); }
.email-help { color: #526b7b; font-size: .83rem; margin-top: 12px; }
.article-reference { border-top: 1px solid var(--line); padding-top: 24px; font-size: .85rem; color: #526b7b; }
.article-reference h2 { font-size: 1.05rem; font-weight: 600; }
.article-reference a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-scope { font-size: .85rem; color: #526b7b; }
.related-resources { padding-top: 0; }
.related-resources > .container > h2 { font-size: 2rem; font-weight: 500; margin-bottom: 28px; }
.related-guides { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 12px; }
.related-guides li { margin: 12px 0; }
.related-guides a { color: var(--accent-deep); }
.footer-resource-link { font-size: .8rem; }
.site-footer .footer-inner { flex-wrap: wrap; gap: 16px 30px; padding-block: 24px; }
@media (max-width: 1100px) {
  .detail-page .desktop-nav { display: none; }
  .detail-page .header-actions { margin-left: auto; margin-right: 20px; }
  .detail-page .menu-toggle { display: block; }
  .detail-page .mobile-nav.open { display: flex; flex-direction: column; gap: 15px; padding: 20px 32px; background: var(--ink-deep); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 32px; }
}
@media (max-width: 760px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-hero { padding: 32px 0 44px; }
  .detail-page .header-inner { min-height: 88px; }
  .detail-page .header-cta { display: none; }
  .detail-page .brand-copy small { letter-spacing: .1em; }
  .detail-page .header-actions { margin-right: 12px; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .hero-side-note { display: none; }
  .hero-proof { flex-wrap: wrap; gap: 12px; margin-top: 40px; }
  .inquiry-panel { padding: 24px; }
  .resource-grid, .home-resource-grid { grid-template-columns: 1fr; }
  .resources-heading, .resource-strip-link, .resource-cta > .container { display: block; }
  .resources-heading > .text-link { display: inline-flex; margin-top: 5px; }
  .resource-card { padding: 24px; }
  .resource-strip-link p { margin-top: 16px; }
  .resource-cta .button { margin-top: 24px; }
  .article-layout { display: flex; flex-direction: column; gap: 32px; }
  .article-copy { width: 100%; }
  .article-sidebar { order: -1; position: static; width: 100%; }
  .article-toc ol { columns: 1; }
  .article-sidebar .sidebar-products, .article-sidebar > .text-link { display: none; }
  .guide-takeaway { padding: 22px; }
  .guide-section h2 { font-size: 1.55rem; }
  .article-table td, .article-table th { padding: 10px; }
  .article-table { font-size: .82rem; }
  .article-copy { font-size: 1rem; }
  .article-reference a { overflow-wrap: anywhere; }
}
/* Keep navigation available on every page and viewport. */
:root { --fixed-header-height: 100px; }
html { scroll-padding-top: calc(var(--fixed-header-height) + 16px); }
.site-shell { padding-top: var(--fixed-header-height); }
.site-header, .detail-page .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--ink-deep); box-shadow: 0 3px 16px rgba(7,27,45,.18); }
.site-header .mobile-nav { position: absolute; top: 100%; max-height: calc(100dvh - var(--fixed-header-height)); overflow-y: auto; overscroll-behavior: contain; }
.article-sidebar { top: calc(var(--fixed-header-height) + 24px); }
@media (max-width: 680px) { :root { --fixed-header-height: 88px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
