.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 251, 252, 0.86);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(37, 99, 235, 0.55));
    box-shadow: var(--shadow-1);
}

.brand-name {
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-tight);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-2);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-1);
    cursor: pointer;
}

.nav-toggle-lines {
    width: 18px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
}

.nav-toggle-lines::before {
    top: -6px;
}

.nav-toggle-lines::after {
    top: 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-link {
    text-decoration: none;
    color: var(--color-muted);
    font-weight: var(--fw-medium);
    padding: 0.4rem 0.25rem;
    position: relative;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 2px;
    background: rgba(37, 99, 235, 0.0);
    transition: background 160ms ease;
}

.nav-link:hover::after {
    background: rgba(37, 99, 235, 0.45);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-left: var(--space-2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-2);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-1);
    transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--color-accent);
    border-color: rgba(37, 99, 235, 0.35);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-2);
    box-shadow: var(--shadow-2);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--color-surface-2);
    border-color: rgba(15, 23, 42, 0.18);
}

.btn-secondary {
    background: var(--color-surface);
    border-color: rgba(15, 23, 42, 0.14);
}

.btn-secondary:hover {
    background: var(--color-surface-2);
    border-color: rgba(15, 23, 42, 0.18);
}

.nav-backdrop {
    display: none;
}

.nav-locked {
    overflow: hidden;
}

.site-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
}

.footer-inner {
    display: grid;
    gap: var(--space-10);
    padding-top: var(--space-16);
    padding-bottom: var(--space-10);
}

.footer-brand {
    max-width: 48ch;
}

.footer-title {
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-3);
}

.footer-text {
    line-height: var(--lh-normal);
}

.footer-cols {
    display: grid;
    gap: var(--space-8);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-head {
    font-size: var(--fs-200);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: var(--space-2);
}

.footer-link {
    text-decoration: none;
    color: var(--color-muted);
    width: fit-content;
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
}

@media (max-width: 820px) {
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(92vw, 360px);
        padding: var(--space-6);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        background: var(--color-surface);
        border-left: 1px solid var(--color-border);
        box-shadow: var(--shadow-2);
        transform: translateX(110%);
        transition: transform 160ms ease;
        z-index: 60;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .nav-cta {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        gap: var(--space-3);
        padding-top: var(--space-4);
        border-top: 1px solid var(--color-border);
    }

    .btn {
        width: 100%;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(11, 18, 32, 0.28);
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease;
        z-index: 55;
    }

    .nav-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (min-width: 821px) {
    .nav-toggle {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }

    .footer-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

label > span {
    font-weight: var(--fw-medium);
}

input,
select,
textarea {
    width: 100%;
    height: 44px;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-2);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-1);
}

textarea {
    min-height: 120px;
    height: auto;
    resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    box-shadow: var(--focus-ring);
}

details {
    overflow: hidden;
}

details > summary {
    cursor: pointer;
    font-weight: var(--fw-semibold);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

details > summary::-webkit-details-marker {
    display: none;
}

details > summary::after {
    content: "›";
    transform: rotate(90deg);
    transition: transform 160ms ease;
    color: var(--color-muted);
    font-size: 1.2em;
    line-height: 1;
}

details[open] > summary::after {
    transform: rotate(-90deg);
}

details > p {
    margin-top: var(--space-3);
    color: var(--color-muted);
}

[data-calendly-embed] {
    width: 100%;
    height: 720px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2);
    background: var(--color-surface);
}

figure {
    margin: 0;
}

blockquote {
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

@media (prefers-color-scheme: dark) {
    .site-header {
        background: rgba(11, 18, 32, 0.82);
        border-bottom-color: rgba(148, 163, 184, 0.16);
    }
}

.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-text);
    font-weight: var(--fw-semibold);
}

.brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--color-accent);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-toggle {
    display: none;
}

.nav-toggle-lines {
    width: 22px;
    height: 14px;
    position: relative;
    display: inline-block;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, top 160ms ease, bottom 160ms ease, opacity 160ms ease;
}

.nav-toggle-lines::before {
    top: 0;
}

.nav-toggle-lines::after {
    bottom: 0;
}

.nav-backdrop {
    display: none;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: var(--radius-2);
        border: 1px solid rgba(15, 23, 42, 0.14);
        background: rgba(255, 255, 255, 0.7);
        box-shadow: var(--shadow-1);
    }

    @media (prefers-color-scheme: dark) {
        .nav-toggle {
            background: rgba(11, 18, 32, 0.7);
            border-color: rgba(148, 163, 184, 0.18);
        }
    }

    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        padding: var(--space-6) var(--container-pad);
        background: var(--color-surface);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: var(--shadow-2);
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-cta {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.35);
        display: none;
    }

    .nav-backdrop.is-open {
        display: block;
    }
}

.site-footer {
    margin-top: var(--space-10);
    padding-top: var(--space-10);
    padding-bottom: var(--space-8);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

.footer-title {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-500);
}

.footer-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.footer-head {
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-3);
}

.footer-link {
    display: block;
    text-decoration: none;
    color: var(--color-muted);
    padding: 0.15rem 0;
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-bottom {
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--color-muted);
}

@media (min-width: 820px) {
    .footer-inner {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }

    .footer-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

details.surface.pad > summary {
    padding: 0.1rem 0;
}

details.surface.pad > p {
    margin-bottom: 0;
}

.media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3);
    border: 1px solid rgba(15, 23, 42, 0.10);
    background:
            radial-gradient(600px 240px at 20% 20%, rgba(37, 99, 235, 0.18), transparent 60%),
            radial-gradient(520px 220px at 80% 10%, rgba(59, 130, 246, 0.10), transparent 55%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.35));
    box-shadow: var(--shadow-1);
}

@media (prefers-color-scheme: dark) {
    .media {
        border-color: rgba(148, 163, 184, 0.16);
        background:
                radial-gradient(600px 240px at 20% 20%, rgba(37, 99, 235, 0.22), transparent 60%),
                radial-gradient(520px 220px at 80% 10%, rgba(59, 130, 246, 0.14), transparent 55%),
                linear-gradient(180deg, rgba(11, 18, 32, 0.85), rgba(11, 18, 32, 0.55));
    }
}

.media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: translateX(-60%);
    animation: mediaShimmer 2.2s ease-in-out infinite;
    opacity: 0.35;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .media::after {
        animation: none;
        opacity: 0.18;
    }
}

@keyframes mediaShimmer {
    0% { transform: translateX(-60%); }
    100% { transform: translateX(60%); }
}

.media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-square {
    aspect-ratio: 1 / 1;
}

.media-portrait {
    aspect-ratio: 4 / 5;
}

.media-wide {
    aspect-ratio: 16 / 9;
}

.icon-slot {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-2);
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(37, 99, 235, 0.10);
    box-shadow: var(--shadow-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-color-scheme: dark) {
    .icon-slot {
        border-color: rgba(148, 163, 184, 0.18);
        background: rgba(37, 99, 235, 0.14);
    }
}

.icon-slot svg,
.icon-slot img {
    width: 22px;
    height: 22px;
    opacity: 0.9;
}

.trust-slot {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-3);
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.60);
    box-shadow: var(--shadow-1);
}

@media (prefers-color-scheme: dark) {
    .trust-slot {
        border-color: rgba(148, 163, 184, 0.16);
        background: rgba(11, 18, 32, 0.60);
    }
}

.trust-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--color-accent);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.16);
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.trust-text strong {
    font-weight: var(--fw-semibold);
}

.trust-text span {
    color: var(--color-muted);
    font-size: var(--fs-200);
}