/* ============================================================================
   SourceTranscript Suite — Web Forms port
   Faithful reproduction of the original MUI dark/light theme + design polish.
   Dark is the default; `body.light` flips the palette.

   Spacing scale (px):  4  8  12  16  20  24  32  40  56  72  96
   ========================================================================== */

:root {
    --teal: #00e5cc;
    --violet: #7c3aed;
    --violet-light: #a78bfa;
    /* dark palette (default) */
    --bg: #060414;
    --text: #f0f4ff;
    --text-2: rgba(200, 220, 255, 0.62);
    --text-3: rgba(200, 220, 255, 0.4);
    --primary: #a78bfa;
    --card-bg: rgba(10, 18, 35, 0.75);
    --card-border: rgba(0, 229, 204, 0.08);
    --nav-bg: rgba(5, 13, 26, 0.55);
    --nav-bg-solid: rgba(5, 13, 26, 0.94);
    --nav-border: rgba(167, 139, 250, 0.08);
    --panel-bg: rgba(5, 12, 26, 0.98);
    --hairline: rgba(255, 255, 255, 0.07);
    --head-grad: linear-gradient(135deg, #ffffff 30%, rgba(0, 229, 204, 0.9) 70%, #7c3aed 100%);
    --head-grad-2: linear-gradient(135deg, #f0f4ff 40%, rgba(0, 229, 204, 0.85) 100%);
    --bg-image: radial-gradient(ellipse at 12% 14%, rgba(167, 139, 250, 0.14) 0%, transparent 55%), radial-gradient(ellipse at 88% 82%, rgba(99, 102, 241, 0.16) 0%, transparent 55%);
    /* Type & spacing tokens (used through the stylesheet) */
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --nav-h: 88px;
    --nav-h-m: 72px;
}

body.light {
    --bg: #eef2fb;
    --text: #0d1526;
    --text-2: rgba(13, 21, 38, 0.62);
    --text-3: rgba(13, 21, 38, 0.42);
    --primary: #00897b;
    --card-bg: rgba(255, 255, 255, 0.86);
    --card-border: rgba(0, 137, 123, 0.12);
    --nav-bg: rgba(238, 242, 251, 0.65);
    --nav-bg-solid: rgba(238, 242, 251, 0.97);
    --nav-border: rgba(0, 137, 123, 0.06);
    --panel-bg: rgba(246, 250, 255, 0.99);
    --hairline: rgba(0, 0, 0, 0.07);
    --head-grad: linear-gradient(135deg, #0d1526 30%, rgba(0, 137, 123, 0.9) 70%, #5b21b6 100%);
    --head-grad-2: linear-gradient(135deg, #0d1526 40%, rgba(0, 137, 123, 0.85) 100%);
    --bg-image: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Verdana", sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image: var(--bg-image);
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
    letter-spacing: -0.005em;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.3);
    border-radius: 99px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(167, 139, 250, 0.6);
    }

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

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

button {
    font-family: inherit;
}

/* Provide consistent scroll-margin so hash-jumps don't sit under fixed navbar
   (we also do this in JS for cross-browser, but this catches native scrolls). */
[id], .anchor-target {
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.container-md {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 28px;
}

.accent-link {
    color: var(--teal);
}

    .accent-link:hover {
        text-decoration: underline;
    }

/* ── Headings ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 800;
}

h1 {
    font-size: clamp(2rem, 4.4vw + 0.8rem, 4.4rem);
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(1.5rem, 1.8vw + 1rem, 2.1rem);
}

h3 {
    font-size: clamp(1.15rem, 0.6vw + 1rem, 1.35rem);
    font-weight: 700;
}

h4 {
    font-size: 1rem;
    font-weight: 700;
}

p {
    line-height: 1.72;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: 0.005em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-cta, .btn-primary {
    background: linear-gradient(135deg, #00e5cc 0%, #00b3a0 100%);
    color: #04121a;
    box-shadow: 0 0 20px rgba(0, 229, 204, 0.3);
}

body:not(.light) .btn-cta {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.btn-cta:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(0, 229, 204, 0.55);
}

body:not(.light) .btn-cta:hover {
    box-shadow: 0 0 32px rgba(167, 139, 250, 0.6);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 229, 204, 0.35);
    color: var(--text-2);
}

    .btn-outline:hover {
        border-color: var(--teal);
        color: var(--teal);
        background: rgba(0, 229, 204, 0.06);
    }

.btn-sm {
    padding: 9px 18px;
    font-size: 0.84rem;
    min-height: 38px;
}

/* ── Gradient text utility ─────────────────────────────────────────────── */
.grad-text {
    background: var(--head-grad-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Avoid clipped descenders ('g','y','p') under gradient text */
    padding-bottom: 0.06em;
}

    .grad-text.hero {
        background: var(--head-grad);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .grad-text.tealviolet {
        background: linear-gradient(135deg, #00e5cc, #7c3aed);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* ── Chips / eyebrows ──────────────────────────────────────────────────── */
.chip {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.chip-teal {
    background: rgba(0, 229, 204, 0.08);
    border: 1px solid rgba(0, 229, 204, 0.2);
    color: var(--teal);
}

.chip-violet {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--violet-light);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 18px;
}

    .eyebrow span {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        color: var(--teal);
        text-transform: uppercase;
    }

    .eyebrow i {
        display: block;
        width: 36px;
        height: 1.5px;
        background: linear-gradient(90deg, transparent, var(--teal));
    }

        .eyebrow i.right {
            background: linear-gradient(90deg, var(--teal), transparent);
        }

/* ============================================================================
   NAVBAR
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--nav-border);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: navDrop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes navDrop {
    from {
        transform: translateY(-64px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav.elevated {
    background: var(--nav-bg-solid);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(167, 139, 250, 0.2);
}

body.light .nav.elevated {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.09);
    border-bottom-color: rgba(0, 137, 123, 0.14);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: var(--nav-h);
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

    .nav-logo img {
        height: 64px;
        display: block;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link, .nav-link-btn {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-2);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    letter-spacing: 0.005em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.18s ease;
    white-space: nowrap;
}

    .nav-link:hover, .nav-link-btn:hover {
        color: var(--primary);
        background: rgba(0, 137, 123, 0.08);
    }

body:not(.light) .nav-link:hover, body:not(.light) .nav-link-btn:hover {
    background: rgba(167, 139, 250, 0.1);
}

.nav-link.active, .nav-link-btn.active {
    color: var(--primary);
    font-weight: 650;
    background: rgba(0, 137, 123, 0.08);
}

body:not(.light) .nav-link.active, body:not(.light) .nav-link-btn.active {
    background: rgba(167, 139, 250, 0.1);
}

.nav-link-btn .chev {
    font-size: 1rem;
    transition: transform 0.22s;
}

.nav-dropdown.open .chev {
    transform: rotate(180deg);
}

.theme-toggle {
    margin-left: 8px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    background: transparent;
    cursor: pointer;
    border: 1px solid rgba(0, 137, 123, 0.12);
    transition: all 0.18s;
}

body:not(.light) .theme-toggle {
    border-color: rgba(167, 139, 250, 0.2);
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.theme-toggle .material-icons {
    font-size: 18px;
}

.nav-links .btn-cta {
    margin-left: 12px;
    padding: 10px 22px;
    font-size: 0.84rem;
    min-height: 40px;
}

/* ── Dropdown panels ───────────────────────────────────────────────────── */
.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 480px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: var(--panel-bg);
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    border: 1px solid rgba(167, 139, 250, 0.18);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top left;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1200;
}

body.light .dropdown-panel {
    border-color: rgba(0, 137, 123, 0.13);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16);
}

.dropdown-panel-sm {
    width: 340px;
}

.nav-dropdown.open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-eyebrow {
    display: block;
    padding: 4px 12px 10px;
    color: var(--text-3);
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 0.62rem;
    text-transform: uppercase;
}

/* Products dropdown (2-col grid) */
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dd-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--hairline);
    transition: all 0.18s ease;
}

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

.dd-bar {
    width: 3px;
    border-radius: 2px;
    flex-shrink: 0;
    opacity: 0.6;
}

.dd-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dd-title {
    font-weight: 700;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.005em;
}

.dd-tag {
    font-size: 0.73rem;
    color: var(--text-3);
    line-height: 1.5;
    margin-top: 3px;
}

.badge {
    font-style: normal;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

    .badge.live {
        background: rgba(34, 197, 94, 0.12);
        color: #22c55e;
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .badge.partner {
        background: rgba(251, 191, 36, 0.1);
        color: #fbbf24;
        border: 1px solid rgba(251, 191, 36, 0.2);
    }

.dropdown-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 4px 0;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
    font-size: 0.74rem;
    color: var(--text-3);
}

    .dropdown-foot a {
        color: var(--primary);
        font-weight: 700;
        font-size: 0.78rem;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

        .dropdown-foot a .material-icons {
            font-size: 13px;
        }

/* About dropdown (vertical list) */
.dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dd-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.18s ease;
}

    .dd-row:hover {
        background: rgba(0, 229, 204, 0.06);
        border-color: rgba(0, 229, 204, 0.18);
    }

body:not(.light) .dd-row:hover {
    background: rgba(167, 139, 250, 0.07);
    border-color: rgba(167, 139, 250, 0.2);
}

.dd-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .dd-row-icon .material-icons {
        font-size: 20px;
    }

.dd-row-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dd-row-title {
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: -0.005em;
}

.dd-row-tag {
    font-size: 0.74rem;
    color: var(--text-3);
    line-height: 1.5;
    margin-top: 2px;
}

/* ── Mobile controls / drawer ──────────────────────────────────────────── */
.nav-mobile-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

.hamburger {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(167, 139, 250, 0.22);
    cursor: pointer;
}

.drawer-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
}

    .drawer-scrim.show {
        opacity: 1;
        visibility: visible;
    }

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 1400;
    background: var(--panel-bg);
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    border-left: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 20px 0 0 20px;
    transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    padding-top: 16px;
}

    .drawer.open {
        transform: translateX(0);
    }

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px 18px;
    border-bottom: 1px solid var(--hairline);
}

    .drawer-head img {
        height: 40px;
    }

.drawer-links {
    flex: 1;
    overflow: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .drawer-links > a, .drawer-acc-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 16px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.94rem;
        color: var(--text);
        background: transparent;
        border: none;
        cursor: pointer;
        font-family: inherit;
        min-height: 46px;
        text-align: left;
        width: 100%;
    }

        .drawer-links > a:hover, .drawer-acc-toggle:hover {
            color: var(--primary);
            background: rgba(167, 139, 250, 0.1);
        }

body.light .drawer-links > a:hover, body.light .drawer-acc-toggle:hover {
    background: rgba(0, 137, 123, 0.07);
}

.drawer-acc-toggle .material-icons {
    transition: transform 0.22s;
}

.drawer-acc-toggle.open .material-icons {
    transform: rotate(180deg);
}

.drawer-acc {
    display: none;
    padding: 6px 4px 4px;
}

    .drawer-acc.open {
        display: block;
    }

    .drawer-acc.drawer-acc-list {
        display: none;
        flex-direction: column;
        gap: 4px;
    }

        .drawer-acc.drawer-acc-list.open {
            display: flex;
        }

        .drawer-acc.drawer-acc-list a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 14px 11px 22px;
            border-radius: 10px;
            font-size: 0.86rem;
            font-weight: 600;
            color: var(--text-2);
            border-left: 2px solid var(--teal);
        }

            .drawer-acc.drawer-acc-list a .material-icons {
                font-size: 18px;
                color: var(--teal);
            }

            .drawer-acc.drawer-acc-list a:hover {
                background: rgba(0, 229, 204, 0.06);
                color: var(--text);
            }
    /* Products mobile accordion (grid of cards) */
    .drawer-acc:not(.drawer-acc-list) {
        padding: 6px 4px 4px;
    }

        .drawer-acc:not(.drawer-acc-list).open {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .drawer-acc:not(.drawer-acc-list) a {
            padding: 10px;
            border-radius: 10px;
            border: 1px solid var(--hairline);
            border-left: 3px solid var(--teal);
            font-size: 0.8rem;
            font-weight: 700;
            line-height: 1.35;
        }

            .drawer-acc:not(.drawer-acc-list) a em {
                display: block;
                font-style: normal;
                font-size: 0.6rem;
                color: #fbbf24;
                font-weight: 700;
                margin-top: 4px;
            }

                .drawer-acc:not(.drawer-acc-list) a em.g {
                    color: #22c55e;
                }

.drawer-foot {
    padding: 16px 22px 24px;
    border-top: 1px solid var(--hairline);
}

    .drawer-foot .btn-cta {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

/* ============================================================================
   PAGE / SECTIONS
   ========================================================================== */
.page {
    margin-top: var(--nav-h);
}

.section {
    padding: 60px 0;
}

    .section.tinted {
        background: rgba(0, 229, 204, 0.02);
        border-top: 1px solid rgba(0, 229, 204, 0.06);
        border-bottom: 1px solid rgba(0, 229, 204, 0.06);
    }

.section-head {
    margin-bottom: 36px;
    max-width: 720px;
}

    .section-head h2 {
        font-size: clamp(1.45rem, 1.4vw + 0.9rem, 1.85rem);
        margin-bottom: 12px;
    }

    .section-head p {
        color: var(--text-2);
        line-height: 1.75;
    }

.center {
    text-align: center;
}

    .center .section-head {
        margin-left: auto;
        margin-right: auto;
    }

/* ── Hero (home) ───────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 50px 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(0, 229, 204, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 204, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 8s linear infinite;
}

@keyframes gridScroll {
    from {
        background-position-y: 0;
    }

    to {
        background-position-y: 60px;
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

    .orb.a {
        top: -10%;
        left: -8%;
        width: 520px;
        height: 520px;
        background: radial-gradient(circle, rgba(0, 229, 204, 0.18) 0%, transparent 70%);
        filter: blur(40px);
        animation: pulse 5s ease-in-out infinite;
    }

    .orb.b {
        bottom: -15%;
        right: -5%;
        width: 460px;
        height: 460px;
        background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
        filter: blur(50px);
        animation: pulse 6s ease-in-out infinite 1.5s;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.8;
    }
}

.float-card {
    position: absolute;
    z-index: 1;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 204, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 130px;
    animation: floaty 3.5s ease-in-out infinite;
}

    .float-card .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--teal);
        box-shadow: 0 0 8px var(--teal);
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
    }

    .float-card span.lbl {
        font-size: 0.82rem;
        font-weight: 500;
        white-space: nowrap;
    }

@keyframes floaty {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 28px;
}

.hero h1 {
    margin: 14px 0 22px;
    max-width: 16ch;
    letter-spacing: -0.04em;
    line-height: 1.04;
    background-size: 200% 200%;
    animation: heroShimmer 8s ease-in-out infinite, heroFadeUp 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .sub {
    color: var(--text-2);
    font-size: clamp(1rem, 0.6vw + 0.85rem, 1.18rem);
    line-height: 1.72;
    max-width: 580px;
    margin-bottom: 40px;
    animation: heroFadeUp 0.85s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero chip — animated pill that visually couples to the h1 below */
.hero-content > .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 13px;
    border-radius: 100px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(0,229,204,0.14), rgba(124,58,237,0.14));
    border: 1px solid rgba(0,229,204,0.35);
    color: var(--teal);
    box-shadow: 0 0 28px rgba(0,229,204,0.18), inset 0 0 0 1px rgba(255,255,255,0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

    .hero-content > .chip::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        flex-shrink: 0;
        background: var(--teal);
        box-shadow: 0 0 8px var(--teal), 0 0 16px rgba(0,229,204,0.6);
        animation: heroDotPulse 2s ease-in-out infinite;
    }

body.light .hero-content > .chip {
    background: linear-gradient(135deg, rgba(0,137,123,0.1), rgba(124,58,237,0.08));
    border-color: rgba(0,137,123,0.3);
    color: var(--primary);
    box-shadow: 0 0 22px rgba(0,137,123,0.12);
}

    body.light .hero-content > .chip::before {
        background: var(--primary);
        box-shadow: 0 0 8px var(--primary), 0 0 16px rgba(0,137,123,0.45);
    }

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(1.4);
    }
}

