@font-face {
    font-family: "Wix Madefor Display";
    src: url("../assets/fonts/WixMadeforDisplay-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: light;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #eff6ff;
    --primary-mid: #60a5fa;
    --navy: #0b1220;
    --navy-soft: #111c33;
    --page: #ffffff;
    --surface: #f7f8fc;
    --surface-strong: #ffffff;
    --surface-tint: #eff6ff;
    --ink: #18192d;
    --muted: #686b7d;
    --line: #e3e5ed;
    --line-strong: #d3d6e1;
    --success: #118862;
    --amber: #d79722;
    --rose: #d95575;
    --danger: #c83f58;
    --shadow-sm: 0 8px 24px rgba(37, 99, 235, .07);
    --shadow-lg: 0 24px 70px rgba(37, 99, 235, .13);
    --max: 1240px;
    font-family: "Wix Madefor Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
    color-scheme: dark;
    --page: #10101a;
    --surface: #171721;
    --surface-strong: #1c1c28;
    --surface-tint: #201f38;
    --ink: #f7f7fc;
    --muted: #aeb0bf;
    --line: #30303e;
    --line-strong: #414152;
    --primary-soft: #252247;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .18);
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, .3);
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-color: #2563eb #111111;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

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

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #111111;
    border-radius: 4px;
    background: #2563eb;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

::-webkit-scrollbar-corner {
    background: #111111;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--page);
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img,
canvas {
    display: block;
    max-width: 100%;
}

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

p {
    margin: 0;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: 3.25rem;
    font-weight: 700;
}

h2 {
    font-size: 2.3rem;
    font-weight: 720;
}

h3 {
    font-size: 1.18rem;
    font-weight: 720;
}

button,
input,
textarea,
select {
    font: inherit;
}

* {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 4px;
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

body.nav-open .site-header {
    transform: none;
}

[data-theme="dark"] .site-header {
    background: rgba(16, 16, 26, .94);
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: none;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    max-width: var(--max);
    min-height: 72px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-panel {
    display: contents;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 800;
}

.brand img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.primary-nav > a,
.mega-trigger > a {
    padding: 8px 0;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 650;
    white-space: nowrap;
}

.primary-nav > a:hover,
.primary-nav > a:focus,
.mega-trigger > a:hover,
.mega-trigger > a:focus {
    color: var(--primary);
}

.mega-trigger {
    position: relative;
    padding: 20px 0;
}

.mega-menu {
    position: absolute;
    top: 64px;
    left: -190px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 620px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    border-radius: 4px;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 650;
}

.mega-menu a:hover {
    background: var(--surface-tint);
    color: var(--primary);
}

.mega-menu img {
    width: 24px;
    height: 24px;
    flex: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.search-mini {
    position: relative;
    color: var(--muted);
}

.search-mini img {
    position: absolute;
    top: 50%;
    left: 11px;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-mini input {
    width: 104px;
    min-height: 38px;
    padding: 8px 10px 8px 34px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
    transition: width .2s ease, border-color .2s ease;
}

.search-mini input:focus {
    width: 160px;
}

.theme-toggle,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
    color: var(--ink);
    cursor: pointer;
}

.theme-toggle img {
    width: 18px;
    height: 18px;
}

.nav-toggle {
    display: none;
    gap: 8px;
}

.nav-toggle img {
    color: currentColor;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

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

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

.btn-primary:hover {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
}

.btn-secondary {
    border-color: var(--line-strong);
    background: var(--surface-strong);
    color: var(--ink);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .45);
    background: transparent;
    color: #ffffff;
}

.btn-ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, .08);
}

.btn-light {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--primary);
}

.btn-small {
    min-height: 40px;
    padding: 9px 14px;
    font-size: .86rem;
}

.page-shell {
    min-height: 70vh;
    transition: opacity .18s ease;
}

.hero,
.trust-strip,
.stats-strip,
.section,
.subhero,
.final-cta,
.site-footer,
.process-inner,
.testimonial-inner {
    width: 100%;
    max-width: var(--max);
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
    align-items: center;
    gap: 46px;
    min-height: 590px;
    margin-top: 18px;
    padding: 64px 58px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--navy);
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero h1 {
    max-width: 620px;
    margin: 13px 0 20px;
    color: #ffffff;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 580px;
    color: #c6c3d7;
    font-size: 1rem;
}

.eyebrow {
    color: var(--primary);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow-on-dark {
    color: #93c5fd;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 28px;
}

.hero-proof span {
    position: relative;
    padding-left: 15px;
    color: #aaa7bf;
    font-size: .78rem;
    font-weight: 650;
}

.hero-proof span::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6cd6ad;
    content: "";
    transform: translateY(-50%);
}

.hero-visual {
    position: relative;
    min-width: 0;
    height: 470px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
    background: #0f172a;
}

.hero-scene {
    position: absolute;
    inset: 0;
}

.hero-scene canvas {
    width: 100% !important;
    height: 100% !important;
}

.scene-fallback {
    position: absolute;
    inset: 0;
}

.scene-fallback::before,
.scene-fallback::after,
.scene-fallback span {
    position: absolute;
    border: 1px solid rgba(145, 139, 255, .52);
    border-radius: 50%;
    content: "";
}

.scene-fallback::before {
    top: 50%;
    left: 50%;
    width: 126px;
    height: 126px;
    background: var(--primary);
    transform: translate(-50%, -50%);
}

.scene-fallback::after {
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
}

.scene-fallback span {
    width: 30px;
    height: 30px;
    background: #172554;
}

.scene-fallback span:nth-child(1) { top: 18%; left: 24%; }
.scene-fallback span:nth-child(2) { top: 24%; right: 20%; }
.scene-fallback span:nth-child(3) { bottom: 25%; left: 17%; }
.scene-fallback span:nth-child(4) { right: 18%; bottom: 20%; }
.scene-fallback span:nth-child(5) { top: 12%; left: 55%; }
.hero-scene.is-ready .scene-fallback { display: none; }

.scene-label {
    position: absolute;
    z-index: 3;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    background: rgba(16, 8, 45, .78);
    color: #dbeafe;
    font-size: .67rem;
    font-weight: 750;
    pointer-events: none;
}

.scene-label-api { top: 18%; left: 13%; }
.scene-label-cloud { top: 24%; right: 12%; }
.scene-label-mobile { right: 9%; bottom: 28%; }
.scene-label-web { bottom: 30%; left: 10%; }

.scene-status {
    position: absolute;
    right: 16px;
    bottom: 15px;
    left: 16px;
    z-index: 4;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
    background: rgba(12, 8, 34, .88);
    color: #bebbd0;
    font-size: .7rem;
}

.scene-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #52d09e;
    box-shadow: none;
}

.scene-status strong {
    color: #ffffff;
}

.trust-strip {
    padding-top: 48px;
    padding-bottom: 38px;
    text-align: center;
}

.trust-strip > p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.trust-strip > div {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    align-items: center;
}

.trust-strip strong {
    color: #777989;
    font-size: .95rem;
    font-weight: 720;
}

[data-theme="dark"] .trust-strip strong {
    color: #c5c6d2;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-strip > div {
    padding: 5px 18px;
    border-right: 1px solid var(--line);
    text-align: center;
}

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

.stats-strip strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 1.9rem;
    line-height: 1.15;
}

.stats-strip > div > span {
    color: var(--muted);
    font-size: .76rem;
}

.section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin-top: 10px;
}

.section-heading > p:last-child {
    max-width: 640px;
    margin-top: 14px;
}

.centered-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.centered-heading > p:last-child {
    margin-right: auto;
    margin-left: auto;
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    max-width: none;
}

.split-heading > div {
    max-width: 760px;
}

.text-link,
.service-card > a,
.project-card > a,
.blog-card > a,
.script-card > a,
.support-card > a,
.search-results a {
    color: var(--primary);
    font-weight: 750;
}

.text-link:hover,
.service-card > a:hover,
.project-card > a:hover,
.blog-card > a:hover,
.script-card > a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

[data-theme="dark"] .text-link,
[data-theme="dark"] .service-card > a,
[data-theme="dark"] .project-card > a,
[data-theme="dark"] .blog-card > a,
[data-theme="dark"] .script-card > a,
[data-theme="dark"] .support-card > a {
    color: #93c5fd;
}

.section-intro {
    padding-top: 112px;
}

.story-list {
    display: grid;
    gap: 112px;
    margin-top: 70px;
}

.feature-story {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
    align-items: center;
    gap: 72px;
}

.feature-story.story-reverse .story-copy {
    order: 2;
}

.feature-story.story-reverse .story-visual {
    order: 1;
}

.story-copy {
    position: relative;
}

.story-number {
    position: absolute;
    top: -44px;
    left: 0;
    color: #d8d9e4;
    font-size: 2rem;
    font-weight: 800;
}

[data-theme="dark"] .story-number {
    color: #3b3b4d;
}

.story-copy h3 {
    max-width: 540px;
    margin: 10px 0 16px;
    font-size: 2rem;
}

.story-copy > p:not(.eyebrow) {
    max-width: 540px;
}

.inline-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

.inline-checks li {
    position: relative;
    padding-left: 17px;
    color: var(--ink);
    font-size: .84rem;
    font-weight: 650;
}

.inline-checks li::before {
    position: absolute;
    top: .63em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    content: "";
}

.story-visual {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    box-shadow: none;
}

.visual-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 0 15px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-strong);
}

.visual-toolbar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8cad5;
}

.visual-toolbar i:first-child { background: var(--rose); }
.visual-toolbar i:nth-child(2) { background: var(--amber); }
.visual-toolbar i:nth-child(3) { background: var(--success); }

.visual-toolbar span {
    margin-left: 8px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 650;
}

.architecture-canvas {
    position: relative;
    height: 394px;
}

.architecture-core,
.architecture-node {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: var(--surface-strong);
    box-shadow: none;
}

.architecture-core {
    top: 50%;
    left: 50%;
    width: 136px;
    height: 82px;
    border-color: rgba(37, 99, 235, .35);
    border-radius: 4px;
    background: var(--primary);
    color: #ffffff;
    transform: translate(-50%, -50%);
}

.architecture-core-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(5, 15, 48, .28));
    animation: architecture-logo-float 3.2s ease-in-out infinite;
}

@keyframes architecture-logo-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.045);
    }
}

@media (prefers-reduced-motion: reduce) {
    .architecture-core-logo {
        animation: none;
    }
}

.architecture-node {
    width: 82px;
    height: 78px;
    border-radius: 4px;
}

.architecture-node img {
    width: 28px;
    height: 28px;
}

.architecture-node span {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
}

.node-users { top: 52px; left: 62px; }
.node-api { top: 45px; right: 68px; }
.node-data { bottom: 45px; left: 82px; }
.node-cloud { right: 52px; bottom: 54px; }

.architecture-line {
    position: absolute;
    z-index: 1;
    width: 2px;
    height: 145px;
    background: #cdcfe0;
    transform-origin: center;
}

[data-theme="dark"] .architecture-line {
    background: #414154;
}

.line-one { top: 84px; left: 37%; transform: rotate(-48deg); }
.line-two { top: 78px; right: 36%; transform: rotate(46deg); }
.line-three { bottom: 71px; left: 38%; transform: rotate(47deg); }
.line-four { right: 35%; bottom: 72px; transform: rotate(-45deg); }

.product-visual {
    background: var(--surface-tint);
}

.browser-mockup {
    position: absolute;
    top: 62px;
    right: 64px;
    left: 44px;
    height: 310px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface-strong);
    box-shadow: none;
}

.browser-body {
    display: grid;
    grid-template-columns: 66px 1fr;
    height: calc(100% - 46px);
}

.browser-body aside {
    display: grid;
    align-content: start;
    gap: 13px;
    padding: 22px;
    border-right: 1px solid var(--line);
    background: var(--surface);
}

.browser-body aside b {
    width: 20px;
    height: 5px;
    border-radius: 4px;
    background: #c8c9d6;
}

.browser-body main {
    padding: 25px;
}

.mock-kicker {
    width: 62px;
    height: 6px;
    border-radius: 4px;
    background: var(--primary-mid);
}

.mock-title {
    width: 44%;
    height: 14px;
    margin-top: 12px;
    border-radius: 4px;
    background: var(--ink);
    opacity: .82;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    height: 112px;
    margin-top: 26px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
}

.mock-chart span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: var(--primary);
}

.mock-chart span:nth-child(1) { height: 32%; }
.mock-chart span:nth-child(2) { height: 54%; }
.mock-chart span:nth-child(3) { height: 43%; }
.mock-chart span:nth-child(4) { height: 76%; }
.mock-chart span:nth-child(5) { height: 92%; background: var(--success); }

.mock-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 13px;
}

.mock-metrics i {
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
}

.phone-mockup {
    position: absolute;
    right: 34px;
    bottom: 27px;
    z-index: 3;
    width: 104px;
    height: 205px;
    padding: 20px 10px 12px;
    border: 5px solid #17172a;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
}

.phone-mockup > span {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 27px;
    height: 4px;
    border-radius: 4px;
    background: #17172a;
    transform: translateX(-50%);
}

.phone-hero {
    height: 66px;
    border-radius: 4px;
    background: var(--primary);
}

.phone-mockup i {
    display: block;
    height: 9px;
    margin-top: 12px;
    border-radius: 4px;
    background: #e5e6ec;
}

.phone-mockup i:nth-of-type(2) { width: 74%; }
.phone-mockup i:nth-of-type(3) { height: 38px; background: #eff6ff; }

.floating-tech {
    position: absolute;
    z-index: 4;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
    color: var(--primary);
    font-size: .68rem;
    font-weight: 800;
    box-shadow: none;
}

.tech-flutter { top: 35px; right: 28px; }
.tech-laravel { bottom: 24px; left: 23px; color: var(--rose); }
.tech-pwa { top: 136px; left: 20px; color: var(--success); }

.pipeline-visual {
    padding: 30px;
    background: #f8f8fb;
}

[data-theme="dark"] .pipeline-visual {
    background: var(--surface);
}

.pipeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.pipeline-head span {
    color: var(--ink);
    font-weight: 750;
}

.pipeline-head strong {
    color: var(--success);
    font-size: .74rem;
}

.pipeline-row {
    display: grid;
    grid-template-columns: 82px 1fr 74px;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    margin-bottom: 10px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
}

.pipeline-row span {
    color: var(--ink);
    font-size: .8rem;
    font-weight: 700;
}

.pipeline-row i {
    position: relative;
    height: 5px;
    overflow: hidden;
    border-radius: 4px;
    background: #e2e3ec;
}

.pipeline-row i::after {
    position: absolute;
    inset: 0;
    width: 94%;
    border-radius: inherit;
    background: var(--primary);
    content: "";
}

.pipeline-row:nth-child(4) i::after { width: 88%; }
.pipeline-row:nth-child(5) i::after { width: 100%; background: var(--success); }

.pipeline-row b {
    color: var(--success);
    font-size: .68rem;
    text-align: right;
}

.pipeline-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.pipeline-metrics > div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
}

