/* Base condivisa: font di sistema, nessun servizio esterno. */
:root {
    --brand: #b30502;
    --ink: #192326;
    --muted: #586367;
    --surface: #f4f5f3;
    --line: #dce1de;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    color: var(--ink);
    background: var(--surface);
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
}

button,input,select,textarea {
    font: inherit;
}

a,button,input,select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid #197b8a;
    outline-offset: 4px;
}

.site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--brand);
    border-radius: 6px;
    background: var(--brand);
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.site-button:hover {
    background: #8e0402;
    color: white;
    text-decoration: none;
}

.site-button--light {
    background: white;
    border-color: white;
    color: var(--ink);
}

.site-kicker {
    display: block;
    color: var(--brand);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: 12px;
}

.site-heading {
    max-width: 1140px;
    padding: 52px 20px 24px;
    margin: auto;
}

.site-heading h2 {
    font-size: clamp(1.8rem,4vw,2.7rem);
    letter-spacing: -.04em;
    font-weight: 750;
}

.site-heading p {
    color: var(--muted);
    max-width: 60ch;
}

.site-heading--split {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: end;
}

.external-service {
    max-width: 1100px;
    margin: 32px auto;
    padding: 32px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.external-service p {
    max-width: 75ch;
}

@media(max-width:700px) {
    .site-heading--split {
        align-items: start;
        flex-direction: column;
    }
    .external-service {
        margin: 24px 16px;
        padding: 24px;
    }
}

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