:root {
    --ink: #0b1220;
    --night: #111827;
    --signal: #0891b2;
    --signal-dark: #0e7490;
    --mint: #10b981;
    --amber: #f59e0b;
    --coral: #f97316;
    --line: #e2e8f0;
    --electric: #22d3ee;
    --lime: #84cc16;
    --paper: #ffffff;
    --soft: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .026) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 23, 42, .026) 1px, transparent 1px),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f6fbfc 100%);
    background-size: 42px 42px;
    letter-spacing: 0;
}

::selection {
    background: rgba(8, 145, 178, .22);
}

.site-nav {
    transition: background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.site-nav.is-scrolled {
    border-color: rgba(226, 232, 240, .18);
    background: rgba(11, 18, 32, .90);
    box-shadow: 0 14px 42px rgba(15, 23, 42, .22);
}

.brand-mark {
    position: relative;
    overflow: hidden;
}

.site-logo {
    display: block;
    width: auto;
    max-width: 11rem;
    height: 2rem;
    object-fit: contain;
}

.footer-site-logo {
    display: block;
    width: auto;
    max-width: 12rem;
    max-height: 4rem;
    object-fit: contain;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .32), transparent);
    transform: translateX(-120%);
    animation: brand-sheen 4.8s ease-in-out infinite;
}

.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .55), rgba(16, 185, 129, .45), transparent);
}

.nextgen-hero {
    background:
        linear-gradient(115deg, rgba(34, 211, 238, .14), transparent 36%),
        linear-gradient(242deg, rgba(16, 185, 129, .10), transparent 32%),
        linear-gradient(90deg, rgba(34, 211, 238, .07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(132, 204, 22, .045) 1px, transparent 1px),
        #0b1220;
    background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

.nextgen-title {
    text-wrap: balance;
}

.nextgen-title em {
    color: #67e8f9;
    font-style: normal;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(103, 232, 249, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    padding: .55rem .7rem;
    color: #dbeafe;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cta-primary {
    background: linear-gradient(135deg, var(--signal), #0e7490);
}

.cta-primary:hover {
    background: linear-gradient(135deg, #0e7490, #155e75);
    transform: translateY(-1px);
}

.trust-chip {
    display: inline-flex;
    min-height: 3.2rem;
    align-items: center;
    gap: .55rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .065);
    padding: .78rem .9rem;
    color: #e2e8f0;
    font-weight: 800;
    line-height: 1.25;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.hero-media-frame,
.hero-conversion-panel {
    border: 1px solid rgba(226, 232, 240, .14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)),
        rgba(15, 23, 42, .84);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.hero-media-frame {
    overflow: hidden;
    padding: .55rem;
}

.hero-conversion-panel {
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.hero-conversion-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(34, 211, 238, .12), transparent 34%, transparent 72%, rgba(16, 185, 129, .10)),
        repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 255, 255, .032) 44px 45px);
}

.hero-conversion-panel > * {
    position: relative;
}

.hero-metric {
    min-height: 5.15rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    padding: .85rem;
}

.hero-metric span {
    display: block;
    color: #67e8f9;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.hero-metric p {
    margin-top: .5rem;
    color: #cbd5e1;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.conversion-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 8px;
    background: rgba(2, 6, 23, .34);
    padding: .85rem .95rem;
}

.conversion-row svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    color: #67e8f9;
}

.conversion-row p {
    color: #f8fafc;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.3;
}

.conversion-row span {
    display: block;
    margin-top: .18rem;
    color: #94a3b8;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.nextgen-console {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, .22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
        #0f172a;
    color: #e2e8f0;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.nextgen-console::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 8px);
    opacity: .55;
}

.nextgen-console::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--electric), var(--mint), var(--coral));
}

.console-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, .11);
    padding: 1rem;
}

.console-dot {
    display: inline-block;
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: var(--electric);
    box-shadow: 0 0 18px rgba(34, 211, 238, .75);
}

.signal-grid {
    display: grid;
    gap: .8rem;
}

.signal-row {
    border: 1px solid rgba(226, 232, 240, .10);
    border-radius: 7px;
    background: rgba(15, 23, 42, .72);
    padding: .95rem;
}

.signal-bar {
    height: .45rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, .12);
}

.signal-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--electric), var(--mint));
}

.future-strip {
    border-top: 1px solid rgba(226, 232, 240, .10);
    background: rgba(255, 255, 255, .04);
    padding: 1rem;
}

.future-tile {
    border: 1px solid rgba(226, 232, 240, .10);
    border-radius: 7px;
    background: rgba(255, 255, 255, .055);
    padding: .9rem;
}

.angled-panel {
    position: relative;
}

.angled-panel::before,
.angled-panel::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.angled-panel::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--electric);
    border-left: 2px solid var(--electric);
}

.angled-panel::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid var(--mint);
    border-bottom: 2px solid var(--mint);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(103, 232, 249, .26);
    border-radius: 6px;
    background: rgba(8, 145, 178, .12);
    padding: .35rem .65rem;
    color: #a5f3fc;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-band {
    position: relative;
    overflow: hidden;
}

