/* Shared navigation and footer; captured page content keeps its own styles. */
:root { --v380-header-height: 85px; scroll-padding-top: var(--v380-header-height); }
.v380-site-header,
.v380-site-footer {
  --chrome-blue: #1e73be;
  --chrome-ink: #333d4a;
  --chrome-muted: #687382;
  --chrome-line: #e7ebef;
  font: 14px/1.6 Arial, Helvetica, sans-serif;
  color: var(--chrome-ink);
  text-align: left;
}
:is(.v380-site-header, .v380-site-footer) *,
:is(.v380-site-header, .v380-site-footer) *::before,
:is(.v380-site-header, .v380-site-footer) *::after { box-sizing: border-box; }
.v380-chrome-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
:is(.v380-site-header, .v380-site-footer) a { color: inherit; text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
:is(.v380-site-header, .v380-site-footer) :is(a, summary):focus-visible { outline: 2px solid var(--chrome-blue); outline-offset: 4px; border-radius: 4px; }
:is(.v380-site-header, .v380-site-footer) svg { display: block; width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v380-site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--chrome-line); }
.v380-header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.v380-brand-identity { flex-shrink: 0; }
:is(.v380-site-header, .v380-site-footer) .v380-brand { display: inline-flex; align-items: center; gap: 12px; }
.v380-brand img { display: block; width: 44px; height: 44px; max-width: none; border-radius: 10px; }
.v380-brand-name { color: var(--chrome-ink); font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: -.4px; }
.v380-nav-links,
.v380-footer-links { display: flex; align-items: center; gap: 34px; padding: 0; margin: 0; list-style: none; }
:is(.v380-nav-links, .v380-footer-links) li { padding: 0; margin: 0; }
.v380-nav-links a { position: relative; display: flex; align-items: center; min-height: 84px; font-size: 14px; letter-spacing: .2px; white-space: nowrap; }
.v380-nav-links a:hover,
.v380-nav-links a:is([aria-current], [data-section-current]) { color: var(--chrome-blue); }
.v380-desktop-navigation .v380-nav-links a::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--chrome-blue); opacity: 0; transform: scaleX(.45); transition: opacity .18s ease, transform .18s ease; }
.v380-desktop-navigation .v380-nav-links a:is(:hover, :focus-visible, [aria-current], [data-section-current])::after { opacity: 1; transform: scaleX(1); }
.v380-mobile-menu { display: none; }
.v380-mobile-menu:not([open]) .v380-mobile-navigation { display: none; }
.v380-site-footer { background: #f8fafc; border-top: 1px solid var(--chrome-line); }
.v380-footer-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 32px; }
.v380-site-footer .v380-brand { gap: 10px; }
.v380-site-footer .v380-brand img { width: 36px; height: 36px; border-radius: 8px; }
.v380-site-footer .v380-brand-name { font-size: 21px; }
.v380-footer-links { gap: 28px; }
.v380-footer-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: #576474; font-size: 13px; white-space: nowrap; }
.v380-footer-links a::after { content: ''; position: absolute; right: 0; bottom: 8px; left: 0; height: 1px; background: currentColor; opacity: 0; transform: scaleX(.5); transition: opacity .18s ease, transform .18s ease; }
.v380-footer-links a:is(:hover, :focus-visible)::after { opacity: 1; transform: scaleX(1); }
.v380-site-footer a:hover { color: var(--chrome-blue); }
.v380-footer-bottom { display: flex; align-items: center; gap: 28px; min-height: 72px; padding-block: 14px; border-top: 1px solid var(--chrome-line); color: var(--chrome-muted); font-size: 12px; }
.v380-footer-bottom p { margin: 0; }
.v380-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.v380-footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.v380-footer-bottom nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.v380-footer-bottom .v380-back-top { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #dce2e9; border-radius: 50%; background: #fff; }
.v380-footer-bottom .v380-back-top:hover { color: var(--chrome-blue); border-color: #b9d1e8; background: #eef5fc; }
.v380-back-top svg { width: 17px; height: 17px; transition: transform .18s ease; }
.v380-back-top:hover svg { transform: translateY(-2px); }
@media (max-width: 1100px) {
  .v380-nav-links { gap: 26px; }
  .v380-footer-links { gap: 22px; }
}
@media (max-width: 960px) {
  :root { --v380-header-height: 77px; }
  .v380-header-inner { min-height: 76px; }
  .v380-desktop-navigation { display: none; }
  .v380-mobile-menu { display: block; }
  .v380-mobile-menu summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; color: var(--chrome-blue); cursor: pointer; list-style: none; transition: background-color .18s ease; }
  .v380-mobile-menu summary:hover,
  .v380-mobile-menu[open] summary { background: #eef5fc; }
  .v380-mobile-menu summary::-webkit-details-marker { display: none; }
  .v380-mobile-menu .v380-close-icon { display: none; }
  .v380-mobile-menu[open] .v380-menu-icon { display: none; }
  .v380-mobile-menu[open] .v380-close-icon { display: block; }
  .v380-mobile-navigation { position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100vh - var(--v380-header-height)); max-height: calc(100dvh - var(--v380-header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 32px 16px; background: #fff; border-bottom: 1px solid var(--chrome-line); box-shadow: 0 12px 20px rgb(32 52 74 / .05); }
  .v380-mobile-navigation .v380-nav-links { display: grid; gap: 0; }
  .v380-mobile-navigation .v380-nav-links a { min-height: 48px; padding-inline: 14px; border-bottom: 1px solid #f0f2f5; }
  .v380-mobile-navigation .v380-nav-links a:is(:hover, [aria-current], [data-section-current]) { background: #f2f7fc; }
  .v380-mobile-navigation .v380-nav-links a:is([aria-current], [data-section-current])::before { content: ''; position: absolute; top: 16px; bottom: 16px; left: 0; width: 2px; border-radius: 2px; background: var(--chrome-blue); }
  .v380-mobile-navigation li:last-child a { border-bottom: 0; }
  .v380-footer-main { flex-direction: column; gap: 18px; padding-block: 28px; }
}
@media (max-width: 600px) {
  :root { --v380-header-height: 73px; }
  .v380-chrome-shell { width: calc(100% - 40px); }
  .v380-header-inner { min-height: 72px; }
  .v380-brand img { width: 42px; height: 42px; }
  .v380-brand-name { font-size: 22px; }
  .v380-mobile-navigation { padding: 8px 20px 16px; }
  .v380-footer-main { gap: 20px; }
  .v380-footer-main nav { width: 100%; }
  .v380-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; text-align: center; }
  .v380-footer-links a { justify-content: center; font-size: 13px; }
  .v380-footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 2px 16px; padding-block: 22px 18px; }
  .v380-footer-bottom p { grid-column: 1; padding: 0; font-size: 12px; line-height: 1.7; }
  .v380-footer-bottom nav { grid-column: 1; margin: 0; gap: 0 20px; }
  .v380-footer-bottom nav a { font-size: 12px; }
  .v380-footer-bottom .v380-back-top { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 360px) {
  .v380-chrome-shell { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.v380-site-header, .v380-site-footer) :is(a, summary, svg),
  :is(.v380-site-header, .v380-site-footer) a::after { transition: none; }
}
