:root {
    --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
    --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --heading-font: var(--font-display);
    --body-font: var(--font-body);
    --edge: rgba(var(--primary-strong-rgb), 0.16);
    --edge-soft: rgba(var(--text-rgb), 0.08);
    --surface: rgba(var(--bg-2-rgb), 0.6);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --radius-card: 18px;
}

:root[data-theme="light"] {
    --edge: rgba(15, 29, 38, 0.12);
    --edge-soft: rgba(15, 29, 38, 0.07);
    --surface: #ffffff;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(1100px 560px at 85% -10%, rgba(var(--primary-rgb), 0.12), transparent 60%),
        radial-gradient(900px 520px at -10% 20%, rgba(var(--secondary-rgb), 0.1), transparent 60%),
        var(--bg);
    background-attachment: scroll;
}

h1, h2, h3, h4,
.brand strong,
.footer-brand-copy span {
    font-family: var(--font-display);
    font-optical-sizing: auto;
}

::selection {
    background: rgba(var(--primary-rgb), 0.28);
}

/* Header */

.topbar {
    top: 0;
    padding-top: 12px;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

.topbar .nav-wrap {
    position: relative;
    pointer-events: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 62px;
    padding: 0 10px 0 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.topbar.is-scrolled .nav-wrap,
.topbar.is-menu-open .nav-wrap {
    border-color: var(--edge);
    background: rgba(var(--bg-rgb), 0.8);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.5);
}

.brand {
    justify-self: start;
    gap: 0.65rem;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: none;
}

.brand strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand small {
    display: none;
}

.topbar .main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    width: auto;
    padding: 4px;
    border: 1px solid var(--edge);
    border-radius: 13px;
    background: rgba(var(--bg-2-rgb), 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.topbar .main-nav > a,
.topbar .nav-drop-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 36px;
    margin: 0;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 9px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: none;
    white-space: nowrap;
    color: rgba(var(--text-rgb), 0.75);
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease;
}

.topbar .main-nav > a:hover,
.topbar .nav-drop-trigger:hover,
.topbar .nav-dropdown:hover .nav-drop-trigger,
.topbar .nav-dropdown:focus-within .nav-drop-trigger {
    color: var(--text);
    background: rgba(var(--text-rgb), 0.06);
}

.topbar .main-nav > a.is-current,
.topbar .nav-dropdown.is-current .nav-drop-trigger {
    color: var(--text);
    background: rgba(var(--primary-rgb), 0.16);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.28);
    text-decoration: none;
}

.topbar .main-nav > a::after,
.topbar .main-nav > a::before,
.topbar .nav-drop-trigger::after {
    display: none;
}

.nav-chevron {
    display: inline-block;
    font-size: 0.65em;
    opacity: 0.55;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
}

.topbar .nav-dropdown-menu {
    min-width: 210px;
    padding: 6px;
    border: 1px solid var(--edge);
    border-radius: 14px;
    background: rgba(var(--bg-rgb), 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55);
}

.topbar .nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 9px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(var(--text-rgb), 0.8);
}

.topbar .nav-dropdown-menu a:hover {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--text);
}

.topbar .topbar-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar .hp-theme-toggle,
.topbar .st-cart-link,
.topbar .topbar-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 38px;
    min-width: 38px;
    padding: 0 0.6rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(var(--text-rgb), 0.75);
    transition: background 0.2s ease, color 0.2s ease;
}

.topbar .hp-theme-toggle:hover,
.topbar .st-cart-link:hover,
.topbar .topbar-account:hover {
    background: rgba(var(--text-rgb), 0.07);
    color: var(--text);
}

.topbar .topbar-account {
    margin-left: 4px;
    padding: 0 0.85rem;
    border: 1px solid var(--edge);
}

.nav-toggle {
    order: 9;
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--edge);
    border-radius: 11px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.6px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}

.nav-toggle span:first-child {
    top: 15px;
}

.nav-toggle span:last-child {
    top: 22px;
}

.topbar.is-menu-open .nav-toggle span:first-child {
    top: 18.5px;
    transform: rotate(45deg);
}

.topbar.is-menu-open .nav-toggle span:last-child {
    top: 18.5px;
    transform: rotate(-45deg);
}

@media (max-width: 1080px) {
    .topbar .main-nav > a,
    .topbar .nav-drop-trigger {
        padding: 0 0.6rem;
        font-size: 0.86rem;
    }

    .topbar .topbar-account-text {
        display: none;
    }
}

@media (max-width: 900px) {
    .topbar {
        position: sticky;
        top: 0;
        padding-top: 8px;
    }

    .topbar .nav-wrap {
        grid-template-columns: 1fr auto;
        min-height: 58px;
        border-color: var(--edge);
        background: rgba(var(--bg-rgb), 0.82);
        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
    }

    .nav-toggle {
        display: inline-block;
    }

    .topbar .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px;
        border-radius: 18px;
        background: rgba(var(--bg-rgb), 0.97);
        box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55);
    }

    .topbar.is-menu-open .main-nav {
        display: flex;
    }

    .topbar .main-nav > a,
    .topbar .nav-drop-trigger {
        justify-content: space-between;
        width: 100%;
        height: 46px;
        padding: 0 0.9rem;
        font-size: 1rem;
    }

    .topbar .nav-dropdown {
        display: block;
    }

    .topbar .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin: 2px 0 4px;
        padding: 0 0 0 0.9rem;
        border: 0;
        border-left: 1px solid var(--edge);
        border-radius: 0;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .topbar .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }

    .topbar .topbar-account {
        border: 0;
        padding: 0 0.6rem;
    }
}

/* Labels */

.eyebrow {
    gap: 0.6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--primary-strong);
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.16);
}

/* Buttons */

.primary-btn,
.secondary-btn {
    gap: 0.55rem;
    min-height: 48px;
    padding: 0 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
    transition: transform 0.25s var(--ease-out), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    background: var(--primary);
    color: #04222a;
    box-shadow: none;
}

.primary-btn::after {
    content: "";
    width: 15px;
    height: 15px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.25s var(--ease-out);
}

.primary-btn:hover {
    background: var(--primary-strong);
    color: #ffffff;
    transform: none;
}

:root[data-theme="dark"] .primary-btn:hover {
    color: #04222a;
}

.primary-btn:hover::after {
    transform: translateX(3px);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--edge);
    color: var(--text);
}

.secondary-btn:hover {
    border-color: var(--text);
    transform: none;
}

/* Section headings */

.section-header h2,
.page-header h1,
.feature-panel h2,
.cta-box h2 {
    letter-spacing: -0.035em;
    font-weight: 700;
}

.section-header {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 2.6rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.04;
    max-width: 820px;
}

.section-header p {
    color: var(--muted);
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Hero */

.pb-type-hero {
    padding-top: 7.5rem;
}

.pb-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
}

.pb-hero .pb-hero-copy h1 {
    font-size: clamp(2.9rem, 6.2vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    font-weight: 800;
    max-width: 640px;
    margin: 1.1rem 0 1.3rem;
}

.pb-hero .pb-hero-copy p {
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 540px;
}

.pb-hero .cta-row {
    margin-bottom: 2.6rem;
}

.pb-hero .stats-grid {
    display: flex;
    gap: 0;
    max-width: 560px;
    border-top: 1px solid var(--edge);
    padding-top: 1.4rem;
}

.pb-hero .stat-card {
    flex: 1;
    padding: 0 1.4rem 0 0;
    margin-right: 1.4rem;
    border: 0;
    border-right: 1px solid var(--edge);
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none !important;
}

.pb-hero .stat-card:last-child {
    border-right: 0;
    margin-right: 0;
}

.pb-hero .stat-card strong {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.pb-hero .stat-card span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-showcase {
    position: relative;
    display: block;
    min-height: 470px;
    color: inherit;
    text-decoration: none;
}

.hero-showcase .hs-frame {
    position: absolute;
    overflow: hidden;
    border: 1px solid var(--edge);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(var(--text-rgb), 0.02);
    transition: transform 0.6s var(--ease-out);
}

.hero-showcase .hs-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-bottom: 1px solid var(--edge-soft);
    background: rgba(var(--bg-rgb), 0.9);
}

.hero-showcase .hs-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(var(--text-rgb), 0.18);
}

.hero-showcase .hs-bar span {
    margin-left: 10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(var(--text-rgb), 0.06);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--muted);
}

.hero-showcase img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-showcase .hs-back {
    top: 0;
    right: 0;
    width: 78%;
    transform: rotate(2.5deg);
}

.hero-showcase .hs-front {
    left: 0;
    bottom: 0;
    width: 74%;
    transform: rotate(-2deg);
}

.hero-showcase:hover .hs-back {
    transform: rotate(3.5deg) translate(10px, -8px);
}

.hero-showcase:hover .hs-front {
    transform: rotate(-3deg) translate(-8px, 6px);
}

.hero-showcase .hs-tag {
    position: absolute;
    z-index: 3;
    right: 4%;
    bottom: 12%;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.95rem 0.6rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--edge);
    background: rgba(var(--bg-rgb), 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.5);
}

.hero-showcase .hs-tag b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #04222a;
    font-size: 0.8rem;
}

/* Cards */

.pb-card-grid {
    gap: 1rem;
}

.service-card,
.showcase-card,
.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.6rem 1.7rem;
    border: 1px solid var(--edge);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: none;
    transition: border-color 0.3s ease, transform 0.4s var(--ease-out), background 0.3s ease;
}

.service-card:hover,
.showcase-card:hover,
.step-card:hover {
    border-color: rgba(var(--primary-rgb), 0.55);
    transform: translateY(-3px);
}

.service-card h3,
.showcase-card h3,
.step-card h3 {
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.service-card p,
.showcase-card p,
.step-card p {
    font-size: 0.97rem;
    line-height: 1.7;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1.2rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.service-card a::after {
    content: "→";
    transition: transform 0.25s var(--ease-out);
}

.service-card:hover a::after {
    transform: translateX(4px);
}

.service-card ul {
    list-style: none;
    padding: 1rem 0 0;
    margin: 1rem 0 0;
    border-top: 1px dashed var(--edge);
    display: grid;
    gap: 0.45rem;
}

.service-card li {
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.5;
    font-size: 0.93rem;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--primary);
}

.icon-badge {
    min-width: 46px;
    height: 46px;
    padding: 0 0.8rem;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.step-card > span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    border-radius: 999px;
}

/* Feature panel */

.feature-panel {
    padding: clamp(1.6rem, 3vw, 2.6rem);
    border: 1px solid var(--edge);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: none;
}

.feature-list {
    gap: 0 1.6rem;
}

.feature-list div {
    padding: 1.2rem 0 0.4rem;
    border-top: 1px solid var(--edge);
}

.feature-list strong {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 650;
}

/* Call to action */

.cta-box {
    position: relative;
    overflow: hidden;
    gap: 2rem;
    padding: clamp(2.2rem, 5vw, 4rem);
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(700px 320px at 100% 0%, rgba(var(--primary-rgb), 0.35), transparent 60%),
        radial-gradient(500px 300px at 0% 100%, rgba(var(--secondary-rgb), 0.3), transparent 60%),
        #07131c;
    color: #e6f9ff;
    box-shadow: none;
}

.cta-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 25% 100%;
    pointer-events: none;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    max-width: 760px;
}

.cta-box .eyebrow {
    color: #7ef9d6;
}

.cta-box .eyebrow::before {
    background: #7ef9d6;
    box-shadow: 0 0 0 4px rgba(126, 249, 214, 0.16);
}

.cta-box .primary-btn {
    min-height: 54px;
    padding: 0 1.6rem;
    background: #ffffff;
    color: #07131c;
    flex-shrink: 0;
}

.cta-box .primary-btn:hover {
    background: var(--primary);
    color: #04222a;
}

/* Inner pages */

.page-header {
    padding-bottom: 2.4rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--edge);
}

.pb-type-page_header {
    padding-top: 7.5rem;
}

.page-header h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 800;
    max-width: 900px;
}

.page-header p {
    font-size: 1.12rem;
    max-width: 640px;
}

/* Footer */

.site-footer {
    position: relative;
    margin-top: 3rem;
    padding: clamp(2.6rem, 5vw, 3.6rem) 0 1.4rem;
    border-top: 1px solid var(--edge);
    background:
        radial-gradient(700px 260px at 90% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%),
        radial-gradient(600px 240px at 5% 100%, rgba(var(--secondary-rgb), 0.08), transparent 70%),
        rgba(var(--bg-2-rgb), 0.45);
    overflow: hidden;
}

.site-footer::before {
    display: none;
}

.site-footer .footer-inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0;
}

.footer-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.4rem clamp(2.5rem, 6vw, 5rem);
}

.footer-lead {
    display: contents;
}

.footer-brand-block {
    order: 1;
    flex: 1 1 300px;
    max-width: 380px;
}

.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    color: var(--text);
}

.footer-brand-row .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.footer-brand-copy span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-brand-copy small {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-brand-block p {
    margin: 0;
    max-width: 420px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--edge);
    border-radius: 11px;
    color: var(--text);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary-strong);
}

.footer-talk {
    order: 3;
    display: grid;
    justify-items: start;
    gap: 0.45rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--edge);
    border-radius: 18px;
    background: rgba(var(--bg-rgb), 0.5);
    color: var(--text);
    transition: border-color 0.25s ease;
}

.footer-talk:hover {
    border-color: rgba(var(--primary-rgb), 0.6);
}

.footer-talk-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
}

.footer-talk-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.045em;
    background: linear-gradient(90deg, var(--text), var(--text) 50%, var(--primary-strong) 50%, var(--primary));
    background-size: 200% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.6s var(--ease-out);
}

.footer-talk-cta svg {
    width: 0.7em;
    height: 0.7em;
    color: var(--primary);
    transition: transform 0.4s var(--ease-out);
}

.footer-talk:hover .footer-talk-cta {
    background-position: -100% 0;
}

.footer-talk:hover .footer-talk-cta svg {
    transform: translate(4px, -4px);
}

.site-footer .footer-top,
.site-footer .footer-top.footer-top-with-contact {
    order: 2;
    flex: 2 1 320px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    grid-template-columns: none;
    gap: 2rem clamp(3rem, 8vw, 6.5rem);
    margin: 0;
    padding: 0;
    border: 0;
}

.footer-column {
    min-width: 0;
}

.footer-column h2 {
    margin: 0 0 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-column ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    padding-left: 0;
    font-size: 0.97rem;
}

.footer-column li::before {
    display: none;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text);
    opacity: 0.85;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.25s var(--ease-out);
}

.footer-column a:hover {
    color: var(--primary-strong);
    opacity: 1;
    transform: translateX(3px);
}

.footer-contact-label {
    display: block;
    margin-bottom: 0.15rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-footer .footer-meta {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin: clamp(2rem, 4vw, 2.8rem) 0 0;
    padding: 1.2rem 0 0;
    border: 0;
    border-top: 1px solid var(--edge);
    font-family: var(--font-body);
    font-size: 0.86rem;
    letter-spacing: 0;
    color: var(--muted);
}

.site-footer .footer-meta p {
    margin: 0;
    font-size: inherit;
    color: inherit;
}

.footer-status {
    order: -1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--text);
}

.footer-status i {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28c840;
}

.footer-status i::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(40, 200, 64, 0.3);
    animation: hp-pulse 2.2s ease-out infinite;
}

@keyframes hp-pulse {
    from {
        transform: scale(0.6);
        opacity: 1;
    }
    to {
        transform: scale(1.8);
        opacity: 0;
    }
}

.footer-backtop {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

.footer-backtop svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s var(--ease-out);
}

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

.footer-backtop:hover svg {
    transform: translateY(-3px);
}