.section-muted {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f8fafc, #eef8fb);
}

.section-muted::before,
.section-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 145, 178, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(8, 145, 178, .036) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, transparent, black 12%, transparent 92%);
}

.section-band > *,
.section-muted > * {
    position: relative;
}

.section-heading h2 {
    color: var(--ink);
    letter-spacing: 0;
    text-wrap: balance;
}

.section-kicker {
    color: var(--signal);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.outline-action {
    border: 1px solid rgba(8, 145, 178, .26);
    background: #ffffff;
    color: var(--ink);
    transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.outline-action:hover {
    border-color: rgba(8, 145, 178, .60);
    color: var(--signal-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.stats-strip {
    margin-top: -1.5rem;
    position: relative;
    z-index: 4;
}

.metric-card {
    position: relative;
    overflow: hidden;
    min-height: 7.3rem;
    border: 1px solid rgba(203, 213, 225, .75);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .93));
    padding: 1.25rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .86) inset,
        0 18px 50px rgba(15, 23, 42, .08);
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--signal), var(--mint));
    opacity: .78;
}

.ui-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, .78);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .86) inset,
        0 12px 34px rgba(15, 23, 42, .055);
    isolation: isolate;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}

.ui-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, .13), transparent 34%),
        linear-gradient(315deg, rgba(16, 185, 129, .10), transparent 38%);
    opacity: 0;
    transition: opacity .22s ease;
}

.ui-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .58) inset;
}

.ui-card > * {
    position: relative;
    z-index: 1;
}

.ui-card:hover {
    border-color: rgba(8, 145, 178, .34);
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .92) inset,
        0 22px 58px rgba(15, 23, 42, .12);
}

.ui-card:hover::before {
    opacity: 1;
}

.ui-card img {
    transition: transform .28s ease, filter .28s ease;
}

.ui-card:hover img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.02);
}

.ui-card h2,
.ui-card h3 {
    line-height: 1.18;
    text-wrap: balance;
}

.ui-card .link-arrow {
    align-items: center;
    border-radius: 6px;
    transition: color .18s ease, transform .18s ease;
}

.ui-card:hover .link-arrow {
    color: var(--signal-dark);
    transform: translateX(1px);
}

.glass-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .055));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .10) inset,
        0 18px 60px rgba(0, 0, 0, .22);
    backdrop-filter: blur(14px);
}

.glass-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(34, 211, 238, .16), transparent 36%),
        linear-gradient(300deg, rgba(16, 185, 129, .10), transparent 34%);
}

.glass-panel > * {
    position: relative;
}

.process-section {
    background:
        linear-gradient(120deg, rgba(8, 145, 178, .16), transparent 36%),
        linear-gradient(242deg, rgba(16, 185, 129, .11), transparent 32%),
        var(--ink);
}

.final-cta {
    background:
        linear-gradient(120deg, rgba(34, 211, 238, .16), transparent 34%),
        linear-gradient(242deg, rgba(16, 185, 129, .12), transparent 32%),
        var(--ink);
}

.metric-tile {
    border: 1px solid rgba(203, 213, 225, .72);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.icon-badge {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 145, 178, .18);
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ecfeff, #ffffff);
    color: var(--signal);
    box-shadow: 0 10px 24px rgba(8, 145, 178, .11);
}

.icon-badge.dark {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .08);
    color: #a5f3fc;
}

.ui-card > .icon-badge {
    margin-bottom: 1rem;
}

.ui-card .flex.h-11,
.ui-card .flex.h-12 {
    border: 1px solid rgba(8, 145, 178, .14);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.ui-card [class*="bg-slate-100"],
.ui-card [class*="bg-cyan-50"],
.metric-card [class*="bg-slate-100"] {
    border: 1px solid rgba(203, 213, 225, .58);
}

.ui-card input,
.ui-card textarea,
.ui-card select {
    border-radius: 8px;
    border-color: rgba(203, 213, 225, .95);
    background: rgba(255, 255, 255, .92);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.ui-card input:focus,
.ui-card textarea:focus,
.ui-card select:focus {
    border-color: rgba(8, 145, 178, .72);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, .12);
    outline: none;
}

.icon-badge svg,
.button-icon svg,
.inline-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.button-icon {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

@media (max-width: 640px) {
    .trust-chip {
        min-height: 2.85rem;
    }

    .hero-metric {
        min-height: 4.65rem;
        padding: .72rem;
    }

    .hero-metric span {
        font-size: 1.1rem;
    }

    .hero-metric p {
        font-size: .66rem;
    }

    .stats-strip {
        margin-top: 0;
    }
}

.legal-prose {
    color: #334155;
    line-height: 1.85;
}

.legal-prose h2 {
    margin-top: 2rem;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.25;
}

.legal-prose p,
.legal-prose ul {
    margin-top: .85rem;
}

.legal-prose ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.link-arrow::after {
    content: "→";
    margin-left: .45rem;
    transition: transform .2s ease;
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

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

.stagger > * {
    transition-delay: calc(var(--i, 0) * 70ms);
}

@keyframes brand-sheen {
    0%, 62% { transform: translateX(-120%); }
    78%, 100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
