* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    background: #f1f5f9;
    color: #1e293b;
    line-height: 1.7;
}
a { color: #0369a1; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 4px; border-radius: 5px; }
.skip-link {
    position: absolute; left: 16px; top: -80px; z-index: 10; padding: 12px 16px;
    border-radius: 8px; background: white; color: #0c4a6e; font-weight: 750;
}
.skip-link:focus { top: 16px; }
.site-header { background: linear-gradient(145deg, #0f172a 0%, #0c4a6e 62%, #0284c7 100%); color: white; padding: 28px 20px 70px; }
.nav, .title-band, .legal-layout, footer { width: min(100%, 1080px); margin-inline: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.nav-links a { color: rgba(255,255,255,.9); text-decoration: none; }
.nav-links a[aria-current="page"] { color: white; font-weight: 750; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.title-band { max-width: 780px; padding-top: 58px; text-align: center; }
.eyebrow { margin: 0 0 8px; color: #bae6fd; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.05; letter-spacing: -.035em; }
.hero-copy { max-width: 680px; margin: 20px auto 10px; color: rgba(255,255,255,.86); font-size: 1.08rem; }
.updated { margin: 10px 0 0; color: #dbeafe; font-size: .92rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 24px; padding: 0 20px 56px; }
.toc-card, .legal-document { border: 1px solid #dbe4ee; background: white; box-shadow: 0 8px 24px rgba(15,23,42,.07); }
.toc-card { position: sticky; top: 20px; margin-top: -34px; padding: 22px; border-radius: 16px; }
.toc-card h2 { margin: 0 0 10px; color: #0f172a; font-size: 1rem; }
.toc-card ol { margin: 0; padding-left: 21px; font-size: .9rem; line-height: 1.45; }
.toc-card li + li { margin-top: 7px; }
.legal-document { margin-top: -34px; padding: clamp(28px, 5vw, 52px); border-radius: 20px; }
.legal-document section { scroll-margin-top: 24px; }
.legal-document section + section { margin-top: 34px; padding-top: 34px; border-top: 1px solid #dbe4ee; }
.legal-document h2 { margin: 0 0 12px; color: #0c4a6e; font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.25; }
.legal-document p { margin: 0 0 14px; max-width: 72ch; }
.legal-document p:last-child { margin-bottom: 0; }
.safety-card { margin-inline: calc(clamp(28px, 5vw, 52px) * -0.35); padding: 26px !important; border: 2px solid #f59e0b !important; border-radius: 16px; background: #fffbeb; }
.safety-card h2 { color: #78350f; }
.safety-label { margin-bottom: 4px !important; color: #92400e; font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-card { margin-inline: calc(clamp(28px, 5vw, 52px) * -0.35); padding: 26px !important; border: 0 !important; border-radius: 16px; background: #e0f2fe; }
footer { padding: 0 20px 36px; color: #64748b; font-size: .9rem; text-align: center; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 12px; }
footer p { margin: 0; }
@media (max-width: 820px) {
    .legal-layout { grid-template-columns: 1fr; }
    .toc-card { position: static; margin-bottom: 0; }
    .legal-document { margin-top: 0; }
    .toc-card ol { columns: 2; column-gap: 30px; }
    .toc-card li { break-inside: avoid; }
}
@media (max-width: 680px) {
    .site-header { padding-bottom: 54px; }
    .nav { align-items: flex-start; }
    .nav-links { gap: 9px 14px; font-size: .9rem; }
    .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .title-band { padding-top: 44px; }
    .legal-layout { padding-inline: 14px; }
    .legal-document { padding: 26px 22px; }
    .safety-card, .contact-card { margin-inline: -8px; padding: 22px !important; }
}
@media (max-width: 420px) {
    .toc-card ol { columns: 1; }
    .nav-links { gap: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