@media (max-width: 760px) {
    .footer-talk {
        width: 100%;
    }

    .site-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-column {
        justify-self: start;
        text-align: left;
    }

    .footer-column ul {
        width: auto;
        margin: 0;
    }
}

@media (max-width: 560px) {
    .site-footer .footer-meta {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .footer-status,
    .footer-backtop {
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-status i::after {
        animation: none;
    }
}

/* Contact + forms */

.contact-shell {
    border: 1px solid var(--edge);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: none;
}

.contact-shell::before,
.contact-shell::after {
    opacity: 0.25;
}

.form-field {
    border-radius: 12px;
}

/* Live chat launcher */

.lc-launcher,
.live-chat-launcher {
    border-radius: 18px;
    box-shadow: 0 18px 40px -18px rgba(var(--primary-rgb), 0.6);
}

/* Motion */

@media (prefers-reduced-motion: reduce) {
    .hero-showcase .hs-frame,
    .service-card,
    .showcase-card,
    .step-card {
        transition: none;
    }
}

/* Responsive */

@media (max-width: 900px) {
    .pb-hero {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        min-height: 0;
        aspect-ratio: 16 / 12;
        margin-top: 1rem;
    }

    .pb-type-hero,
    .pb-type-page_header {
        padding-top: 4.5rem;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .pb-hero .stats-grid {
        flex-wrap: nowrap;
    }

    .pb-hero .stat-card {
        padding-right: 0.9rem;
        margin-right: 0.9rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .pb-hero .pb-hero-copy h1 {
        font-size: clamp(2.5rem, 11vw, 3.2rem);
    }

    .hero-showcase {
        aspect-ratio: 16 / 13;
    }

    .hero-showcase .hs-tag {
        font-size: 0.74rem;
        right: 2%;
    }

}

/* Our Work */

.work-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 2rem;
}

.work-index a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem 0.55rem 0.6rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.work-index a b {
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.14);
    color: var(--primary-strong);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
}

.work-index a:hover {
    border-color: var(--primary);
}

.work-case {
    scroll-margin-top: 110px;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    margin-bottom: 2.4rem;
    border: 1px solid var(--edge);
    border-radius: 28px;
    background: var(--surface);
}

.work-case-head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.4rem 0.4rem 1.6rem;
}

.work-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary-strong);
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.12);
}

.work-case-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1;
}

.work-sub {
    margin: 0.45rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.work-case-head .primary-btn {
    margin-left: auto;
    flex-shrink: 0;
}

.work-case-body {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(1.2rem, 3vw, 2.4rem);
    align-items: start;
}

.work-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--edge);
    border-radius: 18px;
    background: rgba(var(--bg-rgb), 0.9);
}

.work-toolbar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem 0.6rem 0.55rem 0.9rem;
    border-bottom: 1px solid var(--edge-soft);
}

.work-dots {
    display: flex;
    gap: 6px;
}

.work-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(var(--text-rgb), 0.16);
}

.work-url {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(var(--text-rgb), 0.05);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
}

.work-tabs {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(var(--text-rgb), 0.06);
}

.work-tabs button {
    padding: 0.35rem 0.8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: 600 0.78rem var(--font-body);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.work-tabs button.is-active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.work-pane {
    position: relative;
    height: clamp(340px, 46vw, 560px);
}

.work-pane[hidden] {
    display: none !important;
}

.work-scroll {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.work-scroll img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(0);
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: transform;
}

.work-hint {
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(7, 19, 28, 0.82);
    color: #e6f9ff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.work-pane:hover .work-hint {
    opacity: 0;
}

.work-pane.is-mobile {
    display: grid;
    place-items: center;
    background: radial-gradient(400px 260px at 50% 30%, rgba(var(--primary-rgb), 0.16), transparent 70%);
}

.work-phone {
    position: relative;
    width: min(250px, 62%);
    height: 92%;
    border-radius: 38px;
    background: #0b1219;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.work-phone::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 50%;
    width: 70px;
    height: 20px;
    border-radius: 999px;
    background: #0b1219;
    transform: translateX(-50%);
}

.work-phone .work-scroll {
    inset: 9px;
    border-radius: 30px;
    background: #fff;
}

.work-live {
    overflow: hidden;
    background: #fff;
}

.work-pane.work-live iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1440px;
    max-width: none;
    aspect-ratio: auto;
    border: 0;
    transform-origin: 0 0;
}

.work-live-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #55707f;
    background: #f4f7fa;
}

.work-info {
    padding: 0.4rem 0.2rem;
}

.work-lede {
    margin: 0 0 1.4rem;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--text);
}

.work-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 1.6rem;
    border-top: 1px solid var(--edge);
}

.work-facts div {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--edge);
}

.work-facts div:nth-child(odd) {
    padding-right: 1rem;
}

.work-facts dt {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.work-facts dd {
    margin: 0.3rem 0 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.work-info h3 {
    margin: 0 0 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-strong);
}

.work-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.work-list li {
    position: relative;
    padding-left: 1.3rem;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.95rem;
}

.work-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
}

.work-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.work-stack span {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}

@media (max-width: 980px) {
    .work-case-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .work-case {
        padding: 0.9rem;
        border-radius: 22px;
    }

    .work-case-head {
        flex-wrap: wrap;
        padding-bottom: 1.1rem;
    }

    .work-case-head .primary-btn {
        width: 100%;
        margin-left: 0;
    }

    .work-toolbar {
        flex-wrap: wrap;
        padding: 0.55rem;
    }

    .work-dots {
        display: none;
    }

    .work-url {
        order: 3;
        flex-basis: 100%;
    }

    .work-tabs {
        width: 100%;
    }

    .work-tabs button {
        flex: 1;
    }

    .work-pane {
        height: 460px;
    }

    .work-facts {
        grid-template-columns: 1fr;
    }

    .work-facts div:nth-child(odd) {
        padding-right: 0;
    }
}

/* Code accents */

.eyebrow {
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.eyebrow::before,
.cta-box .eyebrow::before {
    content: "//";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.85;
}

.cta-box .eyebrow::before {
    color: #7ef9d6;
}

.pb-hero .eyebrow {
    padding: 0.4rem 0.8rem 0.4rem 0.7rem;
    border: 1px solid var(--edge);
    border-radius: 10px;
    background: rgba(var(--bg-rgb), 0.6);
    color: var(--text);
}

.pb-hero .eyebrow::before {
    content: "~/hollow-peak $";
    color: var(--primary-strong);
    opacity: 1;
}

.card-path {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 1.1rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: rgba(var(--primary-rgb), 0.1);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--primary-strong);
}

.work-sub::before {
    content: "// ";
    color: var(--primary-strong);
}

/* Hero terminal */

.hero-showcase .hs-term {
    position: absolute;
    z-index: 4;
    right: -2%;
    bottom: 4%;
    width: min(330px, 62%);
    overflow: hidden;
    border: 1px solid rgba(126, 249, 214, 0.18);
    border-radius: 14px;
    background: #061018;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    font-family: var(--font-mono);
    color: #c9e8f2;
    transform: rotate(1.5deg);
    transition: transform 0.6s var(--ease-out);
}

.hero-showcase:hover .hs-term {
    transform: rotate(0deg) translateY(-6px);
}

.hs-term-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.hs-term-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.hs-term-bar i:first-child {
    background: #ff5f57;
}

.hs-term-bar i:nth-child(2) {
    background: #febc2e;
}

.hs-term-bar i:nth-child(3) {
    background: #28c840;
}

.hs-term-bar span {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.62rem;
    color: rgba(201, 232, 242, 0.5);
}

.hs-term-body {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 0.95rem 1rem;
    font-size: 0.72rem;
    line-height: 1.4;
}

.hs-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    animation: hp-line 0.01s forwards;
}

.hs-line b {
    font-weight: 500;
    color: #7ef9d6;
}

.hs-line em {
    font-style: normal;
    color: #3dd6d0;
}

.hs-line u {
    text-decoration: none;
    color: #28c840;
}

.hs-line s {
    text-decoration: none;
    color: rgba(201, 232, 242, 0.45);
}

.hs-line i {
    font-style: normal;
    color: #67ebff;
}

.hs-line.l1 {
    width: 0;
    opacity: 1;
    animation: hp-type 1.4s steps(36, end) 0.6s forwards;
}

.hs-line.l2 {
    animation-delay: 2.3s;
}

.hs-line.l3 {
    animation-delay: 2.9s;
}

.hs-line.l4 {
    animation-delay: 3.4s;
}

@keyframes hp-type {
    to {
        width: 100%;
    }
}

@keyframes hp-line {
    to {
        opacity: 1;
    }
}

.hero-showcase .hs-tag {
    right: auto;
    left: 3%;
    top: 4%;
    bottom: auto;
}

@media (prefers-reduced-motion: reduce) {
    .hs-line,
    .hs-line.l1 {
        width: auto;
        opacity: 1;
        animation: none;
    }

}

@media (max-width: 560px) {
    .hero-showcase .hs-term {
        width: 70%;
        right: 0;
        bottom: -6%;
        font-size: 0.9em;
    }

    .hs-term-body {
        font-size: 0.64rem;
        padding: 0.7rem;
    }

    .pb-hero .eyebrow::before {
        content: "$";
    }
}

/* Footer refinement */

.footer-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    grid-template-areas:
        "talk talk"
        "brand nav";
    gap: 0 clamp(2rem, 6vw, 5rem);
}

.footer-talk {
    grid-area: talk;
    order: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    padding: 0 0 clamp(2rem, 4vw, 2.8rem);
    border: 0;
    border-bottom: 1px solid var(--edge);
    border-radius: 0;
    background: none;
}

.footer-talk-label {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text);
    max-width: 640px;
}

.footer-talk-cta {
    flex-shrink: 0;
    gap: 0.5rem;
    height: 52px;
    padding: 0 1.4rem;
    border-radius: 999px;
    background: var(--primary);
    color: #04222a;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: filter 0.2s ease;
}

.footer-talk-cta svg {
    width: 16px;
    height: 16px;
    color: currentColor;
}

.footer-talk:hover .footer-talk-cta {
    filter: brightness(1.08);
}

.footer-brand-block {
    grid-area: brand;
    max-width: none;
}

.site-footer .footer-top,
.site-footer .footer-top.footer-top-with-contact {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    justify-content: stretch;
    gap: 2rem;
}

@media (max-width: 860px) {
    .footer-panel {
        grid-template-columns: 1fr;
        grid-template-areas:
            "talk"
            "brand"
            "nav";
        row-gap: 2.2rem;
    }

    .footer-talk {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0;
    }
}

/* IDE cards */

.site-footer .footer-meta {
    grid-template-columns: 1fr auto;
    text-align: left;
}

.service-card,
.showcase-card,
.step-card {
    padding: 1.4rem 1.5rem 1.6rem 3.6rem;
    overflow: hidden;
    background: rgba(var(--bg-rgb), 0.55);
}

:root[data-theme="light"] .service-card,
:root[data-theme="light"] .showcase-card,
:root[data-theme="light"] .step-card {
    background: #ffffff;
}

.service-card::after,
.showcase-card::after,
.step-card::after {
    content: "1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9\A 10\A 11\A 12\A 13\A 14";
    position: absolute;
    top: 42px;
    left: 0;
    bottom: 0;
    width: 2.6rem;
    padding: 1.45rem 0.7rem 0 0;
    border-right: 1px solid var(--edge-soft);
    background: rgba(var(--text-rgb), 0.02);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    line-height: 1.95rem;
    text-align: right;
    white-space: pre;
    color: var(--muted);
    opacity: 0.45;
    pointer-events: none;
}

.card-path {
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    width: auto;
    height: 42px;
    margin: -1.4rem -1.5rem 1.4rem -3.6rem;
    padding: 0 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--edge-soft);
    background: rgba(var(--text-rgb), 0.035);
    font-size: 0.74rem;
    color: var(--muted);
}

.card-path i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(var(--text-rgb), 0.16);
}

.card-path b {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 42px;
    margin-left: 0.8rem;
    padding: 0 0.9rem;
    border-left: 1px solid var(--edge-soft);
    border-right: 1px solid var(--edge-soft);
    background: rgba(var(--bg-rgb), 0.9);
    font-weight: 500;
    color: var(--text);
}

:root[data-theme="light"] .card-path b {
    background: #ffffff;
}

.card-path b::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
}

.card-path b::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--primary);
}

.service-card h3,
.showcase-card h3,
.step-card h3 {
    font-family: var(--font-mono);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.95rem;
    margin: 0 0 0.3rem;
}

.service-card h3::before,
.showcase-card h3::before,
.step-card h3::before {
    content: "## ";
    color: var(--primary-strong);
    opacity: 0.7;
}

.service-card p,
.showcase-card p,
.step-card p {
    line-height: 1.95rem;
    margin: 0;
}

.service-card a {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    font-weight: 500;
    padding-top: 1rem;
}

.service-card a::before {
    content: "[";
    color: var(--muted);
}

.service-card a::after {
    content: "]( → )";
    color: var(--muted);
}

.service-card:hover a::after {
    transform: none;
}

.step-card > span {
    display: none;
}

/* Page header with workspace */

.page-header.has-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.page-header.has-workspace h1 {
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}

.ws-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.6rem;
}

.ws-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    background: rgba(var(--bg-2-rgb), 0.5);
    font-size: 0.86rem;
    font-weight: 600;
}

.ws-chip svg {
    width: 17px;
    height: 17px;
    color: var(--primary-strong);
}

.ws-switch-tabs {
    display: inline-flex;
    gap: 3px;
    margin-bottom: 0.9rem;
    padding: 4px;
    border: 1px solid var(--edge);
    border-radius: 13px;
    background: rgba(var(--bg-2-rgb), 0.55);
}

.ws-switch-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 36px;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(var(--text-rgb), 0.7);
    font: 600 0.88rem var(--font-body);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.ws-switch-tabs button svg {
    width: 16px;
    height: 16px;
}

.ws-switch-tabs button.is-active {
    background: rgba(var(--primary-rgb), 0.16);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.28);
    color: var(--text);
}

.ws-switch-stage {
    display: grid;
}

.ws-pane {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.99);
    transition: opacity 0.5s ease, transform 0.6s var(--ease-out), visibility 0.5s;
}

.ws-pane.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Workspace shell */

.ws {
    --ws-bg: #0a141c;
    --ws-panel: #0d1a24;
    --ws-line: rgba(126, 220, 235, 0.12);
    --ws-text: #cfe9f2;
    --ws-dim: rgba(207, 233, 242, 0.5);
    --ws-accent: #3dd6d0;
    --ws-accent-2: #7ef9d6;
    --ws-accent-3: #67ebff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16 / 10.5;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    border-radius: 16px;
    background: var(--ws-bg);
    color: var(--ws-text);
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.5;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
    user-select: none;
}

.ws-top {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-bottom: 1px solid var(--ws-line);
    background: #081118;
}

.ws-dots {
    display: flex;
    gap: 6px;
}

.ws-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.ws-title {
    flex: 1;
    margin-right: 40px;
    text-align: center;
    color: var(--ws-dim);
    font-size: 10.5px;
}

.ws-status {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 24px;
    padding: 0 12px;
    font-size: 10px;
}

.ws-status .r {
    margin-left: auto;
}

/* VS Code */

.vs-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 38px 132px minmax(0, 1fr);
}

.vs-activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    border-right: 1px solid var(--ws-line);
    background: #081118;
}

.vs-activity span {
    position: relative;
    width: 18px;
    height: 18px;
    color: var(--ws-dim);
}

.vs-activity span.on {
    color: var(--ws-text);
}

.vs-activity span.on::before {
    content: "";
    position: absolute;
    left: -10px;
    top: -2px;
    bottom: -2px;
    width: 2px;
    background: var(--ws-accent);
}

