:root { font-family: var(--body-font), system-ui, sans-serif; color: var(--foreground); background: var(--background); }
body { max-width: 52rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem) 4rem; }
nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid #d8dcda; }
nav a { color: inherit; text-underline-offset: .25em; }
main { margin-top: clamp(2rem, 7vw, 5rem); overflow-wrap: anywhere; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font), system-ui, sans-serif; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
p { max-width: 68ch; font-size: 1.1rem; line-height: 1.65; white-space: pre-line; }
img { display: block; max-width: 100%; height: auto; margin: 1.5rem 0; }
.button { display: inline-block; margin: .5rem .5rem .5rem 0; padding: .7rem 1.1rem; border-radius: .4rem; background: var(--primary); color: white; text-decoration: none; }
a:focus-visible { outline: 3px solid #398576; outline-offset: 3px; }

.brand-logo { max-width: 12rem; max-height: 5rem; object-fit: contain; }
iframe { max-width: 100%; border: 0; }
.website-widget { position: relative; }
:where(.website-widget > iframe) { display: block; width: 100%; }
.website-widget > iframe { max-width: none; padding: 0; border: 0; }
.website-widget > iframe.website-widget-loading { position: absolute; inset: 0 auto auto 0; height: 1px; visibility: hidden; }
.website-widget > [data-widget-fallback][hidden] { display: none !important; }
.not-found { padding-block: clamp(1rem, 4vw, 3rem); }
.not-found .status-code { margin: 0; font: bold clamp(3rem, 10vw, 6rem)/1 var(--heading-font), sans-serif; color: var(--primary); }
.not-found h1 { margin: 1rem 0 1.5rem; }

:where(.website-form, .website-form fieldset, .website-form-layout) {
    display: grid;
    gap: 1rem;
    max-width: 36rem;
}

:where(.website-form fieldset) { border: 0; padding: 0; min-width: 0; }
:where(.website-form label) { display: grid; gap: .35rem; }
:where(.website-form input, .website-form textarea, .website-form select) {
    font: inherit;
    color: inherit;
    background: var(--background, white);
    border: 1px solid currentColor;
    border-radius: .375rem;
    padding: .5rem .75rem;
}
:where(.website-form input[type="checkbox"], .website-form .button) { justify-self: start; }
:where(.website-form .button) {
    padding: .7rem 1.1rem;
    border-radius: .4rem;
    background: var(--primary, #223b38);
    color: white;
}
:where(.website-form .form-error) { font-weight: 600; }