.pipeline-metrics strong,
.pipeline-metrics span {
    display: block;
}

.pipeline-metrics strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.pipeline-metrics span {
    color: var(--muted);
    font-size: .65rem;
}

.services-section,
.marketplace-preview {
    max-width: none;
    padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px));
    padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
    background: var(--surface);
}

.card-grid,
.project-grid,
.blog-grid,
.testimonial-grid,
.script-row,
.dashboard-grid,
.admin-module-grid {
    display: grid;
    gap: 16px;
}

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

.service-card,
.project-card,
.blog-card,
.script-card,
.support-card,
.dashboard-card,
.metric-card,
.mini-card,
.assistant-panel,
.assistant-preview,
.contact-info,
.contact-form,
.support-panel,
.admin-module-grid article,
.admin-tables > div,
.admin-stats article {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
    box-shadow: none;
}

.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 17px;
    min-height: 190px;
    padding: 22px;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: none;
    transform: translateY(-3px);
}

.service-card > img {
    width: 38px;
    height: 38px;
}

.service-card h3 {
    margin-bottom: 8px;
}

.service-card p {
    font-size: .88rem;
}

.service-card > a {
    grid-column: 2;
    align-self: end;
    font-size: .82rem;
}

.service-card-large {
    min-height: 230px;
}

.benefits-section {
    padding-bottom: 110px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.benefits-grid article {
    min-height: 210px;
    padding: 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.benefits-grid article > span {
    display: block;
    margin-bottom: 35px;
    color: var(--primary-mid);
    font-size: .72rem;
    font-weight: 800;
}

.benefits-grid h3 {
    margin-bottom: 9px;
}

.benefits-grid p {
    font-size: .86rem;
}

.process-band {
    width: 100%;
    background: var(--navy);
}

.process-inner {
    padding-top: 88px;
    padding-bottom: 92px;
}

.process-band h2,
.process-band h3 {
    color: #ffffff;
}

.process-band .section-heading > p:last-child,
.process-band .timeline p {
    color: #aaa7bc;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.timeline article {
    position: relative;
    min-height: 180px;
    padding: 25px 18px 10px 0;
    border-top: 1px solid #334155;
}

.timeline article::before {
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #60a5fa;
    content: "";
}

.timeline article > span {
    color: #93c5fd;
    font-size: .72rem;
    font-weight: 800;
}

.timeline h3 {
    margin: 16px 0 9px;
    font-size: .96rem;
}

.timeline p {
    font-size: .77rem;
    line-height: 1.55;
}

.project-grid,
.blog-grid,
.script-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card,
.blog-card,
.script-card,
.support-card,
.dashboard-card,
.metric-card,
.mini-card {
    padding: 20px;
}

.project-card {
    box-shadow: none;
}

.project-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 230px;
    margin: -20px -20px 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #eff6ff;
}

.project-media-2 { background: #eef9f5; }
.project-media-3 { background: #fff6e8; }

[data-theme="dark"] .project-media { background: #252247; }
[data-theme="dark"] .project-media-2 { background: #17352f; }
[data-theme="dark"] .project-media-3 { background: #392f20; }

.project-media img {
    width: 68px;
    height: 68px;
}

.project-media > span {
    position: absolute;
    right: 13px;
    bottom: 13px;
    padding: 5px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .88);
    color: var(--primary);
    font-size: .65rem;
    font-weight: 800;
}

[data-theme="dark"] .project-media > span {
    background: rgba(16, 16, 26, .86);
    color: #93c5fd;
}

.project-card > h3,
.blog-card > h3,
.script-card > h3 {
    margin: 5px 0 10px;
}

.project-card > p,
.blog-card > p,
.script-card > p {
    font-size: .87rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 16px 0;
}

.tag-row.centered {
    justify-content: center;
}

.tag-row span,
.tech-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 650;
}

.tech-section {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    align-items: center;
    gap: 70px;
}

.tech-section h2 {
    margin: 10px 0 14px;
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-cloud span {
    min-height: 40px;
    padding: 8px 13px;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: .82rem;
}

.script-card > span,
.blog-card span,
.support-card > span,
.search-results span {
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.script-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.script-card > p {
    flex: 1;
}

.script-price,
.script-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 19px 0 15px;
}

.script-price strong,
.script-meta strong {
    color: var(--ink);
    font-size: 1.25rem;
}

.script-price small,
.script-meta em {
    color: var(--muted);
    font-size: .68rem;
    font-style: normal;
}

.testimonial-band {
    width: 100%;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface-tint);
}

.testimonial-inner {
    padding-top: 92px;
    padding-bottom: 96px;
}

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

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
    box-shadow: none;
}

.stars {
    margin-bottom: 15px;
    color: var(--amber);
    font-size: .8rem;
}

.testimonial-card > p {
    flex: 1;
    color: var(--ink);
    font-size: .87rem;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    font-size: .84rem;
}

.testimonial-card span {
    color: var(--muted);
    font-size: .72rem;
}

.assistant-section {
    scroll-margin-top: 88px;
}

.assistant-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

.assistant-panel,
.assistant-preview {
    padding: 23px;
}

.assistant-progress {
    display: flex;
    gap: 7px;
    margin-bottom: 22px;
}

.assistant-progress span {
    flex: 1;
    height: 5px;
    border-radius: 4px;
    background: var(--line);
}

.assistant-progress span.active {
    background: var(--primary);
}

.assistant-step {
    display: none;
    gap: 16px;
}

.assistant-step.active {
    display: grid;
}

label,
.field-group {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: .83rem;
    font-weight: 700;
}

.field-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-group > span {
    grid-column: 1 / -1;
}

.field-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 600;
}

.field-group input {
    width: auto;
}

.search-mini input,
.wide-search input,
.market-controls input,
.market-controls select,
.contact-form input,
.contact-form textarea,
.contact-form select,
.assistant input,
.assistant textarea,
.assistant select,
.chat-form input,
.chat-form textarea,
.newsletter input {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface-strong);
    color: var(--ink);
    outline: none;
}

.nav-actions .search-mini input {
    width: 104px;
}

.nav-actions .search-mini input:focus {
    width: 160px;
}

.wide-search input,
.market-controls input,
.market-controls select,
.contact-form input,
.contact-form textarea,
.contact-form select,
.assistant input,
.assistant textarea,
.assistant select,
.chat-form input,
.chat-form textarea {
    padding: 12px 13px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

textarea {
    resize: vertical;
}

.assistant-question {
    padding: 14px;
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 4px;
    background: var(--primary-soft);
    color: var(--ink);
    font-size: .82rem;
}

.assistant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

[data-assistant-submit] {
    display: none;
}

.assistant.is-final [data-assistant-submit] {
    display: inline-flex;
}

.assistant.is-final [data-assistant-next] {
    display: none;
}

.assistant-preview {
    position: sticky;
    top: 94px;
    align-self: start;
    background: var(--navy);
}

.assistant-preview .eyebrow {
    color: #93c5fd;
}

.assistant-preview h3 {
    margin: 8px 0 13px;
    color: #ffffff;
}

.assistant-preview > div {
    color: #aaa7bc;
    font-size: .8rem;
    white-space: pre-wrap;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.blog-meta time,
.blog-card > time {
    color: var(--muted);
    font-size: .7rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    box-shadow: none;
}

.blog-card > p {
    flex: 1;
}

.blog-card > a {
    margin-top: 18px;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    margin-top: 16px;
    margin-bottom: 74px;
    padding: 48px 54px;
    border-radius: 4px;
    background: var(--primary);
}

.final-cta h2 {
    max-width: 720px;
    margin: 8px 0 10px;
    color: #ffffff;
}

.final-cta > div > p:last-child {
    max-width: 640px;
    color: #c7c4e8;
}

.final-cta.compact {
    margin-top: 0;
}

.subhero {
    padding-top: 84px;
    padding-bottom: 66px;
    text-align: center;
}

.subhero h1 {
    max-width: 820px;
    margin: 6px auto 18px;
}

@media (max-width: 900px) {
    .subhero {
        padding-top: 74px;
    }
}

.subhero > p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
}

.cms-page-body {
    max-width: 860px;
    padding-top: 18px;
    padding-bottom: 48px;
    color: #b5b5be;
    font-size: 1rem;
    line-height: 1.8;
}

.cms-page-body h2,
.cms-page-body h3 {
    margin: 1.5em 0 .5em;
    color: #ffffff;
    font-weight: 400;
}

.cms-page-body p,
.cms-page-body ul,
.cms-page-body ol,
.cms-page-body blockquote {
    margin: 0 0 1.15em;
}

.detail-hero img {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
}

.feature-band {
    max-width: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.feature-band > * {
    max-width: calc(var(--max) - 48px);
    margin-right: auto;
    margin-left: auto;
}

.feature-layout {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 32px;
}

.feature-copy {
    display: grid;
    gap: 12px;
}

.feature-copy.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-copy article,
.service-detail-grid article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
}

.feature-copy article {
    border-left: 3px solid var(--primary);
}

.feature-copy p {
    margin-top: 8px;
}

.system-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
}

.system-map div {
    display: grid;
    place-items: center;
    min-height: 82px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-tint);
    color: var(--ink);
    font-size: .82rem;
    font-weight: 700;
}

.service-detail-grid,
.contact-grid,
.support-layout,
.admin-tables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.check-list,
.number-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.check-list li,
.number-list li {
    margin: 10px 0;
}

.faq-layout .section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.accordion-list {
    display: grid;
    gap: 10px;
    max-width: 880px;
    margin: 0 auto;
}

details {
    padding: 17px 19px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
}

summary {
    color: var(--ink);
    font-weight: 720;
    cursor: pointer;
}

details p {
    margin-top: 10px;
}

.filter-bar,
.market-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}

.filter-bar button,
.market-controls select {
    min-height: 41px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
    color: var(--ink);
    cursor: pointer;
}

.filter-bar button.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.market-controls input {
    max-width: 420px;
}

.support-layout {
    align-items: start;
}

.support-list {
    display: grid;
    gap: 14px;
}

.support-panel,
.contact-info,
.contact-form {
    padding: 24px;
}

.support-panel h2,
.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info p + p {
    margin-top: 10px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.social-links a {
    color: var(--primary);
    font-size: .82rem;
    font-weight: 700;
}

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

.dashboard-card > span {
    color: var(--primary);
    font-weight: 800;
}

.dashboard-card h2 {
    margin: 8px 0;
    font-size: 1.25rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-stats article,
.admin-module-grid article,
.admin-tables > div {
    padding: 18px;
}

.admin-stats strong {
    display: block;
    color: var(--primary);
    font-size: 2rem;
}

.admin-module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-module-grid article {
    color: var(--ink);
    font-weight: 700;
}

.admin-tables {
    align-items: start;
}

.admin-tables h2 {
    margin-bottom: 14px;
    font-size: 1.16rem;
}

.admin-tables article {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.admin-tables span {
    color: var(--muted);
    font-size: .8rem;
}

.article-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 106px 24px 60px;
}

.article-shell h1 {
    margin: 10px 0 16px;
}

.article-shell time {
    color: var(--muted);
}

.article-lead {
    margin-top: 18px;
    font-size: 1.08rem;
}

.article-body {
    margin-top: 34px;
}

.article-body h2 {
    margin: 28px 0 10px;
    font-size: 1.5rem;
}

.wide-search {
    display: flex;
    gap: 10px;
    max-width: 720px;
    margin: 24px auto 0;
}

.search-results {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.search-results article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
}

.flash-message {
    max-width: calc(var(--max) - 48px);
    margin: 18px auto 0;
    padding: 13px 18px;
    border: 1px solid rgba(17, 136, 98, .35);
    border-radius: 4px;
    background: #eef9f5;
    color: #17694f;
}

[data-theme="dark"] .flash-message {
    background: #17352f;
    color: #9fddc7;
}

.flash-error {
    border-color: rgba(200, 63, 88, .35);
    background: #fff0f3;
    color: var(--danger);
}

.site-footer {
    max-width: none;
    padding-top: 44px;
    padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px));
    padding-bottom: 24px;
    padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
    background: var(--navy);
}

.site-footer .brand,
.site-footer h2,
.site-footer h3 {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.55fr) repeat(4, minmax(120px, 1fr));
    gap: 24px;
    align-items: start;
}

.footer-grid h3 {
    margin-bottom: 11px;
    color: #ffffff;
    font-size: .82rem;
    font-weight: 500;
}

.footer-grid a {
    display: block;
    margin: 6px 0;
    color: #aaa7bc;
    font-size: .78rem;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-brand p,
.footer-grid > div > p {
    max-width: 350px;
    margin-top: 14px;
    color: #9794aa;
    font-size: .8rem;
    line-height: 1.6;
}

.site-footer .social-links a,
.site-footer .social-links > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin: 0;
    border: 1px solid #282733;
    border-radius: 4px;
    background: transparent;
    color: #c9c6da;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.site-footer .social-links > span {
    opacity: .62;
}

.site-footer .social-links a:hover {
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .06);
    transform: translateY(-2px);
}

.site-footer .social-links img {
    width: 17px;
    height: 17px;
}

.newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    margin-top: 13px;
}

.newsletter input {
    min-width: 0;
    padding: 9px 10px;
    border-color: #3b3554;
    background: #18113a;
    color: #ffffff;
    font-size: .75rem;
}

.newsletter button {
    padding: 0 13px;
    border: 0;
    border-radius: 4px;
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #24232c;
    color: #8f8ba3;
    font-size: .72rem;
}

.chat-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 140;
}

.chat-launcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
}

.chat-launcher img {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.chat-unread {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    font-size: .7rem;
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 60px;
    display: none;
    width: 360px;
    max-width: calc(100vw - 36px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
    box-shadow: none;
}

.chat-panel.is-open {
    display: block;
}

.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.chat-head span {
    display: block;
    color: var(--muted);
    font-size: .75rem;
}

.chat-head i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--success);
}