.vs-activity svg {
    width: 100%;
    height: 100%;
}

.vs-explorer {
    padding: 10px 0;
    border-right: 1px solid var(--ws-line);
    background: var(--ws-panel);
}

.vs-explorer p,
.un-panel p,
.bl-side p {
    margin: 0 0 6px;
    padding: 0 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ws-dim);
}

.vs-explorer ul,
.un-panel ul,
.bl-side ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vs-explorer li,
.un-panel li,
.bl-side li {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 21px;
    padding: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    color: var(--ws-text);
    opacity: 0.85;
}

.vs-explorer li.i1,
.un-panel li.i1 {
    padding-left: 22px;
}

.vs-explorer li.i2,
.un-panel li.i2 {
    padding-left: 32px;
}

.vs-explorer li.on,
.un-panel li.on,
.bl-side li.on {
    background: rgba(61, 214, 208, 0.14);
    opacity: 1;
}

.vs-explorer li b {
    font-size: 8px;
    font-weight: 600;
    color: var(--ws-accent-3);
}

.vs-explorer li b.c {
    color: var(--ws-accent-2);
}

.vs-explorer li b.j {
    color: #f3d38a;
}

.vs-editor {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.vs-tabs {
    display: flex;
    height: 30px;
    border-bottom: 1px solid var(--ws-line);
    background: #081118;
}

.vs-tabs span {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-right: 1px solid var(--ws-line);
    color: var(--ws-dim);
}

.vs-tabs span.on {
    position: relative;
    background: var(--ws-bg);
    color: var(--ws-text);
}

.vs-tabs span.on::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--ws-accent);
}

.vs-code {
    counter-reset: ln;
    padding: 12px 0;
    overflow: hidden;
}

.vs-code .ln {
    counter-increment: ln;
    display: block;
    height: 19px;
    padding-left: 48px;
    position: relative;
    white-space: pre;
    font-size: 11.5px;
}

.vs-code .ln::before {
    content: counter(ln);
    position: absolute;
    left: 0;
    width: 32px;
    text-align: right;
    color: rgba(207, 233, 242, 0.28);
}

.vs-code .ln:nth-child(6) {
    background: rgba(61, 214, 208, 0.07);
}

.vs-code em {
    font-style: normal;
}

.vs-code .k {
    color: var(--ws-accent);
}

.vs-code .s {
    color: var(--ws-accent-2);
}

.vs-code .f {
    color: var(--ws-accent-3);
}

.vs-code .t {
    color: #8fb8ff;
}

.vs-code .a {
    color: #b9d7e2;
    font-style: italic;
}

.vs-status {
    background: #0e7c86;
    color: #e6fbff;
}

/* Unity */

.un-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 32px;
    padding: 0 12px;
    border-bottom: 1px solid var(--ws-line);
    background: #081118;
    color: var(--ws-dim);
}

.un-play {
    display: flex;
    gap: 2px;
    margin: 0 auto;
    padding: 2px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.un-play b {
    display: grid;
    place-items: center;
    width: 24px;
    height: 20px;
    border-radius: 4px;
    color: var(--ws-text);
}

.un-play b.on {
    background: var(--ws-accent);
    color: #04222a;
}

.un-play svg {
    width: 11px;
    height: 11px;
}

.un-menu .r {
    margin-left: 0;
}

.un-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr) 150px;
}

.un-panel {
    padding: 8px 0;
    background: var(--ws-panel);
    overflow: hidden;
}

.un-hier {
    border-right: 1px solid var(--ws-line);
}

.un-insp {
    border-left: 1px solid var(--ws-line);
}

.un-obj {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 10px 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ws-line);
    font-weight: 600;
}

.un-obj i {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    background: var(--ws-accent);
}

.un-comp {
    margin: 0 10px 10px;
}

.un-comp strong {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 600;
    color: var(--ws-text);
}

.un-row {
    display: grid;
    grid-template-columns: 44px repeat(3, 1fr);
    gap: 3px;
    margin-bottom: 4px;
    font-size: 9px;
}

.un-row.w {
    grid-template-columns: 1fr 44px;
}

.un-row span {
    color: var(--ws-dim);
    overflow: hidden;
    white-space: nowrap;
}

.un-row em {
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
}

.un-scene {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #0b1821;
}

.un-tabs {
    display: flex;
    height: 26px;
    border-bottom: 1px solid var(--ws-line);
    background: #081118;
}

.un-tabs span {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--ws-dim);
}

.un-tabs span.on {
    background: #0b1821;
    color: var(--ws-text);
}

.un-tabs .r {
    margin-left: auto;
}

.un-view,
.bl-view svg {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.un-view .grid path,
.bl-view .grid path {
    fill: none;
    stroke: rgba(126, 220, 235, 0.13);
    stroke-width: 0.8;
}

.un-view .cube path {
    stroke: var(--ws-accent-2);
    stroke-width: 1.2;
    stroke-linejoin: round;
}

.un-view .cube .top {
    fill: rgba(61, 214, 208, 0.55);
}

.un-view .cube .left {
    fill: rgba(31, 154, 184, 0.55);
}

.un-view .cube .right {
    fill: rgba(14, 124, 134, 0.65);
}

.un-view .cube {
    animation: ws-float 5s ease-in-out infinite;
}

.un-view .gizmo path {
    stroke-width: 2;
    stroke-linecap: round;
}

.un-view .gizmo .gy {
    stroke: var(--ws-accent-2);
}

.un-view .gizmo .gx {
    stroke: var(--ws-accent-3);
}

.un-view .gizmo .gz {
    stroke: #f3d38a;
}

.un-view .gizmo circle {
    fill: #e6fbff;
}

.un-fps {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    font-size: 9px;
    color: var(--ws-accent-2);
}

.un-console {
    border-top: 1px solid var(--ws-line);
    background: #081118;
    color: var(--ws-dim);
}

.un-console .ok {
    color: var(--ws-accent-2);
}

/* Blender */

.bl-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 30px;
    padding: 0 12px;
    border-bottom: 1px solid var(--ws-line);
    background: #081118;
    color: var(--ws-dim);
}

.bl-logo {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--ws-accent);
}

.bl-spaces {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.bl-spaces b {
    padding: 3px 9px;
    border-radius: 5px;
    font-weight: 500;
}

.bl-spaces b.on {
    background: rgba(61, 214, 208, 0.18);
    color: var(--ws-text);
}

.bl-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 140px;
}

.bl-tools {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    border-right: 1px solid var(--ws-line);
    background: var(--ws-panel);
}

.bl-tools span {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
}

.bl-tools span.on {
    background: var(--ws-accent);
}

.bl-view {
    position: relative;
    min-width: 0;
    display: flex;
    background: radial-gradient(circle at 50% 40%, #11222d, #0a141c 75%);
}

.bl-label {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 10px;
    color: var(--ws-text);
    opacity: 0.8;
}

.bl-label small {
    color: var(--ws-dim);
    font-size: 9px;
}

.bl-view .ax-x {
    stroke: rgba(103, 235, 255, 0.55);
    stroke-width: 1;
}

.bl-view .ax-y {
    stroke: rgba(126, 249, 214, 0.55);
    stroke-width: 1;
}

.bl-view .mesh {
    transform-origin: 150px 100px;
    animation: ws-float 6s ease-in-out infinite;
}

.bl-view .face {
    stroke: none;
}

.bl-view .f1 {
    fill: rgba(61, 214, 208, 0.42);
}

.bl-view .f2 {
    fill: rgba(61, 214, 208, 0.62);
}

.bl-view .f3 {
    fill: rgba(126, 249, 214, 0.5);
}

.bl-view .f4 {
    fill: rgba(31, 154, 184, 0.45);
}

.bl-view .f5 {
    fill: rgba(14, 124, 134, 0.6);
}

.bl-view .edge {
    fill: none;
    stroke: var(--ws-accent-2);
    stroke-width: 1.1;
    stroke-linejoin: round;
}

.bl-view .vert circle {
    fill: #f3d38a;
}

.bl-nav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.bl-nav i {
    position: absolute;
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    color: #04222a;
}

.bl-nav .x {
    right: 3px;
    top: 20px;
    background: var(--ws-accent-3);
}

.bl-nav .y {
    left: 17px;
    top: 4px;
    background: var(--ws-accent-2);
}

.bl-nav .z {
    left: 6px;
    bottom: 5px;
    background: #f3d38a;
}

.bl-side {
    padding: 8px 0;
    border-left: 1px solid var(--ws-line);
    background: var(--ws-panel);
}

.bl-side ul {
    margin-bottom: 12px;
}

.bl-prop {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin: 0 10px 5px;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 9.5px;
}

.bl-prop span {
    color: var(--ws-dim);
}

.bl-prop em {
    font-style: normal;
    color: var(--ws-accent-2);
}

.bl-timeline {
    position: relative;
    height: 28px;
    border-top: 1px solid var(--ws-line);
    background: #081118;
}

.bl-ruler {
    position: absolute;
    inset: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 2% 40%;
    background-repeat: repeat-x;
    background-position: 0 100%;
    font-size: 9px;
    color: var(--ws-dim);
}

.bl-ruler i {
    font-style: normal;
}

.bl-head {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 22%;
    width: 2px;
    background: var(--ws-accent);
    animation: ws-scrub 9s linear infinite;
}

.bl-head::before {
    content: "48";
    position: absolute;
    top: 3px;
    left: -11px;
    padding: 0 4px;
    border-radius: 3px;
    background: var(--ws-accent);
    color: #04222a;
    font-size: 8.5px;
    font-weight: 700;
}

@keyframes ws-float {
    50% {
        transform: translateY(-5px);
    }
}

@keyframes ws-scrub {
    from {
        left: 6%;
    }
    to {
        left: 94%;
    }
}

/* Discipline cards */

.icon-badge.has-icon {
    gap: 0.5rem;
    min-width: 0;
    padding: 0 0.85rem 0 0.7rem;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.86rem;
}

.icon-badge svg,
.card-path b svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.card-path b svg {
    width: 13px;
    height: 13px;
    color: var(--primary-strong);
}

.ide-web .card-path b::before,
.ide-unity .card-path b::before,
.ide-blender .card-path b::before {
    display: none;
}

.card-play,
.card-mode {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(var(--primary-rgb), 0.14);
    color: var(--primary-strong);
    font-size: 0.68rem;
}

.card-play svg {
    width: 10px;
    height: 10px;
}

.ide-web h3::before {
    content: "// ";
}

.ide-unity h3::before {
    content: "▸ ";
}

.ide-blender h3::before {
    content: "◆ ";
}

.ide-blender::after {
    content: "X\A Y\A Z\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·";
}

.ide-unity::after {
    content: "≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡\A ≡";
}

@media (max-width: 980px) {
    .page-header.has-workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ws {
        aspect-ratio: 4 / 3.4;
        font-size: 10px;
    }

    .vs-main {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .vs-explorer,
    .un-hier,
    .bl-side,
    .ws-title {
        display: none;
    }

    .un-main {
        grid-template-columns: minmax(0, 1fr) 118px;
    }

    .bl-main {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .un-menu > span:not(.un-play):not(.r),
    .bl-menu > span {
        display: none;
    }

    .bl-spaces {
        display: flex !important;
    }

    .ws-switch-tabs {
        display: flex;
    }

    .ws-switch-tabs button {
        flex: 1;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .un-view .cube,
    .bl-view .mesh,
    .bl-head {
        animation: none;
    }
}

/* Navbar: command bar */

.topbar .nav-wrap {
    min-height: 60px;
    padding: 0 8px 0 12px;
    border-color: var(--edge);
    background: rgba(var(--bg-rgb), 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.topbar.is-scrolled .nav-wrap {
    background: rgba(var(--bg-rgb), 0.86);
    box-shadow: 0 16px 36px -24px rgba(0, 0, 0, 0.55);
}

.brand-crumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.2rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--edge);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    white-space: nowrap;
}

.brand-crumb i {
    font-style: normal;
    color: var(--primary-strong);
}

.topbar .main-nav {
    align-self: stretch;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.topbar .main-nav > a,
.topbar .nav-drop-trigger {
    height: 100%;
    padding: 0 0.85rem;
    border-radius: 0;
    background: none;
    color: rgba(var(--text-rgb), 0.62);
}

.topbar .main-nav > a:hover,
.topbar .nav-drop-trigger:hover,
.topbar .nav-dropdown:hover .nav-drop-trigger,
.topbar .nav-dropdown:focus-within .nav-drop-trigger {
    background: none;
    color: var(--text);
}

.topbar .main-nav > a.is-current,
.topbar .nav-dropdown.is-current .nav-drop-trigger {
    background: none;
    box-shadow: none;
    color: var(--text);
}

.topbar .main-nav > a::after,
.topbar .nav-dropdown > .nav-drop-trigger::after {
    content: "";
    display: block;
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: -1px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.topbar .main-nav > a:hover::after,
.topbar .nav-dropdown:hover > .nav-drop-trigger::after {
    transform: scaleX(0.4);
    opacity: 0.6;
}

.topbar .main-nav > a.is-current::after,
.topbar .nav-dropdown.is-current > .nav-drop-trigger::after {
    transform: scaleX(1);
    opacity: 1;
}

.topbar .nav-dropdown {
    height: 100%;
}

.cmdk-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 36px;
    margin-right: 4px;
    padding: 0 0.45rem 0 0.7rem;
    border: 1px solid var(--edge);
    border-radius: 10px;
    background: rgba(var(--text-rgb), 0.03);
    color: var(--muted);
    font: 500 0.8rem var(--font-mono);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cmdk-trigger svg {
    width: 15px;
    height: 15px;
}

.cmdk-trigger:hover {
    border-color: rgba(var(--primary-rgb), 0.55);
    color: var(--text);
}

.cmdk-trigger kbd,
.cmdk kbd {
    padding: 0.15rem 0.4rem;
    border: 1px solid var(--edge);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: rgba(var(--bg-rgb), 0.8);
    font: 500 0.66rem var(--font-mono);
    color: var(--muted);
}

/* Command palette */

.cmdk {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    justify-items: center;
    align-items: start;
    padding: 12vh 1rem 1rem;
}

.cmdk[hidden] {
    display: none;
}

.cmdk-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 12, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cmdk-panel {
    position: relative;
    width: min(560px, 100%);
    overflow: hidden;
    border: 1px solid var(--edge);
    border-radius: 16px;
    background: rgba(var(--bg-rgb), 0.98);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
    animation: cmdk-in 0.22s var(--ease-out);
}

@keyframes cmdk-in {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
}

.cmdk-search {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0 1rem;
    border-bottom: 1px solid var(--edge);
}

.cmdk-search > span {
    font-family: var(--font-mono);
    color: var(--primary-strong);
}

.cmdk-search input {
    flex: 1;
    height: 54px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: 500 1rem var(--font-mono);
}

.cmdk-list {
    max-height: 340px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
}

.cmdk-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.cmdk-item.is-active {
    background: rgba(var(--primary-rgb), 0.14);
}

.cmdk-path {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--muted);
}

.cmdk-empty {
    padding: 1.2rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-align: center;
}

.cmdk-foot {
    display: flex;
    gap: 1.2rem;
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--edge);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
}

.cmdk-foot kbd {
    margin-right: 0.25rem;
}

/* Card polish */

.icon-badge.has-icon {
    align-self: flex-start;
}

.card-path {
    overflow: hidden;
}

.card-path b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-file {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-play,
.card-mode {
    flex-shrink: 0;
    white-space: nowrap;
}

.feature-list strong::before {
    content: "✓";
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-strong);
}

@media (max-width: 1240px) {
    .brand-crumb {
        display: none;
    }
}

@media (max-width: 1080px) {
    .cmdk-trigger span,
    .cmdk-trigger kbd {
        display: none;
    }

    .cmdk-trigger {
        width: 36px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .topbar .main-nav {
        align-self: auto;
    }

    .topbar .main-nav > a,
    .topbar .nav-drop-trigger {
        height: 46px;
        border-radius: 10px;
    }

    .topbar .main-nav > a::after,
    .topbar .nav-dropdown > .nav-drop-trigger::after {
        display: none;
    }

    .topbar .main-nav > a.is-current {
        background: rgba(var(--primary-rgb), 0.14);
    }

    .topbar .nav-dropdown {
        height: auto;
    }
}

.topbar .brand {
    white-space: nowrap;
    flex-shrink: 0;
}

.topbar .brand-mark {
    flex-shrink: 0;
}

.cmdk-trigger,
.cmdk-trigger span,
.cmdk-trigger kbd {
    white-space: nowrap;
}

.topbar .topbar-account svg,
.topbar .st-cart-link svg {
    width: 17px;
    height: 17px;
}

@media (max-width: 900px) {
    .topbar .main-nav {
        padding: 8px;
        border: 1px solid var(--edge);
        border-radius: 18px;
        background: rgba(var(--bg-rgb), 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .topbar .main-nav > a,
    .topbar .nav-drop-trigger {
        color: var(--text);
    }
}

@media (max-width: 420px) {
    .topbar .brand strong {
        font-size: 0.92rem;
    }

    .topbar .topbar-actions {
        gap: 0;
    }
}

.topbar .nav-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

@media (max-width: 1360px) {
    .topbar .topbar-account-text {
        display: none;
    }

    .topbar .topbar-account {
        padding: 0;
        width: 38px;
    }
}

@media (max-width: 900px) {
    .topbar .nav-wrap {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 560px) {
    .topbar .brand {
        white-space: normal;
        flex-shrink: 1;
        min-width: 0;
    }

    .topbar .brand strong {
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .cmdk-trigger {
        display: none;
    }

    .topbar .topbar-account {
        border: 0;
        margin-left: 0;
    }
}

.topbar .main-nav.fade-in {
    opacity: 1;
    transform: none;
    animation: none;
}

.cmdk-trigger span i {
    font-style: normal;
    color: var(--primary-strong);
}

.cmdk-trigger span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1200px) {
    .cmdk-trigger span {
        display: none;
    }

    .cmdk-trigger {
        padding-left: 0.6rem;
    }
}

@media (max-width: 900px) {
    .topbar .main-nav {
        justify-self: stretch;
        width: auto;
    }
}

.topbar .nav-wrap {
    gap: 1.5rem;
}

.topbar .main-nav > a,
.topbar .nav-drop-trigger {
    padding: 0 0.75rem;
}

.topbar .main-nav > a::after,
.topbar .nav-dropdown > .nav-drop-trigger::after {
    left: 0.75rem;
    right: 0.75rem;
}

@media (max-width: 1600px) {
    .topbar .topbar-account-text {
        display: none;
    }

    .topbar .topbar-account {
        padding: 0;
        width: 38px;
    }
}

@media (max-width: 900px) {
    .topbar .main-nav {
        background: var(--bg);
    }
}

/* Legal pages */

.legal-copy .pb-inner {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.legal-copy h2 {
    margin: 2.6rem 0 0.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--edge);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
}

.legal-copy h2::before {
    content: "## ";
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--primary-strong);
    opacity: 0.7;
}

.legal-copy p,
.legal-copy li {
    margin: 0 0 0.9rem;
}

.legal-copy ul {
    padding-left: 0;
    list-style: none;
}

.legal-copy li {
    position: relative;
    padding-left: 1.3rem;
}

.legal-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
}

.legal-copy strong {
    color: var(--text);
}

.legal-copy a {
    color: var(--primary-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-copy em {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--edge);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-style: normal;
}

/* FAQ */

.pb-accordion {
    display: grid;
    gap: 0.6rem;
    counter-reset: faq;
}

.pb-accordion-item {
    counter-increment: faq;
    border: 1px solid var(--edge);
    border-radius: 14px;
    background: var(--surface);
    transition: border-color 0.25s ease;
}

.pb-accordion-item[open] {
    border-color: rgba(var(--primary-rgb), 0.5);
}

.pb-accordion-item summary {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.05rem 1.2rem;
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

.pb-accordion-item summary::-webkit-details-marker {
    display: none;
}

.pb-accordion-item summary::before {
    content: counter(faq, decimal-leading-zero);
    flex-shrink: 0;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: rgba(var(--primary-rgb), 0.12);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--primary-strong);
}

.pb-accordion-item summary > span:first-child {
    flex: 1;
}

.pb-accordion-body {
    padding: 0 1.2rem 1.15rem 4rem;
    color: var(--muted);
    line-height: 1.75;
}

.pb-accordion-body p {
    margin: 0;
}

@media (max-width: 560px) {
    .pb-accordion-body {
        padding-left: 1.2rem;
    }
}

/* Cards v2 */

.service-card,
.showcase-card,
.step-card {
    padding: 1.4rem 1.5rem 0;
    gap: 0;
}

.service-card::after,
.showcase-card::after,
.step-card::after {
    display: none;
}

.card-path {
    margin: -1.4rem -1.5rem 1.5rem;
}

.icon-badge.has-icon {
    display: none;
}

.service-card h3,
.showcase-card h3,
.step-card h3 {
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.service-card h3::before,
.showcase-card h3::before,
.step-card h3::before {
    display: none;
}

.service-card p,
.showcase-card p,
.step-card p {
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.service-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.4rem;
    padding: 0;
    border-top: 0;
}

.service-card li {
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--edge);
    border-radius: 7px;
    background: rgba(var(--primary-rgb), 0.06);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    line-height: 1.4;
    color: var(--text);
}

.service-card li::before {
    display: none;
}

.card-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: auto -1.5rem 0;
    padding: 0 1rem;
    height: 30px;
    border-top: 1px solid var(--edge-soft);
    background: rgba(var(--primary-rgb), 0.07);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--muted);
}

.card-status span:first-child {
    color: var(--primary-strong);
}

.service-card:not(:has(.card-status)),
.showcase-card:not(:has(.card-status)) {
    padding-bottom: 0.2rem;
}

.card-path b svg {
    width: 14px;
    height: 14px;
}

/* Pipeline */

.pipeline {
    border: 1px solid var(--edge);
    border-radius: 20px;
    background: var(--surface);
    overflow: hidden;
}

.pipeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.3rem;
    border-bottom: 1px solid var(--edge-soft);
    background: rgba(var(--text-rgb), 0.025);
    font-family: var(--font-mono);
    font-size: 0.76rem;
}

.pipeline-run {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
    font-weight: 500;
}

.pipeline-run i {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
}

.pipeline-run i::before {
    content: "✓";
    font-style: normal;
    font-size: 0.66rem;
    font-weight: 700;
    color: #04222a;
}

.pipeline-meta {
    color: var(--muted);
}

.pipeline-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 1.8rem 1.3rem 1.5rem;
    list-style: none;
}

.pipeline-steps::before {
    content: "";
    position: absolute;
    top: calc(1.8rem + 17px);
    left: calc(1.3rem + 18px);
    right: calc(1.3rem + 18px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.5;
}

.pipe-step {
    position: relative;
    display: grid;
    gap: 1rem;
    align-content: start;
}

.pipe-node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--primary-strong);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.12);
}

.pipe-step:last-child .pipe-node {
    background: var(--primary);
    color: #04222a;
}

.pipe-card {
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid var(--edge);
    border-radius: 14px;
    background: rgba(var(--bg-rgb), 0.55);
    transition: border-color 0.25s ease, transform 0.35s var(--ease-out);
}

:root[data-theme="light"] .pipe-card {
    background: rgba(244, 247, 250, 0.7);
}

.pipe-step:hover .pipe-card {
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-3px);
}

