*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font: 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, a, summary { touch-action: manipulation; }
button, summary, select { cursor: pointer; }
img { max-width: 100%; }
svg { width: 1.35rem; height: 1.35rem; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
:is(input, textarea, select):not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="button"], [type="submit"], [type="reset"]):focus-visible,
[contenteditable]:focus-visible { outline: none; }
main { min-height: 55vh; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.17; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.page-shell { max-width: var(--content-max); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 6rem); }
.page-shell--foundation { display: grid; gap: var(--space-8); }
.page-shell--narrow { max-width: 640px; }
.page-intro { max-width: 48rem; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.page-heading__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.eyebrow { margin: 0 0 .8rem; font-size: .75rem; letter-spacing: .15em; font-weight: 700; text-transform: uppercase; color: var(--color-action); }
.lead { max-width: 40rem; margin: 1rem 0 0; color: var(--color-text-secondary); font-size: 1.05rem; line-height: 1.7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading p { color: var(--color-text-secondary); margin: .7rem 0 0; }
.waterline-title::after { content: ""; display: block; width: 4.5rem; height: .55rem; margin-top: .55rem; background: var(--color-action); opacity: .65; -webkit-mask: url("/waterline.svg") center / contain no-repeat; mask: url("/waterline.svg") center / contain no-repeat; }
.text-link { max-width: 100%; flex-wrap: wrap; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 650; color: var(--color-action); text-decoration-thickness: 1px; }
.back-link { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; color: var(--color-text-secondary); text-decoration: none; font-size: .9rem; }
.back-link:hover { color: var(--color-action); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { max-width: calc(100vw - 2rem); overflow-wrap: anywhere; position: fixed; z-index: 200; top: .5rem; left: .5rem; padding: .75rem 1rem; background: var(--color-surface); border: 2px solid var(--color-focus); border-radius: var(--radius-sm); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 47.99rem) { .page-heading, .section-heading { align-items: start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