.chat-head button {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.chat-thread {
    display: grid;
    gap: 10px;
    min-height: 128px;
    max-height: 230px;
    padding: 14px;
    overflow: auto;
}

.chat-bubble {
    padding: 10px 12px;
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
    font-size: .82rem;
}

.chat-bubble.visitor {
    background: var(--primary-soft);
}

.typing {
    color: var(--muted);
    font-size: .78rem;
}

.chat-form {
    display: grid;
    gap: 9px;
    padding: 14px;
    border-top: 1px solid var(--line);
}

.chat-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.file-lite {
    color: var(--muted);
    font-size: .77rem;
}

.file-lite input {
    margin-top: 6px;
}

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

@media (max-width: 1120px) {
    h1 {
        font-size: 2.95rem;
    }

    h2 {
        font-size: 2.05rem;
    }

    .primary-nav {
        gap: 15px;
    }

    .primary-nav > a,
    .mega-trigger > a {
        font-size: .8rem;
    }

    .search-mini {
        display: none;
    }

    .hero {
        grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
        gap: 30px;
        padding: 52px 42px;
    }

    .hero-visual {
        height: 420px;
    }

    .feature-story {
        grid-template-columns: .9fr 1.1fr;
        gap: 44px;
    }

    .benefits-grid,
    .testimonial-grid,
    .admin-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 26px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 560px;
    }
}