.pipe-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.pipe-tags code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
}

.pipe-status {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.12);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--primary-strong);
}

.pipe-status.is-live {
    background: var(--primary);
    color: #04222a;
}

.pipe-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pipe-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .pipeline-steps {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding-left: 1.1rem;
    }

    .pipeline-steps::before {
        top: 2rem;
        bottom: 2rem;
        left: calc(1.1rem + 17px);
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--primary), var(--secondary));
    }

    .pipe-step {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 0.9rem;
    }
}

/* Navbar polish */

.topbar .nav-wrap::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.7), transparent);
    pointer-events: none;
}

.topbar .main-nav > a.is-current::after,
.topbar .nav-dropdown.is-current > .nav-drop-trigger::after {
    box-shadow: 0 0 12px 1px rgba(var(--primary-rgb), 0.7);
}

.cmdk-trigger {
    position: relative;
    min-width: 230px;
    justify-content: flex-start;
    height: 38px;
    padding: 0 0.4rem 0 0.75rem;
    border-radius: 11px;
    background: rgba(var(--bg-2-rgb), 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cmdk-trigger kbd {
    margin-left: auto;
}

.cmdk-trigger:hover {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.cmdk-trigger span {
    max-width: 140px;
}

.cmdk-trigger span::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0;
}

@media (max-width: 1200px) {
    .cmdk-trigger {
        min-width: 0;
    }
}

@media (min-width: 901px) {
    .pipeline-steps::before {
        right: calc(1.3rem + (100% - 2.6rem - (var(--steps) - 1) * 1rem) / var(--steps) - 18px);
    }
}

/* Pipeline v2 */

.pipeline {
    position: relative;
    background:
        radial-gradient(600px 200px at 10% 0%, rgba(var(--primary-rgb), 0.08), transparent 70%),
        var(--surface);
}

.pipeline-head {
    gap: 1.2rem;
}

.pipeline-run {
    margin-right: auto;
}

.pipeline-dots {
    display: inline-flex;
    gap: 5px;
}

.pipeline-dots i {
    width: 22px;
    height: 6px;
    border-radius: 3px;
    background: var(--primary);
    opacity: 0.85;
}

.pipeline-dots i:last-child {
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
}

.pipeline-steps::after {
    content: "";
    position: absolute;
    top: calc(1.8rem + 15px);
    left: calc(1.3rem + 18px);
    width: 60px;
    height: 6px;
    border-radius: 6px;
    background: radial-gradient(closest-side, var(--highlight), transparent);
    filter: drop-shadow(0 0 6px rgba(var(--primary-rgb), 0.9));
    animation: pipe-flow 4.5s cubic-bezier(0.6, 0, 0.4, 1) infinite;
    pointer-events: none;
}

@keyframes pipe-flow {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc((1180px - 4rem) * 0.74));
        opacity: 0;
    }
}

.pipe-node {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border-width: 1.5px;
    background: var(--bg);
    color: var(--primary-strong);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.08);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.pipe-node svg {
    width: 19px;
    height: 19px;
}

.pipe-step:hover .pipe-node {
    transform: translateY(-2px) rotate(-4deg);
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.16), 0 0 22px rgba(var(--primary-rgb), 0.35);
}

.pipe-step:last-child .pipe-node {
    background: var(--primary);
    color: #04222a;
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.18), 0 0 24px rgba(var(--primary-rgb), 0.45);
}

.pipeline-steps::before {
    top: calc(1.8rem + 19px);
    left: calc(1.3rem + 20px);
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(var(--primary-rgb), 0.55) 0 8px, transparent 8px 14px);
    opacity: 1;
}

.pipe-card {
    position: relative;
    overflow: hidden;
}

.pipe-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
}

.pipe-step:hover .pipe-card::before {
    transform: scaleX(1);
}

@media (min-width: 901px) {
    .pipeline-steps::before {
        right: calc(1.3rem + (100% - 2.6rem - (var(--steps) - 1) * 1rem) / var(--steps) - 20px);
    }
}

@media (max-width: 900px) {
    .pipeline-steps::before {
        left: calc(1.1rem + 19px);
        background: repeating-linear-gradient(180deg, rgba(var(--primary-rgb), 0.55) 0 8px, transparent 8px 14px);
    }

    .pipeline-steps::after {
        display: none;
    }

    .pipe-step {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .pipeline-dots {
        display: none;
    }
}

/* Navbar glider */

.topbar .main-nav {
    position: relative;
}

.nav-glider {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 0;
    border-radius: 2px;
    background: var(--primary);
    box-shadow: 0 0 12px 1px rgba(var(--primary-rgb), 0.7);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out), opacity 0.25s ease;
    pointer-events: none;
}

.topbar .main-nav.has-glider > a::after,
.topbar .main-nav.has-glider > .nav-dropdown > .nav-drop-trigger::after {
    display: none;
}

.topbar .main-nav > a.is-current,
.topbar .nav-dropdown.is-current .nav-drop-trigger {
    color: var(--text);
    font-weight: 600;
}

.topbar .brand-mark {
    position: relative;
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.35), 0 6px 16px -6px rgba(var(--primary-rgb), 0.6);
}

@media (max-width: 900px) {
    .nav-glider {
        display: none;
    }
}

/* Footer v3 */

.site-footer {
    background:
        linear-gradient(180deg, rgba(var(--primary-rgb), 0.05), transparent 220px),
        radial-gradient(700px 260px at 90% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%),
        radial-gradient(600px 240px at 5% 100%, rgba(var(--secondary-rgb), 0.08), transparent 70%),
        rgba(var(--bg-2-rgb), 0.45);
}

.site-footer::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.8), transparent);
}

.footer-talk {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label term"
        "label cta";
    align-items: center;
    column-gap: 3rem;
    row-gap: 0.9rem;
}

.footer-talk-label {
    grid-area: label;
}

.footer-term {
    grid-area: term;
    display: block;
    width: 340px;
    overflow: hidden;
    border: 1px solid rgba(126, 249, 214, 0.18);
    border-radius: 12px;
    background: #061018;
    font-family: var(--font-mono);
    color: #c9e8f2;
    box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s var(--ease-out), border-color 0.25s ease;
}

.footer-talk:hover .footer-term {
    transform: translateY(-3px);
    border-color: rgba(126, 249, 214, 0.4);
}

.ft-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.ft-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.ft-bar i:first-child {
    background: #ff5f57;
}

.ft-bar i:nth-child(2) {
    background: #febc2e;
}

.ft-bar i:nth-child(3) {
    background: #28c840;
}

.ft-bar span {
    margin: 0 auto;
    padding-right: 30px;
    font-size: 0.62rem;
    color: rgba(201, 232, 242, 0.5);
}

.ft-body {
    display: grid;
    gap: 0.3rem;
    padding: 0.75rem 0.9rem 0.85rem;
    font-size: 0.74rem;
}

.ft-body b {
    font-weight: 500;
    color: #3dd6d0;
}

.ft-body em {
    font-style: normal;
    color: #67ebff;
}

.ft-body .ok {
    color: #7ef9d6;
}

.footer-talk-cta {
    grid-area: cta;
    justify-self: end;
}

.footer-column a::after {
    content: "→";
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: var(--primary-strong);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
}

.footer-column a:hover::after {
    opacity: 1;
    transform: none;
}

.footer-brand-row .brand-mark {
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.35), 0 8px 20px -8px rgba(var(--primary-rgb), 0.6);
}

.site-footer .footer-meta {
    grid-template-columns: 1fr auto 1fr;
}

.site-footer .footer-meta p {
    justify-self: start;
}

.footer-made {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}

.footer-made i {
    font-style: normal;
    color: var(--primary-strong);
}

@media (max-width: 860px) {
    .footer-talk {
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "term"
            "cta";
    }

    .footer-term {
        width: 100%;
    }

    .footer-talk-cta {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .site-footer .footer-meta {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-meta p {
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pipeline-steps::after {
        animation: none;
        display: none;
    }
}

.site-footer .footer-meta p {
    text-align: left;
}

@media (max-width: 560px) {
    .site-footer .footer-meta p {
        text-align: center;
    }
}

/* Feature panels: test report */

.feature-panel.feature-tests {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.6rem, 4vw, 3.5rem);
    align-items: start;
    background:
        radial-gradient(500px 220px at 0% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%),
        var(--surface);
}

.ftest-intro h2 {
    margin: 0.8rem 0 1.4rem;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    line-height: 1.08;
}

.ftest-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.ftest-summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.7rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}

.ftest-summary .is-pass {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-strong);
}

