@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #0b1727;
    --slate: #506176;
    --cloud: #f5f8fb;
    --amber: #efb94a;
    --cyan: #48d4d8;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: 'Manrope', sans-serif;
}

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

.site-header {
    transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(11, 23, 39, 0.86);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.brand-symbol {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 19px;
    width: 22px;
}

.brand-symbol span {
    display: block;
    width: 5px;
    border-radius: 2px 2px 0 0;
    background: var(--amber);
    transform: skew(-19deg);
}

.brand-symbol span:nth-child(1) { height: 10px; opacity: 0.72; }
.brand-symbol span:nth-child(2) { height: 16px; opacity: 0.88; }
.brand-symbol span:nth-child(3) { height: 19px; }

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: color 180ms ease;
}

.nav-link::after {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0;
    background: var(--amber);
    content: '';
    transition: width 180ms ease;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu a {
    padding: 0.35rem 0;
}

.mobile-menu a:hover {
    color: var(--amber);
}

.hero-section {
    background: var(--ink);
    color: white;
}

.hero-section::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(118deg, #0b1727 12%, #11273d 62%, #0b1727 100%);
    content: '';
}

.hero-section::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(72, 212, 216, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(72, 212, 216, 0.045) 1px, transparent 1px);
    background-size: 78px 78px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
    content: '';
}

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 9999px;
    filter: blur(1px);
    pointer-events: none;
}

.hero-orb-one {
    top: 13%;
    right: 13%;
    width: 25rem;
    height: 25rem;
    background: radial-gradient(circle, rgba(72, 212, 216, 0.13), transparent 70%);
}

.hero-orb-two {
    bottom: 2%;
    left: -8rem;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(239, 185, 74, 0.1), transparent 68%);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow-line {
    display: inline-block;
    height: 1px;
    width: 2.5rem;
    background: currentColor;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    border-radius: 9999px;
    padding: 0.95rem 1.3rem 0.95rem 1.4rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button-primary {
    background: var(--amber);
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(239, 185, 74, 0.15);
}

.button-primary:hover {
    background: #f5c965;
    box-shadow: 0 14px 28px rgba(239, 185, 74, 0.24);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: white;
}

.button-secondary:hover {
    border-color: var(--cyan);
    background: rgba(72, 212, 216, 0.1);
    transform: translateY(-2px);
}

.hero-image-frame {
    isolation: isolate;
}

.hero-image-frame img {
    filter: saturate(0.88) contrast(1.03);
}

.live-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(72, 212, 216, 0.12);
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.03;
}

.image-card {
    position: relative;
}

.image-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, transparent 42%, rgba(11, 23, 39, 0.3));
    content: '';
    pointer-events: none;
}

.stat-value {
    color: var(--ink);
    font-family: 'DM Mono', monospace;
    font-size: 1.75rem;
    letter-spacing: -0.08em;
}

.service-card {
    position: relative;
    min-height: 330px;
    border: 1px solid #e2e8ef;
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-card:hover {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: 0 18px 35px rgba(11, 23, 39, 0.14);
    color: white;
    transform: translateY(-5px);
}

.service-number {
    color: #aab6c3;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-top: 2.5rem;
    border-radius: 0.8rem;
    background: #f0f4f7;
    color: var(--ink);
    transition: background-color 220ms ease, color 220ms ease;
}

.service-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.service-card:hover .service-icon {
    background: rgba(72, 212, 216, 0.14);
    color: var(--cyan);
}

.service-card h3 {
    margin-top: 1.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.service-card p {
    margin-top: 0.75rem;
    color: var(--slate);
    font-size: 0.8rem;
    line-height: 1.8;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.57);
}

.service-card a {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--ink);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-card a span {
    display: inline-block;
    margin-left: 0.45rem;
    color: #9aa8b7;
    transition: transform 180ms ease;
}

.service-card a:hover span {
    transform: translate(2px, -2px);
}

.service-card:hover a {
    color: var(--amber);
}

.analytics-section {
    isolation: isolate;
}

.analytics-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.42;
    background-image: linear-gradient(rgba(72, 212, 216, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(72, 212, 216, 0.08) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to right, transparent, black 22%, black 75%, transparent);
}

.method-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-index {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
}

.method-bar {
    height: 0.3rem;
    overflow: hidden;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
}

.method-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.contact-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.9rem;
    font-size: 0.78rem;
    line-height: 1.5;
    transition: color 180ms ease;
}

.contact-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-line:hover {
    color: var(--amber);
}

.contact-line > span:last-child {
    text-align: right;
}

.contact-line b {
    margin-left: 0.3rem;
    color: var(--amber);
    font-size: 0.9rem;
    font-weight: 400;
}

.contact-label,
.footer-heading {
    color: rgba(255, 255, 255, 0.37);
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer a {
    transition: color 180ms ease;
}

.footer a:hover {
    color: var(--amber);
}

@media (max-width: 640px) {
    .hero-orb-one {
        right: -12rem;
        width: 22rem;
        height: 22rem;
    }

    .hero-image-frame img {
        min-height: 320px;
    }

    .contact-line > span:last-child {
        max-width: 100%;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