@media (max-width: 900px) {
    .nav-wrap {
        min-height: 68px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .primary-nav,
    .nav-actions {
        position: fixed;
        right: 16px;
        left: 16px;
        display: none;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 4px;
        background: var(--surface-strong);
        box-shadow: none;
    }

    .primary-nav {
        top: 74px;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    .nav-actions {
        top: 333px;
        flex-direction: row;
        align-items: stretch;
    }

    .primary-nav.is-open,
    .nav-actions.is-open {
        display: flex;
    }

    .primary-nav > a,
    .mega-trigger > a {
        padding: 8px;
        color: var(--ink);
    }

    .mega-trigger {
        padding: 0;
    }

    .mega-menu {
        position: static;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-top: 7px;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .mega-trigger:hover .mega-menu,
    .mega-trigger:focus-within .mega-menu {
        display: grid;
    }

    .nav-actions .btn {
        flex: 1;
    }

    .hero,
    .feature-story,
    .tech-section,
    .assistant-grid,
    .feature-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 42px;
        min-height: auto;
        padding: 54px 44px 44px;
    }

    .hero-copy {
        max-width: 660px;
    }

    .hero-visual {
        height: 430px;
    }

    .trust-strip > div {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 20px;
    }

    .feature-story.story-reverse .story-copy,
    .feature-story.story-reverse .story-visual {
        order: initial;
    }

    .feature-story {
        gap: 34px;
    }

    .story-copy {
        max-width: 680px;
    }

    .services-grid,
    .three-grid,
    .project-grid,
    .blog-grid,
    .script-row,
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-grid,
    .contact-grid,
    .support-layout,
    .admin-tables {
        grid-template-columns: 1fr;
    }

    .split-heading,
    .final-cta,
    .footer-bottom {
        display: grid;
        align-items: start;
    }

    .assistant-preview {
        position: static;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.28rem;
    }

    h2 {
        font-size: 1.72rem;
    }

    .nav-wrap,
    .hero,
    .trust-strip,
    .stats-strip,
    .section,
    .subhero,
    .final-cta,
    .process-inner,
    .testimonial-inner {
        padding-right: 18px;
        padding-left: 18px;
    }

    .nav-toggle span {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
    }

    .mega-menu {
        grid-template-columns: 1fr;
        max-height: 260px;
        overflow-y: auto;
    }

    .hero {
        gap: 20px;
        margin-top: 8px;
        padding-top: 34px;
        padding-bottom: 14px;
        border-radius: 0;
    }

    .hero h1 {
        font-size: 2.28rem;
    }

    .wide-search {
        display: grid;
    }

    .hero-actions {
        flex-wrap: nowrap;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
        font-size: .74rem;
    }

    .hero-visual {
        height: 210px;
        margin-right: -8px;
        margin-left: -8px;
    }

    .scene-status {
        grid-template-columns: auto 1fr;
    }

    .scene-status strong {
        display: none;
    }

    .trust-strip {
        padding-top: 38px;
    }

    .trust-strip > div {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stats-strip > div {
        padding: 17px 8px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .stats-strip > div:nth-child(2n) {
        border-right: 0;
    }

    .stats-strip > div:last-child {
        grid-column: 1 / -1;
        border-bottom: 0;
    }

    .section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .section-intro {
        padding-top: 78px;
    }

    .story-list {
        gap: 82px;
        margin-top: 60px;
    }

    .story-copy h3 {
        font-size: 1.55rem;
    }

    .inline-checks,
    .feature-copy.two-column,
    .field-group,
    .chat-fields {
        grid-template-columns: 1fr;
    }

    .story-visual {
        min-height: 355px;
    }

    .architecture-canvas {
        height: 309px;
        transform: scale(.82);
        transform-origin: center;
    }

    .architecture-node {
        width: 72px;
        height: 70px;
    }

    .node-users { left: 20px; }
    .node-api { right: 22px; }
    .node-data { left: 35px; }
    .node-cloud { right: 22px; }

    .product-visual {
        min-height: 360px;
    }

    .browser-mockup {
        top: 48px;
        right: 28px;
        left: 20px;
        height: 265px;
    }

    .phone-mockup {
        right: 15px;
        bottom: 12px;
        width: 92px;
        height: 182px;
    }

    .floating-tech.tech-pwa {
        display: none;
    }

    .pipeline-visual {
        padding: 20px 14px;
    }

    .pipeline-head {
        align-items: flex-start;
    }

    .pipeline-row {
        grid-template-columns: 56px 1fr 58px;
        gap: 8px;
        padding: 0 10px;
    }

    .pipeline-metrics {
        grid-template-columns: 1fr;
    }

    .services-section,
    .marketplace-preview,
    .site-footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .services-grid,
    .three-grid,
    .project-grid,
    .blog-grid,
    .script-row,
    .dashboard-grid,
    .benefits-grid,
    .testimonial-grid,
    .admin-module-grid,
    .admin-stats,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid article {
        min-height: auto;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .timeline article {
        min-height: auto;
        padding: 22px 0 24px 28px;
        border-top: 0;
        border-left: 1px solid #334155;
    }

    .timeline article::before {
        top: 27px;
        left: -5px;
    }

    .timeline h3 {
        margin-top: 7px;
    }

    .tech-section {
        gap: 30px;
    }

    .project-media {
        min-height: 200px;
    }

    .final-cta {
        width: calc(100% - 36px);
        margin-right: 18px;
        margin-left: 18px;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .chat-widget {
        right: 12px;
        left: auto;
    }

    .chat-panel {
        position: fixed;
        right: 12px;
        bottom: 72px;
        left: 12px;
        width: auto;
    }

    .chat-launcher {
        width: 48px;
        min-width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
    }

    .chat-launcher .chat-label {
        display: none;
    }

    .chat-launcher .chat-unread {
        position: absolute;
        top: -6px;
        right: 0;
        width: 19px;
        height: 19px;
        margin: 0;
        border: 2px solid #ffffff;
    }

    .newsletter {
        grid-template-columns: 1fr;
    }
}

/* Homepage newsletter */
.home-newsletter {
    width: 100%;
    padding: 76px 24px;
    background: #171719;
}

.home-newsletter-inner {
    display: grid;
    width: min(100%, var(--max));
    margin: 0 auto;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    align-items: end;
    gap: 72px;
}

.home-newsletter h2 {
    max-width: 620px;
    margin: 10px 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 400;
    line-height: 1.05;
}

.home-newsletter p:not(.eyebrow) {
    max-width: 560px;
    margin: 0;
    color: #a7a7b0;
    font-size: .96rem;
    line-height: 1.65;
}

.home-newsletter-form {
    display: grid;
    gap: 11px;
}

.home-newsletter-fields {
    display: grid;
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.home-newsletter-fields input {
    min-width: 0;
    padding: 0 18px;
    border: 1px solid #3b3b43;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    color: #ffffff;
    background: #111113;
    font: inherit;
    font-size: .9rem;
}

.home-newsletter-fields input::placeholder {
    color: #75757e;
}

.home-newsletter-fields input:focus {
    border-color: var(--primary);
}

.home-newsletter-fields button {
    min-width: 132px;
    padding: 0 22px;
    border: 1px solid var(--primary);
    border-radius: 0 4px 4px 0;
    color: #ffffff;
    background: var(--primary);
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
}

.home-newsletter-fields button:hover,
.home-newsletter-fields button:focus-visible {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
}

.home-newsletter-form small {
    color: #777780;
    font-size: .72rem;
}

.newsletter-preferences {
    display: grid;
    width: min(100%, 680px);
    gap: 14px;
    min-height: 380px;
    align-content: start;
}

.newsletter-preferences h2 {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
}

.newsletter-preferences p {
    margin: 0 0 12px;
    color: #a7a7b0;
}

.newsletter-preferences .btn {
    width: fit-content;
}

@media (max-width: 760px) {
    .home-newsletter {
        padding: 58px 18px;
    }

    .home-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-newsletter h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .home-newsletter-fields {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .home-newsletter-fields input,
    .home-newsletter-fields button {
        min-height: 54px;
        border: 1px solid #3b3b43;
        border-radius: 4px;
    }

    .home-newsletter-fields button {
        border-color: var(--primary);
    }
}

/* Refined agency presentation */
:root {
    --shadow-sm: none;
    --shadow-lg: none;
    font-family: "Wix Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    font-family: inherit;
    font-weight: 400;
}

h1,
h2,
h3 {
    font-weight: 500;
}

.brand-mark-shell {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 5px;
    overflow: hidden;
    border-radius: 4px;
    background: #2563eb;
}

.brand-mark-shell img,
.brand .brand-mark-shell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.site-header,
.site-header.is-scrolled,
.mega-menu,
.service-card,
.project-card,
.testimonial-card,
.story-visual,
.assistant-panel,
.assistant-preview,
.contact-form,
.contact-info,
.support-panel,
.chat-panel,
.chat-launcher {
    box-shadow: none;
}

.site-header {
    background: #ffffff;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .97);
}

.nav-wrap {
    min-height: 78px;
}

.brand {
    font-weight: 600;
}

.primary-nav > a,
.mega-trigger > a {
    font-weight: 500;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr);
    grid-template-rows: 1fr auto;
    gap: 36px 64px;
    width: 100%;
    max-width: none;
    min-height: calc(100svh - 78px);
    margin: 0;
    padding: 82px max(24px, calc((100% - var(--max)) / 2 + 24px)) 34px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #2563eb;
}

.hero::before {
    position: absolute;
    inset: 0 0 0 54%;
    background: #172554;
    content: "";
    opacity: .34;
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-copy {
    align-self: center;
}

.hero h1 {
    max-width: 680px;
    margin: 16px 0 25px;
    font-size: 4.65rem;
    font-weight: 500;
    line-height: 1.01;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 620px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.18rem;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 34px;
}

.hero .btn {
    min-height: 52px;
    padding: 13px 22px;
    font-weight: 500;
}

.hero-visual {
    align-self: center;
    height: 530px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.scene-label {
    border-radius: 4px;
    background: rgba(24, 11, 65, .78);
    font-weight: 500;
}

.scene-status {
    right: 24px;
    bottom: 10px;
    left: 24px;
    grid-template-columns: auto 1fr;
    border-radius: 4px;
    background: rgba(19, 7, 56, .76);
}

.hero-metrics {
    position: relative;
    z-index: 3;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.hero-metrics > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-right: 28px;
}

.hero-metrics strong {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 500;
}

.hero-metrics span {
    color: rgba(255, 255, 255, .64);
    font-size: .76rem;
}

.trust-strip {
    padding-top: 54px;
    padding-bottom: 54px;
}

.trust-strip > p {
    margin-bottom: 27px;
    font-weight: 500;
}

.trust-strip strong {
    font-weight: 500;
}

.section {
    padding-top: 82px;
    padding-bottom: 82px;
}

.section-heading {
    margin-bottom: 36px;
}

.section-heading h2 {
    font-size: 2.65rem;
    font-weight: 500;
    line-height: 1.13;
}

.home-services {
    padding-top: 82px;
    padding-bottom: 82px;
}

.home-services .services-grid {
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.home-services .service-card {
    min-height: 205px;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    transform: none;
}

.home-services .service-card:hover {
    border-color: var(--line);
    background: #eff6ff;
    box-shadow: none;
    transform: none;
}

.home-services .service-card h3 {
    font-weight: 500;
}

.home-feature .feature-story {
    grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr);
    gap: 90px;
}

.home-feature .story-copy h2 {
    margin: 12px 0 19px;
    font-size: 2.75rem;
    font-weight: 500;
}

.home-feature .story-visual {
    min-height: 500px;
    box-shadow: none;
}

.home-feature .architecture-canvas {
    height: 452px;
}

.projects-section {
    border-top: 1px solid var(--line);
}

.project-card {
    box-shadow: none;
}

.project-card > p {
    min-height: 58px;
}

.project-card > a {
    display: inline-block;
    margin-top: 18px;
}

.home-process .process-inner {
    padding-top: 72px;
    padding-bottom: 72px;
}

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

.home-process .timeline article {
    min-height: 160px;
}

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

.home-testimonials .testimonial-card {
    min-height: 230px;
    box-shadow: none;
}

.final-cta {
    padding-top: 48px;
    padding-bottom: 48px;
    box-shadow: none;
}

.site-footer .brand-mark-shell {
    background: rgba(255, 255, 255, .08);
}

@media (max-width: 1120px) {
    .hero {
        grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr);
        gap: 28px 38px;
    }

    .hero h1 {
        font-size: 3.65rem;
    }

    .home-feature .feature-story {
        grid-template-columns: .85fr 1.15fr;
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .site-header,
    .site-header.is-scrolled {
        backdrop-filter: none;
    }

    .nav-wrap {
        min-height: 70px;
    }

    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 26px;
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 30px;
    }

    .hero::before {
        inset: 45% 0 0 0;
        clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-visual {
        height: 390px;
    }

    .hero-metrics {
        grid-column: 1;
    }

    .home-feature .feature-story {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .home-feature .story-copy {
        max-width: 680px;
    }

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

@media (max-width: 680px) {
    .hero {
        gap: 20px;
        min-height: calc(100svh - 70px);
        margin-top: 0;
        padding-top: 48px;
        padding-right: 18px;
        padding-bottom: 24px;
        padding-left: 18px;
    }

    .hero h1 {
        margin: 13px 0 19px;
        font-size: 2.72rem;
        line-height: 1.02;
    }

    .hero-copy > p:not(.eyebrow) {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions {
        gap: 8px;
        margin-top: 26px;
    }

    .hero .btn {
        min-height: 48px;
        padding: 11px 9px;
        font-size: .73rem;
    }

    .hero-visual {
        height: 225px;
        margin: 0 -8px;
    }

    .hero-metrics {
        gap: 10px;
        padding-right: 58px;
        padding-top: 18px;
    }

    .hero-metrics > div {
        display: grid;
        gap: 1px;
        padding: 0;
    }

    .hero-metrics strong {
        font-size: 1.05rem;
    }

    .hero-metrics span {
        font-size: .62rem;
        line-height: 1.3;
    }

    .trust-strip {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .section,
    .home-services {
        padding-top: 50px;
        padding-bottom: 50px;
    }

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

    .section-heading h2,
    .home-feature .story-copy h2 {
        font-size: 1.92rem;
    }

    .home-services .services-grid {
        grid-template-columns: 1fr;
    }

    .home-services .service-card {
        min-height: 170px;
    }

    .home-feature .story-visual {
        min-height: 360px;
    }

    .home-feature .architecture-canvas {
        height: 314px;
    }

    .home-process .timeline {
        grid-template-columns: 1fr;
    }

    .home-testimonials .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark agency presentation */
:root {
    color-scheme: dark;
    --primary: #2563eb;
    --primary-hover: #3b82f6;
    --primary-soft: #172554;
    --primary-mid: #60a5fa;
    --navy: #0c0b1a;
    --navy-soft: #151329;
    --page: #111111;
    --surface: #151518;
    --surface-strong: #1a1a1f;
    --surface-tint: #151421;
    --ink: #f5f4fa;
    --muted: #aaa9b5;
    --line: #2c2b33;
    --line-strong: #3a3944;
}

html,
body,
.page-shell {
    background: #111111;
}

body.nav-open {
    overflow: hidden;
}

body.cookie-preferences-open {
    overflow: hidden;
}

.site-header,
.site-header.is-scrolled {
    border-color: rgba(255, 255, 255, .08);
    background: #111111;
    backdrop-filter: none;
}

.nav-wrap {
    min-height: 80px;
}

.brand-mark-shell {
    width: 42px;
    height: 42px;
    padding: 6px;
}

.primary-nav > a,
.mega-trigger > a {
    color: #aaa9b7;
}

.primary-nav > a:hover,
.primary-nav > a:focus,
.mega-trigger > a:hover,
.mega-trigger > a:focus {
    color: #ffffff;
}

.mega-menu {
    border-color: #34333f;
    background: #17171d;
}

.mega-menu a {
    color: #e8e7ee;
}

.mega-menu a:hover {
    background: #22212c;
    color: #ffffff;
}

.nav-toggle {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.nav-toggle-icons {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
}

.nav-toggle-icons img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 4px;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.nav-line-top {
    transform: translateY(-7px) rotate(0);
}

.nav-line-bottom {
    transform: translateY(3px) rotate(0);
}

.nav-toggle[aria-expanded="true"] .nav-line-top {
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-line-bottom {
    transform: translateY(-50%) rotate(-45deg);
}

.hero-atmosphere {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, #2563eb 0%, #2563eb 10%, #111111 82%);
}

.hero {
    min-height: calc(86svh - 80px);
    background: transparent;
}

.hero::before {
    inset: 0;
    background: linear-gradient(122deg, rgba(37, 99, 235, 0) 32%, rgba(96, 165, 250, .16) 100%);
    opacity: 1;
    clip-path: none;
}

.hero h1,
.section-heading h2,
.home-feature .story-copy h2,
.project-card h3,
.blog-card h3,
.testimonial-card strong {
    color: #f8f7fb;
}

.hero-copy > p:not(.eyebrow) {
    color: rgba(255, 255, 255, .76);
}

.hero-visual {
    background: transparent;
}

.scene-status,
.scene-label {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(15, 9, 42, .72);
}

.trust-strip {
    padding-top: 62px;
    padding-bottom: 74px;
    border: 0;
}

.trust-strip > p {
    color: rgba(255, 255, 255, .64);
}

.trust-strip strong {
    color: rgba(255, 255, 255, .82);
}

.home-page .services-section,
.home-page .home-services,
.home-page .home-feature,
.home-page .projects-section {
    background: #111111;
}

.eyebrow,
.text-link,
.service-card > a,
.project-card > a,
.blog-card > a {
    color: #93c5fd;
}

.text-link:hover,
.service-card > a:hover,
.project-card > a:hover,
.blog-card > a:hover {
    color: #ffffff;
}

.home-services .services-grid {
    border-color: #302f38;
}

.home-services .service-card {
    border-color: #302f38;
    background: #141417;
}

.home-services .service-card:hover {
    border-color: #454352;
    background: #1a1922;
}

.home-services .service-card p,
.home-feature .story-copy > p,
.project-card > p,
.blog-card > p,
.testimonial-card > p {
    color: #aaa9b5;
}

.inline-checks li {
    color: #dedde5;
}

.home-feature .story-visual,
.visual-toolbar,
.architecture-core,
.architecture-node {
    border-color: #34333d;
}

.home-feature .story-visual,
.architecture-canvas {
    background: #15151a;
}

.visual-toolbar,
.architecture-node {
    background: #1a1a20;
}

.architecture-line {
    background: #444251;
}

.projects-section {
    border-color: #2c2b33;
}

.project-card,
.blog-card,
.testimonial-card {
    border-color: #302f38;
    background: #161619;
}

.project-media {
    border-color: #302f38;
    background: #1b1935;
}

.project-media-2 {
    background: #152a26;
}

.project-media-3 {
    background: #2b2218;
}

.project-media > span {
    background: rgba(17, 17, 17, .9);
    color: #bfdbfe;
}

.process-band {
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    background: #0d0c1d;
}

.home-testimonials {
    border-color: #2c2b33;
    background: #131318;
}

.home-blog {
    max-width: none;
    padding-top: 78px;
    padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px));
    padding-bottom: 82px;
    padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
    border-bottom: 0;
    background: #111111;
}

.home-blog-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.home-blog .section-heading {
    margin-bottom: 30px;
}

.home-blog .eyebrow,
.home-blog .text-link,
.home-blog .blog-card > a {
    color: #93c5fd;
}

.home-blog .text-link:hover,
.home-blog .blog-card > a:hover {
    color: #ffffff;
}

.home-blog .section-heading h2,
.home-blog .blog-card h3 {
    color: #f5f4fa;
}

.home-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 18px;
}

.home-blog .blog-card {
    min-height: auto;
    border-color: #302f38;
    background: #151518;
}

.blog-card-featured {
    padding: 26px;
}

.blog-card-stack {
    display: grid;
    gap: 18px;
}

.blog-card-compact {
    padding: 24px;
}

.blog-card-visual {
    position: relative;
    display: grid;
    min-height: 190px;
    margin-bottom: 24px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #34333d;
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .32), rgba(37, 99, 235, 0) 52%),
        #1a1a20;
}

.blog-card-visual::before,
.blog-card-visual::after {
    position: absolute;
    border: 1px solid rgba(147, 197, 253, .14);
    content: "";
}

.blog-card-visual::before {
    inset: 25px;
}

.blog-card-visual::after {
    inset: 52px 20%;
}

.blog-card-visual img {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
}

.blog-card-visual span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 5px 8px;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    background: #2563eb;
    color: #ffffff;
    font-size: .68rem;
    font-weight: 500;
}

.home-blog .blog-meta {
    margin-bottom: 15px;
}

.home-blog .blog-meta span {
    color: #93c5fd;
    font-size: .72rem;
    font-weight: 500;
}

.home-blog .blog-meta time {
    color: #92919e;
}

.home-blog .blog-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.28;
}

.blog-card-featured h3 {
    max-width: 680px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.08;
}

.home-blog .blog-card p {
    color: #aaa9b5;
}

.final-cta {
    border: 1px solid #2563eb;
    background: #2563eb;
}

.site-footer {
    border-top: 0;
    background: #111111;
}

.site-footer .footer-grid a {
    color: #b5bed0;
}

.site-footer .footer-brand p,
.site-footer .footer-grid > div > p {
    color: #9da9bd;
}

.site-footer .footer-bottom {
    border-color: #263752;
    color: #929fb3;
}

.site-footer .social-links a,
.site-footer .social-links > span {
    border-color: #2b4163;
    background: #111e34;
}

.site-footer .brand-mark-shell {
    width: 42px;
    height: 42px;
}

@media (max-width: 900px) {
    .site-header,
    .site-header.is-scrolled {
        backdrop-filter: none;
    }

    .nav-wrap {
        min-height: 70px;
    }

    .brand-mark-shell {
        width: 38px;
        height: 38px;
    }

    .nav-toggle {
        position: relative;
        z-index: 104;
        display: inline-grid;
        place-items: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        margin-left: auto;
        padding: 0;
    }

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

    .primary-nav {
        position: fixed;
        z-index: 101;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: calc(100dvh - 70px);
        padding: 34px 24px 138px;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background: #111111;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .26s ease, visibility .26s ease, transform .36s cubic-bezier(.22, 1, .36, 1);
    }

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

    .primary-nav > a,
    .mega-trigger > a {
        display: block;
        padding: 17px 0;
        border-bottom: 1px solid #2d2c34;
        color: #f5f4fa;
        font-size: clamp(1.55rem, 6vw, 2.15rem);
        font-weight: 500;
        line-height: 1.1;
    }

    .mega-trigger {
        padding: 0;
    }

    .mega-menu,
    .mega-trigger:hover .mega-menu,
    .mega-trigger:focus-within .mega-menu {
        display: none;
    }

    .nav-actions {
        position: fixed;
        z-index: 103;
        top: auto;
        right: 24px;
        bottom: 28px;
        left: 24px;
        display: flex;
        padding: 0;
        border: 0;
        background: transparent;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity .24s ease, visibility .24s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
    }

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

    .nav-actions .btn {
        width: 100%;
        min-height: 54px;
    }

    .hero {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .hero-atmosphere {
        background: linear-gradient(180deg, #2563eb 0%, #2563eb 8%, #111111 100%);
    }

    .hero {
        padding-top: 52px;
    }

    .trust-strip {
        padding-top: 54px;
        padding-bottom: 66px;
    }

}

/* Focused hero */
.home-page .site-header:not(.is-scrolled) {
    border-color: transparent;
    background: #2563eb;
}

.site-header .brand-mark-shell {
    width: 42px;
    height: 42px;
    padding: 0;
}

.home-page .site-header:not(.is-scrolled) .nav-toggle {
    border-color: transparent;
    background: transparent;
}

.home-page .site-header:not(.is-scrolled) .primary-nav > a,
.home-page .site-header:not(.is-scrolled) .mega-trigger > a {
    color: rgba(255, 255, 255, .76);
}

.home-page .site-header:not(.is-scrolled) .primary-nav > a:hover,
.home-page .site-header:not(.is-scrolled) .primary-nav > a:focus,
.home-page .site-header:not(.is-scrolled) .mega-trigger > a:hover,
.home-page .site-header:not(.is-scrolled) .mega-trigger > a:focus {
    color: #ffffff;
}

@media (min-width: 901px) {
    .site-header .brand-mark-shell {
        width: 50px;
        height: 50px;
    }

    .nav-actions .btn {
        width: 120px;
    }

    .primary-nav > a,
    .mega-trigger > a {
        font-size: .96rem;
    }

    .home-page .site-header:not(.is-scrolled) .nav-actions .btn {
        border-color: #ffffff;
        background: #ffffff;
        color: #2563eb;
    }

    .home-page .site-header:not(.is-scrolled) .nav-actions .btn:hover,
    .home-page .site-header:not(.is-scrolled) .nav-actions .btn:focus-visible {
        border-color: #eff6ff;
        background: #eff6ff;
        color: #1d4ed8;
    }
}

@media (min-width: 901px) and (max-width: 1120px) {
    .primary-nav {
        gap: 16px;
    }

    .primary-nav > a,
    .mega-trigger > a {
        font-size: .9rem;
    }
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    place-items: center;
    gap: 0;
    min-height: calc(66svh - 80px);
    overflow: visible;
    padding-top: 54px;
    padding-bottom: 54px;
    text-align: center;
}

.hero::before {
    background: none;
}

.hero-copy {
    position: relative;
    top: 54px;
    width: 100%;
    max-width: 1060px;
    margin: auto;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 28px;
    font-size: 5.2rem;
    line-height: 1.08;
}

.hero h1 span {
    display: block;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-top: 44px;
}

.hero-cta {
    display: inline-flex;
    min-width: 232px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    appearance: none;
    background: #2563eb;
    background-clip: padding-box;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1;
    overflow: hidden;
    text-decoration: none;
    -webkit-appearance: none;
    transition: color .2s ease, transform .2s ease;
}

.hero-cta:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.hero-cta:active {
    transform: translateY(1px);
}

.hero-cta:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

.technology-showcase {
    position: relative;
    overflow: hidden;
    padding: 60px 0 52px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, #111111 24%, #111111 100%);
}

.home-about-brief {
    padding: 58px 24px 62px;
    background: #111111;
    text-align: left;
}

.home-about-inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 58px;
    max-width: var(--max);
    margin: 0 auto;
}

.home-about-brief h2 {
    max-width: 620px;
    margin-top: 14px;
    color: #f8f7fb;
    font-size: 2.7rem;
    line-height: 1.08;
}

.home-about-copy {
    max-width: 610px;
    padding-top: 10px;
}

.home-about-copy p {
    color: #aaa9b5;
    font-size: 1.02rem;
    line-height: 1.7;
}

.home-about-copy p + p {
    margin-top: 18px;
}

.home-impact {
    padding: 10px 24px 74px;
    background: #111111;
}

.home-impact-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.home-impact-card {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: #202020;
    cursor: pointer;
}

.impact-progress {
    position: absolute;
    top: 30px;
    right: 38px;
    left: 38px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(var(--impact-count), minmax(0, 1fr));
    gap: 10px;
}

.impact-progress-tab {
    position: relative;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.impact-progress-tab::before {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .25);
    content: "";
    transition: background-color .24s ease, transform .24s ease;
}

.impact-progress-tab:hover::before,
.impact-progress-tab:focus-visible::before {
    background: rgba(255, 255, 255, .55);
}

.impact-progress-tab.is-active::before {
    background: #f1f1f3;
    transform: scaleY(1.35);
}

.impact-stage {
    position: absolute;
    inset: 78px 38px 42px;
}

.impact-slide {
    height: 100%;
}

.impact-slide.is-active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: impact-slide-reveal .38s ease both;
}

.impact-slide[hidden] {
    display: none;
}

.impact-visual {
    width: 120px;
    height: 120px;
    margin-top: 18px;
    margin-left: -13px;
}

.impact-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.impact-copy {
    max-width: 820px;
}

.impact-copy h2 {
    max-width: 900px;
    margin: 0;
    color: #f8f8fa;
    font-size: 4.1rem;
    font-weight: 400;
    line-height: 1.03;
}

.impact-copy h2 strong {
    color: #ffffff;
    font-weight: 500;
}

.impact-copy p {
    max-width: 680px;
    margin: 20px 0 0;
    color: #aeadb5;
    font-size: 1.05rem;
    line-height: 1.55;
}

@keyframes impact-slide-reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.technology-heading {
    position: relative;
    z-index: 2;
    margin: 0 auto 42px;
    padding: 0 20px;
    text-align: center;
}

.technology-heading h2 {
    margin-bottom: 10px;
    color: #f8f7fb;
    font-size: 1.55rem;
}

.technology-heading p {
    color: rgba(255, 255, 255, .58);
    font-size: .92rem;
}

.technology-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.technology-marquees {
    position: relative;
    display: grid;
    gap: 18px;
    overflow: hidden;
    padding: 4px 0;
}

.technology-marquees::before,
.technology-marquees::after {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(10vw, 128px);
    content: "";
    pointer-events: none;
}

.technology-marquees::before {
    left: 0;
    background: linear-gradient(90deg, #111111, rgba(17, 17, 17, 0));
}

.technology-marquees::after {
    right: 0;
    background: linear-gradient(270deg, #111111, rgba(17, 17, 17, 0));
}

.technology-marquee {
    overflow: hidden;
}

.technology-track,
.technology-sequence {
    display: flex;
    width: max-content;
    align-items: center;
}

.technology-track {
    will-change: transform;
}

.technology-track-left {
    animation: technology-scroll-left 42s linear infinite;
}

.technology-track-right {
    animation: technology-scroll-right 48s linear infinite;
}

.technology-sequence {
    gap: 18px;
    padding-right: 18px;
}

.technology-logo {
    display: grid;
    place-items: center;
    width: 112px;
    height: 60px;
    flex: none;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    background: rgba(255, 255, 255, .025);
    transition: border-color .25s ease, background .25s ease;
}

.technology-logo img {
    width: 42px;
    height: 32px;
    object-fit: contain;
    opacity: .5;
    transition: opacity .25s ease, transform .25s ease;
}

.technology-logo:hover {
    border-color: rgba(96, 165, 250, .48);
    background: rgba(37, 99, 235, .2);
}

.technology-logo:hover img {
    opacity: 1;
    transform: scale(1.06);
}

@keyframes technology-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-25%); }
}

@keyframes technology-scroll-right {
    from { transform: translateX(-25%); }
    to { transform: translateX(0); }
}

@media (max-width: 1120px) {
    .hero h1 {
        font-size: 4.45rem;
    }
}

@media (max-width: 900px) {
    .site-header .brand-mark-shell {
        width: 38px;
        height: 38px;
    }

    .hero {
        min-height: calc(68svh - 70px);
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .impact-copy h2 {
        font-size: 3.25rem;
    }

}

@media (max-width: 680px) {
    .hero {
        min-height: calc(68svh - 70px);
        padding: 42px 18px 46px;
    }

    .hero h1 {
        max-width: 350px;
        margin-bottom: 24px;
        font-size: 2.9rem;
        line-height: 1.08;
    }

    .hero-copy {
        top: 46px;
    }

    .hero-copy > p:not(.eyebrow) {
        max-width: 335px;
        font-size: .95rem;
        line-height: 1.55;
    }

    .hero-actions {
        width: 100%;
        max-width: 354px;
        margin-top: 40px;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-cta {
        width: 100%;
        min-width: 0;
        height: 54px;
        padding: 0 20px;
        font-size: 1.04rem;
    }

    .technology-showcase {
        padding-top: 28px;
        padding-bottom: 42px;
    }

    .home-about-brief {
        padding: 42px 18px 44px;
    }

    .home-about-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-about-brief h2 {
        max-width: 350px;
        font-size: 2.08rem;
    }

    .home-about-copy {
        max-width: 355px;
        padding-top: 0;
    }

    .home-about-copy p {
        font-size: .94rem;
        line-height: 1.62;
    }

    .home-impact {
        padding: 4px 18px 52px;
    }

    .home-impact-card {
        min-height: 500px;
    }

    .impact-progress {
        top: 22px;
        right: 24px;
        left: 24px;
        gap: 8px;
    }

    .impact-stage {
        inset: 66px 24px 38px;
    }

    .impact-visual {
        width: 100px;
        height: 100px;
        margin-top: 16px;
        margin-left: -11px;
    }

    .impact-copy h2 {
        font-size: 2.05rem;
        line-height: 1.08;
    }

    .impact-copy p {
        margin-top: 13px;
        font-size: .94rem;
        line-height: 1.5;
    }

    .technology-heading {
        margin-bottom: 34px;
    }

    .technology-heading h2 {
        display: none;
        margin-bottom: 4px;
        font-size: 1.04rem;
    }

    .technology-heading p {
        font-size: .84rem;
    }

    .technology-marquees {
        gap: 14px;
    }

    .technology-marquees::before,
    .technology-marquees::after {
        width: 46px;
    }

    .technology-sequence {
        gap: 12px;
        padding-right: 12px;
    }

    .technology-logo {
        width: 94px;
        height: 54px;
    }

    .technology-logo img {
        width: 38px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .technology-track {
        animation-play-state: paused;
    }

    .impact-slide.is-active {
        animation: none;
    }
}

.nav-toggle-icons {
    width: 30px;
    height: 30px;
}

.nav-toggle-icons img {
    width: 30px;
    height: 4px;
}

.brand-mark-shell,
.site-header .brand-mark-shell,
.site-footer .brand-mark-shell {
    padding: 0;
    background: transparent;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    padding: 0 !important;
}

.review-slider {
    position: relative;
    overflow: hidden;
}

.review-slider::before,
.review-slider::after {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(10vw, 120px);
    content: "";
    pointer-events: none;
}

.review-slider::before {
    left: 0;
    background: linear-gradient(90deg, #131318, rgba(19, 19, 24, 0));
}

.review-slider::after {
    right: 0;
    background: linear-gradient(270deg, #131318, rgba(19, 19, 24, 0));
}

.review-slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
    transform: translate3d(0, 0, 0);
    transition: transform .9s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.review-slider .testimonial-card {
    width: min(360px, calc(100vw - 56px));
    flex: none;
}

.home-faq,
.checkout-section,
.support-ticket-section,
.admin-settings,
.admin-inventory {
    background: #111111;
}

.checkout-form,
.support-ticket-form,
.admin-settings-form,
.checkout-summary {
    border: 1px solid #302f38;
    border-radius: 4px;
    background: #151518;
}

.checkout-form,
.support-ticket-form,
.admin-settings-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 22px;
}

.checkout-form label,
.support-ticket-form label,
.admin-settings-form label,
.checkout-summary label {
    display: grid;
    gap: 7px;
    color: #d8d6e4;
    font-size: .82rem;
    font-weight: 500;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.support-ticket-form input,
.support-ticket-form textarea,
.support-ticket-form select,
.admin-settings-form input,
.admin-settings-form textarea,
.admin-settings-form select,
.admin-status-form select,
.compact-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #34333d;
    border-radius: 4px;
    background: #111116;
    color: #f5f4fa;
}

.checkout-form textarea,
.support-ticket-form textarea,
.admin-settings-form textarea {
    resize: vertical;
}

.checkout-form fieldset,
.admin-settings-form fieldset {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid #34333d;
    border-radius: 4px;
}

.checkout-form legend,
.admin-settings-form legend {
    padding: 0 6px;
    color: #f5f4fa;
    font-size: .86rem;
    font-weight: 500;
}

.checkout-form fieldset label,
.checkbox-line {
    display: flex;
    align-items: center;
    gap: 9px;
}

.checkout-form input[type="radio"],
.checkout-form input[type="checkbox"],
.checkbox-line input {
    width: 18px;
    min-height: 18px;
    accent-color: #2563eb;
}

.checkout-form .btn,
.support-ticket-form .btn {
    align-self: end;
}

.price-pill,
.admin-badge {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 500;
}

.product-showcase,
.checkout-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-showcase > div,
.checkout-summary {
    padding: 22px;
}

.product-reviews {
    display: grid;
    gap: 12px;
}

.product-reviews article {
    padding: 14px;
    border: 1px solid #302f38;
    border-radius: 4px;
    background: #151518;
}

.product-reviews strong {
    color: #93c5fd;
}

.product-reviews span,
.wallet-address {
    color: #aaa9b5;
    word-break: break-word;
}

.compact-form {
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
}

.contact-actions,
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.contact-links a {
    color: #93c5fd;
    font-size: .82rem;
    font-weight: 500;
}

.admin-settings-form {
    grid-template-columns: 1fr;
}

.admin-settings-form fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-settings-form legend {
    grid-column: 1 / -1;
}

.admin-inventory {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 22px;
}

.admin-inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-inventory-grid article {
    padding: 16px;
    border: 1px solid #302f38;
    border-radius: 4px;
    background: #151518;
}

.admin-inventory-grid strong {
    display: block;
    color: #93c5fd;
    font-size: 1.8rem;
}

.admin-status-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.admin-status-form select {
    min-height: 36px;
    padding: 7px 9px;
    font-size: .76rem;
}

.admin-status-form button {
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    background: #2563eb;
    color: #ffffff;
    font-size: .74rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .home-blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-card-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-form,
    .support-ticket-form,
    .product-showcase,
    .checkout-status-grid,
    .admin-settings-form fieldset,
    .admin-inventory {
        grid-template-columns: 1fr;
    }

    .admin-inventory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home-blog {
        padding-top: 58px;
        padding-right: 18px;
        padding-bottom: 62px;
        padding-left: 18px;
    }

    .home-blog .section-heading {
        margin-bottom: 24px;
    }

    .home-blog .split-heading {
        gap: 14px;
    }

    .blog-card-stack {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .blog-card-featured,
    .blog-card-compact {
        padding: 20px;
    }

    .blog-card-visual {
        min-height: 145px;
        margin-bottom: 20px;
    }

    .blog-card-featured h3,
    .home-blog .blog-card h3 {
        font-size: 1.38rem;
        line-height: 1.18;
    }

    .checkout-form,
    .support-ticket-form,
    .admin-settings-form,
    .checkout-summary,
    .product-showcase > div {
        padding: 16px;
    }

    .review-slider::before,
    .review-slider::after {
        width: 42px;
    }

    .review-slider-track {
        gap: 12px;
    }

    .admin-inventory-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .review-slider-track {
        transition: none;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        width: 52px;
        min-width: 52px;
        height: 52px;
        min-height: 52px;
    }

    body.nav-open .site-header,
    body.nav-open .site-header.is-scrolled,
    body.home-page.nav-open .site-header:not(.is-scrolled) {
        border-color: #2d2c34;
        background: #111111;
    }
}

/* Menu and cookie preferences */
.nav-toggle {
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: transparent;
    background: transparent;
}

.nav-toggle:active {
    transform: scale(.96);
}

.cookie-trigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 130;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid #3b82f6;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, opacity .2s ease;
}

.cookie-trigger:hover,
.cookie-trigger:focus-visible {
    border-color: #60a5fa;
    background: #3b82f6;
    transform: translateY(-2px);
}

.cookie-trigger img {
    width: 30px;
    height: 30px;
}

body.nav-open .cookie-trigger {
    opacity: 0;
    pointer-events: none;
}

.cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: transparent;
    opacity: 0;
    pointer-events: none;
}

.cookie-backdrop.is-open {
    opacity: 0;
}

.cookie-sheet {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 310;
    width: min(600px, calc(100vw - 40px));
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #34333d;
    border-radius: 4px;
    background: #151518;
    opacity: 1;
    transform: translateY(calc(100% + 24px));
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.cookie-sheet.is-open {
    transform: translateY(0);
}

.cookie-sheet.is-intro {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 16px);
    border: 0;
    border-top: 4px solid #2563eb;
    border-radius: 0;
    background: #ffffff;
}

.cookie-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #302f38;
}

.cookie-sheet-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.cookie-sheet-title > img {
    width: 34px;
    height: 34px;
    padding: 5px;
    border-radius: 50%;
    background: #2563eb;
}

.cookie-sheet-title span {
    display: block;
    margin-bottom: 3px;
    color: #93c5fd;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cookie-sheet-title h2 {
    font-size: 1.15rem;
    line-height: 1.15;
}

.cookie-sheet-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    padding: 0;
    border: 1px solid #383741;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.cookie-sheet-close:hover,
.cookie-sheet-close:focus-visible {
    background: rgba(255, 255, 255, .07);
}

.cookie-sheet-copy {
    padding: 14px 20px;
    border-bottom: 1px solid #302f38;
    color: #aaa9b5;
    font-size: .78rem;
}

.cookie-intro-content {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 28px 28px 24px;
}

.cookie-intro-content h2 {
    margin-bottom: 11px;
    color: #2f2f32;
    font-size: 1.65rem;
    line-height: 1.12;
}

.cookie-intro-content h2:focus {
    outline: none;
}

.cookie-intro-content p {
    max-width: 900px;
    color: #66666c;
    font-size: .92rem;
    line-height: 1.48;
}

.cookie-intro-content p a {
    color: #2f2f32;
    border-bottom: 1px solid #2f2f32;
}

.cookie-intro-content p a:hover,
.cookie-intro-content p a:focus-visible {
    color: #93c5fd;
    border-color: #93c5fd;
}

.cookie-settings-link {
    display: block;
    margin: 20px auto 17px;
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid #2f2f32;
    background: transparent;
    color: #2f2f32;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
    color: #93c5fd;
    border-color: #93c5fd;
}

.cookie-allow-all {
    width: 100%;
    min-height: 48px;
    font-size: .9rem;
}

@media (min-width: 681px) {
    .cookie-intro-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
        grid-template-rows: auto auto;
        column-gap: 56px;
        row-gap: 10px;
        max-width: 1120px;
        padding: 28px;
    }

    .cookie-intro-content h2 {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
    }

    .cookie-intro-content p {
        grid-column: 1;
        grid-row: 2;
        max-width: 700px;
    }

    .cookie-settings-link {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin: 0 auto;
    }

    .cookie-allow-all {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }
}

.cookie-options {
    padding: 0 20px 18px;
}

.cookie-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #302f38;
    cursor: pointer;
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option strong {
    margin-bottom: 2px;
    color: #f4f3f8;
    font-size: .82rem;
}

.cookie-option small {
    color: #92919e;
    font-size: .68rem;
    line-height: 1.4;
}

.cookie-switch {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    flex: none;
}

.cookie-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cookie-switch i {
    position: absolute;
    inset: 0;
    border: 1px solid #4a4955;
    border-radius: 50%;
    background: #26262c;
    transition: border-color .2s ease, background .2s ease;
}

.cookie-switch i::before {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    content: "";
    opacity: 0;
    transform: scale(.45);
    transition: opacity .2s ease, transform .22s ease;
}

.cookie-switch input:checked + i {
    border-color: #3b82f6;
    background: #2563eb;
}

.cookie-switch input:checked + i::before {
    background: #ffffff;
    opacity: 1;
    transform: scale(1);
}

.cookie-switch input:focus-visible + i {
    outline: 3px solid rgba(96, 165, 250, .35);
    outline-offset: 3px;
}

.cookie-switch input:disabled + i {
    opacity: .72;
}

.cookie-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 16px;
}

.cookie-actions .btn {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    min-height: 42px;
    font-size: .72rem;
}

@media (max-width: 680px) {
    .cookie-trigger {
        bottom: 16px;
        left: 16px;
        width: 50px;
        height: 50px;
    }

    .cookie-sheet {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
        background: #111111;
        transform: translateY(100%);
    }

    .cookie-sheet.is-intro {
        top: auto;
        width: 100%;
        height: auto;
        max-height: calc(100dvh - 8px);
        border-top: 4px solid #2563eb;
        border-radius: 0;
        background: #ffffff;
    }

    .cookie-sheet:not(.is-intro) [data-cookie-preferences]:not([hidden]) {
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr);
        min-height: 100%;
    }

    .cookie-sheet-header,
    .cookie-sheet-copy {
        padding-right: 18px;
        padding-left: 18px;
    }

    .cookie-options {
        display: flex;
        min-height: 0;
        flex-direction: column;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 18px;
        padding-left: 18px;
    }

    .cookie-option {
        gap: 14px;
    }

    .cookie-actions {
        grid-template-columns: 1fr;
        margin-top: auto;
    }

    .cookie-actions .btn {
        min-height: 44px;
        font-size: .82rem;
    }

    .cookie-intro-content {
        padding: 22px 18px 18px;
    }

    .cookie-intro-content h2 {
        margin-bottom: 9px;
        font-size: 1.35rem;
    }

    .cookie-intro-content p {
        font-size: .84rem;
        line-height: 1.45;
    }

    .cookie-settings-link {
        margin-top: 17px;
        margin-bottom: 14px;
        font-size: .8rem;
    }

    .cookie-allow-all {
        min-height: 44px;
        font-size: .86rem;
    }
}

/* Homepage services restyle */
.home-services {
    position: relative;
    overflow: hidden;
    padding-top: 76px;
    padding-bottom: 80px;
    background: #111111 !important;
}

.home-services-shell {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: 0 auto;
}

.home-services .services-heading {
    align-items: flex-start;
    margin-bottom: 30px;
}

.home-services .section-heading h2 {
    max-width: 850px;
    color: #ffffff;
}

.home-services .section-heading > div > p:last-child {
    max-width: 690px;
    margin-top: 15px;
    color: #aaa9b5;
}

.home-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    border: 0;
}

.home-services .service-card {
    position: relative;
    display: flex;
    min-height: 320px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #33343b;
    border-radius: 4px;
    background: #171719;
    transition: border-color .24s ease, transform .24s ease;
}

.home-services .service-card:hover {
    border-color: #4b5d80;
    transform: translateY(-3px);
}

.home-services .service-card > .service-card-hitarea,
.home-services .service-card > .service-card-hitarea:hover {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 320px;
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.home-services .service-card > .service-card-hitarea:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: -2px;
}

.service-card-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    background: #141519;
}

.service-card-visual::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(23, 23, 25, .05) 0%, rgba(23, 23, 25, .48) 42%, #171719 74%);
    content: "";
    pointer-events: none;
}

.service-visual-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .5;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%);
    mask-image: linear-gradient(180deg, #000, transparent 92%);
    transition: opacity .24s ease;
}

.home-services .service-card:hover .service-visual-mesh {
    opacity: .8;
}

.service-card-visual-domain-registration-professional-email-setup {
    background: linear-gradient(145deg, #1a202a, #131519 70%);
}

.service-card-visual-custom-software-development {
    background: linear-gradient(145deg, #172027, #131519 72%);
}

.service-card-visual-web-development {
    background: linear-gradient(145deg, #181d27, #131519 72%);
}

.service-card-visual-mobile-app-development {
    background: linear-gradient(145deg, #171a26, #131519 72%);
}

.service-card-visual-seo-technical-local {
    background: linear-gradient(145deg, #162023, #131519 72%);
}

.service-card-visual-website-maintenance-speed-optimization {
    background: linear-gradient(145deg, #1b1d23, #131519 72%);
}

.service-card-content {
    position: relative;
    z-index: 4;
    display: flex;
    width: 100%;
    min-height: 320px;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
}

.service-card-top {
    position: absolute;
    top: 20px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
}

.service-index {
    color: #777984;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: 0;
}

.service-card-body {
    display: grid;
    gap: 9px;
}

.home-services .service-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2;
}

.home-services .service-card:hover h3 span,
.home-services .service-card-hitarea:focus-visible h3 span,
.home-services .service-card-hitarea:active h3 span {
    color: #bfdbfe;
}

.home-services .service-card p {
    max-width: 560px;
    color: #aaaab3;
    font-size: .86rem;
    line-height: 1.58;
}

.service-watermark-support {
    position: absolute;
    top: 28px;
    right: 22px;
    left: 66px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
}

.service-watermark-secondary {
    position: relative;
    width: 54px;
    height: 54px;
    flex: none;
    object-fit: contain;
    opacity: .16;
    transition: opacity .25s ease, transform .3s ease;
}

.service-card-seo-technical-local .service-watermark-secondary-1 {
    width: 112px;
    height: 54px;
}

.home-services .service-card:hover .service-watermark-secondary {
    opacity: .24;
    transform: translateY(-4px);
}


.services-footer-link {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.services-footer-link .text-link {
    color: #93c5fd;
    font-size: .9rem;
    font-weight: 500;
}

@media (max-width: 980px) {
    .home-services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 680px) {
    .home-services {
        padding-top: 56px;
        padding-bottom: 60px;
    }

    .home-services .services-heading {
        display: grid;
        gap: 20px;
        margin-bottom: 24px;
    }

    .home-services .section-heading h2 {
        font-size: 1.78rem;
        line-height: 1.13;
    }

    .home-services .section-heading > div > p:last-child {
        margin-top: 12px;
        font-size: .9rem;
    }

    .home-services .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-services .service-card {
        grid-column: auto;
        min-height: 310px;
    }

    .home-services .service-card > .service-card-hitarea {
        min-height: 310px;
    }

    .service-card-visual {
        min-height: 0;
    }

    .service-card-content {
        min-height: 310px;
        padding: 20px 18px;
    }

    .service-card-top {
        top: 18px;
        left: 18px;
    }

    .service-watermark-support {
        top: 24px;
        right: 18px;
        left: 58px;
        gap: 10px;
    }

    .service-watermark-secondary {
        width: 48px;
        height: 48px;
    }

    .home-services .service-card h3 {
        font-size: 1.28rem;
        line-height: 1.2;
    }

    .home-services .service-card p {
        font-size: .87rem;
    }

    .services-footer-link {
        justify-content: flex-start;
    }
}

/* Reliable header movement */
.site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
}

.site-header.is-hidden {
    transform: translateY(calc(-100% - 1px));
}

.site-header:not(.is-hidden) {
    transform: none;
}

.page-shell {
    padding-top: 80px;
}

/* Consolidated mobile navigation */
@media (max-width: 900px) {
    body.nav-open {
        position: fixed;
        right: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        overscroll-behavior: none;
        touch-action: none;
    }

    .page-shell {
        padding-top: 70px;
    }

    .nav-panel {
        position: fixed;
        z-index: 101;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        width: 100%;
        height: calc(100dvh - 70px);
        overflow: hidden;
        overscroll-behavior: none;
        background: #111111;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .24s ease, visibility .24s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
    }

    .nav-panel.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .nav-panel:not(.is-open) .primary-nav,
    .nav-panel:not(.is-open) .nav-actions {
        visibility: hidden;
        pointer-events: none;
    }

    .nav-panel.is-open .primary-nav,
    .nav-panel.is-open .nav-actions {
        visibility: visible;
        pointer-events: auto;
    }

    .primary-nav {
        position: static;
        z-index: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: flex;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 10px 20px;
        gap: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .primary-nav > a,
    .primary-nav .mega-trigger {
        flex: 1 1 0;
        min-height: 0;
        max-height: 58px;
    }

    .primary-nav > a,
    .primary-nav .mega-trigger > a {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 14px 0;
        border-bottom: 1px solid #2d2c34;
        border-radius: 0;
        background: transparent;
        color: #f5f4fa;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 1.15;
        text-align: left;
        cursor: pointer;
    }

    .primary-nav .mega-trigger {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-actions {
        position: static;
        z-index: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: flex;
        width: 100%;
        margin: 0;
        padding: 14px 20px max(20px, env(safe-area-inset-bottom));
        border: 0;
        border-top: 1px solid #2d2c34;
        background: #111111;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .nav-actions .btn {
        min-height: 52px;
        border-radius: 4px;
        font-size: 1rem;
        font-weight: 400;
    }
}

/* Homepage FAQ */
.home-faq {
    display: grid;
    grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
    align-items: start;
    gap: clamp(48px, 7vw, 96px);
}

.home-faq .section-heading {
    max-width: 430px;
    margin: 0;
    text-align: left;
}

.home-faq .section-heading h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 3.3vw, 3.25rem);
    line-height: 1.08;
}

.home-faq .section-heading > p:last-child {
    margin-top: 18px;
    color: #aaa9b5;
    font-size: .95rem;
    line-height: 1.65;
}

.home-faq .accordion-list {
    gap: 0;
    width: 100%;
    max-width: none;
    border-top: 1px solid #34333d;
}

.home-faq details {
    padding: 0;
    border: 0;
    border-bottom: 1px solid #34333d;
    border-radius: 0;
    background: transparent;
    transition: border-color .2s ease, background .2s ease;
}

.home-faq details:hover,
.home-faq details[open] {
    border-color: #3b82f6;
    background: #151518;
}

.home-faq summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 14px;
    padding: 22px 16px;
    color: #f5f4fa;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.35;
    list-style: none;
}

.home-faq summary::-webkit-details-marker {
    display: none;
}

.home-faq .faq-number {
    color: #60a5fa;
    font-size: .72rem;
    font-weight: 500;
}

.home-faq summary img {
    width: 18px;
    height: 18px;
    transition: transform .25s ease;
}

.home-faq details[open] summary img {
    transform: rotate(180deg);
}

.home-faq details p {
    max-width: 720px;
    margin: 0;
    padding: 0 54px 24px 68px;
    color: #aaa9b5;
    font-size: .9rem;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .home-faq {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-faq .section-heading {
        max-width: 620px;
    }
}

@media (max-width: 680px) {
    .home-faq {
        gap: 26px;
    }

    .home-faq .section-heading h2 {
        font-size: 2rem;
    }

    .home-faq summary {
        grid-template-columns: 30px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 19px 10px;
        font-size: .94rem;
    }

    .home-faq details p {
        padding: 0 38px 20px 40px;
        font-size: .86rem;
    }
}

/* Reference-led testimonial carousel */
.home-testimonials {
    overflow: hidden;
    border-color: #24232c;
    background: #111111;
}

.home-page .home-testimonials {
    border-bottom: 0;
}

.home-testimonials .testimonial-inner {
    padding-top: 88px;
    padding-bottom: 92px;
}

.testimonial-heading {
    display: grid;
    gap: 34px;
    max-width: 780px;
    margin-bottom: 54px;
}

.testimonial-heading h2 {
    color: #ffffff;
    font-size: 3.7rem;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0;
}

.testimonial-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.testimonial-trust-avatars {
    display: flex;
    padding-left: 12px;
}

.review-avatar {
    display: grid;
    width: 54px;
    height: 54px;
    flex: none;
    place-items: center;
    margin-left: -12px;
    border: 3px solid #111111;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: .72rem;
    font-weight: 500;
}

.review-avatar-2 {
    background: #0f766e;
}

.review-avatar-3 {
    background: #b45309;
}

.review-avatar-4 {
    background: #be123c;
}

.testimonial-trust p {
    max-width: 330px;
    color: #c8c9d2;
    font-size: 1.15rem;
    line-height: 1.42;
}

.home-testimonials .review-slider {
    overflow: hidden;
}

.home-testimonials .review-slider::before,
.home-testimonials .review-slider::after {
    display: none;
}

.home-testimonials .review-slider-track {
    gap: 24px;
}

.home-testimonials .review-slider .testimonial-card {
    width: min(650px, calc(100vw - 92px));
    min-height: 500px;
    flex: none;
    padding: 44px;
    border: 1px solid #303036;
    border-radius: 4px;
    background: #202022;
}

.home-testimonials .testimonial-card .review-avatar-large {
    width: 126px;
    height: 126px;
    margin: 0;
    border: 0;
    font-size: 1.35rem;
}

.home-testimonials .testimonial-card blockquote {
    flex: 1;
    margin: 42px 0 34px;
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.42;
}

.home-testimonials .testimonial-card footer {
    display: grid;
    gap: 5px;
}

.home-testimonials .testimonial-card strong {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
}

.home-testimonials .testimonial-card span:not(.review-avatar) {
    color: #b5b5bd;
    font-size: .92rem;
}

.review-controls {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.review-controls button {
    display: grid;
    width: 60px;
    height: 60px;
    flex: none;
    place-items: center;
    padding: 0;
    border: 1px solid #303036;
    border-radius: 50%;
    background: #202022;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.review-controls button:hover,
.review-controls button:focus-visible {
    border-color: #3b82f6;
    background: #2563eb;
}

.review-controls button:active {
    transform: scale(.96);
}

.review-controls img {
    width: 24px;
    height: 24px;
}

@media (max-width: 680px) {
    .home-testimonials .testimonial-inner {
        padding-top: 64px;
        padding-bottom: 68px;
    }

    .testimonial-heading {
        gap: 26px;
        margin-bottom: 38px;
    }

    .testimonial-heading h2 {
        font-size: 2.55rem;
        line-height: 1.08;
    }

    .testimonial-trust {
        align-items: flex-start;
        gap: 16px;
    }

    .review-avatar {
        width: 46px;
        height: 46px;
        margin-left: -10px;
        font-size: .64rem;
    }

    .testimonial-trust p {
        max-width: 180px;
        font-size: .98rem;
    }

    .home-testimonials .review-slider-track {
        gap: 14px;
    }

    .home-testimonials .review-slider .testimonial-card {
        width: calc(100vw - 72px);
        min-height: 430px;
        padding: 28px;
    }

    .home-testimonials .testimonial-card .review-avatar-large {
        width: 94px;
        height: 94px;
        font-size: 1.05rem;
    }

    .home-testimonials .testimonial-card blockquote {
        margin-top: 34px;
        margin-bottom: 28px;
        font-size: 1.35rem;
        line-height: 1.42;
    }

    .review-controls {
        margin-top: 24px;
    }

    .review-controls button {
        width: 54px;
        height: 54px;
    }
}

/* Image-led journal cards */
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2.5vw, 34px);
}

.blog-story-card,
.home-blog .blog-story-card {
    min-width: 0;
    min-height: 0;
    padding: 0 0 6px;
    border: 0;
    background: transparent;
}

.blog-story-media,
.blog-story-card > .blog-story-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid #2f2f35;
    border-radius: 4px;
    background: #18181b;
}

.blog-story-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), filter .25s ease;
}

.blog-story-media:hover img,
.blog-story-media:focus-visible img {
    filter: brightness(1.04);
    transform: scale(1.025);
}

.blog-story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
    color: #92919e;
    font-size: .72rem;
}

.blog-story-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbeafe;
    font-weight: 500;
}

.blog-story-tag::before {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: #3b82f6;
    content: "";
}

.blog-story-card h2,
.blog-story-card h3,
.home-blog .blog-story-card h3 {
    margin: 0 0 13px;
    color: #f7f7fa;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.18;
}

.blog-story-card h2 a,
.blog-story-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-story-card h2 a:hover,
.blog-story-card h3 a:hover {
    color: #93c5fd;
}

.blog-story-card > p,
.home-blog .blog-story-card > p {
    flex: 0 0 auto;
    margin: 0;
    color: #aaa9b5;
    font-size: .88rem;
    line-height: 1.65;
}

.blog-story-summary a {
    color: inherit;
    text-decoration: none;
}

.blog-story-summary a:hover,
.blog-story-summary a:focus-visible {
    color: #d8d7df;
}

/* Article reading view */
.journal-article {
    max-width: var(--max);
    margin: 0 auto;
    padding: 84px 24px 78px;
}

.journal-header {
    max-width: 980px;
    margin: 0 auto 50px;
}

.journal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 18px;
    margin-bottom: 10px;
    color: #91909c;
    font-size: .76rem;
}

.journal-category {
    color: #93c5fd;
    font-weight: 500;
}

.journal-meta > * + * {
    position: relative;
    padding-left: 18px;
}

.journal-meta > * + *::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #52515b;
    content: "";
    transform: translateY(-50%);
}

.journal-header h1 {
    max-width: 960px;
    color: #f8f8fb;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.04;
}

.journal-lead {
    max-width: 780px;
    margin-top: 26px;
    color: #b7b6c0;
    font-size: 1.16rem;
    line-height: 1.65;
}

.journal-author {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
}

.journal-author-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: none;
    place-items: center;
    border: 1px solid #3d3d45;
    border-radius: 50%;
    background: #18181b;
    color: #ffffff;
    font-size: .9rem;
}