.ftest-summary .is-pass i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 8px #28c840;
}

.ftest-cmd {
    display: inline-block;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--edge);
    border-radius: 10px;
    background: rgba(var(--bg-rgb), 0.6);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text);
}

.ftest-cmd b {
    font-weight: 500;
    color: var(--primary-strong);
}

.feature-tests .feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin: 0;
}

.feature-tests .ftest-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid var(--edge);
    border-top: 1px solid var(--edge);
    border-radius: 14px;
    background: rgba(var(--bg-rgb), 0.55);
    transition: border-color 0.25s ease, transform 0.35s var(--ease-out);
}

:root[data-theme="light"] .feature-tests .ftest-row {
    background: rgba(244, 247, 250, 0.8);
}

.feature-tests .ftest-row:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateX(4px);
}

.ftest-check {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.14);
    color: var(--primary-strong);
    font-weight: 700;
}

.ftest-body {
    display: grid;
    gap: 0.25rem;
}

.ftest-file {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--muted);
}

.ftest-file em {
    margin-right: 0.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
    background: #28c840;
    color: #04220d;
    font-style: normal;
    font-weight: 700;
}

.feature-tests .ftest-body strong {
    display: block;
    margin: 0.15rem 0 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 650;
}

.feature-tests .ftest-body strong::before {
    display: none;
}

.feature-tests .ftest-body > span:last-child {
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .feature-panel.feature-tests {
        grid-template-columns: 1fr;
    }
}

/* Heading decorations */

.section-header.has-deco {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: end;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.code-card {
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    border-radius: 14px;
    background: #061018;
    font-family: var(--font-mono);
    color: #c9e8f2;
    box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.7);
    transform: rotate(-0.6deg);
    transition: transform 0.5s var(--ease-out);
}

.code-card:hover {
    transform: none;
}

.code-card-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.code-card-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.code-card-bar span {
    margin: 0 auto;
    padding-right: 30px;
    font-size: 0.64rem;
    color: rgba(201, 232, 242, 0.5);
}

.code-card-body {
    counter-reset: cl;
    padding: 0.8rem 0;
}

.code-card .cl {
    counter-increment: cl;
    position: relative;
    display: block;
    padding-left: 2.6rem;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.74rem;
    line-height: 1.75;
}

.code-card .cl::before {
    content: counter(cl);
    position: absolute;
    left: 0;
    width: 1.8rem;
    text-align: right;
    color: rgba(201, 232, 242, 0.25);
}

.code-card.is-term .cl {
    padding-left: 1rem;
}

.code-card.is-term .cl::before {
    display: none;
}

.code-card em {
    font-style: normal;
}

.code-card .k {
    color: #3dd6d0;
}

.code-card .f {
    color: #67ebff;
}

.code-card .p {
    color: #b9d7e2;
}

.code-card .s {
    color: #7ef9d6;
}

.code-card .b {
    color: #f3d38a;
}

.code-card .h {
    color: #f3d38a;
}

.code-card .t {
    color: #67ebff;
}

@media (max-width: 900px) {
    .section-header.has-deco {
        grid-template-columns: 1fr;
    }
}

/* Pipeline: icons centred */

.pipe-step {
    justify-items: center;
}

.pipe-card {
    justify-self: stretch;
}

@media (min-width: 901px) {
    .pipeline-steps::before,
    .pipeline-steps::after {
        --half: calc((100% - 2.6rem - (var(--steps) - 1) * 1rem) / var(--steps) / 2);
    }

    .pipeline-steps::before {
        left: calc(1.3rem + var(--half));
        right: calc(1.3rem + var(--half));
    }

    .pipeline-steps::after {
        left: calc(1.3rem + var(--half) - 30px);
        animation-name: pipe-flow-c;
    }
}

@keyframes pipe-flow-c {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10%,
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc((min(1180px, 100vw - 2rem) - 2.6rem) * 0.75));
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .pipe-step {
        justify-items: stretch;
    }
}

/* Footer meta centred */

.site-footer .footer-meta {
    grid-template-columns: 1fr auto 1fr;
}

.site-footer .footer-meta p {
    grid-column: 2;
    justify-self: center;
    text-align: center;
}

.site-footer .footer-backtop {
    grid-column: 3;
    justify-self: end;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

@media (max-width: 560px) {
    .site-footer .footer-meta {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-meta p,
    .site-footer .footer-backtop {
        grid-column: 1;
        justify-self: center;
    }
}

/* Back to top */

.to-top {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 150;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 44px;
    padding: 0 0.45rem 0 0.9rem;
    border: 1px solid rgba(126, 249, 214, 0.22);
    border-radius: 12px;
    background: rgba(6, 16, 24, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #c9e8f2;
    font: 500 0.8rem var(--font-mono);
    cursor: pointer;
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out), visibility 0.3s, border-color 0.25s ease;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    border-color: rgba(126, 249, 214, 0.55);
}

.to-top-prompt {
    color: #3dd6d0;
}

.to-top-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #3dd6d0;
    color: #04222a;
    transition: transform 0.3s var(--ease-out);
}

.to-top-icon svg {
    width: 15px;
    height: 15px;
}

.to-top:hover .to-top-icon {
    transform: translateY(-2px);
}

@media (max-width: 560px) {
    .to-top .to-top-cmd,
    .to-top .to-top-prompt {
        display: none;
    }

    .to-top {
        padding: 0 6px;
        height: 42px;
    }
}

/* Scroll progress */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--highlight));
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.7);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

/* Scrollbar */

html {
    scrollbar-color: rgba(var(--primary-rgb), 0.45) transparent;
    scrollbar-width: thin;
}

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

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

::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.45);
    background-clip: padding-box;
}

/* Inline code look */

.site-main code:not([class]) {
    padding: 0.1rem 0.4rem;
    border: 1px solid var(--edge);
    border-radius: 6px;
    background: rgba(var(--primary-rgb), 0.08);
    font-family: var(--font-mono);
    font-size: 0.88em;
    color: var(--primary-strong);
}

.feature-tests .feature-list div.ftest-body {
    padding: 0;
    border-top: 0;
}

.site-main .pipe-tags code {
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.7rem;
    color: var(--muted);
}

.site-footer .footer-meta {
    display: flex;
    justify-content: center;
}

.site-footer .footer-meta p {
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

/* Live chat */

.public-live-chat {
    right: 1.25rem;
    bottom: 1.25rem;
    font-family: var(--font-body);
}

.public-live-chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    height: 46px;
    padding: 0 1rem 0 0.85rem;
    border: 1px solid rgba(126, 249, 214, 0.3);
    border-radius: 13px;
    background: var(--primary);
    color: #04222a;
    box-shadow: 0 16px 34px -14px rgba(var(--primary-rgb), 0.75), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
    transition: transform 0.3s var(--ease-out), filter 0.2s ease;
}

.public-live-chat-toggle:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.public-live-chat-toggle svg {
    width: 1.2rem;
}

.lc-toggle-label {
    font: 600 0.82rem var(--font-mono);
}

.lc-toggle-label::before {
    content: "> ";
    opacity: 0.6;
}

.public-live-chat-toggle[aria-expanded="true"] .lc-toggle-label::after {
    content: " --close";
}

.public-live-chat-panel {
    bottom: 3.9rem;
    width: min(24rem, calc(100vw - 1.5rem));
    border: 1px solid var(--edge);
    border-radius: 18px;
    background: rgb(var(--bg-rgb));
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
    animation: cmdk-in 0.24s var(--ease-out);
}

.public-live-chat-panel > header {
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid var(--edge);
    background:
        radial-gradient(300px 120px at 100% 0%, rgba(var(--primary-rgb), 0.16), transparent 70%),
        rgba(var(--text-rgb), 0.025);
}

.public-live-chat-panel > header > div {
    flex: 1;
    min-width: 0;
}

.lc-dots {
    display: flex;
    gap: 5px;
    align-self: flex-start;
    margin-top: 0.45rem;
}

.lc-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(var(--text-rgb), 0.18);
}

.lc-dots i:first-child {
    background: #ff5f57;
}

.lc-dots i:nth-child(2) {
    background: #febc2e;
}

.lc-dots i:nth-child(3) {
    background: #28c840;
}

.public-live-chat-panel header strong {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.public-live-chat-panel header small {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
}

.lc-online {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 8px #28c840;
}

.public-live-chat-panel header button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.public-live-chat-panel header button:hover {
    background: rgba(var(--text-rgb), 0.07);
    color: var(--text);
}

.public-live-chat-panel header button svg {
    width: 16px;
    height: 16px;
}

.public-live-chat-notice {
    padding: 0.7rem 0.95rem;
    border-bottom: 1px solid var(--edge-soft);
    background: rgba(var(--primary-rgb), 0.07);
    color: var(--muted);
    font-size: 0.76rem;
}

.public-live-chat-notice a {
    color: var(--primary-strong);
    font-weight: 600;
}

.public-live-chat-start {
    gap: 0.85rem;
    padding: 1rem;
}

.public-live-chat-start label {
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}

.public-live-chat-start input,
.public-live-chat-start textarea {
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--edge);
    border-radius: 10px;
    background: rgba(var(--text-rgb), 0.03);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.public-live-chat-start input:focus,
.public-live-chat-start textarea:focus {
    outline: 0;
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.public-live-chat-start .primary-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 11px;
}

.public-live-chat-status {
    padding: 0.55rem 0.95rem;
    border-bottom: 1px solid var(--edge-soft);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.public-live-chat-messages {
    gap: 0.6rem;
    padding: 0.95rem;
}

.public-live-message {
    max-width: 82%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--edge);
    border-radius: 14px 14px 14px 4px;
    background: rgba(var(--text-rgb), 0.04);
}

.public-live-message.is-visitor {
    border-color: transparent;
    border-radius: 14px 14px 4px 14px;
    background: var(--primary);
    color: #04222a;
}

.public-live-message.is-visitor time,
.public-live-message.is-visitor strong {
    color: rgba(4, 34, 42, 0.7);
}

.public-live-message strong,
.public-live-message time {
    font-family: var(--font-mono);
    font-size: 0.62rem;
}

.public-live-message p {
    font-size: 0.86rem;
    line-height: 1.5;
}

.public-live-chat-conversation form {
    margin: 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 12px;
    background: rgba(var(--text-rgb), 0.03);
}

.public-live-chat-conversation textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.public-live-chat-conversation form button,
.public-live-chat-new {
    border-radius: 9px;
    color: #04222a;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

@media (max-width: 560px) {
    .public-live-chat {
        left: auto;
    }

    .public-live-chat-toggle {
        width: 46px;
        height: 46px;
        padding: 0;
        justify-content: center;
    }

    .lc-toggle-label {
        display: none;
    }
}

.public-live-chat-start label small {
    display: inline;
    margin-left: 0.3rem;
    opacity: 0.7;
}

.public-live-chat-panel header small {
    white-space: nowrap;
}

/* Learn more spacing */

.service-card a {
    margin-bottom: 1.3rem;
}

/* Footer without CTA */

.footer-panel {
    grid-template-areas: "brand nav";
}

/* CTA studio */

.cta-box.cta-studio {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2.2rem, 5vw, 3.6rem);
    border: 1px solid rgba(var(--primary-rgb), 0.28);
    background:
        radial-gradient(520px 300px at 100% 100%, rgba(var(--primary-rgb), 0.22), transparent 65%),
        radial-gradient(420px 260px at 0% 0%, rgba(var(--secondary-rgb), 0.16), transparent 65%),
        #07131c;
    box-shadow: 0 40px 90px -50px rgba(var(--primary-rgb), 0.55);
}

.cta-box.cta-studio::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black, transparent 75%);
    mask-image: radial-gradient(ellipse at 70% 50%, black, transparent 75%);
}

.cta-box.cta-studio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(126, 249, 214, 0.8), transparent);
}

.cta-studio h2 {
    margin: 0.9rem 0 1.8rem;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
}

.cta-box.cta-studio .primary-btn {
    background: var(--primary);
    color: #04222a;
}

.cta-box.cta-studio .primary-btn:hover {
    background: #ffffff;
    color: #04222a;
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: rgba(230, 249, 255, 0.65);
}

.cta-note i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 8px #28c840;
}

.cta-term {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(126, 249, 214, 0.2);
    border-radius: 14px;
    background: rgba(4, 11, 17, 0.85);
    font-family: var(--font-mono);
    color: #c9e8f2;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
    transform: rotate(1.2deg);
    transition: transform 0.5s var(--ease-out), border-color 0.25s ease;
}

.cta-studio:hover .cta-term {
    transform: rotate(0deg) translateY(-4px);
    border-color: rgba(126, 249, 214, 0.42);
}

.cta-term .ft-body {
    gap: 0.4rem;
    padding: 1rem 1.1rem 1.15rem;
    font-size: 0.8rem;
}

.cta-term .dim {
    color: rgba(201, 232, 242, 0.45);
}

.cta-term .ok {
    color: #7ef9d6;
}

.cta-term b {
    font-weight: 500;
    color: #3dd6d0;
}

.cta-term em {
    font-style: normal;
    color: #67ebff;
}

.cta-caret {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: #7ef9d6;
    vertical-align: -0.15em;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .cta-box.cta-studio {
        grid-template-columns: 1fr;
    }

    .cta-term {
        transform: none;
    }
}

/* Nav: remove base-theme underline */

.topbar .nav-dropdown.is-current::after,
.topbar .main-nav > a.is-current::before {
    display: none !important;
}

/* Contact */

.contact-grid.contact-studio {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.contact-studio.pb-contact-form-only {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.contact-studio .contact-panel {
    display: grid;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.contact-steps {
    padding: 1.4rem 1.4rem 1.2rem;
    border: 1px solid var(--edge);
    border-radius: 18px;
    background:
        radial-gradient(400px 180px at 0% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%),
        var(--surface);
}

.contact-steps-label,
.contact-fact > span,
.contact-direct span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-steps ol {
    position: relative;
    display: grid;
    gap: 1.1rem;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-steps ol::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 15px;
    width: 2px;
    background: repeating-linear-gradient(180deg, rgba(var(--primary-rgb), 0.5) 0 6px, transparent 6px 11px);
}

.contact-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.contact-steps li b {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    background: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-strong);
}

.contact-steps li:last-child b {
    background: var(--primary);
    color: #04222a;
}

.contact-steps li strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 650;
}

.contact-steps li span {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--edge);
    border-radius: 16px;
    background: var(--surface);
    overflow: hidden;
}

.contact-stats > div {
    padding: 1rem 1.1rem;
    border-right: 1px solid var(--edge);
}

.contact-stats > div:last-child {
    border-right: 0;
}

.contact-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.contact-stats span {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-fact {
    padding: 1rem 1.1rem;
    border: 1px solid var(--edge);
    border-radius: 16px;
    background: var(--surface);
}

.contact-fact strong {
    display: block;
    margin: 0.35rem 0 0.2rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-strong);
}

.contact-fact p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.contact-direct {
    display: grid;
    gap: 0.5rem;
}

.contact-direct > * {
    display: block;
    padding: 0.8rem 1rem;
    border: 1px solid var(--edge);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
}

.contact-direct a:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
}

.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.contact-tags span {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.06);
    font-family: var(--font-mono);
    font-size: 0.74rem;
}

