:root {
    --header-height: 80px;
    --ink-950: #0b1324;
    --ink-900: #0f172a;
    --ink-800: #1f2937;
    --ink-700: #334155;
    --ink-600: #475569;
    --brand-800: #057aa8;
    --brand-900: #0b87b4;
    --brand-700: #0284c7;
    --brand-600: #06a6d8;
    --brand-500: #08b2e3;
    --danger-700: #b91c1c;
    --bg: #f7fbff;
    --shadow-sm: 0 10px 22px rgba(2, 8, 23, 0.06);
    --shadow-md: 0 18px 40px rgba(2, 8, 23, 0.08);
    --shadow-lg: 0 26px 70px rgba(2, 8, 23, 0.12);
    --shadow-xl: 0 40px 90px rgba(2, 8, 23, 0.24);
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--ink-900);
    background: var(--bg);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

section {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.container {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
}

.section {
    padding-block: clamp(4rem, 7vw, 6rem);
}

.section--soft {
    background: #f7fcff;
}

.section--tint {
    background: linear-gradient(180deg, #eefbff, #f7fbff);
}

.section__header {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.section__header--wide {
    max-width: 980px;
}

.section__title {
    margin: 0;
    font-size: clamp(2.2rem, 4.2vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink-950);
    font-weight: 900;
}

.section__title--xl {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.section__subtitle {
    margin: 1.1rem auto 0;
    color: var(--ink-600);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.6;
}

.button {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.95rem 1.25rem;
    font: inherit;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, border-color 120ms ease, color 120ms ease;
    user-select: none;
}

.button:focus-visible {
    outline: 3px solid rgba(8, 178, 227, 0.28);
    outline-offset: 3px;
}

.button:active {
    transform: translateY(1px) scale(0.99);
}

.button--primary {
    background: linear-gradient(135deg, #0EA5E9, #06B6D4);
    color: #06121c;
    box-shadow: 0 16px 34px rgba(2, 132, 199, 0.22);
}

.button--primary:hover {
    box-shadow: 0 20px 46px rgba(2, 132, 199, 0.26);
}

.button--gradient {
    background: linear-gradient(135deg, #0EA5E9, #06B6D4);
    color: #06121c;
    box-shadow: 0 18px 46px rgba(2, 132, 199, 0.24);
}

.button--outline {
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(8, 178, 227, 0.9);
    color: var(--brand-700);
}

.button--outline:hover {
    background: #fff;
}

.button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button__icon {
    width: 20px;
    height: 20px;
    display: block;
}

@media (hover:hover) {
    .button:not([disabled]):hover {
        transform: translateY(-1px) scale(1.02);
    }
}

.hover-scale {
    transition: transform 180ms ease, box-shadow 180ms ease;
    will-change: transform;
}

@media (hover:hover) {
    .hover-scale:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: var(--shadow-md);
    }
}

.form-field {
    display: grid;
    gap: 0.55rem;
}

.form-field__label {
    font-weight: 800;
    color: var(--ink-950);
}

.form-field__input,
.form-field__textarea {
    width: 100%;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 2px solid rgba(15, 23, 42, 0.75);
    background: #fff;
    color: var(--ink-900);
    outline: none;
    font: inherit;
}

.form-field__textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field__input:focus,
.form-field__textarea:focus {
    border-color: var(--brand-700);
    box-shadow: 0 0 0 4px rgba(8, 178, 227, 0.18);
}

.form-field__error {
    color: var(--danger-700);
    font-weight: 650;
}

.form-note {
    margin: 0.35rem 0 0;
    color: var(--ink-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-note__link {
    color: var(--brand-700);
    font-weight: 700;
    text-decoration: none;
}

.form-note__link:hover {
    text-decoration: underline;
}

.form-success {
    margin: 0.2rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
    font-weight: 650;
}

.center-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.6rem;
}

.center-text {
    text-align: center;
}

.center-text--spaced {
    margin-top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