.journal-author div {
    display: grid;
    gap: 1px;
}

.journal-author strong {
    color: #f5f5f8;
    font-size: .86rem;
    font-weight: 500;
}

.journal-author div span {
    color: #85848e;
    font-size: .75rem;
}

.journal-cover {
    width: 100%;
    aspect-ratio: 16 / 8.6;
    margin: 0;
    overflow: hidden;
    border: 1px solid #2c2c32;
    border-radius: 4px;
    background: #18181b;
}

.journal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-reading-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 760px);
    justify-content: center;
    gap: 82px;
    margin-top: 72px;
}

.journal-contents {
    position: sticky;
    top: 108px;
    align-self: start;
    padding-top: 4px;
}

.journal-contents > p {
    margin-bottom: 16px;
    color: #f5f5f8;
    font-size: .78rem;
    font-weight: 500;
}

.journal-contents ol {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.journal-contents a {
    display: block;
    color: #85848f;
    font-size: .76rem;
    line-height: 1.45;
    transition: color .2s ease;
}

.journal-contents a:hover,
.journal-contents a:focus-visible {
    color: #93c5fd;
}

.journal-content {
    min-width: 0;
}

.journal-content section {
    scroll-margin-top: 110px;
}

.journal-content p {
    margin: 0 0 20px;
    color: #b1b0ba;
    font-size: 1rem;
    line-height: 1.82;
}

.journal-introduction {
    margin-bottom: 52px;
}

.journal-introduction p:first-child {
    color: #e5e5e9;
    font-size: 1.18rem;
    line-height: 1.72;
}

.journal-content section + section {
    margin-top: 54px;
}

.journal-content h2 {
    margin-bottom: 20px;
    color: #f7f7fa;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.18;
}

.journal-content ul {
    display: grid;
    gap: 11px;
    margin: 26px 0 4px;
    padding: 4px 0 4px 24px;
    border-left: 2px solid #2563eb;
    list-style: none;
}

.journal-content li {
    position: relative;
    padding-left: 18px;
    color: #d3d2d8;
    font-size: .92rem;
    line-height: 1.6;
}

.journal-content li::before {
    position: absolute;
    top: .72em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #60a5fa;
    content: "";
}

.journal-closing {
    padding-top: 42px;
    border-top: 1px solid #313138;
}

.journal-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 42px;
    max-width: 980px;
    margin: 82px auto 0;
    padding-top: 42px;
    border-top: 1px solid #313138;
}