.contact-studio .contact-card {
    position: relative;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(var(--primary-rgb), 0.28);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 40px 90px -50px rgba(var(--primary-rgb), 0.5);
    transform: none !important;
}

.contact-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-bottom: 1px solid var(--edge-soft);
    border-radius: 20px 20px 0 0;
    background: rgba(var(--text-rgb), 0.03);
}

.contact-window-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(var(--text-rgb), 0.18);
}

.contact-window-bar i:first-child {
    background: #ff5f57;
}

.contact-window-bar i:nth-child(2) {
    background: #febc2e;
}

.contact-window-bar i:nth-child(3) {
    background: #28c840;
}

.contact-window-bar span {
    margin: 0 auto;
    padding-right: 40px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}

.contact-card-inner {
    padding: clamp(1.3rem, 3vw, 2rem);
}

.contact-studio .contact-card-header h3 {
    margin: 0.6rem 0 0.4rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.contact-studio form {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-studio .input-label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--muted);
}

.contact-studio .input-label::before {
    content: "\"";
    color: var(--primary-strong);
}

.contact-studio .input-label::after {
    content: "\":";
    color: var(--primary-strong);
}

.contact-studio .form-field {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--edge);
    border-radius: 11px;
    background: rgba(var(--text-rgb), 0.03);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-studio .form-field:focus,
.contact-studio .custom-select.is-open .custom-select-trigger {
    outline: 0;
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.contact-studio textarea.form-field {
    min-height: 140px;
    resize: vertical;
}

.contact-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.3rem;
}

.contact-secure {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}

.contact-secure svg {
    width: 14px;
    height: 14px;
    color: var(--primary-strong);
}

.contact-alert {
    margin-top: 1rem;
    border-radius: 11px;
}

@media (max-width: 980px) {
    .contact-grid.contact-studio {
        grid-template-columns: 1fr;
    }

    .contact-studio .contact-card {
        order: -1;
    }
}

@media (max-width: 560px) {
    .contact-row,
    .contact-facts {
        grid-template-columns: 1fr;
    }

    .contact-submit .primary-btn {
        width: 100%;
    }
}

.contact-studio .contact-card-header {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-studio .input-label {
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 860px) {
    .footer-panel {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "nav";
        row-gap: 2rem;
    }
}

.topbar .brand > span:not(.brand-mark) {
    display: grid;
    gap: 2px;
    line-height: 1.1;
}

.topbar .brand small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 420px) {
    .topbar .brand small {
        font-size: 0.54rem;
    }
}

/* Navbar: wider, glassier */

.topbar .nav-wrap.container {
    width: min(1400px, calc(100% - 2rem));
}

.topbar .nav-wrap {
    min-height: 66px;
    padding: 0 12px 0 14px;
    border-radius: 20px;
    background: rgba(var(--bg-rgb), 0.55);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    transition: width 0.45s var(--ease-out), min-height 0.35s var(--ease-out), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.topbar.is-scrolled .nav-wrap {
    min-height: 58px;
    background: rgba(var(--bg-rgb), 0.38);
    border-color: rgba(var(--primary-rgb), 0.22);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

:root[data-theme="light"] .topbar.is-scrolled .nav-wrap {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(15, 29, 38, 0.1);
}

.topbar .main-nav {
    gap: 0.4rem;
}

.topbar .main-nav > a,
.topbar .nav-drop-trigger {
    padding: 0 0.95rem;
}

@media (min-width: 1600px) {
    .topbar .nav-wrap.container {
        width: min(1520px, calc(100% - 6rem));
    }
}

@media (max-width: 900px) {
    .topbar.is-scrolled .nav-wrap {
        background: rgba(var(--bg-rgb), 0.6);
    }
}

/* Theme switch */

.topbar .theme-switch {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 999px;
}

.topbar .theme-switch:hover {
    background: none;
}

.ts-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 62px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--edge);
    border-radius: 999px;
    background: rgba(var(--text-rgb), 0.05);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: border-color 0.25s ease, background 0.3s ease;
}

.theme-switch:hover .ts-track,
.theme-switch:focus-visible .ts-track {
    border-color: rgba(var(--primary-rgb), 0.55);
}

.ts-track svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ts-ico {
    width: 13px;
    height: 13px;
    color: var(--muted);
    opacity: 0.7;
}

.ts-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #04222a;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.16), 0 0 14px rgba(var(--primary-rgb), 0.55);
    transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.5, 1), background 0.3s ease;
}

.ts-knob svg {
    position: absolute;
    width: 13px;
    height: 13px;
    transition: opacity 0.3s ease, transform 0.45s var(--ease-out);
}

.ts-knob-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

:root[data-theme="light"] .ts-knob {
    transform: translateX(30px);
    background: #ffb938;
    color: #3a2400;
    box-shadow: 0 0 0 3px rgba(255, 185, 56, 0.2), 0 0 14px rgba(255, 185, 56, 0.6);
}

:root[data-theme="light"] .ts-knob-sun {
    opacity: 1;
    transform: none;
}

:root[data-theme="light"] .ts-knob-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

:root[data-theme="light"] .ts-track {
    background: rgba(255, 185, 56, 0.1);
}

.theme-switch .hp-icon-moon,
.theme-switch .hp-icon-sun {
    display: none !important;
}

.theme-switch:active .ts-knob {
    width: 28px;
}

@media (prefers-reduced-motion: reduce) {
    .ts-knob,
    .ts-knob svg {
        transition: none;
    }
}

/* Logo: no frame */

.topbar .brand-mark,
.footer-brand-row .brand-mark {
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.topbar .brand-mark img,
.footer-brand-row .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.topbar .brand-mark:has(img),
.footer-brand-row .brand-mark:has(img) {
    filter: drop-shadow(0 4px 10px rgba(var(--primary-rgb), 0.35));
}

.topbar .brand-mark {
    width: 38px;
    height: 38px;
}

/* Wordmark logo */

.has-wordmark > .brand-mark,
.has-wordmark > span:not(.wordmark):not(.brand-mark) {
    display: none !important;
}

.wordmark {
    display: block;
    line-height: 0;
}

.wordmark img {
    display: block;
    width: auto;
    height: 40px;
}

.wordmark-light {
    display: none !important;
}

:root[data-theme="light"] .wordmark-dark {
    display: none !important;
}

:root[data-theme="light"] .wordmark-light {
    display: block !important;
}

.topbar.is-scrolled .wordmark img {
    height: 36px;
    transition: height 0.35s var(--ease-out);
}

.footer-brand-row.has-wordmark .wordmark img {
    height: 54px;
}

@media (max-width: 560px) {
    .topbar .wordmark img {
        height: 32px;
    }
}

.topbar .wordmark img {
    height: 46px;
}

.topbar.is-scrolled .wordmark img {
    height: 40px;
}

@media (max-width: 560px) {
    .topbar .wordmark img,
    .topbar.is-scrolled .wordmark img {
        height: 36px;
    }
}

/* Wordmark v2 sizes */

.topbar .wordmark img {
    height: 58px;
}

.topbar.is-scrolled .wordmark img {
    height: 50px;
}

.topbar .nav-wrap {
    min-height: 76px;
}

.topbar.is-scrolled .nav-wrap {
    min-height: 66px;
}

.footer-brand-row.has-wordmark .wordmark img {
    height: 84px;
}

@media (max-width: 1180px) {
    .topbar .wordmark img,
    .topbar.is-scrolled .wordmark img {
        height: 48px;
    }
}

@media (max-width: 560px) {
    .topbar .wordmark img,
    .topbar.is-scrolled .wordmark img {
        height: 42px;
    }

    .footer-brand-row.has-wordmark .wordmark img {
        height: 64px;
    }
}

.wordmark img {
    max-width: 100%;
    object-fit: contain;
}

.footer-brand-row.has-wordmark {
    padding-top: 4px;
}

/* Wordmark v3 sizes */

.topbar .wordmark img {
    height: 54px;
}

.topbar.is-scrolled .wordmark img {
    height: 46px;
}

.footer-brand-row.has-wordmark .wordmark img {
    height: 72px;
}

@media (max-width: 1240px) {
    .topbar .wordmark img,
    .topbar.is-scrolled .wordmark img {
        height: 42px;
    }
}

@media (max-width: 560px) {
    .topbar .wordmark img,
    .topbar.is-scrolled .wordmark img {
        height: 34px;
    }

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

.contact-steps li b svg {
    width: 15px;
    height: 15px;
}

.un-main {
    grid-template-columns: 148px minmax(0, 1fr) 150px;
}

.un-panel li {
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .un-main {
        grid-template-columns: minmax(0, 1fr) 118px;
    }
}

/* Mobile menu fix */

@media (max-width: 900px) {
    .topbar .nav-wrap {
        position: relative;
        align-items: center;
    }

    .topbar .main-nav {
        position: absolute !important;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: auto;
        align-self: auto;
        transform: none;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
    }

    .topbar .nav-dropdown,
    .topbar .nav-dropdown .nav-drop-trigger {
        width: 100%;
    }
}

.fx-switch {
    position: relative;
}

.fx-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 34px;
    padding: 0 0.6rem 0 0.7rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: 500 0.74rem var(--font-mono);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.fx-trigger svg {
    width: 12px;
    height: 12px;
    color: var(--muted);
    transition: transform 0.25s ease;
}

.fx-trigger:hover,
.fx-switch.is-open .fx-trigger {
    border-color: rgba(var(--primary-rgb), 0.45);
    background: rgba(var(--primary-rgb), 0.08);
}

.fx-switch.is-open .fx-trigger svg {
    transform: rotate(180deg);
}

.fx-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    width: 260px;
    border: 1px solid var(--edge);
    border-radius: 14px;
    background: var(--bg);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    animation: fxIn 0.2s var(--ease-out);
}

.fx-menu[hidden] {
    display: none;
}

@keyframes fxIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
}

.fx-menu-head {
    display: block;
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid var(--edge-soft);
    background: rgba(var(--text-rgb), 0.03);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
}

.fx-menu-list {
    max-height: 290px;
    padding: 0.35rem;
    overflow-y: auto;
    scrollbar-width: thin;
}

.fx-option {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.55rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    font: 0.84rem var(--font-body);
    text-align: left;
    cursor: pointer;
}

.fx-option:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.fx-option[aria-selected="true"] {
    background: rgba(var(--primary-rgb), 0.14);
}

.fx-sym {
    display: grid;
    place-items: center;
    height: 1.7rem;
    border-radius: 7px;
    background: rgba(var(--text-rgb), 0.06);
    font: 600 0.72rem var(--font-mono);
    color: var(--primary-strong);
}

.fx-opt-code {
    font: 0.7rem var(--font-mono);
    color: var(--muted);
}

.fx-menu-note {
    margin: 0;
    padding: 0.6rem 0.9rem 0.7rem;
    border-top: 1px solid var(--edge-soft);
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.45;
}

[data-money].is-converted {
    cursor: help;
}

@media (max-width: 560px) {
    .fx-trigger {
        height: 32px;
        padding: 0 0.45rem 0 0.55rem;
    }

    .fx-menu {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        width: auto;
    }
}

/* Light theme */

:root[data-theme="light"] {
    --bg: #f5f7f9;
    --bg-rgb: 245, 247, 249;
    --text: #0b1820;
    --text-rgb: 11, 24, 32;
    --muted: #4b616e;
    --muted-rgb: 75, 97, 110;
    --edge: rgba(11, 24, 32, 0.09);
    --edge-soft: rgba(11, 24, 32, 0.06);
    --surface: #ffffff;
    --lt-shadow: 0 1px 2px rgba(11, 24, 32, 0.04), 0 12px 32px -18px rgba(11, 24, 32, 0.18);
    --lt-shadow-hover: 0 2px 4px rgba(11, 24, 32, 0.05), 0 22px 44px -22px rgba(13, 113, 131, 0.35);
    --lt-shadow-dark: 0 34px 70px -34px rgba(11, 24, 32, 0.55);
}

