@font-face {
    font-family: "KSD Display";
    src: url("../fonts/SmileySans-Display.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

:root {
    --home-ink: #0f1724;
    --home-text: #344154;
    --home-muted: #536176;
    --home-line: #d5deea;
    --home-surface: #ffffff;
    --home-ground: #f7f9fc;
    --home-tint: #eef4ff;
    --home-blue: #1557e8;
    --home-blue-dark: #0f42b8;
    --home-blue-soft: #dce8ff;
    --home-radius: 16px;
    --home-shadow: 0 24px 70px rgba(32, 67, 122, 0.12);
    --home-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    scrollbar-color: #a9b7c9 #edf3fb;
    scrollbar-width: thin;
}

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

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

::-webkit-scrollbar-thumb {
    border: 2px solid #edf3fb;
    border-radius: 999px;
    background: #a9b7c9;
}

body {
    background: var(--home-ground);
    color: var(--home-ink);
    font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--home-blue);
    color: #ffffff;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--home-ink);
    color: #ffffff;
    transform: translateY(-160%);
    transition: transform 180ms var(--home-ease);
}

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

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

a:focus-visible,
button:focus-visible {
    outline: 3px solid #0b4fd8;
    outline-offset: 4px;
}

.tech-home .home-hero h1,
.tech-home .section-heading h2,
.tech-home .about-copy h2,
.tech-home .contact-panel h2 {
    font-family: "KSD Display", "Microsoft YaHei", sans-serif;
    font-style: normal;
    font-weight: 400;
}

.tech-home {
    overflow: hidden;
    background: var(--home-ground);
}

.tech-home .container,
.site-navbar .container,
.site-footer .container {
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
}

/* Navigation */
.site-navbar {
    min-height: 72px;
    padding: 0;
    border-bottom: 1px solid rgba(213, 222, 234, 0.7);
    background: rgba(247, 249, 252, 0.9) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 12px 34px rgba(24, 52, 91, 0.08) !important;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    margin-right: 32px;
}

.site-navbar .site-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.site-navbar .navbar-nav {
    align-items: center;
    white-space: nowrap;
}

.site-navbar .navbar-nav .nav-link {
    position: relative;
    padding: 25px 14px;
    color: #3e4b5e;
    font-size: 14px;
    font-weight: 600;
    transition: color 180ms ease;
}

.site-navbar .navbar-nav button.nav-link {
    border: 0;
    background: transparent;
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
}

.site-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 18px;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--home-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms var(--home-ease);
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .active > .nav-link {
    color: var(--home-ink);
}

.site-navbar .navbar-nav .nav-link:hover::after,
.site-navbar .navbar-nav .active > .nav-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-navbar .dropdown-menu {
    margin-top: -5px;
    padding: 10px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 54px rgba(27, 52, 88, 0.14);
}

.site-navbar .dropdown-item {
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--home-text);
    font-size: 14px;
    font-weight: 600;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
    background: var(--home-tint);
    color: var(--home-blue);
}

.site-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-left: 12px;
    padding: 0 20px;
    border: 1px solid var(--home-blue);
    border-radius: 999px;
    background: var(--home-blue);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 180ms ease, transform 180ms ease;
}

.site-nav-cta:hover {
    background: var(--home-blue-dark);
    transform: translateY(-1px);
}

.site-nav-cta:active {
    transform: scale(0.98);
}

.site-account {
    margin-left: 12px;
    font-size: 13px;
}

.site-account a {
    color: var(--home-muted);
}

.head-spacer {
    height: 72px;
}

/* Hero */
.home-hero {
    --pointer-x: 0px;
    --pointer-y: 0px;
    position: relative;
    display: flex;
    min-height: calc(100dvh - 72px);
    max-height: 780px;
    isolation: isolate;
    overflow: hidden;
    background: #edf1f6;
}

.home-hero__visual {
    position: absolute;
    inset: -2%;
    z-index: -3;
    width: 104%;
    height: 104%;
    object-fit: cover;
    object-position: center;
    transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.015);
    transition: transform 900ms var(--home-ease);
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(247, 249, 252, 0.99) 0%,
        rgba(247, 249, 252, 0.97) 31%,
        rgba(247, 249, 252, 0.76) 49%,
        rgba(247, 249, 252, 0.15) 70%,
        rgba(247, 249, 252, 0.06) 100%
    );
}

.home-hero__inner {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 48px;
    padding-bottom: 56px;
}

.home-hero__content {
    width: min(680px, 56vw);
}

.home-hero h1 {
    margin: 0;
    max-width: 11em;
    color: var(--home-ink);
    font-size: clamp(48px, 4.7vw, 68px);
    font-weight: 760;
    letter-spacing: -0.038em;
    line-height: 1.08;
    text-wrap: balance;
}