.journal-footer h2 {
    margin: 8px 0 10px;
    color: #f8f8fb;
    font-size: 2rem;
    font-weight: 400;
}

.journal-footer > div > p:last-child {
    max-width: 650px;
    color: #95949f;
    font-size: .9rem;
}

.journal-footer .btn {
    flex: none;
}

.journal-related {
    padding-top: 72px;
    border-top: 1px solid #29292f;
}

/* Founder statement */
.founder-quote-section {
    max-width: none;
    padding: 88px max(24px, calc((100% - var(--max)) / 2 + 24px));
    border-top: 1px solid #29292f;
    border-bottom: 1px solid #29292f;
    background: #151518;
}

.founder-quote-inner {
    display: grid;
    grid-template-columns: minmax(300px, .74fr) minmax(0, 1.26fr);
    align-items: center;
    gap: clamp(54px, 8vw, 118px);
    max-width: var(--max);
    margin: 0 auto;
}

.founder-portrait {
    aspect-ratio: 720 / 914;
    margin: 0;
    overflow: hidden;
    border: 1px solid #34343a;
    border-radius: 4px;
    background: #1d1d21;
}

.founder-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.founder-quote-copy {
    min-width: 0;
}

.founder-quote-mark {
    display: block;
    height: 66px;
    margin-bottom: 18px;
    color: #3b82f6;
    font-family: Georgia, serif;
    font-size: 7.5rem;
    line-height: .78;
}