:root[data-theme="light"] body {
    background:
        radial-gradient(1000px 520px at 88% -12%, rgba(61, 214, 208, 0.16), transparent 62%),
        radial-gradient(760px 480px at -12% 6%, rgba(103, 235, 255, 0.10), transparent 60%),
        linear-gradient(180deg, #fcfdfe 0, #f5f7f9 640px);
    background-color: #f5f7f9;
}

:root[data-theme="light"] body::before {
    background-image:
        linear-gradient(rgba(11, 24, 32, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 24, 32, 0.045) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
}

:root[data-theme="light"] ::selection {
    background: rgba(61, 214, 208, 0.32);
}

:root[data-theme="light"] .topbar.is-scrolled .nav-wrap,
:root[data-theme="light"] .topbar.is-menu-open .nav-wrap {
    border-color: rgba(11, 24, 32, 0.08);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 1px 2px rgba(11, 24, 32, 0.04), 0 14px 34px -20px rgba(11, 24, 32, 0.25);
}

:root[data-theme="light"] .service-card,
:root[data-theme="light"] .showcase-card,
:root[data-theme="light"] .step-card,
:root[data-theme="light"] .pipe-card,
:root[data-theme="light"] .work-stage,
:root[data-theme="light"] .contact-card,
:root[data-theme="light"] .contact-steps,
:root[data-theme="light"] .contact-stats,
:root[data-theme="light"] .contact-fact,
:root[data-theme="light"] .sx-card,
:root[data-theme="light"] .sx-rec,
:root[data-theme="light"] .sx-spotlight,
:root[data-theme="light"] .sx-registry,
:root[data-theme="light"] .sx-buybox,
:root[data-theme="light"] .sx-includes,
:root[data-theme="light"] .sx-glance,
:root[data-theme="light"] .sx-incl,
:root[data-theme="light"] .sx-commerce .st-line,
:root[data-theme="light"] .sx-commerce .st-summary,
:root[data-theme="light"] .sx-commerce .acc-panel,
:root[data-theme="light"] .acc-studio .acc-panel,
:root[data-theme="light"] .acc-studio .acc-auth-card,
:root[data-theme="light"] .acc-studio .acc-identity,
:root[data-theme="light"] .acc-studio .acc-nav,
:root[data-theme="light"] .sx-empty {
    border-color: rgba(11, 24, 32, 0.08);
    background: #ffffff;
    box-shadow: var(--lt-shadow);
}

:root[data-theme="light"] .service-card:hover,
:root[data-theme="light"] .showcase-card:hover,
:root[data-theme="light"] .sx-card:hover,
:root[data-theme="light"] .sx-rec:hover,
:root[data-theme="light"] .sx-spotlight:hover,
:root[data-theme="light"] .sx-incl:hover,
:root[data-theme="light"] .sx-commerce .st-line:hover {
    border-color: rgba(13, 113, 131, 0.3);
    box-shadow: var(--lt-shadow-hover);
}

:root[data-theme="light"] .sx-card-bar,
:root[data-theme="light"] .sx-registry-bar,
:root[data-theme="light"] .sx-glance-bar,
:root[data-theme="light"] .acc-window-bar,
:root[data-theme="light"] .work-toolbar,
:root[data-theme="light"] .sx-commerce .st-summary > h2,
:root[data-theme="light"] .sx-commerce .acc-panel > h2,
:root[data-theme="light"] .acc-studio .acc-panel > h2,
:root[data-theme="light"] .acc-studio .acc-panel > .acc-panel-head {
    background: linear-gradient(180deg, #fbfcfd, #f4f7f9);
    border-color: rgba(11, 24, 32, 0.07);
}

:root[data-theme="light"] .sx-dots i,
:root[data-theme="light"] .acc-dots i,
:root[data-theme="light"] .work-dots i {
    background: rgba(11, 24, 32, 0.14);
}

:root[data-theme="light"] .sx-feature .sx-prose li {
    border-color: rgba(11, 24, 32, 0.07);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(11, 24, 32, 0.03);
}

:root[data-theme="light"] .sx-feature-ic,
:root[data-theme="light"] .sx-panel-ic {
    border-color: rgba(13, 113, 131, 0.18);
    background: linear-gradient(145deg, rgba(61, 214, 208, 0.22), rgba(61, 214, 208, 0.06));
    color: #0b6f7c;
}

:root[data-theme="light"] .sx-tags span,
:root[data-theme="light"] .sx-glance-tags span,
:root[data-theme="light"] .contact-tags span {
    border-color: rgba(11, 24, 32, 0.08);
    background: #f2f6f8;
    color: #3e5563;
}

:root[data-theme="light"] .sx-path,
:root[data-theme="light"] .card-path,
:root[data-theme="light"] .sx-card-cat,
:root[data-theme="light"] .sx-price em,
:root[data-theme="light"] .sx-demo-badge {
    background: rgba(61, 214, 208, 0.16);
    color: #0a6672;
}

:root[data-theme="light"] .sx-eyebrow,
:root[data-theme="light"] .sx-card-kicker,
:root[data-theme="light"] .sx-rec-body small,
:root[data-theme="light"] .sx-registry-path,
:root[data-theme="light"] .acc-studio .acc-kicker,
:root[data-theme="light"] .sx-glance dt,
:root[data-theme="light"] .sx-incl-price {
    color: #0b6f7c;
}

:root[data-theme="light"] .primary-btn {
    box-shadow: 0 1px 2px rgba(11, 24, 32, 0.08), 0 10px 22px -12px rgba(13, 113, 131, 0.6);
}

:root[data-theme="light"] .secondary-btn,
:root[data-theme="light"] .acc-link,
:root[data-theme="light"] .acc-alt a,
:root[data-theme="light"] .sx-keep-shopping,
:root[data-theme="light"] .sx-expand-link,
:root[data-theme="light"] .sx-clear,
:root[data-theme="light"] .sx-more-all,
:root[data-theme="light"] .fx-trigger {
    border-color: rgba(11, 24, 32, 0.1);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(11, 24, 32, 0.05);
}

:root[data-theme="light"] .form-field,
:root[data-theme="light"] .sx-search-field,
:root[data-theme="light"] .sx-sort select {
    border-color: rgba(11, 24, 32, 0.12);
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(11, 24, 32, 0.04);
}

:root[data-theme="light"] .form-field:focus,
:root[data-theme="light"] .sx-search-field:focus-within {
    border-color: rgba(13, 113, 131, 0.55);
    box-shadow: 0 0 0 3px rgba(61, 214, 208, 0.2);
}

:root[data-theme="light"] .sx-cats {
    background: #eef3f6;
}

:root[data-theme="light"] .sx-cats a.is-active {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(11, 24, 32, 0.12);
}

:root[data-theme="light"] .work-tabs {
    background: #eef3f6;
}

:root[data-theme="light"] .work-tabs button.is-active {
    background: #ffffff;
}

:root[data-theme="light"] .work-url {
    background: #eef3f6;
    color: #4b616e;
}

:root[data-theme="light"] .sx-pane {
    background: radial-gradient(520px 300px at 50% 35%, rgba(61, 214, 208, 0.14), transparent 70%), #f2f6f8;
}

:root[data-theme="light"] .sx-manifest,
:root[data-theme="light"] .acc-term,
:root[data-theme="light"] .code-card,
:root[data-theme="light"] .hs-term,
:root[data-theme="light"] .ws-window,
:root[data-theme="light"] .cta-box {
    box-shadow: var(--lt-shadow-dark);
}

:root[data-theme="light"] .sx-steps li.is-current .sx-step-ic {
    box-shadow: 0 0 0 4px rgba(61, 214, 208, 0.22);
}

:root[data-theme="light"] .sx-step-ic {
    background: #ffffff;
    border-color: rgba(11, 24, 32, 0.1);
}

:root[data-theme="light"] .sx-steps li.is-done .sx-step-ic {
    background: rgba(61, 214, 208, 0.18);
    color: #0b6f7c;
}

:root[data-theme="light"] .sx-signin-hint,
:root[data-theme="light"] .sx-reviews .st-muted,
:root[data-theme="light"] .sx-reviews > p {
    border-color: rgba(11, 24, 32, 0.12);
    background: rgba(255, 255, 255, 0.7);
}

:root[data-theme="light"] .fx-menu {
    background: #ffffff;
    border-color: rgba(11, 24, 32, 0.08);
    box-shadow: 0 24px 50px -20px rgba(11, 24, 32, 0.28);
}

:root[data-theme="light"] .fx-sym {
    background: #eef3f6;
    color: #0b6f7c;
}

:root[data-theme="light"] .site-footer,
:root[data-theme="light"] footer.footer {
    border-top-color: rgba(11, 24, 32, 0.07);
}

:root[data-theme="light"] .sx-manifest-bar .sx-dots i,
:root[data-theme="light"] .acc-term-bar .acc-dots i {
    background: rgba(255, 255, 255, 0.18);
}

.footer-legal {
    margin-top: 0.35rem !important;
    color: var(--muted);
    font-size: 0.72rem;
    opacity: 0.85;
}

.footer-legal span {
    display: inline-block;
    max-width: 100%;
}

.site-footer .footer-meta:has(.footer-legal) {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.site-footer .footer-meta:has(.footer-legal) .footer-legal {
    max-width: 100%;
    text-align: center;
    text-wrap: balance;
}

.legal-copy a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.1rem 0.15rem;
    padding: 0.2rem 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-strong);
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    vertical-align: baseline;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.legal-copy a::after {
    content: "→";
    font-size: 0.9em;
    transition: transform 0.25s var(--ease-out);
}

.legal-copy a:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    background: rgba(var(--primary-rgb), 0.14);
    text-decoration: none;
}

.legal-copy a:hover::after {
    transform: translateX(2px);
}

.work-app {
    position: absolute;
    inset: 9px;
    border-radius: 30px;
    background: #f4f4f2;
    overflow: hidden;
}

.work-app iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 390px;
    height: 844px;
    max-width: none;
    border: 0;
    transform-origin: 0 0;
}

.work-app .work-live-loading {
    background: #0d0e10;
    color: #9aa0a8;
}

.work-pane.is-app .work-phone {
    width: auto;
    height: 94%;
    aspect-ratio: 408 / 862;
}

.work-pane.is-app .work-phone::before {
    width: 11px;
    height: 11px;
    top: 15px;
    background: #000;
}

.work-pane.is-app .work-hint {
    opacity: 1;
}

.footer-contact ul {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    display: grid;
    gap: 0.15rem;
    margin: 0;
}

.footer-contact li > span:not(.footer-contact-label),
.footer-contact li > a {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.45;
    word-break: break-word;
}

.footer-contact li > a:hover {
    color: var(--primary-strong);
}

.footer-contact-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

@keyframes hpFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -5px;
    }
}

.service-card,
.showcase-card,
.step-card,
.pipe-card,
.contact-fact,
.sx-card,
.sx-rec,
.sx-incl,
.sx-feature .sx-prose li,
.work-stage {
    transition: translate 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .showcase-card,
    .step-card,
    .pipe-card,
    .sx-card,
    .sx-rec {
        animation: hpFloat 6s ease-in-out infinite;
    }

    .service-card:nth-child(2n),
    .step-card:nth-child(2n),
    .pipe-card:nth-child(2n),
    .sx-card:nth-child(2n),
    .sx-rec:nth-child(2n) {
        animation-delay: -2s;
    }

    .service-card:nth-child(3n),
    .step-card:nth-child(3n),
    .pipe-card:nth-child(3n),
    .sx-card:nth-child(3n),
    .sx-rec:nth-child(3n) {
        animation-delay: -4s;
    }

    .service-card:hover,
    .showcase-card:hover,
    .step-card:hover,
    .pipe-card:hover,
    .contact-fact:hover,
    .sx-card:hover,
    .sx-rec:hover,
    .sx-incl:hover,
    .sx-feature .sx-prose li:hover {
        animation: none;
        translate: 0 -8px;
        box-shadow: 0 28px 50px -30px rgba(var(--primary-rgb), 0.55);
    }
}

.footer-contact {
    min-width: 0;
}

.footer-contact li > span:not(.footer-contact-label),
.footer-contact li > a {
    font-size: 0.86rem !important;
    word-break: normal;
    overflow-wrap: normal;
}

.footer-contact a[href^="mailto:"] {
    white-space: nowrap;
}

.topbar .wordmark.is-text-only img {
    max-width: none;
}

.topbar .brand.has-wordmark {
    min-width: max-content;
}

@media (max-width: 560px) {
    .topbar .wordmark.is-text-only img,
    .topbar.is-scrolled .wordmark.is-text-only img {
        height: 22px;
    }
}

@media (max-width: 380px) {
    .topbar .wordmark.is-text-only img,
    .topbar.is-scrolled .wordmark.is-text-only img {
        height: 18px;
    }
}

@media (max-width: 560px) {
    .topbar .nav-wrap {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.5rem;
    }

    .topbar .topbar-actions {
        justify-self: end;
        gap: 0.3rem;
    }

    .topbar .wordmark.is-text-only img,
    .topbar.is-scrolled .wordmark.is-text-only img {
        height: 20px;
    }
}

@media (max-width: 440px) {
    .topbar .fx-trigger {
        padding: 0 0.5rem;
    }

    .topbar .fx-trigger svg {
        display: none;
    }

    .topbar .theme-switch {
        zoom: 0.82;
    }

    .topbar .topbar-actions {
        gap: 0.2rem;
    }
}

.topbar:not(.is-scrolled):not(.is-menu-open) .nav-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.topbar .brand.has-wordmark {
    padding-left: 12px;
}

@media (max-width: 560px) {
    .topbar .brand.has-wordmark {
        padding-left: 6px;
    }
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body,
:root[data-theme="light"] body {
    background-image: none;
    background-color: var(--bg);
}

.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.bg-fx i {
    position: absolute;
    display: block;
    border-radius: 50%;
    will-change: transform;
}

.bg-fx .g1 {
    top: -30vh;
    right: -18vw;
    width: 78vw;
    height: 78vh;
    background: radial-gradient(closest-side, rgba(var(--primary-rgb), 0.15), transparent);
    transform: translate3d(calc(var(--mx, 0) * -34px), calc(var(--my, 0) * -24px), 0);
}

.bg-fx .g2 {
    top: 18vh;
    left: -22vw;
    width: 62vw;
    height: 70vh;
    background: radial-gradient(closest-side, rgba(var(--secondary-rgb), 0.09), transparent);
    transform: translate3d(calc(var(--mx, 0) * 26px), calc(var(--my, 0) * 20px), 0);
}

.bg-fx .g3 {
    bottom: -35vh;
    left: 30vw;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(closest-side, rgba(var(--highlight-rgb, 126, 249, 214), 0.05), transparent);
    transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * 14px), 0);
}

:root[data-theme="light"] .bg-fx .g1 {
    background: radial-gradient(closest-side, rgba(61, 214, 208, 0.18), transparent);
}

:root[data-theme="light"] .bg-fx .g2 {
    background: radial-gradient(closest-side, rgba(103, 235, 255, 0.12), transparent);
}

body::before {
    transform: translate3d(calc(var(--mx, 0) * -8px), calc(var(--grid-parallax, 0px) + var(--my, 0) * -8px), 0);
}

.scroll-progress {
    display: none !important;
}

.has-ic {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
}

.tag-ic {
    display: inline-block;
    flex: 0 0 auto;
    width: 0.95em;
    height: 0.95em;
    background: var(--primary-strong);
    -webkit-mask: var(--ic) center / contain no-repeat;
    mask: var(--ic) center / contain no-repeat;
}

.work-stack span.has-ic,
.contact-tags span.has-ic {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.06);
    transition: border-color 0.25s ease, background 0.25s ease, translate 0.3s var(--ease-out);
}

.work-stack span.has-ic:hover,
.contact-tags span.has-ic:hover {
    border-color: rgba(var(--primary-rgb), 0.45);
    background: rgba(var(--primary-rgb), 0.12);
    translate: 0 -2px;
}

.topbar .topbar-account {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 36px;
    padding: 0 0.85rem 0 0.7rem;
    border: 1px solid rgba(var(--primary-rgb), 0.28);
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.07);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease, translate 0.25s var(--ease-out);
}

.topbar .topbar-account svg {
    width: 15px;
    height: 15px;
    color: var(--primary-strong);
}

.topbar .topbar-account-text::before {
    content: "~/";
    color: var(--primary-strong);
    opacity: 0.8;
}

.topbar .topbar-account:hover {
    border-color: rgba(var(--primary-rgb), 0.6);
    background: rgba(var(--primary-rgb), 0.14);
    box-shadow: 0 8px 22px -12px rgba(var(--primary-rgb), 0.7);
    translate: 0 -1px;
}

:root[data-theme="light"] .topbar .topbar-account {
    background: #fff;
    border-color: rgba(13, 113, 131, 0.25);
    box-shadow: 0 1px 2px rgba(11, 24, 32, 0.05);
}

.topbar .topbar-account-text::before {
    content: none;
}

.bg-fx .g1,
.bg-fx .g2,
.bg-fx .g3 {
    transform: none;
    will-change: auto;
}

body::before {
    transform: none !important;
    will-change: auto;
}

.topbar .nav-wrap {
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease, padding 0.5s var(--ease-out), min-height 0.5s var(--ease-out);
}

.topbar:not(.is-scrolled):not(.is-menu-open) .nav-wrap {
    backdrop-filter: blur(0px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(0px) saturate(100%) !important;
}

.topbar .wordmark img,
.topbar.is-scrolled .wordmark img {
    transition: height 0.5s var(--ease-out);
}

.topbar {
    transition: padding 0.5s var(--ease-out);
}

.contact-studio .input-label::before,
.contact-studio .input-label::after {
    content: none;
}

.contact-direct {
    display: grid;
    gap: 0.55rem;
}

.contact-direct > * {
    position: relative;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.05rem;
    align-items: center;
    min-height: 0 !important;
    padding: 0.6rem 0.85rem !important;
    border: 1px solid var(--edge-soft) !important;
    border-radius: 12px !important;
    background: rgba(var(--text-rgb), 0.025) !important;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    transition: border-color 0.25s ease, background 0.25s ease, translate 0.3s var(--ease-out);
}

.contact-direct > *::before {
    content: "";
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.12);
}

.contact-direct > *::after {
    content: "";
    position: absolute;
    left: calc(0.85rem + 9px);
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: var(--primary-strong);
    -webkit-mask: var(--ic) center / contain no-repeat;
    mask: var(--ic) center / contain no-repeat;
}

