:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #1c0b3b;
  --brand-ink: #1c0b3b;
  --brand-purple: #7743db;
  --brand-cyan: #00d2fe;
  --muted: #626977;
  --white: #fff;
  --border: #e6e0f1;
  --surface: #ffffff;
  --soft: #f8f5fd;
  --button-bg: #7743db;
  --button-ink: #ffffff;
  --banner-bg: #7743db;
  --banner-ink: #ffffff;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: var(--body-font);
}

:root[data-dark="true"] {
  color-scheme: dark;
  --paper: #171320;
  --surface: #211a2e;
  --soft: #291f3a;
  --ink: #f7f3ff;
  --brand-ink: #f7f3ff;
  --brand-purple: #c5a6ff;
  --muted: #c3b8d4;
  --border: #82718f;
  --banner-bg: #35234f;
}

:root[data-contrast="true"] {
  --ink: #1c0b3b;
  --brand-ink: #1c0b3b;
  --brand-purple: #4d168e;
  --brand-cyan: #005767;
  --muted: #31233f;
  --border: #1c0b3b;
  --paper: #ffffff;
  --surface: #ffffff;
  --soft: #ffffff;
  --button-bg: #4d168e;
  --banner-bg: #1c0b3b;
}

:root[data-dark="true"][data-contrast="true"] {
  --paper: #000000;
  --surface: #080808;
  --soft: #141414;
  --ink: #ffffff;
  --brand-ink: #ffffff;
  --brand-purple: #e3ceff;
  --brand-cyan: #00d2fe;
  --muted: #eeeeee;
  --border: #ffffff;
  --button-bg: #e3ceff;
  --button-ink: #000000;
  --banner-bg: #000000;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body-font); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: var(--brand-ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-purple); outline-offset: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { color: var(--brand-ink); font-family: var(--heading-font); font-weight: 700; text-wrap: balance; }
h1 { max-width: 1000px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.12; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.18; letter-spacing: -0.025em; }
h3 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -0.015em; }
p { max-width: 68ch; }
p + p { margin-top: 1.25rem; }
.container { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 24px; padding: 12px 18px; background: var(--brand-ink); color: var(--paper); border-radius: 4px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); outline-color: var(--brand-cyan); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; z-index: 20; top: 0; background: var(--paper); border-bottom: 1px solid var(--border); }
.header-inner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 87px; align-items: center; gap: 18px; }
.wordmark { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; font-family: var(--heading-font); font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.035em; text-decoration: none; }
.brand-logo { display: block; width: 140px; max-width: 100%; height: 60px; object-fit: contain; }
.site-header .wordmark { grid-column: 1; grid-row: 1; width: fit-content; min-height: 0; padding: 4px; border-radius: 5px; background: #ffffff; }
.primary-navigation { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 19px; font-size: 0.875rem; font-weight: 500; }
.primary-navigation > a:not(.button) { padding-block: 9px; text-decoration: none; }
.primary-navigation > a:hover, .primary-navigation > a[aria-current="location"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav-toggle { align-items: center; gap: 10px; min-height: 44px; padding: 8px 0 8px 10px; border: 0; background: transparent; color: var(--brand-ink); font-size: 0.9375rem; font-weight: 600; }
.menu-icon { width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; position: relative; }
.menu-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
.nav-toggle[aria-expanded="true"] .menu-icon { height: 18px; border: 0; }
.nav-toggle[aria-expanded="true"] .menu-icon::before, .nav-toggle[aria-expanded="true"] .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; border-top: 2px solid; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

.hero { padding-top: 95px; padding-bottom: 70px; }
.eyebrow { margin-bottom: 27px; color: var(--brand-purple); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-intro { max-width: 760px; margin-top: 29px; font-size: 1.1875rem; line-height: 1.7; }
.button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; width: fit-content; max-width: 100%; padding: 13px 22px; border: 1px solid var(--brand-purple); border-radius: 5px; background: var(--button-bg); color: var(--button-ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: box-shadow 150ms ease, background-color 150ms ease; }
.button:hover { border-color: var(--brand-ink); background: var(--brand-ink); color: var(--paper); text-decoration: none; }
.button-outline { border-color: var(--brand-purple); background: transparent; color: var(--brand-purple); }
.button-outline:hover { border-color: var(--button-bg); background: var(--button-bg); color: var(--button-ink); box-shadow: none; }
.button-small { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.button-arrow { flex-shrink: 0; font-size: 1.2rem; line-height: 1; font-weight: 400; }
.hero-note { max-width: 760px; margin-top: 22px; color: var(--muted); font-size: 0.8125rem; line-height: 1.75; }
.hero-note a { overflow-wrap: anywhere; }
.trust-strip { padding-block: 26px; border-block: 1px solid var(--border); background: var(--banner-bg); }
.trust-items { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 1100px; color: var(--banner-ink); font-size: 0.8125rem; line-height: 1.65; }
.trust-items > span:not(.trust-dot) { flex: 1; }
.trust-items > span:first-child { flex: 1.25; }
.trust-dot { color: var(--banner-ink); }

.section { padding-top: 84px; padding-bottom: 84px; }
.section-ruled { border-top: 1px solid var(--border); }
.section-heading { margin-bottom: 35px; }
.section-heading p { margin-top: 18px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.audience-card { padding: 29px 26px 30px; border: 1px solid var(--border); border-top: 3px solid var(--brand-cyan); border-radius: 7px; background: var(--surface); }
.audience-card h3 { font-size: 1.5rem; }
.audience-card p { margin-top: 18px; font-size: 1.125rem; line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; align-items: start; padding: 34px; border: 1px solid var(--border); border-top: 3px solid var(--brand-purple); border-radius: 7px; background: var(--surface); }
.service-card h3 { font-size: 1.875rem; }
.service-icon { display: block; flex: 0 0 auto; width: 58px; height: 58px; margin-bottom: 22px; padding: 7px; color: var(--brand-purple); background: var(--soft); border-radius: 10px; }
.service-icon [fill="#f8f5fd"] { fill: var(--soft); }
.service-icon .icon-accent { stroke: var(--brand-cyan); }
.service-card > p { margin-top: 20px; }
.service-card .service-tagline { margin-top: 14px; color: var(--brand-ink); font-weight: 600; font-size: 1rem; }
.service-card > p:not(.service-tagline), .service-details { font-size: 1.125rem; line-height: 1.6; }
.service-details { width: 100%; margin: 24px 0 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.service-details > div + div { margin-top: 15px; }
.service-details dt, .service-details dd { display: inline; margin: 0; }
.service-details dt { margin-right: 0.3em; font-weight: 600; }
.service-card > .button { margin-top: auto; }
.how-layout { display: grid; grid-template-columns: 0.8fr 1.7fr; gap: 65px; }
.principles { counter-reset: principle; margin: 0; padding: 0; list-style: none; }
.principles li { display: flex; gap: 22px; padding: 21px 0; border-top: 1px solid var(--border); }
.principles li:first-child { padding-top: 0; border-top: 0; }
.principles li:last-child { padding-bottom: 0; }
.principles li::before { counter-increment: principle; content: counter(principle, decimal-leading-zero); flex-shrink: 0; padding-top: 2px; color: var(--brand-ink); font-size: 0.8125rem; font-weight: 600; }
.principles strong { color: var(--brand-ink); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; margin-top: 34px; }
.stat > p:first-child { max-width: 38ch; }
.stat-number { display: block; margin-bottom: 10px; color: var(--brand-purple); font-family: var(--heading-font); font-size: clamp(3.5rem, 6vw, 4.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.05em; }
.source { margin-top: 20px; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.source a { color: inherit; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
.testimonial { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; border-top: 3px solid var(--brand-cyan); }
.testimonial blockquote { color: var(--brand-ink); font-family: var(--heading-font); font-size: 1.3rem; font-weight: 600; line-height: 1.5; }
.testimonial figcaption { margin-top: auto; color: var(--muted); font-size: 0.8125rem; line-height: 1.65; }
.about-layout { display: grid; grid-template-columns: 0.8fr 1.7fr; gap: 65px; margin-top: 35px; }
.mission { max-width: 10ch; color: var(--brand-purple); font-family: var(--heading-font); font-size: clamp(2.3rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.about-copy p + p { margin-top: 24px; }
.about-portrait { display: block; width: 100%; max-width: 320px; height: auto; margin-bottom: 28px; border-radius: 10px; }

.contact-section { display: grid; grid-template-columns: 0.8fr 1.7fr; gap: 65px; padding-bottom: 96px; }
.contact-lead p { margin-top: 22px; }
.contact-lead .button { margin-top: 27px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.contact-buttons .button { min-height: 44px; margin-top: 0; gap: 8px; }
.contact-form-wrap { min-width: 0; padding: 32px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.form-heading { font-size: 1.75rem; }
.contact-form-wrap > p { margin-top: 13px; font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 18px; margin-top: 29px; margin-bottom: 27px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; color: var(--ink); font-size: 0.8125rem; font-weight: 600; line-height: 1.6; }
.required-mark { color: var(--brand-ink); }
.field-optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 47px; margin: 0; padding: 10px 11px; border: 1px solid var(--muted); border-radius: 4px; background: var(--surface); color: var(--ink); font-size: 1rem; line-height: 1.5; }
.field select { padding-right: 28px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.contact-form-wrap .form-note { margin-top: 20px; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }

.site-footer { padding-block: 43px; background: var(--banner-bg); color: var(--banner-ink); font-size: 0.8125rem; line-height: 1.8; }
.site-footer p { max-width: none; }
.site-footer p + p { margin-top: 14px; }
.site-footer a { color: var(--banner-ink); overflow-wrap: anywhere; }
.site-footer :focus-visible { outline-color: var(--banner-ink); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 8px; }
.site-footer .copyright { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--banner-ink); }
.utility-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.utility-main { flex: 1; padding-block: clamp(64px, 12vh, 150px); }
.utility-main h1 { max-width: 900px; }
.utility-main > p { max-width: 600px; margin-top: 25px; }
.utility-back { display: inline-block; margin-top: 28px; }
.utility-footer { padding-block: 24px; }

@media (max-width: 1000px) {
  .primary-navigation { gap: 17px; }
  .wordmark { font-size: 1.375rem; }
  .audience-card { padding: 25px 21px; }
  .how-layout, .about-layout, .contact-section { gap: 38px; grid-template-columns: 0.85fr 1.6fr; }
  .service-card { padding: 28px; }
  .contact-form-wrap { padding: 27px; }
  .contact-section .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 859px) {
  .hero { padding-top: 72px; padding-bottom: 55px; }
  .hero-intro { font-size: 1.125rem; }
  .section { padding-block: 65px; }
  .audience-card h3 { font-size: 1.375rem; }
  .testimonials-grid { gap: 23px; }
  .testimonial blockquote { font-size: 1.15rem; }
  .contact-section { grid-template-columns: 1fr; gap: 35px; }
  .contact-lead p { max-width: 40ch; }
  .contact-section .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  h1 { letter-spacing: -0.035em; }
  .hero { padding-top: 51px; padding-bottom: 45px; }
  .hero-break { display: none; }
  .eyebrow { max-width: 31ch; margin-bottom: 23px; font-size: 0.6875rem; line-height: 1.8; letter-spacing: 0.075em; }
  .hero-intro { margin-top: 24px; line-height: 1.65; }
  .button-group { align-items: stretch; gap: 12px; margin-top: 27px; }
  .hero-note { margin-top: 21px; font-size: 0.75rem; }
  .trust-strip { padding-block: 23px; }
  .trust-items { flex-direction: column; align-items: start; gap: 10px; font-size: 0.75rem; }
  .trust-dot { display: none; }
  .section { padding-block: 52px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading p { margin-top: 17px; }
  .audience-grid, .services-grid, .stats-grid, .testimonials-grid, .how-layout, .about-layout { grid-template-columns: 1fr; }
  .audience-grid { gap: 15px; }
  .audience-card { padding: 25px; }
  .audience-card h3 { max-width: 24ch; font-size: 1.5rem; }
  .services-grid { gap: 20px; }
  .service-card { padding: 26px 24px; }
  .service-card h3 { font-size: 1.75rem; }
  .service-card > p:not(.service-tagline), .service-details { font-size: 1.125rem; }
  .how-layout { gap: 30px; }
  .principles li { gap: 19px; }
  .stats-grid { gap: 35px; margin-top: 29px; }
  .stat + .stat { padding-top: 30px; border-top: 1px solid var(--border); }
  .stat > p:first-child { max-width: 40ch; }
  .testimonials-grid { gap: 32px; margin-top: 30px; }
  .testimonial { gap: 18px; }
  .testimonial blockquote { font-size: 1.375rem; }
  .about-layout { gap: 28px; margin-top: 28px; }
  .mission { max-width: 13ch; }
  .contact-section { gap: 34px; padding-bottom: 60px; }
  .contact-form-wrap { padding: 26px 23px; }
  .contact-section .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .contact-lead p { margin-top: 18px; }
  .site-footer { padding-block: 34px; }
  .site-footer .copyright { margin-top: 23px; }
  .utility-main { padding-block: 70px; }
  .utility-footer { padding-block: 24px; }
}

@media (max-width: 399px) {
  .wordmark { font-size: 1.375rem; }
  .hero .button-group { flex-direction: column; }
  .hero .button-group .button { width: 100%; }
  .button { padding-inline: 18px; gap: 15px; }
  .service-card, .audience-card { padding-inline: 21px; }
  .contact-form-wrap { padding-inline: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.proof-section { padding-block: 52px; }
.proof-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px; }
.proof-heading p { margin-top: 12px; font-size: 1rem; }
.testimonial-controls { display: flex; align-items: center; gap: 10px; }
.testimonial-controls button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--brand-purple); border-radius: 50%; background: var(--surface); color: var(--brand-purple); font-size: 1.4rem; }
.testimonial-controls button:hover { background: var(--button-bg); color: var(--button-ink); }
.testimonial-controls button:disabled { opacity: 0.4; cursor: default; background: var(--surface); color: var(--brand-purple); }
.testimonial-position { min-width: 5ch; color: var(--muted); font-size: 0.8125rem; text-align: center; }
.testimonials-track { display: flex; gap: 24px; margin-top: 26px; padding: 6px 4px 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: thin; scrollbar-color: var(--brand-purple) var(--border); }
.testimonials-track .testimonial { flex: 0 0 calc(50% - 12px); min-width: 0; padding: 26px; border: 1px solid var(--border); border-top: 3px solid var(--brand-cyan); border-radius: 7px; scroll-snap-align: start; }
.testimonials-track blockquote { font-size: 1.125rem; }
.testimonials-track .quote-translation { margin-top: 14px; color: var(--muted); font: 400 0.875rem/1.65 var(--body-font); }
.testimonial-person { display: flex; gap: 14px; align-items: center; }
.testimonial-portrait, .testimonial-initials { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; }
.testimonial-portrait { display: block; object-fit: cover; filter: grayscale(1); opacity: 0.7; }
.testimonial-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--brand-ink); font-size: 0.9375rem; font-weight: 600; }
.testimonial-name { display: block; color: var(--brand-ink); font-weight: 600; }
.testimonial-role { display: block; }
.testimonial-source { display: inline-block; margin-top: 8px; font-size: 0.8125rem; }
.proof-links { margin-top: 14px; color: var(--muted); font-size: 0.8125rem; }
.contact-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; font-size: 0.875rem; }
.contact-method { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.contact-method svg { flex: 0 0 20px; width: 20px; height: 20px; }
.market-example { margin-top: 42px; padding: 28px; border-left: 3px solid var(--brand-cyan); background: var(--soft); }
.market-example h3 { font-size: 1.4rem; }
.market-example p { margin-top: 16px; }
.market-example .example-label { margin-top: 0; margin-bottom: 10px; color: var(--brand-purple); font-size: 0.8125rem; font-weight: 600; }
.market-example .source { color: var(--muted); }
@media (max-width: 719px) {
  .testimonials-track { gap: 16px; }
  .testimonials-track .testimonial { flex-basis: 92%; padding: 22px; }
  .proof-section { padding-block: 40px; }
  .market-example { padding: 23px; }
}

/* Native details menus keep language navigation available without JavaScript. */
.header-tools { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header-tool > summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--muted); border-radius: 5px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 0.8125rem; font-weight: 600; list-style: none; }
.header-tool > summary::-webkit-details-marker { display: none; }
.header-tool[open] > summary { outline: 2px solid var(--brand-purple); outline-offset: 2px; }
.header-tool > summary .tool-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.appearance-symbol { font-size: 1.4rem; line-height: 1; }
.locale-code { font-size: 0.75rem; }
.tool-panel { position: absolute; z-index: 25; top: 100%; right: 0; width: min(330px, calc(100vw - 48px)); max-height: calc(100svh - 110px); padding: 14px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--muted); border-radius: 0 0 7px 7px; background: var(--surface); color: var(--ink); box-shadow: 0 8px 18px rgb(0 0 0 / 15%); }
.language-panel ul { margin: 0; padding: 0; list-style: none; }
.language-panel a { display: block; min-height: 44px; padding: 9px 10px; border-radius: 3px; color: var(--ink); font-size: 0.9375rem; line-height: 1.6; }
.language-panel a[aria-current="page"] { background: var(--soft); font-weight: 700; text-decoration-thickness: 2px; }
.appearance-settings { min-width: 0; margin: 0; padding: 0; border: 0; }
.appearance-settings legend { margin-bottom: 10px; font-size: 0.9375rem; font-weight: 700; }
.appearance-settings label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-block: 8px; font-size: 0.9375rem; cursor: pointer; }
.appearance-settings input { appearance: auto; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--brand-purple); }
.preference-state { margin-left: auto; color: var(--muted); font-size: 0.8125rem; }
.settings-note { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; }
h1, h2, h3, .testimonial-role, .field label { overflow-wrap: break-word; }
:root[data-contrast="true"] .testimonial-portrait { filter: none; opacity: 1; }
:root[data-contrast="true"] .site-footer { border-top: 1px solid var(--border); }

@media (max-width: 1149px) {
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; row-gap: 0; }
  .header-tools { grid-column: 2; }
  .nav-toggle { grid-column: 3; grid-row: 1; justify-content: center; min-width: 44px; padding: 8px; }
  .nav-toggle > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header:not([data-enhanced]) { position: static; }
  .js .site-header:not([data-enhanced]) .primary-navigation { display: none; }
  .primary-navigation { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; gap: 10px 22px; padding: 7px 0 20px; }
  .site-header[data-enhanced] .nav-toggle { display: inline-flex; }
  .site-header[data-enhanced] .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; grid-row: auto; display: flex; flex-direction: column; align-items: stretch; gap: 3px; max-height: calc(100svh - 110px); overflow-y: auto; padding: 14px 24px 24px; border: 1px solid var(--muted); border-top: 0; background: var(--surface); box-shadow: 0 8px 12px rgb(0 0 0 / 10%); }
  .site-header[data-enhanced] .primary-navigation > a:not(.button) { padding: 10px 0; }
  .site-header[data-enhanced] .primary-navigation .button { margin-top: 8px; }
}

@media (max-width: 399px) {
  .brand-logo { width: 112px; height: 48px; }
  .header-inner { width: calc(100% - 32px); column-gap: 6px; }
  .header-tool > summary { padding-inline: 6px; }
}

@media (forced-colors: active) {
  .header-tool > summary, .tool-panel, .button, .field input, .field select, .field textarea { border-color: ButtonText; }
  .header-tool[open] > summary, :focus-visible { outline-color: Highlight; }
  .brand-logo { forced-color-adjust: none; }
  .site-header .wordmark { forced-color-adjust: none; background: #ffffff; }
}