.home-hero h1 span {
    display: block;
    color: var(--home-blue);
}

.home-hero__content > p {
    max-width: 31em;
    margin: 28px 0 0;
    color: #4f5c70;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.8;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 50px;
    padding: 0 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.home-button:active {
    transform: scale(0.98);
}

.home-button--primary {
    background: var(--home-blue);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(21, 87, 232, 0.23);
}

.home-button--primary:hover {
    background: var(--home-blue-dark);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(21, 87, 232, 0.28);
}

.home-button--secondary {
    border-color: #b8c4d4;
    background: rgba(255, 255, 255, 0.82);
    color: var(--home-ink);
}

.home-button--secondary:hover {
    border-color: var(--home-blue);
    background: #ffffff;
    color: var(--home-blue);
}

/* Proof rail */
.proof-rail {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(213, 222, 234, 0.74);
    border-bottom: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.92);
}

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

.proof-rail__item {
    min-width: 0;
    padding: 26px 24px;
    border-right: 1px solid var(--home-line);
}

.proof-rail__item:first-child {
    padding-left: 0;
}

.proof-rail__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.proof-rail__item strong,
.proof-rail__item span {
    display: block;
}

.proof-rail__item strong {
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 750;
}

.proof-rail__item span {
    margin-top: 7px;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Shared section structure */
.home-section {
    position: relative;
    padding: 124px 0;
}

.section-heading {
    max-width: 720px;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(36px, 4.4vw, 62px);
    font-weight: 740;
    letter-spacing: -0.035em;
    line-height: 1.14;
    text-wrap: balance;
}

.section-heading > p,
.contact-panel p {
    max-width: 39em;
    margin: 24px 0 0;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.85;
}

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

.section-heading--compact h2 {
    font-size: clamp(34px, 3.7vw, 54px);
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 46px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--home-blue);
    font-size: 14px;
    font-weight: 750;
    text-underline-offset: 5px;
}

.text-link::after {
    content: "";
    width: 22px;
    height: 1px;
    margin-left: 10px;
    background: currentColor;
    transform-origin: left;
    transition: transform 180ms var(--home-ease);
}

.text-link:hover {
    color: var(--home-blue-dark);
    text-decoration: none;
}

.text-link:hover::after {
    transform: scaleX(1.45);
}

/* Services */
.service-section {
    background: var(--home-surface);
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 8.5%;
    align-items: start;
}

.service-layout__intro {
    position: sticky;
    top: 118px;
}

.service-list {
    border-top: 1px solid var(--home-line);
}

.service-item {
    display: grid;
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
    gap: 32px;
    padding: 34px 0;
    border-bottom: 1px solid var(--home-line);
}

.service-item h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 24px;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.service-item p {
    margin: 0;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* Products */
.product-section {
    background: #eef3f9;
}

.product-mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
    gap: 20px;
}

.product-card {
    grid-column: span 5;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-width: 0;
    overflow: hidden;
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: 0 18px 55px rgba(45, 73, 112, 0.09);
    transition: transform 240ms var(--home-ease), box-shadow 240ms var(--home-ease);
}

.product-card:first-child {
    grid-column: span 7;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--home-shadow);
}

.product-card__media {
    position: relative;
    display: block;
    min-height: 220px;
    overflow: hidden;
    background: #dfe6ef;
}

.product-card:first-child .product-card__media {
    min-height: 390px;
}

.product-card__media img,
.case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--home-ease);
}

.product-card:hover .product-card__media img,
.case-card:hover .case-card__media img {
    transform: scale(1.035);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
}

.product-card:first-child .product-card__body {
    padding: 34px;
}

.product-card__meta {
    margin: 0 0 14px !important;
    color: var(--home-blue) !important;
    font-size: 12px !important;
    font-weight: 750;
}

.product-card h3,
.case-card h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 23px;
    font-weight: 720;
    letter-spacing: -0.018em;
    line-height: 1.45;
}

.product-card:first-child h3 {
    font-size: clamp(27px, 2.4vw, 36px);
}

.product-card h3 a,
.case-card h3 a {
    color: inherit;
}

.product-card h3 a:hover,
.case-card h3 a:hover {
    color: var(--home-blue);
}

.product-card__body > p:not(.product-card__meta),
.case-card__body > p {
    margin: 14px 0 22px;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.75;
}

.product-card__body .text-link,
.case-card__body .text-link {
    margin-top: auto;
}

/* Cases */
.case-section {
    background: var(--home-surface);
}