.contact-direct a[href^="mailto:"] { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.contact-direct a[href^="tel:"] { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E"); }
.contact-direct > div { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

.contact-direct span {
    grid-column: 2;
    margin: 0 !important;
    font-family: var(--font-mono);
    font-size: 0.64rem !important;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-direct a:hover {
    border-color: rgba(var(--primary-rgb), 0.4) !important;
    background: rgba(var(--primary-rgb), 0.07) !important;
    translate: 3px 0;
}

@media (min-width: 760px) {
    .footer-contact li > span:not(.footer-contact-label) {
        white-space: nowrap;
    }

    .footer-contact {
        min-width: max-content;
    }
}

.custom-select-menu {
    border: 1px solid var(--edge) !important;
    border-radius: 12px !important;
    background: var(--bg) !important;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55) !important;
    padding: 0.35rem !important;
}

.custom-select-menu .custom-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem !important;
    border-radius: 8px !important;
    font-size: 0.86rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-menu .custom-option::before {
    content: "›";
    font-family: var(--font-mono);
    color: var(--primary-strong);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.custom-select-menu .custom-option:hover,
.custom-select-menu .custom-option:focus {
    background: rgba(var(--primary-rgb), 0.1) !important;
}

.custom-select-menu .custom-option:hover::before,
.custom-select-menu .custom-option.is-selected::before {
    opacity: 1;
}

.custom-select-menu .custom-option.is-selected {
    background: rgba(var(--primary-rgb), 0.14) !important;
    color: var(--primary-strong) !important;
}

.custom-select-search {
    font-family: var(--font-mono) !important;
    font-size: 0.8rem !important;
}

:root[data-theme="light"] .custom-select-menu {
    background: #fff !important;
    border-color: rgba(11, 24, 32, 0.08) !important;
    box-shadow: 0 24px 50px -20px rgba(11, 24, 32, 0.28) !important;
}

.ws-android .ws-title {
    margin-right: 0;
}

.ad-run {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ws-accent-2);
    font-size: 10px;
}

.ad-run i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43d39e;
    box-shadow: 0 0 0 3px rgba(67, 211, 158, 0.2);
    animation: adPulse 1.8s ease-in-out infinite;
}

@keyframes adPulse {
    50% {
        box-shadow: 0 0 0 6px rgba(67, 211, 158, 0);
    }
}

.ad-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    min-height: 0;
}

.ad-editor {
    min-width: 0;
    border-right: 1px solid var(--ws-line);
}

.ad-code .ln {
    opacity: 0;
    animation: adType 9s steps(1) infinite;
}

.ad-code .ln:nth-child(1) { animation-delay: 0s; }
.ad-code .ln:nth-child(2) { animation-delay: 0.25s; }
.ad-code .ln:nth-child(3) { animation-delay: 0.5s; }
.ad-code .ln:nth-child(4) { animation-delay: 0.75s; }
.ad-code .ln:nth-child(5) { animation-delay: 1s; }
.ad-code .ln:nth-child(6) { animation-delay: 1.25s; }
.ad-code .ln:nth-child(7) { animation-delay: 1.5s; }
.ad-code .ln:nth-child(8) { animation-delay: 1.75s; }
.ad-code .ln:nth-child(9) { animation-delay: 2s; }
.ad-code .ln:nth-child(10) { animation-delay: 2.25s; }
.ad-code .ln:nth-child(11) { animation-delay: 2.5s; }

@keyframes adType {
    0% { opacity: 0; }
    3% { opacity: 1; }
    92% { opacity: 1; }
    100% { opacity: 0; }
}

.ad-emu {
    display: grid;
    place-items: center;
    padding: 10px;
    background: radial-gradient(240px 200px at 50% 40%, rgba(61, 214, 208, 0.14), transparent 70%), #08121a;
}

.ad-phone {
    position: relative;
    height: 100%;
    max-height: 100%;
    aspect-ratio: 9 / 19;
    padding: 5px;
    border-radius: 20px;
    background: #050a0f;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ad-phone::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 9px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    box-shadow: inset 0 0 0 1px #1c2a33;
    transform: translateX(-50%);
}

.ad-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 6px 7px 0;
    border-radius: 16px;
    background: #050b13;
    overflow: hidden;
    font-family: var(--font-body);
    color: #e6f9ff;
}

.ad-status {
    display: flex;
    justify-content: space-between;
    font-size: 6px;
    opacity: 0.8;
}

.ad-status span {
    width: 14px;
    height: 5px;
    border-radius: 1px;
    border: 1px solid currentColor;
}

.ad-hi small {
    display: block;
    font-size: 5px;
    letter-spacing: 0.12em;
    color: #8fb5c4;
}

.ad-hi strong {
    display: block;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1.2;
}

.ad-card {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px;
    border: 1px solid rgba(103, 235, 255, 0.12);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(61, 214, 208, 0.18), rgba(11, 23, 33, 0.9));
    animation: adCard 4.5s ease-in-out infinite;
}

@keyframes adCard {
    50% {
        border-color: rgba(61, 214, 208, 0.45);
        box-shadow: 0 0 14px -4px rgba(61, 214, 208, 0.5);
    }
}

.ad-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #43d39e;
}

.ad-card div {
    flex: 1;
}

.ad-card small {
    display: block;
    font-size: 4.5px;
    letter-spacing: 0.12em;
    color: #3dd6d0;
}

.ad-card strong {
    font-size: 7px;
}

.ad-card em {
    font-style: normal;
    font-size: 7px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ad-btn {
    padding: 4px;
    border-radius: 6px;
    background: linear-gradient(120deg, #3dd6d0, #67ebff);
    color: #03161d;
    font-size: 6px;
    font-weight: 700;
    text-align: center;
}

.ad-rows {
    display: grid;
    gap: 4px;
}

.ad-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 5px;
    border-radius: 6px;
    background: #0b1721;
    opacity: 0;
    transform: translateX(8px);
    animation: adRow 9s ease infinite;
}

.ad-row:nth-child(2) { animation-delay: 0.3s; }
.ad-row:nth-child(3) { animation-delay: 0.6s; }

@keyframes adRow {
    0%, 30% { opacity: 0; transform: translateX(8px); }
    36%, 92% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

.ad-row i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f6c453;
}

.ad-row i.hi { background: #ff7b88; }
.ad-row i.lo { background: #8fb5c4; }

.ad-row span {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(230, 249, 255, 0.25);
}

.ad-row b {
    font-size: 5px;
    font-weight: 600;
    color: #8fb5c4;
}

.ad-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin: auto -7px 0;
    padding: 5px 9px 7px;
    border-top: 1px solid rgba(103, 235, 255, 0.08);
    background: #0b1721;
}

.ad-nav i {
    height: 8px;
    border-radius: 999px;
    background: rgba(230, 249, 255, 0.18);
}

.ad-nav i.on {
    background: #3dd6d0;
}

@media (prefers-reduced-motion: reduce) {
    .ad-code .ln,
    .ad-row {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.ws-chip-android {
    color: var(--primary-strong);
}

.ide-android .card-path b::before {
    display: none;
}

.ide-android h3::before {
    content: "fun ";
    font-family: var(--font-mono);
    font-size: 0.7em;
    font-weight: 500;
    color: var(--primary-strong);
    opacity: 0.8;
}

.ide-android::after {
    content: "⌁\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·\A ·";
}

.ad-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.ad-code {
    font-size: 9.6px;
    overflow: hidden;
}

.ad-code .ln {
    white-space: pre;
}

.ws.ws-android {
    display: grid;
    place-items: center;
    overflow: visible;
    border: 0;
    background: radial-gradient(closest-side, rgba(var(--primary-rgb), 0.16), transparent 75%);
    box-shadow: none;
}

.hp-phone {
    position: relative;
    z-index: 2;
    height: 100%;
    aspect-ratio: 9 / 18.5;
    padding: 7px;
    border-radius: 30px;
    background: linear-gradient(160deg, #1b2a33, #070d12 40%);
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.5);
    animation: hpBob 7s ease-in-out infinite;
}

@keyframes hpBob {
    50% {
        transform: translateY(-6px);
    }
}

.hp-phone::after {
    content: "";
    position: absolute;
    top: 22%;
    right: -3px;
    width: 3px;
    height: 12%;
    border-radius: 0 3px 3px 0;
    background: #1b2a33;
}

.hp-phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    background: #050b13;
    overflow: hidden;
}

.hp-sb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 20px;
    padding: 0 12px;
    font-size: 7.5px;
    color: #cfe9f2;
}

.hp-cam {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
    box-shadow: inset 0 0 0 1.5px #1c2a33;
    transform: translateX(-50%);
}

.hp-sig {
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
}

.hp-sig i {
    width: 2px;
    background: currentColor;
}

.hp-sig i:nth-child(1) { height: 3px; }
.hp-sig i:nth-child(2) { height: 5px; }
.hp-sig i:nth-child(3) { height: 7px; }

.hp-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--ws-line);
    background: #081118;
    font-size: 8.5px;
    color: var(--ws-text);
}

.hp-bar img {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.hp-bar span {
    flex: 1;
}

.hp-bar em {
    font-style: normal;
    color: #43d39e;
    font-size: 7.5px;
}

.hp-code {
    flex: 1;
    padding: 8px 10px 0;
    font-size: 8.4px;
    line-height: 1.62;
    color: var(--ws-text);
    white-space: pre;
    overflow: hidden;
}

.hp-code .ln {
    display: block;
    opacity: 0;
    animation: adType 10s steps(1) infinite;
}

.hp-code .ln:nth-child(1) { animation-delay: 0s; }
.hp-code .ln:nth-child(2) { animation-delay: 0.2s; }
.hp-code .ln:nth-child(3) { animation-delay: 0.4s; }
.hp-code .ln:nth-child(4) { animation-delay: 0.6s; }
.hp-code .ln:nth-child(5) { animation-delay: 0.8s; }
.hp-code .ln:nth-child(6) { animation-delay: 1s; }
.hp-code .ln:nth-child(7) { animation-delay: 1.2s; }
.hp-code .ln:nth-child(8) { animation-delay: 1.4s; }
.hp-code .ln:nth-child(9) { animation-delay: 1.6s; }
.hp-code .ln:nth-child(10) { animation-delay: 1.8s; }
.hp-code .ln:nth-child(11) { animation-delay: 2s; }
.hp-code .ln:nth-child(12) { animation-delay: 2.2s; }
.hp-code .ln:nth-child(13) { animation-delay: 2.4s; }
.hp-code .ln:nth-child(14) { animation-delay: 2.6s; }

.hp-code .k { color: var(--ws-accent); }
.hp-code .s { color: var(--ws-accent-2); }
.hp-code .f { color: var(--ws-accent-3); }
.hp-code .t { color: #8fb8ff; }
.hp-code .a { color: #f6c177; }

.hp-term {
    display: grid;
    gap: 1px;
    margin: 6px 8px 0;
    padding: 6px 8px;
    border: 1px solid var(--ws-line);
    border-radius: 8px;
    background: #081118;
    font-size: 7.4px;
    color: var(--ws-dim);
}

.hp-term b {
    color: var(--ws-accent);
    font-weight: 500;
}

.hp-term .ok {
    color: #43d39e;
    opacity: 0;
    animation: adType 10s steps(1) infinite;
    animation-delay: 3.2s;
}

.hp-term .ok + .ok {
    animation-delay: 3.8s;
}

.hp-home {
    width: 34%;
    height: 3px;
    margin: 8px auto 6px;
    border-radius: 3px;
    background: rgba(230, 249, 255, 0.4);
}

.hp-float {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(var(--primary-rgb), 0.24);
    background: rgba(8, 17, 24, 0.92);
    color: #e6f9ff;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
    font-family: var(--font-body);
}

.hp-preview {
    right: 4%;
    top: 16%;
    width: 30%;
    min-width: 150px;
    padding: 10px;
    border-radius: 14px;
    animation: hpBob 6s ease-in-out -2s infinite;
}

.hp-preview-top {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}

.hp-preview-top img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.hp-preview-top strong {
    display: block;
    font-size: 10px;
}

.hp-preview-top small {
    display: block;
    font-size: 8px;
    color: #8fb5c4;
}

.hp-preview-card {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(103, 235, 255, 0.14);
    border-radius: 9px;
    background: linear-gradient(160deg, rgba(61, 214, 208, 0.2), rgba(11, 23, 33, 0.9));
}

.hp-preview-card div {
    flex: 1;
}

.hp-preview-card small {
    display: block;
    font-size: 6.5px;
    letter-spacing: 0.12em;
    color: #3dd6d0;
}

.hp-preview-card b {
    font-size: 9px;
}

.hp-preview-card em {
    font-style: normal;
    font-size: 9px;
    font-weight: 700;
}

.hp-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #43d39e;
    animation: adPulse 1.8s ease-in-out infinite;
}

.hp-preview-btn {
    margin-top: 7px;
    padding: 5px;
    border-radius: 7px;
    background: linear-gradient(120deg, #3dd6d0, #67ebff);
    color: #03161d;
    font-size: 8.5px;
    font-weight: 700;
    text-align: center;
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.hp-chip b {
    display: grid;
    place-items: center;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 5px;
    background: rgba(var(--primary-rgb), 0.18);
    color: #67ebff;
    font: 600 8px var(--font-mono);
}

.hp-chip.c1 {
    left: 6%;
    top: 22%;
    animation: hpBob 6.5s ease-in-out -1s infinite;
}

.hp-chip.c2 {
    left: 2%;
    bottom: 24%;
    animation: hpBob 7.5s ease-in-out -3s infinite;
}

.hp-chip.c3 {
    right: 7%;
    bottom: 14%;
    animation: hpBob 6s ease-in-out -4s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hp-phone,
    .hp-float,
    .hp-code .ln,
    .hp-term .ok {
        opacity: 1;
        animation: none;
    }
}

@media (max-width: 560px) {
    .hp-preview {
        display: none;
    }

    .hp-chip {
        font-size: 9px;
    }
}

.hp-code {
    white-space: normal;
}

.hp-code .ln {
    white-space: pre;
}

.hp-code em {
    font-style: normal;
}

@media (min-width: 1100px) {
    .site-footer .footer-top,
    .site-footer .footer-top.footer-top-with-contact {
        display: grid !important;
        grid-template-columns: repeat(3, max-content) max-content;
        justify-content: end;
        gap: 2rem clamp(2rem, 4vw, 4rem) !important;
        flex-wrap: nowrap;
    }
}

@media (min-width: 761px) and (max-width: 1099px) {
    .site-footer .footer-top,
    .site-footer .footer-top.footer-top-with-contact {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, max-content));
        gap: 2rem 3.5rem !important;
    }
}

@media (min-width: 1100px) {
    .site-footer .footer-panel {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: none !important;
        align-items: start;
        gap: 2.5rem 3rem;
    }

    .site-footer .footer-panel > * {
        grid-area: auto !important;
        min-width: 0;
    }

    .site-footer .footer-panel > .footer-lead {
        max-width: 460px;
    }
}

@media (min-width: 1100px) and (max-width: 1499px) {
    .site-footer .footer-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer .footer-panel > .footer-lead {
        max-width: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem 3rem;
    }

    .site-footer .footer-top,
    .site-footer .footer-top.footer-top-with-contact {
        justify-content: space-between !important;
        grid-template-columns: repeat(4, max-content) !important;
    }
}

@media (min-width: 1100px) {
    .site-footer .footer-panel > * {
        grid-column: 1 / -1 !important;
        order: 0 !important;
    }

    .site-footer .footer-panel > .footer-lead {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .site-footer .footer-panel > .footer-top {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
}

@media (min-width: 1100px) and (max-width: 1499px) {
    .site-footer .footer-panel > .footer-top {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
}

@media (min-width: 1100px) {
    .site-footer .footer-panel > .footer-lead {
        display: block !important;
    }

    .site-footer .footer-panel {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
}

@media (min-width: 1100px) and (max-width: 1499px) {
    .site-footer .footer-panel {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (min-width: 1500px) {
    .site-footer .footer-inner {
        width: min(1640px, calc(100% - 64px)) !important;
        max-width: none !important;
    }

    .site-footer .footer-panel {
        grid-template-columns: minmax(460px, 520px) minmax(0, 1fr) !important;
        gap: 3rem clamp(3rem, 6vw, 7rem) !important;
    }

    .site-footer .footer-panel > .footer-lead {
        max-width: 520px;
    }

    .site-footer .footer-panel > .footer-top {
        justify-content: space-between !important;
        grid-template-columns: repeat(4, max-content) !important;
    }

    .footer-brand-row.has-wordmark .wordmark img {
        height: 72px !important;
        width: auto !important;
        max-width: 100%;
    }

    .site-footer .footer-lead p {
        font-size: 1rem;
        line-height: 1.75;
        max-width: 44ch;
    }
}