.founder-quote-copy .eyebrow {
    margin-bottom: 13px;
}

.founder-quote-copy h2 {
    max-width: 760px;
    margin: 0 0 30px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.06;
}

.founder-quote-copy blockquote {
    display: grid;
    gap: 18px;
    max-width: 720px;
    margin: 0;
}

.founder-quote-copy blockquote p {
    margin: 0;
    color: #bebdc6;
    font-size: 1rem;
    line-height: 1.72;
}

.founder-quote-copy footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    max-width: 720px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid #34343a;
}

.founder-signature {
    display: grid;
    gap: 5px;
}

.founder-signature strong {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 500;
}

.founder-signature span {
    color: #96959f;
    font-size: .82rem;
}

.founder-socials {
    display: flex;
    gap: 9px;
}

.founder-socials a,
.founder-socials > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: none;
    place-items: center;
    border: 1px solid #3a3941;
    border-radius: 50%;
    background: #1c1c20;
}

.founder-socials a {
    transition: border-color .2s ease, background .2s ease;
}

.founder-socials a:hover,
.founder-socials a:focus-visible {
    border-color: #3b82f6;
    background: #2563eb;
}

.founder-socials > span {
    opacity: .45;
}

.founder-socials img {
    width: 18px;
    height: 18px;
}

/* Question disclosures */
.question-list {
    width: min(100%, 900px);
    margin: 0 auto;
    border-top: 1px solid #34343b;
}

.question-item {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #34343b;
    background: transparent;
    transition: background .25s ease, border-color .25s ease;
}

.question-item::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: #2563eb;
    content: "";
    opacity: 0;
    transform: scaleY(.35);
    transition: opacity .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.question-item:hover,
.question-item.is-expanded {
    border-color: #3f3f48;
    background: #161619;
}

.question-item.is-expanded::before {
    opacity: 1;
    transform: scaleY(1);
}

.question-heading {
    margin: 0;
}

.question-trigger {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 82px;
    padding: 18px 16px;
    border: 0;
    border-radius: 0;
    appearance: none;
    background: transparent;
    color: #f5f5f8;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.question-trigger:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: -2px;
}

.question-index {
    color: #74737e;
    font-size: .7rem;
    font-weight: 500;
}

.question-text {
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.4;
}

.question-control {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #3d3d46;
    border-radius: 4px;
    background: #1b1b1f;
    transition: border-color .2s ease, background .2s ease;
}

.question-control img {
    width: 17px;
    height: 17px;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.question-trigger:hover .question-control,
.question-item.is-expanded .question-control {
    border-color: #2563eb;
    background: #2563eb;
}

.question-item.is-expanded .question-control img {
    transform: rotate(45deg);
}

.question-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, visibility 0s linear .35s;
}

.question-item.is-expanded > .question-panel {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.question-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.question-panel p {
    max-width: 780px;
    margin: 0;
    padding: 0 70px 28px 74px;
    color: #aaa9b4;
    font-size: .9rem;
    line-height: 1.72;
}

.faq-overview {
    display: grid;
    grid-template-columns: minmax(250px, .58fr) minmax(0, 1.42fr);
    align-items: start;
    gap: 76px;
}

.faq-overview-copy {
    position: sticky;
    top: 110px;
}

.faq-overview-copy h2 {
    margin: 10px 0 16px;
    color: #f7f7fa;
    font-size: 2.25rem;
    font-weight: 400;
}

.faq-overview-copy > p:last-child {
    color: #9695a0;
    font-size: .9rem;
    line-height: 1.7;
}

.faq-overview .question-list {
    width: 100%;
}

.faq-directory {
    border-top: 1px solid #29292f;
}

.faq-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 62px 48px;
    max-width: var(--max);
    margin: 0 auto;
}

.faq-topic {
    min-width: 0;
    padding-top: 22px;
    border-top: 1px solid #37373f;
}

.faq-topic > header {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
}

.faq-topic > header > span {
    padding-top: 4px;
    color: #60a5fa;
    font-size: .68rem;
}

.faq-topic h3 {
    margin: 0 0 9px;
    color: #f5f5f8;
    font-size: 1.35rem;
    font-weight: 400;
}

.faq-topic header p {
    min-height: 50px;
    color: #8e8d98;
    font-size: .84rem;
    line-height: 1.58;
}

.faq-topic .question-list {
    width: 100%;
    margin-top: 24px;
}

.faq-topic .question-trigger {
    grid-template-columns: 28px minmax(0, 1fr) 34px;
    gap: 10px;
    min-height: 70px;
    padding: 14px 8px;
}

.faq-topic .question-text {
    font-size: .9rem;
}

.faq-topic .question-control {
    width: 34px;
    height: 34px;
}

.faq-topic .question-panel p {
    padding: 0 44px 22px 46px;
    font-size: .82rem;
}

.review-avatar {
    overflow: hidden;
    padding: 0;
    object-fit: cover;
}

span.review-avatar {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

.home-testimonials .testimonial-card span.review-avatar-large {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.35rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

@media (max-width: 900px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journal-header h1 {
        font-size: 3.55rem;
    }

    .journal-reading-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 48px;
    }

    .faq-overview {
        grid-template-columns: minmax(210px, .5fr) minmax(0, 1.5fr);
        gap: 48px;
    }

    .founder-quote-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .founder-quote-inner {
        grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
        gap: 44px;
    }
}

@media (max-width: 680px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .blog-story-media,
    .blog-story-card > .blog-story-media {
        margin-bottom: 18px;
    }

    .blog-story-meta {
        margin-bottom: 14px;
    }

    .blog-story-card h2,
    .blog-story-card h3,
    .home-blog .blog-story-card h3 {
        font-size: 1.45rem;
    }

    .journal-article {
        padding: 74px 18px 64px;
    }

    .journal-header {
        margin-bottom: 34px;
    }

    .journal-header h1 {
        font-size: 2.55rem;
        line-height: 1.08;
    }

    .journal-lead {
        margin-top: 20px;
        font-size: 1.02rem;
    }

    .journal-cover {
        aspect-ratio: 16 / 10;
    }

    .journal-reading-layout {
        grid-template-columns: 1fr;
        gap: 42px;
        margin-top: 48px;
    }

    .journal-contents {
        position: static;
        padding-bottom: 26px;
        border-bottom: 1px solid #313138;
    }

    .journal-contents ol {
        gap: 8px;
    }

    .journal-content p {
        font-size: .95rem;
        line-height: 1.75;
    }

    .journal-introduction {
        margin-bottom: 42px;
    }

    .journal-introduction p:first-child {
        font-size: 1.06rem;
    }

    .journal-content section + section {
        margin-top: 44px;
    }

    .journal-content h2 {
        font-size: 1.7rem;
    }

    .journal-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 62px;
    }

    .journal-footer h2 {
        font-size: 1.7rem;
    }

    .founder-quote-section {
        padding: 60px 18px 64px;
    }

    .founder-quote-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-portrait {
        width: min(100%, 430px);
    }

    .founder-quote-mark {
        height: 54px;
        font-size: 6rem;
    }

    .founder-quote-copy h2 {
        font-size: 2.35rem;
    }

    .founder-quote-copy footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .faq-overview,
    .faq-topic-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .faq-overview-copy {
        position: static;
    }

    .faq-overview-copy h2 {
        font-size: 1.9rem;
    }

    .question-trigger {
        grid-template-columns: 30px minmax(0, 1fr) 36px;
        gap: 10px;
        min-height: 74px;
        padding: 16px 8px;
    }

    .question-text {
        font-size: .94rem;
    }

    .question-control {
        width: 36px;
        height: 36px;
    }

    .question-panel p {
        padding: 0 46px 22px 48px;
        font-size: .85rem;
    }

    .faq-topic header p {
        min-height: 0;
    }

    .home-testimonials .testimonial-card span.review-avatar-large {
        font-size: 1.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-story-media img,
    .question-item,
    .question-item::before,
    .question-panel,
    .question-control,
    .question-control img {
        transition: none;
    }
}

/* Homepage marketplace feature */
.home-marketplace {
    border-top: 1px solid #24242a;
}

.home-marketplace .marketplace-heading {
    align-items: flex-end;
    margin-bottom: 34px;
}

.home-marketplace .marketplace-heading h2 {
    max-width: 720px;
}

.marketplace-heading-actions,
.marketplace-slider-controls {
    display: flex;
    align-items: center;
}

.marketplace-heading-actions {
    gap: 24px;
}

.marketplace-slider-controls {
    gap: 10px;
}

.marketplace-slider-controls button {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid #34343c;
    border-radius: 50%;
    background: #1d1d22;
}

.marketplace-slider-controls button:hover:not(:disabled),
.marketplace-slider-controls button:focus-visible:not(:disabled) {
    border-color: #477bd8;
    background: #2563eb;
}

.marketplace-slider-controls button:disabled {
    cursor: default;
    opacity: .34;
}

.marketplace-slider-controls img {
    width: 22px;
    height: 22px;
}

.marketplace-slider,
.marketplace-slider-viewport {
    min-width: 0;
}

.marketplace-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.marketplace-slider-viewport::-webkit-scrollbar {
    display: none;
}

.marketplace-slider-track {
    display: flex;
    width: 100%;
    gap: 22px;
}

.marketplace-feature {
    display: grid;
    min-width: 0;
    flex: 0 0 100%;
    grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr);
    overflow: hidden;
    border: 1px solid #303038;
    border-radius: 4px;
    background: #161619;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.marketplace-feature-media {
    position: relative;
    display: block;
    min-height: 470px;
    overflow: hidden;
    border-right: 1px solid #303038;
    background: #f4f5f5;
}

