:root {
    --ink: #07153d;
    --ink-soft: #162451;
    --muted: #65718e;
    --muted-dark: #4d5a7c;
    --blue: #0757ff;
    --blue-dark: #003fd1;
    --cyan: #08cdd1;
    --paper: #ffffff;
    --surface: #f6f9ff;
    --surface-blue: #edf4ff;
    --line: #e2e9f5;
    --success: #0b7a47;
    --success-bg: #eaf8f1;
    --danger: #b4233b;
    --danger-bg: #fff0f3;
    --shadow-sm: 0 8px 24px rgba(25, 55, 110, 0.08);
    --shadow-lg: 0 24px 70px rgba(23, 54, 118, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1440px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.08;
}

.container {
    width: min(var(--container), calc(100% - 80px));
    margin-inline: auto;
}

.section {
    padding-block: clamp(64px, 6.5vw, 108px);
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--ink);
    color: white;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow,
.form-label {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.84rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #80a9ff;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue), #0047e8);
    box-shadow: 0 12px 28px rgba(7, 87, 255, 0.2);
    color: white;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(7, 87, 255, 0.28);
}

.button:focus-visible,
.primary-nav a:focus-visible,
.header-email:focus-visible,
.text-link:focus-visible,
.footer-bottom a:focus-visible {
    outline: 3px solid rgba(7, 87, 255, 0.3);
    outline-offset: 4px;
}

.button--small {
    min-height: 46px;
    padding-inline: 19px;
    font-size: 0.92rem;
}

.button--light {
    background: white;
    box-shadow: none;
    color: var(--ink);
}

.button--light:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

/* Motion tokens and shared interaction utilities */

:root {
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 160ms;
    --duration-base: 280ms;
    --duration-slow: 460ms;
}

.button:active {
    transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity var(--duration-slow) var(--ease-out),
            transform var(--duration-slow) var(--ease-out);
    }

    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

    .home-hero__content,
    .home-hero .hero-services {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
    }

    .home-hero.is-loaded .home-hero__content {
        opacity: 1;
        transform: none;
    }

    .home-hero.is-loaded .hero-services {
        opacity: 1;
        transform: none;
        transition-delay: 120ms;
    }
}