.case-mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.case-card {
    grid-column: span 6;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--home-radius);
    background: #f4f7fb;
}

.case-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    min-height: 470px;
}

.case-card__media {
    display: block;
    min-height: 270px;
    overflow: hidden;
    background: #e2e8f0;
}

.case-card:first-child .case-card__media {
    min-height: 470px;
}

.case-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
}

.case-card:first-child .case-card__body {
    justify-content: center;
    padding: 52px;
}

.case-card:first-child h3 {
    font-size: clamp(28px, 3vw, 42px);
}

/* Delivery */
.delivery-section {
    background: var(--home-ground);
}

.delivery-layout .section-heading {
    margin-bottom: 60px;
}

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

.delivery-flow article {
    position: relative;
    min-height: 220px;
    padding: 34px 28px 0 0;
    border-right: 1px solid var(--home-line);
}

.delivery-flow article:not(:first-child) {
    padding-left: 28px;
}

.delivery-flow article:last-child {
    padding-right: 0;
    border-right: 0;
}

.delivery-flow h3 {
    margin: 0 0 22px;
    color: var(--home-blue);
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.delivery-flow p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.85;
}

/* About */
.about-section {
    background: #edf3fb;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
    gap: 9%;
    align-items: center;
}

.about-brand {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    padding: 38px;
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: 0 20px 58px rgba(41, 75, 123, 0.1);
}

.about-brand img {
    width: min(100%, 260px);
    height: auto;
}

.about-brand p {
    max-width: 18em;
    margin: 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-copy h2 {
    font-size: clamp(37px, 4.6vw, 64px);
}

.about-copy > p {
    max-width: 44em;
    margin: 28px 0 30px;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 2;
}

/* Contact */
.contact-section {
    padding-top: 96px;
    padding-bottom: 112px;
    background: var(--home-surface);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    padding: 56px 62px;
    border-radius: var(--home-radius);
    background: var(--home-tint);
}

.contact-panel h2 {
    font-size: clamp(32px, 3.9vw, 52px);
}

.contact-panel p {
    font-size: 16px;
}

/* Footer and fixed actions */
.site-footer {
    margin: 0 !important;
    padding: 76px 0 0 !important;
    border: 0 !important;
    background: #e9eff6 !important;
    color: var(--home-text) !important;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(160px, 0.72fr));
    gap: 64px;
    padding-bottom: 58px;
}

.site-footer__brand img {
    width: auto;
    height: 46px;
    margin-bottom: 24px;
}

.site-footer__brand p {
    max-width: 30em;
    color: var(--home-muted);
    line-height: 1.85;
}

.site-footer h2 {
    margin: 0 0 20px;
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 750;
}

.site-footer ul {
    display: grid;
    gap: 12px;
}

.site-footer li,
.site-footer a {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

.site-footer a:hover {
    color: var(--home-blue);
}

.site-footer__contact {
    display: inline-flex;
    margin-top: 18px;
    color: var(--home-blue) !important;
    font-weight: 750;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    border-top: 1px solid #ced9e6;
    color: var(--home-muted);
    font-size: 12px;
}

.site-footer__bottom a {
    font-size: inherit;
}

.online-compact {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: auto;
}

.online-compact a,
.online-compact button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--home-ink);
    box-shadow: 0 14px 36px rgba(24, 56, 101, 0.14);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.online-compact a {
    background: var(--home-blue);
    color: #ffffff;
}

.online-compact a:hover {
    background: var(--home-blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.online-compact button:hover {
    color: var(--home-blue);
    transform: translateY(-2px);
}

.online-compact .scroll-top[hidden] {
    display: none !important;
}

.mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 50;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(213, 222, 234, 0.86);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: opacity 220ms ease, transform 280ms var(--home-ease);
}

.mobile-action-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    color: var(--home-text);
    font-size: 13px;
    font-weight: 700;
}

.mobile-action-bar a:last-child {
    background: var(--home-blue);
    color: #ffffff;
}

