/* Shared base for every Gravity Forms iframe embed: the PHP site's font + tokens, transparent page. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/inter-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/inter-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-primary: #2F3D49;
    --color-secondary: #00B1B2;
    --color-secondary-dark: #005556;
    --color-grey-dark: #111111;
    --color-grey: #5C5C5C;
    --color-white: #FFFFFF;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --text-body: 400 1rem/1.5 var(--font-family);
    --text-h5: 400 clamp(1.25rem, 0.965rem + 0.758vw, 1.875rem)/1.5 var(--font-family);
    --space-2: 1rem;
    --space-4: 2rem;
}

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

html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body {
    font: var(--text-body) !important;
    color: var(--color-grey-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

html body .gform_wrapper.gravity-theme {
    margin: 0;
    font-family: var(--font-family);
}

html body .gform_wrapper.gravity-theme .gform_required_legend,
html body .gform_wrapper.gravity-theme .gform_heading {
    display: none;
}

html body .gform_wrapper.gravity-theme input,
html body .gform_wrapper.gravity-theme textarea,
html body .gform_wrapper.gravity-theme select,
html body .gform_wrapper.gravity-theme button {
    font-family: var(--font-family);
}

/* Validation messages: same palette as the PHP site's .form-notice--error */
html body .gform_wrapper.gravity-theme .gform_validation_errors {
    padding: 0.875rem 1.25rem;
    margin: 0 0 1.5rem;
    border-radius: 0.375rem;
    background: #fdecea;
    border: 1px solid #f5c2bd;
    box-shadow: none;
}
html body .gform_wrapper.gravity-theme .gform_validation_errors > h2 {
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    color: #8a1c13;
}
html body .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon { display: none; }
html body .gform_wrapper.gravity-theme .gfield_validation_message,
html body .gform_wrapper.gravity-theme .validation_message {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    margin-top: 0.375rem;
    border-radius: 0.25rem;
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #8a1c13;
}

.gform_confirmation_message {
    font: var(--text-body);
    padding: 1rem 0;
}
