/* The site frame on every template page: skip link, header, footer.
   Only gu-* selectors, so it cannot clash with a template's own styles.
   Values come from tokens.css (generated from 00-Core/brand/DESIGN.md).
   Markup is rendered by build-content.ts from components/siteNav.ts.
   Site Standard: ARCHITECTURE.md section 5. */
.skip-link.gu-skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--teal-text); color: var(--on-dark); padding: 12px 16px; border-radius: 8px; }
.skip-link.gu-skip:focus { left: 8px; }
.gu-nav, .gu-footer { font-family: var(--font-body); }
.gu-nav *, .gu-footer * { box-sizing: border-box; }
.gu-nav a:focus-visible, .gu-nav summary:focus-visible, .gu-footer a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.gu-nav ul, .gu-footer ul { list-style: none; margin: 0; padding: 0; }
/* Resets: a template's own element rules must not reshape the frame. */
.gu-nav a, .gu-nav summary, .gu-nav img, .gu-footer a, .gu-footer span { letter-spacing: normal; text-transform: none; word-spacing: normal; margin: 0; box-shadow: none; }
.gu-nav img { display: block; max-width: none; border: 0; padding: 0; }
.gu-brand { gap: 8px; line-height: 1.2; min-width: 0; flex: 0 1 auto; }
.gu-brand span { overflow: hidden; text-overflow: ellipsis; }
.gu-right { flex: none; }
.gu-nav, .gu-footer { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.gu-footer h2 { margin: 0; }
/* Header */
.gu-nav { position: sticky; top: 0; z-index: 50; background: var(--page-glass); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.gu-nav-in { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gu-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 15px var(--font-head); color: var(--ink); min-height: 44px; white-space: nowrap; }
.gu-brand img { width: 28px; height: 28px; border-radius: 6px; }
.gu-links { display: none; list-style: none; margin: 0; padding: 0; gap: 24px; }
.gu-links a { font-size: 14px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; transition: color 150ms var(--ease-ui); }
.gu-links a:hover, .gu-links a[aria-current="page"] { color: var(--teal-text); }
/* The current page carries a 2px underline as well as colour, never colour alone. */
.gu-links a[aria-current="page"], .gu-menu-panel a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.gu-right { display: flex; align-items: center; gap: 8px; }
.gu-cta { text-decoration: none; font: 600 14px var(--font-head); color: var(--on-dark); background: var(--teal); border-radius: 980px; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; transition: background-color 150ms var(--ease-ui); }
.gu-cta:hover { background: var(--teal-text); }
.gu-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 980px; font: 600 14px var(--font-head); color: var(--ink); }
.gu-menu > summary::-webkit-details-marker { display: none; }
.gu-menu[open] > summary { background: var(--line); }
.gu-menu-panel { position: absolute; left: 0; right: 0; top: 52px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gu-menu-panel ul { list-style: none; margin: 0 auto; padding: 8px 16px 16px; max-width: 1120px; }
.gu-menu-panel a { display: flex; align-items: center; min-height: 48px; font: 600 16px var(--font-head); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .gu-links { display: flex; } .gu-menu { display: none; } }
@media (max-width: 420px) { .gu-nav-in { gap: 8px; } .gu-cta { padding: 0 16px; } .gu-cta-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .gu-brand { font-size: 14px; } .gu-menu > summary { padding: 0; width: 44px; } }

/* Footer */
.gu-footer { background: var(--surface-alt); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.gu-f-in { max-width: 1120px; margin: 0 auto; padding: 32px 16px; }
.gu-f-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line-strong); }
.gu-f-cols h2 { font: 600 14px var(--font-head); color: var(--ink); margin: 0 0 4px; }
.gu-f-cols ul { list-style: none; margin: 0; padding: 0; }
.gu-f-cols a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.gu-f-cols a:hover { color: var(--teal-text); text-decoration: underline; }
.gu-f-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 16px; }
.gu-f-base a { text-decoration: none; color: var(--ink-2); display: inline-flex; min-height: 44px; align-items: center; }
.gu-f-base a:hover { color: var(--teal-text); text-decoration: underline; }
.gu-f-legal { display: flex; gap: 24px; }

@media (min-width: 768px) { .gu-f-cols { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .gu-cta, .gu-links a { transition: none; } }
