/* FN SOLUTIONS — css/base.css — Reset, typography, utilities */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    text-size-adjust: 100%
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

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

ul,
ol {
    list-style: none
}

img,
svg {
    display: block;
    max-width: 100%
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

button {
    cursor: pointer;
    border: none;
    background: none
}

input,
select,
textarea {
    outline: none
}

::selection {
    background: var(--brand-200);
    color: var(--brand-800)
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: var(--gray-100)
}

::-webkit-scrollbar-thumb {
    background: var(--brand-300);
    border-radius: 3px
}

.wrap {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 48px)
}

.section-pad {
    padding: var(--space-24) 0
}

.section-pad-lg {
    padding: var(--space-32) 0
}

@media(max-width:768px) {
    .section-pad {
        padding: var(--space-16) 0
    }

    .section-pad-lg {
        padding: var(--space-20) 0
    }
}

@media(max-width:480px) {
    .section-pad {
        padding: var(--space-12) 0
    }

    .section-pad-lg {
        padding: var(--space-16) 0
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(0.16, 1, 0.3, 1), transform .65s cubic-bezier(0.16, 1, 0.3, 1)
}

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

.reveal[data-delay="100"] {
    transition-delay: .10s
}

.reveal[data-delay="150"] {
    transition-delay: .15s
}

.reveal[data-delay="200"] {
    transition-delay: .20s
}

.reveal[data-delay="300"] {
    transition-delay: .30s
}

.reveal[data-delay="400"] {
    transition-delay: .40s
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-brand);
    margin-bottom: var(--space-4)
}

.kicker::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
    flex-shrink: 0
}

.headline {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--text-primary)
}

.headline-xl {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem)
}

.headline-lg {
    font-size: clamp(2.2rem, 4vw, 3.4rem)
}

.headline-md {
    font-size: clamp(1.8rem, 3vw, 2.6rem)
}

.headline .accent {
    color: var(--accent-primary)
}

.body-lg {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-secondary)
}

.body-sm {
    font-size: .85rem;
    line-height: 1.7;
    color: var(--text-muted)
}

.body-xs {
    font-size: .75rem;
    line-height: 1.6;
    color: var(--text-muted)
}

.sec-head {
    margin-bottom: var(--space-16)
}

.sec-head.center {
    text-align: center
}

.sec-head.center .body-lg {
    max-width: 580px;
    margin-inline: auto;
    margin-top: var(--space-4)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 26px;
    border-radius: var(--r-sm);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    transition: all var(--t-slow);
    white-space: nowrap;
    border: 1.5px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .12);
    opacity: 0;
    transition: opacity var(--t-fast)
}

.btn:hover::after {
    opacity: 1
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--white);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-brand)
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: var(--shadow-brand-lg);
    transform: translateY(-2px)
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary)
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--white);
    transform: translateY(-2px)
}

.btn-ghost-white {
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    border-color: rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px)
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .5);
    transform: translateY(-2px)
}

.btn-lg {
    padding: 15px 36px;
    font-size: .9rem;
    border-radius: var(--r-md)
}

.btn-sm {
    padding: 9px 18px;
    font-size: .78rem
}

.btn-full {
    width: 100%
}

.field {
    width: 100%;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    color: var(--text-primary);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    font-size: .9rem;
    transition: border-color var(--t-base), box-shadow var(--t-base);
    appearance: none
}

.field:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12)
}

.field::placeholder {
    color: var(--text-muted)
}

.alert {
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-size: .85rem;
    font-weight: 500;
    display: none
}

.alert.show {
    display: block
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid rgba(22, 163, 74, .25);
    color: var(--success)
}

.alert-error {
    background: var(--error-bg);
    border: 1px solid rgba(220, 38, 38, .25);
    color: var(--error)
}

.alert-info {
    background: var(--brand-50);
    border: 1px solid var(--border-brand);
    color: var(--brand-700)
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.status-dot.live {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .2);
    animation: pulse-dot 2.5s infinite
}

.section-pad-sm {
    padding: var(--space-24) 0;
}


@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(22, 163, 74, .2)
    }

    50% {
        box-shadow: 0 0 0 6px rgba(22, 163, 74, .06)
    }
}