@keyframes heroShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ── Page hero (inner pages) ───────────────────────────────────────────── */
.page-hero {
    position: relative;
    padding: 88px 0 72px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 229, 204, 0.08);
}

    .page-hero .hero-grid {
        background-image: linear-gradient(rgba(0, 229, 204, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 204, 0.03) 1px, transparent 1px);
        animation: none;
    }

    .page-hero .orb {
        top: -30%;
        right: -5%;
        left: auto;
        width: 380px;
        height: 380px;
        background: radial-gradient(circle, rgba(0, 229, 204, 0.12) 0%, transparent 70%);
        filter: blur(40px);
        animation: pulse 4s ease-in-out infinite;
    }

    .page-hero .inner {
        position: relative;
        z-index: 1;
    }

    .page-hero h1 {
        font-size: clamp(1.85rem, 2.6vw + 0.9rem, 2.6rem);
        margin-bottom: 14px;
    }

    .page-hero p {
        color: var(--text-2);
        max-width: 680px;
        line-height: 1.72;
        font-size: clamp(1rem, 0.4vw + 0.9rem, 1.08rem);
    }

/* ── Stats strip ───────────────────────────────────────────────────────── */
.stats-strip {
    border-top: 1px solid rgba(0, 229, 204, 0.08);
    border-bottom: 1px solid rgba(0, 229, 204, 0.08);
    background: rgba(0, 229, 204, 0.03);
    padding: 44px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat .v {
    font-size: clamp(1.7rem, 1.4vw + 1.2rem, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.stat .l {
    color: var(--text-2);
    font-size: 0.82rem;
    margin-top: 6px;
    line-height: 1.45;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-radius: var(--radius-lg);
    padding: 28px;
    background: rgba(0, 229, 204, 0.03);
    border: 1px solid rgba(0, 229, 204, 0.1);
}

    .stats-box.violet {
        background: rgba(124, 58, 237, 0.04);
        border-color: rgba(124, 58, 237, 0.15);
    }

    .stats-box.blue {
        background: rgba(37, 99, 235, 0.04);
        border-color: rgba(37, 99, 235, 0.15);
    }

    .stats-box.amber {
        background: rgba(245, 158, 11, 0.03);
        border-color: rgba(245, 158, 11, 0.12);
    }

    .stats-box.sky {
        background: rgba(0, 229, 204, 0.03);
        border-color: rgba(0, 229, 204, 0.1);
    }

    .stats-box .stat .v.g-teal {
        background: linear-gradient(135deg, #00e5cc, #7c3aed);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stats-box .stat .v.g-violet {
        background: linear-gradient(135deg, #7c3aed, #00e5cc);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stats-box .stat .v.g-blue {
        background: linear-gradient(135deg, #3b82f6, #00e5cc);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stats-box .stat .v.g-amber {
        background: linear-gradient(135deg, #f59e0b, #00e5cc);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stats-box .stat .v.g-sky {
        background: linear-gradient(135deg, #38bdf8, #7c3aed);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.stats-wrap {
    padding: 40px 0;
}

/* ── Feature cards ─────────────────────────────────────────────────────── */
.grid {
    display: grid;
    gap: 24px;
}

    .grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

.feature-card {
    height: 100%;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
}

    .feature-card.horizontal {
        flex-direction: row;
        align-items: center;
        gap: 18px;
        padding: 22px 24px;
    }

    .feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 229, 204, 0.22);
        box-shadow: 0 0 32px rgba(0, 229, 204, 0.1), 0 16px 48px rgba(0, 0, 0, 0.4);
    }

    .feature-card .icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        flex-shrink: 0;
        background: rgba(0, 229, 204, 0.08);
        border: 1px solid rgba(0, 229, 204, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--teal);
    }

        .feature-card .icon .material-icons {
            font-size: 26px;
        }

    .feature-card .ftitle {
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: -0.012em;
        margin-bottom: 8px;
        line-height: 1.32;
    }

    .feature-card .fdesc {
        color: var(--text-2);
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .feature-card .fbody {
        flex: 1;
        min-width: 0;
    }

/* simple bordered cards (about platforms / values / support / offices) */
.tcard {
    height: 100%;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-top: 3px solid var(--teal);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

    .tcard:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 229, 204, 0.28);
        box-shadow: 0 0 28px rgba(0, 229, 204, 0.1);
    }

    .tcard .tt {
        font-size: 1.06rem;
        font-weight: 700;
        color: var(--teal);
        margin-bottom: 12px;
        letter-spacing: -0.005em;
    }

    .tcard .td {
        color: var(--text-2);
        font-size: 0.92rem;
        line-height: 1.75;
    }

.vcard {
    text-align: center;
    padding: 32px 26px;
}

    .vcard .icon {
        margin: 0 auto 18px;
    }

/* glass panel (mission / commitment / contact info) */
.panel {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 204, 0.1);
    position: relative;
    overflow: hidden;
}

    .panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #00e5cc, #7c3aed);
    }

    .panel.grad {
        background: linear-gradient(135deg, rgba(0, 229, 204, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
        border: 1px solid rgba(0, 229, 204, 0.15);
    }

    .panel.center {
        text-align: center;
    }

    .panel p {
        color: var(--text-2);
        line-height: 1.85;
    }

        .panel p + p {
            margin-top: 16px;
        }

    .panel h3 {
        font-weight: 700;
        margin-bottom: 14px;
        font-size: 1.18rem;
        letter-spacing: -0.005em;
    }

/* contact rows */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .contact-row .icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: rgba(0, 229, 204, 0.08);
        border: 1px solid rgba(0, 229, 204, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--teal);
        flex-shrink: 0;
    }

        .contact-row .icon .material-icons {
            font-size: 22px;
        }

    .contact-row .c-label {
        color: var(--text-3);
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        display: block;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    .contact-row .c-value {
        font-weight: 600;
        line-height: 1.45;
        word-break: break-word;
    }

/* ── Product carousel (home) ──────────────────────────────────────────── */
.carousel {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
}

.carousel-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(48px) saturate(180%);
    backdrop-filter: blur(48px) saturate(180%);
    border: 1px solid rgba(0, 229, 204, 0.28);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.5);
}

    .carousel-card .accent-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        z-index: 3;
    }

.carousel-media {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 229, 204, 0.18);
}

    .carousel-media img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: contain;
        padding: 16px 14px;
    }

