/* WebTemplate shared styles. The same file ships with every site.
   Brand colors come from theme.css (generated from site.toml): --brand, --brand-accent, --brand-deep.
   Everything else is derived here, so a new site only ever changes three values. */

:root {
	color-scheme: light dark;
	--wt-brand-strong: color-mix(in oklab, var(--brand) 82%, black);
	--wt-gloss: linear-gradient(180deg, color-mix(in oklab, var(--brand) 78%, white) 0%, var(--brand) 52%, var(--wt-brand-strong) 100%);
	--wt-hero: radial-gradient(60% 90% at 88% 8%, color-mix(in oklab, var(--brand-accent) 55%, transparent) 0%, transparent 60%),
		linear-gradient(135deg, var(--brand-deep) 0%, color-mix(in oklab, var(--brand-deep) 45%, var(--brand)) 42%, var(--brand) 100%);
	--wt-bg: light-dark(color-mix(in oklab, var(--brand) 4%, white), color-mix(in oklab, var(--brand-deep) 55%, black));
	--wt-surface: light-dark(#FFFFFF, color-mix(in oklab, var(--brand-deep) 80%, black));
	--wt-tint: light-dark(color-mix(in oklab, var(--brand) 9%, white), color-mix(in oklab, var(--brand-deep) 92%, white));
	--wt-text: light-dark(#0D1B2A, #E7EEF5);
	--wt-heading: light-dark(color-mix(in oklab, var(--brand-deep) 85%, black), #F4F8FC);
	--wt-muted: light-dark(#4A5B6E, #A8B7C7);
	--wt-link: light-dark(var(--wt-brand-strong), color-mix(in oklab, var(--brand-accent) 70%, white));
	--wt-border: light-dark(color-mix(in oklab, var(--brand) 18%, transparent), color-mix(in oklab, var(--brand-accent) 24%, transparent));
	--wt-field-border: light-dark(#66788C, #8296AB);
	--wt-shadow: 0 1px 2px light-dark(rgba(13,27,42,.06), rgba(0,0,0,.4)), 0 14px 34px -14px light-dark(color-mix(in oklab, var(--brand) 35%, transparent), rgba(0,0,0,.7));
	--wt-shadow-lift: 0 2px 4px light-dark(rgba(13,27,42,.08), rgba(0,0,0,.45)), 0 26px 50px -18px light-dark(color-mix(in oklab, var(--brand) 50%, transparent), rgba(0,0,0,.8));
	--wt-radius: 16px;
	--wt-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wt-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--wt-font); font-size: 1.0625rem; line-height: 1.65; color: var(--wt-text); background: var(--wt-bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--wt-heading); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: var(--wt-link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; border-radius: 4px; }
.wt-wrap { width: min(1180px, 100% - clamp(2rem, 6vw, 5rem)); margin-inline: auto; }
.wt-center { text-align: center; }
.wt-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wt-skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: .7rem 1rem; background: #fff; color: #000; font-weight: 700; }
.wt-skip:focus { left: .5rem; top: .5rem; }
.wt-icon { width: 1.5em; height: 1.5em; flex: none; }

/* Header: stays on screen while the page scrolls */
.wt-header { position: sticky; top: 0; z-index: 100; color: #fff;
	background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.03) 48%, transparent 52%), linear-gradient(100deg, color-mix(in oklab, var(--brand-deep) 80%, black) 0%, var(--brand-deep) 40%, var(--wt-brand-strong) 100%);
	border-bottom: 1px solid color-mix(in oklab, var(--brand-accent) 40%, transparent); box-shadow: 0 10px 30px -14px rgba(0,0,0,.6); }
.wt-header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.6rem; }
.wt-logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; margin-right: auto; }
.wt-logo img { display: block; height: 44px; width: auto; filter: drop-shadow(0 6px 14px color-mix(in oklab, var(--brand-accent) 45%, transparent)); }
.wt-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.wt-logo-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.wt-logo-slogan { margin-top: .22rem; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in oklab, var(--brand-accent) 65%, white); }
.wt-nav ul { display: flex; align-items: center; gap: 1.7rem; margin: 0; padding: 0; list-style: none; }
.wt-nav a { position: relative; padding: .35rem 0; color: rgba(255,255,255,.9); font-weight: 600; font-size: .97rem; text-decoration: none; }
.wt-nav a:not(.wt-nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--brand-accent); transform: scaleX(0); transition: transform .2s ease; }
.wt-nav a:hover { color: #fff; }
.wt-nav a:hover::after, .wt-nav a[aria-current="page"]::after { transform: scaleX(1); }
.wt-nav .wt-nav-cta { padding: .55rem 1.15rem; border-radius: 999px; background: linear-gradient(180deg, #fff, #E4F1F8); color: var(--brand-deep); box-shadow: inset 0 1px 0 #fff, 0 8px 18px -8px rgba(0,0,0,.6); }
.wt-nav .wt-nav-cta:hover { color: var(--brand-deep); filter: brightness(1.04); }
.wt-theme-toggle, .wt-nav-toggle { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.wt-theme-toggle:hover, .wt-nav-toggle:hover { background: rgba(255,255,255,.22); }
.wt-theme-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.wt-theme-toggle .wt-icon-sun, .wt-theme-toggle[aria-pressed="true"] .wt-icon-moon { display: none; }
.wt-theme-toggle[aria-pressed="true"] .wt-icon-sun { display: block; }
html:not(.js) .wt-theme-toggle { display: none; }
.wt-nav-toggle { display: none; gap: 4px; align-content: center; }
.wt-nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Hero areas */
.wt-hero, .wt-page-hero { position: relative; color: #fff; background: var(--wt-hero); overflow: hidden; }
.wt-hero::before, .wt-page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.wt-hero > *, .wt-page-hero > * { position: relative; }
.wt-hero { text-align: center; padding: clamp(4rem, 9vw, 7rem) 0 clamp(6rem, 11vw, 9rem); }
.wt-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; max-width: 16ch; margin-inline: auto; text-shadow: 0 4px 18px rgba(0,0,0,.3); }
.wt-kicker { display: inline-block; margin-bottom: 1.4rem; padding: .35rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wt-hero-lede { max-width: 42rem; margin: 0 auto 2rem; font-size: 1.2rem; color: rgba(255,255,255,.92); }
.wt-page-hero { padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.wt-page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; text-shadow: 0 4px 14px rgba(0,0,0,.3); }
.wt-page-lede { margin: .8rem 0 0; max-width: 44rem; font-size: 1.12rem; color: rgba(255,255,255,.92); }

/* Buttons */
.wt-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 0; }
.wt-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.6rem; border: 0; border-radius: 999px; font: inherit; font-weight: 700; color: #fff; text-decoration: none; cursor: pointer; overflow: hidden;
	background: var(--wt-gloss); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.18), 0 12px 24px -12px var(--brand); transition: transform .18s ease, filter .18s ease; }
.wt-btn:hover { transform: translateY(-2px); filter: saturate(1.1) brightness(1.04); }
.wt-btn-light { background: linear-gradient(180deg, #fff, #E4F1F8); color: var(--brand-deep); box-shadow: inset 0 1px 0 #fff, 0 14px 28px -14px rgba(0,0,0,.7); }
.wt-btn-ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.wt-btn-outline { background: transparent; color: var(--wt-link); border: 2px solid currentColor; box-shadow: none; }
.wt-link-arrow { display: inline-block; margin-top: 2rem; font-weight: 700; text-decoration: none; }
.wt-link-arrow::after { content: " \2192"; }
.wt-link-arrow:hover { text-decoration: underline; }

/* Sections, cards, grids */
.wt-section { padding: clamp(3rem, 7vw, 5rem) 0; }
.wt-section-tint { background: var(--wt-tint); border-block: 1px solid var(--wt-border); }
.wt-section-title { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 2.2rem; }
.wt-section-title::after { content: ""; display: block; width: 3.5rem; height: 3px; margin: .8rem auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-accent)); }
.wt-overlap { padding-top: 0; margin-top: clamp(-5.5rem, -8vw, -3.5rem); position: relative; z-index: 2; }
.wt-grid { display: grid; gap: 1.4rem; }
.wt-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
/* Three across on wide screens, with an incomplete last row centered (5 cards: 3 then 2 in the middle). */
@media (min-width: 1100px) {
	.wt-grid-3 { grid-template-columns: repeat(6, 1fr); }
	.wt-grid-3 > * { grid-column: span 2; }
	.wt-grid-3 > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
	.wt-grid-3 > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}
.wt-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.wt-card { position: relative; padding: 1.7rem; border-radius: var(--wt-radius); background: var(--wt-surface); border: 1px solid var(--wt-border); box-shadow: var(--wt-shadow); transition: transform .22s ease, box-shadow .22s ease; overflow: hidden; }
.wt-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-accent)); }
article.wt-card:hover { transform: translateY(-5px); box-shadow: var(--wt-shadow-lift); }
.wt-card h2, .wt-card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.wt-card p { margin: 0; color: var(--wt-muted); }
.wt-card-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.1rem; border-radius: 14px; color: #fff; background: var(--wt-gloss); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 20px -10px var(--brand); }
.wt-card-wide { display: flex; gap: 1.3rem; align-items: flex-start; }
.wt-card-wide .wt-card-icon { margin: 0; }
.wt-checks { list-style: none; margin: 1rem 0 0; padding: 0; }
.wt-checks li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .4rem; color: var(--wt-text); }
.wt-checks .wt-icon { width: 1.2em; height: 1.2em; margin-top: .25em; color: var(--wt-link); }
.wt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.wt-steps li { padding: 1.5rem; border-radius: var(--wt-radius); background: var(--wt-surface); border: 1px solid var(--wt-border); }
.wt-steps h3 { font-size: 1.12rem; margin: .9rem 0 .35rem; }
.wt-steps p { margin: 0; color: var(--wt-muted); font-size: .98rem; }
.wt-step-num { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; font-weight: 800; color: #fff; background: var(--wt-gloss); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.wt-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: 22px; color: #fff; background: var(--wt-hero); box-shadow: var(--wt-shadow-lift); }
.wt-cta h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.wt-cta p { margin: 0; max-width: 40rem; color: rgba(255,255,255,.92); }
.wt-prose-card { max-width: 820px; padding: clamp(1.6rem, 4vw, 3rem); border-radius: 20px; background: var(--wt-surface); border: 1px solid var(--wt-border); box-shadow: var(--wt-shadow); }
.wt-prose-card > :last-child { margin-bottom: 0; }
.wt-prose-card h2 { margin-top: 2.1rem; font-size: 1.4rem; }
.wt-prose-card h3 { margin-top: 1.4rem; font-size: 1.08rem; color: var(--wt-link); }
.wt-article { font-size: 1.06rem; line-height: 1.75; }
.wt-article li { margin-bottom: .45rem; }
.wt-article blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--brand-accent); color: var(--wt-muted); }
.wt-article code { padding: .1em .35em; border-radius: 6px; background: color-mix(in oklab, var(--brand) 14%, transparent); font-size: .92em; }
.wt-article pre { overflow-x: auto; padding: 1rem; border-radius: 12px; background: color-mix(in oklab, var(--brand) 10%, transparent); }
.wt-article pre code { padding: 0; background: none; }
.wt-article hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--wt-border); }
.wt-section-tight { padding-bottom: 0; }
.wt-finder { max-width: 820px; margin: 0 auto; padding: 1.5rem; border-radius: 18px; background: var(--wt-surface); border: 1px solid var(--wt-border); }
.wt-finder label { display: block; font-weight: 700; margin-bottom: .6rem; }
.wt-finder-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.wt-finder-row select { flex: 1 1 260px; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--wt-border); background: var(--wt-bg); color: var(--wt-text); font: inherit; }
.wt-finder .wt-form-hint { display: block; margin: .9rem 0 0; }
.wt-faq { max-width: 820px; }
.wt-faq details { margin-bottom: .8rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--wt-surface); border: 1px solid var(--wt-border); }
.wt-faq summary { cursor: pointer; font-weight: 700; }
.wt-faq details[open] summary { margin-bottom: .6rem; color: var(--wt-link); }
.wt-faq details p { margin: 0; color: var(--wt-muted); }
.wt-pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.wt-pill-list a { display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--wt-border); background: var(--wt-surface); color: var(--wt-text); font-weight: 600; text-decoration: none; }
.wt-pill-list a:hover { border-color: var(--brand-accent); color: var(--wt-link); }
.wt-actions-inline { margin-top: 1.6rem; }
.wt-link-arrow-tight { margin-top: .9rem; position: relative; z-index: 1; }
.wt-disclosure { margin: 0 0 1.6rem; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; line-height: 1.55; color: var(--wt-muted); background: color-mix(in oklab, var(--brand) 9%, transparent); border: 1px solid var(--wt-border); }
.wt-article-meta { margin: 1rem 0 0; font-size: .92rem; color: rgba(255,255,255,.8); }
.wt-article-meta a { color: inherit; }
.wt-article-date { margin-bottom: .5rem !important; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wt-link) !important; }
.wt-article-card h2, .wt-article-card h3 { line-height: 1.3; }
.wt-article-card h2 a, .wt-article-card h3 a { color: inherit; text-decoration: none; }
.wt-article-card h2 a::after, .wt-article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.wt-article-card:hover h2 a, .wt-article-card:hover h3 a { color: var(--wt-link); }
.wt-legal-note { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wt-link); }
.wt-404 { margin: 0; font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--wt-gloss); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Contact */
.wt-contact { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); align-items: start; }
.wt-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1.2rem; }
.wt-field { margin: 0 0 1.1rem; }
.wt-field label { display: block; margin-bottom: .35rem; font-weight: 700; font-size: .92rem; color: var(--wt-heading); }
.wt-optional { font-weight: 500; color: var(--wt-muted); }
.wt-field input, .wt-field select, .wt-field textarea { width: 100%; padding: .75rem .9rem; font: inherit; color: var(--wt-text); background: var(--wt-bg); border: 1px solid var(--wt-field-border); border-radius: 12px; }
.wt-field textarea { resize: vertical; min-height: 9rem; }
.wt-field input:focus, .wt-field select:focus, .wt-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand-accent) 35%, transparent); background: var(--wt-surface); }
.wt-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wt-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin: .4rem 0 0; }
.wt-form-hint { color: var(--wt-muted); font-size: .88rem; }
.wt-form-error { margin: 0 0 1.2rem; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid light-dark(#F0B4B4, #A8444C); background: light-dark(#FFF1F1, #33161A); color: light-dark(#8E1B1B, #FFC9CC); }
.wt-contact-side { padding: 1.6rem; border-radius: var(--wt-radius); background: var(--wt-tint); border: 1px solid var(--wt-border); }
.wt-contact-side h2 { font-size: 1.1rem; }
.wt-contact-list { list-style: none; margin: 0; padding: 0; }
.wt-contact-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; overflow-wrap: anywhere; }
.wt-contact-list .wt-icon { margin-top: .15em; color: var(--wt-link); }

/* Footer */
.wt-footer { margin-top: clamp(2rem, 5vw, 4rem); padding: clamp(2.6rem, 6vw, 4rem) 0 1.4rem; color: rgba(255,255,255,.82); background: linear-gradient(160deg, color-mix(in oklab, var(--brand-deep) 75%, black) 0%, var(--brand-deep) 55%, color-mix(in oklab, var(--brand-deep) 60%, var(--brand)) 100%); border-top: 1px solid color-mix(in oklab, var(--brand-accent) 35%, transparent); }
.wt-footer-grid { display: grid; gap: 2.4rem; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
.wt-footer-blurb { margin-top: 1rem; max-width: 32rem; }
.wt-footer-heading { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.wt-footer ul { list-style: none; margin: 0; padding: 0; }
.wt-footer li { margin-bottom: .55rem; overflow-wrap: anywhere; }
.wt-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.wt-footer a:hover { color: #fff; text-decoration: underline; }
.wt-footer-base { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.wt-footer-base p { margin: 0; }

/* Small screens */
@media (max-width: 820px) {
	.wt-nav-toggle { display: grid; order: 3; }
	.wt-theme-toggle { order: 2; }
	.wt-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.4rem; background: var(--brand-deep); border-bottom: 1px solid color-mix(in oklab, var(--brand-accent) 40%, transparent); box-shadow: 0 20px 30px -18px rgba(0,0,0,.7); }
	.wt-nav.is-open { display: block; }
	html:not(.js) .wt-nav { display: block; position: static; }
	.wt-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
	.wt-nav a { display: block; padding: .8rem .2rem; font-size: 1.05rem; }
	.wt-nav .wt-nav-cta { margin-top: .6rem; text-align: center; }
	.wt-contact, .wt-footer-grid { grid-template-columns: minmax(0, 1fr); }
	.wt-card-wide { flex-direction: column; }
	.wt-logo-slogan { display: none; }
}
@media (max-width: 420px) { .wt-logo-name { font-size: 1.1rem; } .wt-logo img { height: 38px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .wt-btn:hover, article.wt-card:hover { transform: none; } }
@media (forced-colors: active) { .wt-btn, .wt-card, .wt-theme-toggle, .wt-nav-toggle { border: 1px solid ButtonText; } }
@media print { .wt-header, .wt-footer, .wt-cta, .wt-theme-toggle { display: none; } body { background: #fff; color: #000; } }
