:root {
    --ui-content-width: 72rem;
    --ui-gutter: 1.5rem;
    --ui-text: #1a1a2e;
    --ui-surface: white;
    --ui-accent: #06b6d4;
    --ui-on-accent: #1e1b4b;
    --ui-focus: #086f87;
    --ui-action-radius: .5rem;
    --site-ink: #1e1b4b;
    --site-border: #e5e7eb;
}

.ui-skip-link { z-index: 1100; }
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    padding: .75rem 0;
    background: rgb(255 255 255 / .96);
    border-bottom: 1px solid var(--site-border);
    backdrop-filter: blur(10px);
}
.site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.site-header .logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--site-ink);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
}
.site-header .logo img { width: 44px; height: 44px; border-radius: 8px; }
.site-header .logo small { display: block; margin-top: .15rem; color: #08748a; font-size: .85rem; }
.site-header .site-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 clamp(.55rem, 1.5vw, 1.5rem);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.site-header .site-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--ui-text);
    font-size: .9rem;
    text-decoration: none;
}
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current] { text-decoration: underline; }
.site-header .hamburger {
    display: block;
    min-width: 44px;
    min-height: 44px;
    padding: .5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.site-header .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 4px auto;
    background: var(--site-ink);
}
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgb(255 255 255 / .12);
    background: var(--site-ink);
    color: white;
    text-align: center;
}
.site-footer h3 { color: white; margin: 0 0 .5rem; }
.site-footer p { margin: .5rem 0; color: #dbe3ee; }
.site-footer a { color: #67e8f9; text-decoration: underline; }
.site-footer .footer-copyright { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .15); }
.cta-button.ui-action { min-height: 44px; max-width: 100%; }
.cta-button.ui-action--primary { color: var(--ui-on-accent); }
main [id] { scroll-margin-top: 6rem; }

@media (max-width: 48rem) {
    .site-header-row { flex-wrap: wrap; }
    .site-navigation:has([data-ui-nav-toggle][hidden]) { flex-basis: 100%; }
    .site-header .site-nav { flex-direction: column; }
    .site-navigation:has([data-ui-nav-toggle]:not([hidden])) .site-nav {
        position: absolute;
        inset: 100% 0 auto;
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        padding: .5rem var(--ui-gutter);
        background: white;
        border-bottom: 1px solid var(--site-border);
        box-shadow: 0 4px 12px rgb(0 0 0 / .1);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