/* Motion is progressively enabled by JavaScript */
@media (prefers-reduced-motion: no-preference) {
    .home-hero__content h1,
    .home-hero__content > p,
    .home-hero .home-actions {
        animation: hero-enter 800ms var(--home-ease) both;
    }

    .home-hero__content > p {
        animation-delay: 90ms;
    }

    .home-hero .home-actions {
        animation-delay: 160ms;
    }

    .js-motion [data-reveal="heading"],
    .js-motion [data-reveal="brand"],
    .js-motion [data-reveal="copy"],
    .js-motion [data-reveal="contact"] {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 680ms var(--home-ease), transform 680ms var(--home-ease);
    }

    .js-motion [data-reveal="heading"].is-visible,
    .js-motion [data-reveal="brand"].is-visible,
    .js-motion [data-reveal="copy"].is-visible,
    .js-motion [data-reveal="contact"].is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .js-motion [data-reveal="list"] .service-item {
        opacity: 0;
        transform: translateX(26px);
        transition: opacity 560ms var(--home-ease), transform 560ms var(--home-ease);
    }

    .js-motion [data-reveal="list"].is-visible .service-item {
        opacity: 1;
        transform: translateX(0);
    }

    .js-motion [data-reveal="list"].is-visible .service-item:nth-child(2) { transition-delay: 70ms; }
    .js-motion [data-reveal="list"].is-visible .service-item:nth-child(3) { transition-delay: 140ms; }
    .js-motion [data-reveal="list"].is-visible .service-item:nth-child(4) { transition-delay: 210ms; }

    .js-motion [data-reveal="cards"] > article {
        opacity: 0;
        clip-path: inset(10% 0 0 0 round var(--home-radius));
        transform: translateY(18px);
        transition: opacity 620ms var(--home-ease), clip-path 720ms var(--home-ease), transform 620ms var(--home-ease);
    }

    .js-motion [data-reveal="cards"].is-visible > article {
        opacity: 1;
        clip-path: inset(0 0 0 0 round var(--home-radius));
        transform: translateY(0);
    }

    .js-motion [data-reveal="cards"].is-visible > article:nth-child(2) { transition-delay: 90ms; }
    .js-motion [data-reveal="cards"].is-visible > article:nth-child(3) { transition-delay: 160ms; }

    .js-motion [data-reveal="flow"] article {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 520ms var(--home-ease), transform 520ms var(--home-ease);
    }

    .js-motion [data-reveal="flow"].is-visible article {
        opacity: 1;
        transform: translateY(0);
    }

    .js-motion [data-reveal="flow"].is-visible article:nth-child(2) { transition-delay: 80ms; }
    .js-motion [data-reveal="flow"].is-visible article:nth-child(3) { transition-delay: 160ms; }
    .js-motion [data-reveal="flow"].is-visible article:nth-child(4) { transition-delay: 240ms; }
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@media (max-width: 1199.98px) {
    .site-navbar .navbar-nav .nav-link {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    .site-navbar .navbar-nav .nav-link::after {
        right: 10px;
        left: 10px;
    }

    .site-nav-cta {
        padding: 0 16px;
    }

    .home-hero__content {
        width: min(630px, 60vw);
    }

    .product-card:not(:first-child) {
        grid-template-columns: 1fr;
    }

    .product-card:not(:first-child) .product-card__media {
        min-height: 190px;
    }
}

@media (max-width: 991.98px) {
    .site-navbar {
        min-height: 66px;
        padding: 10px 0;
    }

    .head-spacer {
        height: 66px;
    }

    .site-navbar .navbar-collapse {
        max-height: calc(100dvh - 78px);
        margin-top: 10px;
        padding: 10px 0 18px;
        overflow-y: auto;
        border-top: 1px solid var(--home-line);
    }

    .site-navbar .navbar-nav {
        align-items: stretch;
    }

    .site-navbar .navbar-nav .nav-link {
        padding: 12px 4px;
        font-size: 15px;
    }

    .site-navbar .navbar-nav .nav-link::after {
        display: none;
    }

    .site-navbar .dropdown-menu {
        margin: 0 0 8px;
        padding: 2px 0 6px 14px;
        box-shadow: none;
        background: transparent;
    }

    .site-nav-cta {
        margin: 10px 0 0;
    }

    .site-account {
        display: block;
        margin: 16px 0 0;
    }

    .home-hero {
        min-height: calc(100dvh - 66px);
    }

    .home-hero__shade {
        background: linear-gradient(90deg, rgba(247, 249, 252, 0.99) 0%, rgba(247, 249, 252, 0.93) 42%, rgba(247, 249, 252, 0.35) 73%, rgba(247, 249, 252, 0.16) 100%);
    }

    .home-hero__content {
        width: min(540px, 65vw);
    }

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

    .proof-rail__item:nth-child(2) {
        border-right: 0;
    }

    .proof-rail__item:nth-child(-n+2) {
        border-bottom: 1px solid var(--home-line);
    }

    .proof-rail__item:nth-child(3) {
        padding-left: 0;
    }

    .service-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .service-layout__intro {
        position: static;
    }

    .product-card:first-child,
    .product-card {
        grid-column: span 6;
        grid-row: auto;
        display: flex;
        flex-direction: column;
    }

    .product-card:last-child {
        grid-column: 4 / span 6;
    }

    .product-card:first-child .product-card__media,
    .product-card__media {
        min-height: 260px;
    }

    .case-card:first-child {
        grid-template-columns: 1fr 1fr;
        min-height: 410px;
    }

    .case-card:first-child .case-card__media {
        min-height: 410px;
    }

    .case-card:first-child .case-card__body {
        padding: 38px;
    }

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

    .delivery-flow article:nth-child(2) {
        border-right: 0;
    }

    .delivery-flow article:nth-child(-n+2) {
        padding-bottom: 36px;
        border-bottom: 1px solid var(--home-line);
    }

    .delivery-flow article:nth-child(n+3) {
        padding-top: 36px;
    }

    .delivery-flow article:nth-child(3) {
        padding-left: 0;
    }

    .about-brand {
        min-height: 280px;
    }

    .site-footer__grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .tech-home .container,
    .site-navbar .container,
    .site-footer .container {
        width: min(100% - 32px, 1240px);
    }

    .home-section {
        padding: 84px 0;
    }

    .home-hero {
        min-height: 650px;
        max-height: none;
        background: #f2f5f9;
    }

    .home-hero__visual {
        inset: 0;
        width: 100%;
        height: 100%;
        object-position: 63% center;
        transform: none;
    }

    .home-hero__shade {
        background: linear-gradient(180deg, rgba(247, 249, 252, 0.99) 0%, rgba(247, 249, 252, 0.96) 38%, rgba(247, 249, 252, 0.64) 66%, rgba(247, 249, 252, 0.18) 100%);
    }

    .home-hero__inner {
        align-items: flex-start;
        padding-top: 72px;
        padding-bottom: 36px;
    }

    .home-hero__content {
        width: 100%;
    }

    .home-hero h1 {
        max-width: 9em;
        font-size: clamp(42px, 12.6vw, 58px);
        line-height: 1.1;
    }

    .home-hero__content > p {
        max-width: 23em;
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.75;
    }

    .home-actions {
        margin-top: 26px;
    }

    .home-button {
        min-height: 48px;
        padding: 0 21px;
    }

    .proof-rail__item {
        padding: 22px 16px;
    }

    .service-layout,
    .about-layout {
        gap: 42px;
    }

    .section-heading h2,
    .about-copy h2 {
        font-size: clamp(34px, 9.5vw, 48px);
    }

    .section-heading > p {
        margin-top: 18px;
        font-size: 16px;
    }

    .section-heading--compact {
        margin-bottom: 38px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 28px 0;
    }

    .product-mosaic,
    .case-mosaic {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card:first-child,
    .product-card,
    .product-card:last-child,
    .case-card,
    .case-card:first-child {
        grid-column: auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .product-card:first-child .product-card__media,
    .product-card__media,
    .case-card__media,
    .case-card:first-child .case-card__media {
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }

    .product-card__body,
    .product-card:first-child .product-card__body,
    .case-card__body,
    .case-card:first-child .case-card__body {
        padding: 26px;
    }

    .product-card:first-child h3,
    .case-card:first-child h3 {
        font-size: 27px;
    }

    .delivery-layout .section-heading {
        margin-bottom: 42px;
    }

    .delivery-flow {
        grid-template-columns: 1fr;
    }

    .delivery-flow article,
    .delivery-flow article:not(:first-child),
    .delivery-flow article:nth-child(n+3) {
        min-height: 0;
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .delivery-flow article:last-child {
        border-bottom: 0;
    }

    .about-brand {
        min-height: 240px;
        padding: 28px;
    }

    .contact-section {
        padding-top: 70px;
        padding-bottom: 88px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 36px 28px;
    }

    .contact-panel .home-button {
        width: 100%;
    }

    .site-footer {
        padding-top: 58px !important;
        padding-bottom: 82px !important;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 44px;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
    }

    .online-compact {
        display: none !important;
    }

    .mobile-action-bar {
        display: grid;
    }
}

@media (max-width: 479.98px) {
    .home-hero {
        min-height: 620px;
    }

    .home-hero__inner {
        padding-top: 58px;
    }

    .home-hero h1 {
        font-size: clamp(39px, 12vw, 50px);
    }

    .home-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .home-actions .home-button {
        min-width: 0;
        padding: 0 14px;
    }

    .proof-rail__grid {
        grid-template-columns: 1fr;
    }

    .proof-rail__item,
    .proof-rail__item:first-child,
    .proof-rail__item:nth-child(3),
    .proof-rail__item:last-child {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .proof-rail__item:last-child {
        border-bottom: 0;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .home-hero__visual {
        transform: none !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .site-navbar,
    .mobile-action-bar {
        background: #ffffff !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