.carousel-body {
    padding: 28px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.carousel-tags {
    display: flex;
    align-items: center;
    gap: 12px;
}

.c-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

    .live-dot::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: inherit;
        animation: ping 2s ease-out infinite;
    }

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.carousel-acronym {
    font-size: clamp(2rem, 3.2vw + 1rem, 2.9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.carousel-name {
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 4px;
}

.carousel-tagline {
    color: var(--text-2);
    font-size: 0.84rem;
    line-height: 1.75;
    max-width: 340px;
}

.carousel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    width: fit-content;
    border: 1.5px solid;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    min-height: 38px;
}

    .carousel-link:hover {
        transform: translateY(-3px) scale(1.03);
    }

    .carousel-link .material-icons {
        font-size: 14px;
    }

.carousel-count {
    font-size: 0.7rem;
    color: var(--text-3);
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.carousel-slide {
    display: none;
    animation: slideIn 0.5s ease both;
}

    .carousel-slide.active {
        display: block;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.96);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    gap: 18px;
    flex-wrap: wrap;
}

.dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 0;
}

body.light .dot-btn {
    background: rgba(0, 0, 0, 0.15);
}

.dot-btn.active {
    width: 28px;
}

.progress {
    flex: 1;
    max-width: 240px;
    height: 3px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

body.light .progress {
    background: rgba(0, 0, 0, 0.08);
}

.progress .bar {
    height: 100%;
    width: 0;
    border-radius: 100px;
}

.arrows {
    display: flex;
    gap: 8px;
}

.arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.22s;
}

