:root {
    color-scheme: light;
    --content: 76rem;
    --focus: #1687e8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; min-width: 20rem; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.7; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; transform: translateY(-180%); padding: .75rem 1rem; color: #071629; background: #fff; border-radius: .35rem; }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 5.2rem; padding: .8rem max(1.25rem, calc((100% - var(--content)) / 2)); transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 3.8rem; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.1rem, 3vw, 2.5rem); font-size: .92rem; font-weight: 680; }
.site-nav a { position: relative; padding: .7rem .1rem; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: .35rem; left: 0; height: 1px; transform: scaleX(0); transform-origin: left; background: currentColor; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.header-tools, .languages { display: flex; align-items: center; }
.header-tools { justify-content: flex-end; gap: .7rem; }
.languages { gap: .18rem; padding: .18rem; border: 1px solid currentColor; border-radius: 999px; opacity: .9; }
.language-button { display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; filter: saturate(.45); opacity: .6; }
.language-button.is-active { background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.12); filter: none; opacity: 1; }
.header-cta, .button, .copy-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.15rem; padding: .8rem 1.25rem; border: 1px solid transparent; font-weight: 760; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.header-cta:hover, .button:hover, .copy-button:hover { transform: translateY(-2px); }
.menu-button { display: none; width: 2.75rem; height: 2.75rem; padding: .7rem; border: 1px solid currentColor; color: inherit; background: transparent; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 100%; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-button span { margin: .3rem 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(.5rem) rotate(45deg); }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::after { transform: translateY(-.5rem) rotate(-45deg); }
.eyebrow { font-size: .75rem; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; }
.button { border-radius: .4rem; }
.button svg, .copy-button svg { width: 1.1rem; }
.section { width: min(var(--content), calc(100% - 2.5rem)); margin-inline: auto; padding-block: clamp(5.5rem, 9vw, 9rem); }
.section-head { display: grid; grid-template-columns: minmax(0, .75fr) minmax(18rem, 1fr); gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 5vw, 5rem); }
.section-head h2 { max-width: 14ch; font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.055em; }
.section-head p { max-width: 34rem; justify-self: end; }
.back-link { position: fixed; right: 1rem; bottom: 1rem; z-index: 45; display: inline-flex; align-items: center; gap: .45rem; padding: .7rem .9rem; border: 1px solid currentColor; border-radius: 999px; font-size: .78rem; font-weight: 750; backdrop-filter: blur(18px); }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; width: min(var(--content), calc(100% - 2.5rem)); margin-inline: auto; padding: 2.5rem 0 3.5rem; border-top: 1px solid currentColor; }
.site-footer p { font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.3rem; font-size: .85rem; }
[data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
body.modal-open { overflow: hidden; }
.contact-modal-shell { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; visibility: hidden; opacity: 0; transition: opacity .22s ease, visibility .22s ease; }
.contact-modal-shell.is-open { visibility: visible; opacity: 1; }
.contact-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(2, 10, 20, .62); backdrop-filter: blur(12px); }
.contact-modal { position: relative; z-index: 1; width: min(38rem, 100%); max-height: calc(100svh - 2rem); overflow-y: auto; padding: clamp(1.5rem, 4vw, 3rem); color: var(--modal-ink, #10243a); background: var(--modal-bg, #fff); border: 1px solid var(--modal-line, rgba(20, 55, 80, .2)); box-shadow: 0 32px 100px rgba(0, 0, 0, .28); transform: translateY(1rem) scale(.98); transition: transform .24s cubic-bezier(.2,.7,.2,1); }
.contact-modal-shell.is-open .contact-modal { transform: none; }
.contact-modal-close { position: absolute; top: .75rem; right: .75rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid currentColor; color: inherit; background: transparent; font-size: 1.7rem; line-height: 1; }
.contact-modal .eyebrow { padding-right: 3rem; color: var(--modal-accent, #0879ea); }
.contact-modal h2 { max-width: 11ch; margin-top: 1rem; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: .93; letter-spacing: -.055em; }
.contact-modal > p:not(.eyebrow) { margin-top: 1rem; color: var(--modal-muted, #5d6e7d); }
.contact-modal-form { display: grid; gap: .65rem; margin-top: 2rem; }
.contact-modal-form label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .9rem; font-weight: 760; }
.contact-modal-form label strong, .contact-modal-form label em { color: var(--modal-accent, #0879ea); font-size: .68rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.contact-modal-form input, .contact-modal-form textarea { width: 100%; padding: .9rem 1rem; border: 1px solid var(--modal-line, rgba(20, 55, 80, .28)); color: inherit; background: var(--modal-field, rgba(245, 249, 251, .9)); border-radius: 0; resize: vertical; }
.contact-modal-form input { min-height: 3.3rem; margin-bottom: .75rem; }
.contact-modal-form textarea { min-height: 8rem; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-modal-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: .8rem; }
.contact-modal-cancel, .contact-modal-submit { min-height: 3.2rem; padding: .8rem 1.15rem; border: 1px solid var(--modal-line, rgba(20, 55, 80, .3)); font-weight: 760; }
.contact-modal-cancel { color: inherit; background: transparent; }
.contact-modal-submit { display: inline-flex; align-items: center; gap: .7rem; color: var(--modal-button-ink, #fff); background: var(--modal-accent, #0879ea); border-color: transparent; }
.contact-modal-submit:disabled { cursor: wait; opacity: .65; }
.contact-modal-status { min-height: 1.7em; color: var(--modal-success, #15725f); font-size: .88rem; }
.contact-modal-status.is-error { color: var(--modal-error, #b23c35); }
.contact-modal-fallback { padding-top: 1rem; border-top: 1px solid var(--modal-line, rgba(20, 55, 80, .2)); font-size: .84rem; }
.contact-modal-fallback a { font-weight: 760; text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 900px) {
    .site-header { grid-template-columns: 1fr auto; }
    .menu-button { display: block; }
    .site-nav { position: absolute; inset: 100% .75rem auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 1rem; border: 1px solid currentColor; background: var(--menu-bg, #fff); box-shadow: 0 24px 50px rgba(0,0,0,.16); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .9rem; }
    .header-tools .header-cta { display: none; }
    .header-tools { position: absolute; right: 4.2rem; }
    .section-head { grid-template-columns: 1fr; align-items: start; }
    .section-head p { justify-self: start; }
}

@media (max-width: 560px) {
    .site-header { min-height: 4.5rem; padding: .6rem .75rem; }
    .brand { font-size: .92rem; }
    .brand img { width: 2.8rem; }
    .header-tools { right: 3.9rem; }
    .languages { padding: .1rem; }
    .language-button { width: 1.85rem; height: 1.85rem; font-size: .9rem; }
    .section { width: min(100% - 1.5rem, var(--content)); padding-block: 4.8rem; }
    .site-footer { grid-template-columns: 1fr; align-items: start; width: calc(100% - 1.5rem); }
    .footer-links { justify-content: flex-start; }
    .back-link { right: .65rem; bottom: .65rem; font-size: 0; }
    .back-link::after { content: "↗"; font-size: 1rem; }
    .contact-modal-shell { padding: .5rem; }
    .contact-modal { max-height: calc(100svh - 1rem); padding: 1.5rem 1rem; }
    .contact-modal-actions { align-items: stretch; flex-direction: column-reverse; }
    .contact-modal-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
