* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: var(--text-md);
    line-height: 1.65;
    color: var(--text);
    /* Softer, less busy backdrop while keeping depth */
    background:
        radial-gradient(circle at 12% -4%, rgba(15, 163, 177, 0.14), transparent 30%),
        radial-gradient(circle at 88% -10%, rgba(244, 185, 66, 0.12), transparent 32%),
        linear-gradient(180deg, var(--bg), var(--bg-2));
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1,
h2 {
    font-family: var(--font-display);
}

p {
    margin: 0;
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

button {
    cursor: pointer;
}

input,
select,
textarea {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-strong);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-strong) 25%, transparent);
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-strong);
    outline-offset: 2px;
}

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

.skip-link {
    position: absolute;
    left: 14px;
    top: -50px;
    background: var(--secondary);
    color: #111;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    z-index: 120;
    font-weight: 700;
}

.skip-link:focus {
    top: 10px;
}

.eyebrow {
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
}

.fineprint {
    font-size: var(--text-sm);
    color: var(--muted);
}

.fade-in {
    animation: fadeIn 0.45s ease both;
}

[hidden] {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