body.light .arrow {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.arrow:hover {
    transform: scale(1.1);
}

.arrow .material-icons {
    font-size: 16px;
}

/* ── CTA banner ────────────────────────────────────────────────────────── */
.cta-band {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 229, 204, 0.06);
    text-align: center;
}

    .cta-band .glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 229, 204, 0.1) 0%, transparent 65%);
        filter: blur(30px);
        pointer-events: none;
        animation: pulse 5s ease-in-out infinite;
    }

    .cta-band h2 {
        font-size: clamp(1.55rem, 2.2vw + 0.9rem, 2.1rem);
        margin-bottom: 18px;
        position: relative;
    }

    .cta-band p {
        color: var(--text-2);
        max-width: 520px;
        margin: 0 auto 40px;
        line-height: 1.75;
        position: relative;
        font-size: 1.02rem;
    }

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 60px;
    overflow: hidden;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 204, 0.12);
    text-align: center;
}

    .cta-card .glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 440px;
        height: 440px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 229, 204, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    .cta-card h2 {
        font-size: clamp(1.4rem, 1.6vw + 0.95rem, 1.85rem);
        margin-bottom: 16px;
        position: relative;
    }

    .cta-card p {
        color: var(--text-2);
        max-width: 540px;
        margin: 0 auto 32px;
        line-height: 1.75;
        position: relative;
    }