.marketplace-feature-media > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.marketplace-feature-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding: 32px;
    background: linear-gradient(145deg, #202329, #121316 72%);
    color: #ffffff;
    text-align: center;
}

.marketplace-feature-placeholder img {
    width: 84px;
    height: 84px;
    opacity: .5;
}

.marketplace-feature-placeholder strong {
    max-width: 420px;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
}

.marketplace-feature-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(30px, 4vw, 52px);
}

.marketplace-product-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    width: 100%;
    margin-bottom: 18px;
}

.marketplace-product-heading > span {
    color: #8eb7ff;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.marketplace-feature-copy h3 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 400;
    line-height: 1.06;
}

.marketplace-feature-copy h3 a {
    color: #ffffff;
    text-decoration: none;
}

.marketplace-feature-copy h3 a:hover,
.marketplace-feature-copy h3 a:focus-visible {
    color: #bfdbfe;
    text-decoration: none;
}

.marketplace-feature-copy > p {
    max-width: 540px;
    color: #aaaab3;
    font-size: .96rem;
    line-height: 1.7;
}

.marketplace-purchase-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding-top: 34px;
    border-top: 1px solid #303038;
}

.marketplace-price {
    display: grid;
    gap: 4px;
}

.marketplace-price small {
    color: #85858f;
    font-size: .72rem;
}

.marketplace-price strong {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.marketplace-feature-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.marketplace-demo-link {
    color: #9fc1ff;
    font-size: .82rem;
    font-weight: 500;
}

.marketplace-demo-link:hover,
.marketplace-demo-link:focus-visible {
    color: #ffffff;
}

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

    .marketplace-feature-media {
        min-height: 0;
        aspect-ratio: 2 / 1;
        border-right: 0;
        border-bottom: 1px solid #303038;
    }

    .marketplace-purchase-row {
        margin-top: 34px;
    }
}

@media (max-width: 680px) {
    .home-marketplace .marketplace-heading {
        align-items: flex-start;
        margin-bottom: 26px;
    }

    .marketplace-heading-actions {
        width: 100%;
        justify-content: space-between;
    }

    .marketplace-slider-controls button {
        width: 44px;
        height: 44px;
    }

    .marketplace-feature-copy {
        padding: 26px 22px 24px;
    }

    .marketplace-feature-copy h3 {
        margin-top: 16px;
        font-size: 2rem;
    }

    .marketplace-feature-copy > p {
        font-size: .88rem;
    }

    .marketplace-purchase-row,
    .marketplace-feature-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .marketplace-feature-actions {
        gap: 12px;
    }

    .marketplace-feature-actions .btn,
    .marketplace-demo-link {
        width: 100%;
        text-align: center;
    }

    .marketplace-demo-link {
        padding: 12px;
    }
}

/* Marketplace catalog */
.marketplace-page-hero {
    padding-top: 84px;
    padding-bottom: 88px;
    text-align: left;
}

.marketplace-page-hero h1 {
    max-width: 900px;
    margin: 6px 0 22px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 400;
    line-height: 1.02;
}

.marketplace-page-hero > p {
    max-width: 650px;
    margin: 0;
    color: #a7a7b0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.marketplace-catalog {
    padding-top: 76px;
    border-top: 1px solid #24242a;
}

.marketplace-catalog-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 38px;
}

.marketplace-catalog-heading h2 {
    max-width: 680px;
    margin-top: 6px;
    color: #ffffff;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.1;
}

.marketplace-catalog .market-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 10px;
    margin: 0;
}

.marketplace-catalog .market-controls input,
.marketplace-catalog .market-controls select {
    width: 100%;
    max-width: none;
    min-height: 48px;
    border: 1px solid #33333b;
    border-radius: 4px;
    background: #17171b;
    color: #f5f5f7;
    font-size: .84rem;
}

.market-search-field {
    position: relative;
    min-width: 0;
}

.marketplace-catalog .market-search-field input {
    padding-right: 48px;
}

.market-search-field button {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 46px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    place-items: center;
    cursor: pointer;
}

.market-search-field button img {
    width: 18px;
    height: 18px;
    opacity: .72;
    transition: opacity .2s ease;
}

.market-search-field button:hover img,
.market-search-field button:focus-visible img {
    opacity: 1;
}

.marketplace-catalog .market-controls input::placeholder {
    color: #777781;
}

.marketplace-catalog .market-controls select {
    padding: 12px 36px 12px 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('../assets/svg/chevron-down.svg');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}

.marketplace-catalog .market-controls input:focus,
.marketplace-catalog .market-controls select:focus {
    border-color: #4d83e6;
    outline: none;
}

.marketplace-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.marketplace-empty {
    padding: 54px 24px;
    border: 1px solid #303038;
    border-radius: 4px;
    text-align: center;
}

.marketplace-empty h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 400;
}

.marketplace-empty p {
    margin: 0;
    color: #92929c;
}

.marketplace-product-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #303038;
    border-radius: 4px;
    background: #161619;
}

.marketplace-product-cover {
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    border-bottom: 1px solid #303038;
    background: #f4f5f5;
}

.marketplace-product-cover > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.marketplace-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #202329, #121316 72%);
}

.marketplace-card-placeholder img {
    width: 68px;
    height: 68px;
    opacity: .42;
}

.marketplace-product-body {
    display: flex;
    min-height: 300px;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.marketplace-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
}

.marketplace-card-heading h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: 1.15;
}

.marketplace-card-heading h3 a {
    color: #ffffff;
    text-decoration: none;
}

.marketplace-card-heading h3 a:hover,
.marketplace-card-heading h3 a:focus-visible {
    color: #bfdbfe;
}

.marketplace-card-heading > span {
    color: #8eb7ff;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.marketplace-product-body > p {
    max-width: 620px;
    margin-top: 16px;
    color: #9f9fa8;
    font-size: .88rem;
    line-height: 1.65;
}

.marketplace-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid #303038;
}

.marketplace-card-price {
    display: grid;
    gap: 4px;
}

.marketplace-card-price small {
    color: #85858f;
    font-size: .68rem;
}

.marketplace-card-price strong {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1;
}

.marketplace-card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 900px) {
    .marketplace-page-hero {
        padding-top: 74px;
    }

    .marketplace-catalog-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
    }

    .marketplace-catalog .market-controls {
        width: min(100%, 620px);
    }

    .marketplace-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .marketplace-page-hero {
        padding-top: 74px;
        padding-bottom: 64px;
    }

    .marketplace-page-hero h1 {
        font-size: 3rem;
    }

    .marketplace-page-hero > p {
        font-size: .92rem;
    }

    .marketplace-catalog {
        padding-top: 56px;
    }

    .marketplace-catalog .market-controls {
        grid-template-columns: 1fr;
    }

    .marketplace-product-body {
        min-height: 0;
        padding: 22px;
    }

    .marketplace-card-heading {
        gap: 12px;
    }

    .marketplace-card-heading h3 {
        font-size: 1.5rem;
    }

    .marketplace-card-footer,
    .marketplace-card-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .marketplace-card-actions {
        gap: 10px;
    }

    .marketplace-card-actions .btn,
    .marketplace-card-actions .marketplace-demo-link {
        width: 100%;
        text-align: center;
    }
}

.architecture-mobile-connectors {
    display: none;
}

/* Keep the connected-platform diagram precise on narrow screens. */
@media (max-width: 680px) {
    .home-feature .architecture-canvas {
        width: min(100%, 400px);
        height: 314px;
        margin: 0 auto;
        transform: none;
    }

    .home-feature .architecture-core {
        width: 136px;
        height: 82px;
        align-content: center;
        gap: 8px;
    }

    .home-feature .architecture-node {
        width: 72px;
        height: 70px;
        align-content: center;
        gap: 8px;
    }

    .home-feature .node-users,
    .home-feature .node-api,
    .home-feature .node-data,
    .home-feature .node-cloud {
        right: auto;
    }

    .home-feature .node-users {
        top: 24px;
        bottom: auto;
        left: calc(20% - 36px);
    }

    .home-feature .node-api {
        top: 24px;
        bottom: auto;
        left: calc(80% - 36px);
    }

    .home-feature .node-data {
        top: auto;
        bottom: 24px;
        left: calc(20% - 36px);
    }

    .home-feature .node-cloud {
        top: auto;
        bottom: 24px;
        left: calc(80% - 36px);
    }

    .home-feature .architecture-line {
        display: none;
    }

    .home-feature .architecture-mobile-connectors {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: block;
        width: 100%;
        height: 100%;
        color: rgba(96, 165, 250, .48);
        pointer-events: none;
    }

    .home-feature .architecture-mobile-connectors line {
        stroke: currentColor;
        stroke-width: 1;
        stroke-linecap: round;
        vector-effect: non-scaling-stroke;
    }
}

/* Simple marketplace product and checkout pages */
.journal-reading-layout-rich {
    display: block;
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
}

.product-description-section {
    width: min(100% - 48px, 920px);
    margin: 0 auto;
    padding: 0 0 72px;
}

.product-description-body {
    color: #b5b5be;
    font-size: 1rem;
    line-height: 1.8;
}

.product-description-body h2,
.product-description-body h3 {
    margin: 1.6em 0 .55em;
    color: #ffffff;
    font-weight: 400;
}

.product-detail-hero,
.checkout-page {
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 84px 24px 84px;
}

.product-breadcrumb,
.checkout-back {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #94949f;
    font-size: .78rem;
}

.product-breadcrumb a,
.checkout-back {
    color: #b8ccef;
    text-decoration: none;
}

.product-breadcrumb a:hover,
.checkout-back:hover {
    color: #ffffff;
}

.checkout-back img {
    width: 18px;
    height: 18px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    align-items: center;
    gap: 64px;
}

.product-detail-cover {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    margin: 0;
    border: 1px solid #303038;
    border-radius: 4px;
    background: #f4f5f5;
}

.product-detail-cover > img,
.checkout-product-summary > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    color: #8eb7ff;
    font-size: .72rem;
    text-transform: uppercase;
}

.product-detail-copy h1 {
    max-width: 640px;
    margin: 0;
    color: #ffffff;
    font-size: 3.7rem;
    font-weight: 400;
    line-height: 1.03;
}

.product-detail-copy > p {
    max-width: 600px;
    margin: 22px 0 0;
    color: #aaaab3;
    font-size: 1rem;
    line-height: 1.72;
}

.product-detail-price {
    display: grid;
    gap: 4px;
    margin-top: 30px;
}

.product-detail-price small {
    color: #898993;
    font-size: .72rem;
}

.product-detail-price strong {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
}

.product-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.product-detail-actions .btn {
    min-width: 150px;
}

.product-share {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #aeb8c9;
    font: inherit;
    font-size: .8rem;
    cursor: pointer;
}

.product-share:hover,
.product-share:focus-visible {
    color: #ffffff;
}

.product-share img {
    width: 18px;
    height: 18px;
}

.product-detail-content,
.product-release-section {
    display: grid;
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 72px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
}

.product-detail-content h2,
.product-release-section h2 {
    max-width: 520px;
    margin: 10px 0 25px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.15;
}

.product-simple-list,
.product-release-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-simple-list li,
.product-release-list p {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #2c2c32;
    color: #b3b3bc;
    font-size: .9rem;
}

.product-release-section {
    align-items: start;
    padding-bottom: 104px;
}

.checkout-page-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.checkout-page-heading h1 {
    margin: 10px 0 14px;
    color: #ffffff;
    font-size: 3.25rem;
    font-weight: 400;
    line-height: 1.05;
}

.checkout-page-heading > p:last-child {
    color: #9d9da7;
}

.checkout-page-grid {
    display: grid;
    grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 30px;
}

.checkout-product-summary {
    overflow: hidden;
    border: 1px solid #303038;
    border-radius: 4px;
    background: #161619;
}

.checkout-product-summary > img {
    aspect-ratio: 2 / 1;
    border-bottom: 1px solid #303038;
    background: #f4f5f5;
}

.checkout-product-summary > div {
    padding: 24px;
}

.checkout-product-summary span {
    color: #8eb7ff;
    font-size: .72rem;
}

.checkout-product-summary h2 {
    margin: 9px 0 12px;
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 400;
}

.checkout-product-summary p {
    color: #9d9da7;
    font-size: .84rem;
    line-height: 1.6;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #303038;
}

.checkout-total strong {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 500;
}

.checkout-page-form {
    padding: 26px;
}

.checkout-page-form .checkout-field-wide,
.checkout-page-form .checkbox-line,
.checkout-page-form > .btn {
    grid-column: 1 / -1;
}

.checkout-page-form > .btn {
    width: 100%;
}

.form-errors {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #7f1d1d;
    border-radius: 4px;
    background: #251313;
    color: #fecaca;
    font-size: .82rem;
}

.form-errors ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

@media (max-width: 900px) {
    .product-detail-grid,
    .checkout-page-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        gap: 38px;
    }

    .product-detail-copy {
        max-width: 680px;
    }
}

@media (max-width: 680px) {
    .product-detail-hero,
    .checkout-page {
        padding: 74px 18px 58px;
    }

    .product-breadcrumb,
    .checkout-back {
        margin-bottom: 14px;
    }

    .product-detail-copy h1,
    .checkout-page-heading h1 {
        font-size: 2.45rem;
    }

    .product-detail-copy > p {
        font-size: .92rem;
    }

    .product-detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-detail-actions .btn {
        width: 100%;
    }

    .product-detail-content,
    .product-release-section {
        padding: 48px 18px;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .product-detail-content h2,
    .product-release-section h2 {
        font-size: 1.65rem;
    }

    .checkout-page-heading {
        margin-bottom: 30px;
    }

    .checkout-page-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .checkout-page-form > * {
        grid-column: 1;
    }
}