.cta-wrap {
    padding: 72px 0;
}

/* affiliate notice */
.affiliate-note {
    margin: 0 auto 12px;
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.22);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1200px;
    width: calc(100% - 56px);
}

    .affiliate-note .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fbbf24;
        box-shadow: 0 0 8px #fbbf24;
        flex-shrink: 0;
    }

    .affiliate-note p {
        color: var(--text-2);
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .affiliate-note strong {
        color: #fbbf24;
    }

/* ── Map / office toggle (contact) ─────────────────────────────────────── */
.map-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(0, 229, 204, 0.25);
    background: transparent;
    color: var(--text-2);
    font-family: inherit;
    min-height: 42px;
}

    .map-btn .material-icons {
        font-size: 18px;
    }

    .map-btn.active {
        background: linear-gradient(135deg, #00e5cc 0%, #00b3a0 100%);
        color: #04121a;
        border-color: transparent;
        box-shadow: 0 0 16px rgba(0, 229, 204, 0.35);
    }

.map-frame {
    width: 100%;
    height: 440px;
    border: 1px solid rgba(0, 229, 204, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    display: block;
    filter: brightness(0.85) saturate(0.7);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid rgba(0, 229, 204, 0.18);
    color: var(--text-2);
    padding: 88px 0 44px;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0, 229, 204, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 204, 0.02) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
    }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.8fr;
    gap: 56px;
    position: relative;
    z-index: 1;
}

.footer-brand img {
    height: 64px;
    margin-bottom: 22px;
    display: block;
}

.footer-brand p {
    line-height: 1.85;
    max-width: 320px;
    font-size: 0.92rem;
}

.footer-col h4 {
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.footer-col a, .footer-col span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 11px;
    color: var(--text-2);
    line-height: 1.55;
}

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

.footer-bar {
    border-top: 1px solid rgba(0, 229, 204, 0.15);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--text-2);
    position: relative;
    z-index: 1;
}

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

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

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   1199 — tighter nav padding
    960 — show mobile drawer, collapse 4/3/2-col grids
    768 — tablet polish
    640 — single-column footer, smaller hero
    480 — phone refinements
   ========================================================================== */
@media (max-width: 1199px) {
    .nav-inner {
        padding: 0 24px;
    }

    .container {
        padding: 0 24px;
    }

    .container-md {
        padding: 0 24px;
    }
}

@media (max-width: 960px) {
    :root {
        --nav-h: var(--nav-h-m);
    }

    .nav-links {
        display: none;
    }

    .nav-mobile-controls {
        display: flex;
    }

    .nav-inner {
        padding: 0 18px;
        min-height: var(--nav-h-m);
    }

    .nav-logo img {
        height: 48px;
    }

    .page {
        margin-top: var(--nav-h-m);
    }

    [id], .anchor-target {
        scroll-margin-top: calc(var(--nav-h-m) + 18px);
    }

    .section {
        padding: 50px 0;
    }

    .grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .stats-row, .stats-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .hero {
        min-height: 560px;
        padding: 50px 0;
    }

        .hero h1 {
            margin: 10px 0 18px;
        }

        .hero .sub {
            margin-bottom: 32px;
        }

    .float-card {
        display: none;
    }

    .cta-band {
        padding: 80px 0;
    }

    .cta-card {
        padding: 40px 28px;
    }

    .panel {
        padding: 32px;
    }

    .feature-card {
        padding: 24px;
    }

    .tcard {
        padding: 24px;
    }

    .vcard {
        padding: 28px 22px;
    }

    .page-hero {
        padding: 72px 0 56px;
    }

    .stats-strip {
        padding: 36px 0;
    }

    .footer {
        padding: 64px 0 36px;
    }

    .footer-bar {
        margin-top: 44px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .container-md {
        padding: 0 20px;
    }

    .affiliate-note {
        width: calc(100% - 40px);
        padding: 12px 18px;
    }

    .feature-card {
        padding: 22px;
        gap: 16px;
    }

        .feature-card.horizontal {
            gap: 14px;
            padding: 18px 20px;
        }

        .feature-card .icon {
            width: 46px;
            height: 46px;
        }

            .feature-card .icon .material-icons {
                font-size: 22px;
            }

    .panel {
        padding: 28px;
    }

    .grid {
        gap: 18px;
    }

    .stats-box {
        padding: 22px;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .nav-links .btn-cta {
        display: none;
    }
    /* in case nav-links visible on weird widths */
}

@media (max-width: 640px) {
    .grid.cols-3, .grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stats-row, .stats-box {
        gap: 14px;
    }

    .hero {
        min-height: 0;
        padding: 64px 0 72px;
    }

        .hero h1 {
            max-width: none;
        }

        .hero .sub {
            margin-bottom: 28px;
        }

    .hero-cta {
        width: 100%;
    }

        .hero-cta .btn {
            flex: 1;
            min-width: 0;
        }

    .cta-actions {
        width: 100%;
    }

        .cta-actions .btn {
            flex: 1;
            min-width: 140px;
        }

    .page-hero {
        padding: 56px 0 44px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        margin-bottom: 24px;
    }

    .panel {
        padding: 24px;
    }

    .cta-card {
        padding: 32px 22px;
    }

    .cta-band {
        padding: 64px 0;
    }

    .cta-wrap {
        padding: 48px 0;
    }

    .map-frame {
        height: 320px;
    }

    .footer {
        padding: 56px 0 32px;
    }

    .footer-brand img {
        height: 52px;
    }

    .nav-inner {
        padding: 0 14px;
        gap: 10px;
    }

    .nav-logo img {
        height: 42px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
        margin-left: 0;
    }

    .drawer {
        width: min(320px, 92vw);
    }

    .stats-wrap {
        padding: 28px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .container-md {
        padding: 0 16px;
    }

    .affiliate-note {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .stats-row, .stats-box {
        grid-template-columns: 1fr 1fr;
        padding: 18px;
        gap: 12px;
    }

    .stat .l {
        font-size: 0.76rem;
    }

    .feature-card {
        padding: 20px;
    }

        .feature-card.horizontal {
            flex-direction: row;
        }

    .panel {
        padding: 22px;
    }

        .panel h3 {
            font-size: 1.08rem;
        }

        .panel p {
            font-size: 0.95rem;
            line-height: 1.78;
        }

    .hero {
        padding: 48px 0 64px;
    }

        .hero h1 {
            margin: 8px 0 14px;
        }

        .hero .sub {
            font-size: 0.98rem;
        }

    .page-hero {
        padding: 48px 0 36px;
    }

        .page-hero p {
            font-size: 0.96rem;
        }

    .section {
        padding: 44px 0;
    }

    .section-head h2 {
        font-size: 1.4rem;
    }

    .cta-band {
        padding: 52px 0;
    }

    .cta-card {
        padding: 28px 18px;
    }

    .footer-col a, .footer-col span {
        font-size: 0.92rem;
    }

    .map-frame {
        height: 280px;
    }

    .carousel-body {
        padding: 22px 20px 24px;
    }

    .carousel-controls {
        gap: 12px;
    }

    .progress {
        display: none;
    }

    .map-btn {
        flex: 1;
        justify-content: center;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.9rem;
    }
}
