/* Novin Farm 2026 UI refresh — presentation only; content and SEO structure stay intact. */
:root {
    --color-primary: #2563a6;
    --color-primary-dark: #173b68;
    --color-primary-light: #e9f1fb;
    --color-accent: #e88a22;
    --color-accent-soft: #fff2df;
    --color-on-accent: #211407;
    --color-bg: #f5f7fb;
    --color-surface: #ffffff;
    --color-text: #162439;
    --color-text-muted: #52647a;
    --color-border: #dbe3ee;
    --color-header-bg: rgba(255, 255, 255, 0.82);
    --color-footer-bg: #0b1d35;
    --shadow-sm: 0 6px 18px rgba(23, 59, 104, 0.07);
    --shadow-md: 0 16px 40px rgba(23, 59, 104, 0.12);
    --shadow-lg: 0 28px 72px rgba(23, 59, 104, 0.18);
    --radius: 22px;
    --radius-sm: 14px;
    --header-h: 80px;
    --transition: 180ms cubic-bezier(.2, .8, .2, 1);
}

[data-theme="dark"] {
    --color-primary: #7db9ff;
    --color-primary-dark: #a7d0ff;
    --color-primary-light: rgba(125, 185, 255, 0.14);
    --color-accent: #ffb455;
    --color-accent-soft: rgba(245, 173, 67, 0.14);
    --color-on-accent: #201204;
    --color-bg: #08111f;
    --color-surface: #101d30;
    --color-text: #f1f6fd;
    --color-text-muted: #b4c3d7;
    --color-border: #293b55;
    --color-header-bg: rgba(8, 17, 31, 0.86);
    --color-footer-bg: #040a14;
    --color-input-bg: #14243a;
    --color-input-text: #f1f6fd;
    --color-product-card-img-bg: #14243a;
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 30px 76px rgba(0, 0, 0, 0.48);
}

html {
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body,
body:has(.home-page) {
    scroll-snap-type: none;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 166, .10), transparent 34rem),
        var(--color-bg);
    font-size: 16px;
}

.site {
    overflow: clip;
}

.container {
    width: min(1240px, calc(100% - 48px));
}

.skip-link {
    position: fixed;
    inset-block-start: 10px;
    inset-inline-start: 16px;
    z-index: 10000;
    padding: .7rem 1rem;
    border-radius: 12px;
    color: #fff;
    background: var(--color-primary-dark);
    transform: translateY(-150%);
    transition: transform var(--transition);
}

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

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

:where(a, button, summary, label[role="button"]) {
    touch-action: manipulation;
}

.btn {
    min-height: 48px;
    padding: .78rem 1.45rem;
    border-radius: 14px;
    font-weight: 750;
    letter-spacing: -.01em;
    transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #2563a6, #173b68);
    box-shadow: 0 10px 24px rgba(23, 59, 104, .26);
}

[data-theme="dark"] .btn-primary {
    color: #07182c;
    background: linear-gradient(135deg, #a7d0ff, #7db9ff);
}

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

.btn:active {
    transform: translateY(0);
}

.btn-outline,
.btn-secondary {
    background: color-mix(in srgb, var(--color-surface) 86%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-border));
}

/* Header and navigation */
.site-header {
    height: var(--header-h);
    background: var(--color-header-bg);
    border-bottom-color: color-mix(in srgb, var(--color-primary) 14%, transparent);
    box-shadow: 0 8px 30px rgba(23, 59, 104, .08);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.site-header__inner {
    height: var(--header-h);
    gap: 1.25rem;
}

.site-header__brand {
    gap: .65rem;
    flex-shrink: 0;
}

.site-header__logo {
    width: 50px;
    height: 50px;
    padding: 3px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
    background: color-mix(in srgb, var(--color-surface) 92%, transparent);
    box-shadow: var(--shadow-sm);
}

.site-header__brand-text strong {
    font-size: 1.05rem;
    letter-spacing: -.02em;
}

.site-header__nav {
    justify-content: center;
    gap: .15rem;
}

.site-header__nav a:not(.btn) {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: .55rem .7rem;
    border-radius: 12px;
    color: var(--color-text-muted);
    font-size: .88rem;
    font-weight: 650;
}

.site-header__nav a:not(.btn)::after {
    content: "";
    position: absolute;
    inset-inline: .7rem;
    inset-block-end: 4px;
    height: 2px;
    border-radius: 99px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.site-header__nav a:not(.btn):hover,
.site-header__nav a.is-current {
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
}

.site-header__nav a.is-current::after {
    transform: scaleX(1);
}

.theme-switcher,
.lang-switcher__toggle {
    min-height: 44px;
    border-radius: 14px;
    box-shadow: none;
}

.theme-switcher__btn {
    width: 36px;
    height: 36px;
}

.lang-switcher__toggle {
    padding: .45rem .7rem;
}

.lang-switcher__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.lang-switcher__menu {
    top: calc(100% + 12px);
    padding: .55rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.lang-switcher__item {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 10px;
}

.site-header__menu-btn {
    width: 48px;
    height: 48px;
    padding: 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
}

/* Home hero */
.home-page__bg .hero-slider {
    filter: saturate(.82) contrast(.96);
}

.hero-slider__overlay {
    background:
        linear-gradient(90deg, rgba(246, 250, 248, .84), rgba(246, 250, 248, .55)),
        linear-gradient(180deg, rgba(23, 59, 104, .12), rgba(255, 255, 255, .80));
}

[data-theme="dark"] .hero-slider__overlay {
    background:
        linear-gradient(90deg, rgba(8, 17, 31, .92), rgba(8, 17, 31, .65)),
        linear-gradient(180deg, rgba(8, 17, 31, .42), rgba(8, 17, 31, .90));
}

.home-page .home-snap-section {
    min-height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

.home-page .home-snap-section#hero {
    min-height: calc(100dvh - var(--header-h));
    padding: clamp(3rem, 8vh, 6.5rem) 0;
}

.hero__inner--solo {
    max-width: 980px;
}

.hero__inner--solo .hero__content {
    position: relative;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 32px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 34px 90px rgba(23, 59, 104, .20);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
}

[data-theme="dark"] .hero__inner--solo .hero__content {
    border-color: rgba(167, 208, 255, .18);
    background: rgba(10, 24, 43, .80);
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 1rem;
    padding: .35rem .8rem;
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
    font-size: .82rem;
    font-weight: 750;
}

.hero__title-block,
.hero__inner--solo .hero__title-block {
    margin-bottom: 1rem;
}

.hero__brand-mark {
    width: clamp(88px, 10vw, 122px);
    height: clamp(88px, 10vw, 122px);
}

.hero__title {
    max-width: 760px;
    font-size: clamp(2rem, 5vw, 3.65rem);
    line-height: 1.18;
    letter-spacing: -.035em;
}

.hero__subtitle {
    max-width: 720px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.9;
}

.hero__actions .btn-primary {
    background: linear-gradient(135deg, #e99924, #d77b08);
    color: var(--color-on-accent);
    box-shadow: 0 12px 28px rgba(232, 138, 34, .28);
}

.hero__breeds {
    margin-top: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.hero__breed-logo {
    min-height: 72px;
    padding: .5rem 1rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-surface) 74%, transparent);
}

.hero-motion-toggle {
    position: fixed;
    z-index: 910;
    inset-block-start: calc(var(--header-h) + 18px);
    inset-inline-end: max(18px, 2vw);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    border-radius: 14px;
    color: var(--color-primary-dark);
    background: color-mix(in srgb, var(--color-surface) 86%, transparent);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.hero-motion-toggle svg {
    width: 20px;
    height: 20px;
}

.hero-motion-toggle__play,
.hero-motion-toggle.is-paused .hero-motion-toggle__pause {
    display: none;
}

.hero-motion-toggle.is-paused .hero-motion-toggle__play {
    display: block;
}

.hero-slider.is-paused .hero-slider__slide,
.hero-slider.is-paused .hero-slider__slide img,
.hero-slider.is-paused .hero-slider__dot::after {
    animation-play-state: paused !important;
}

/* Home sections and reusable cards */
.home-page .section.home-snap-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.home-page .section.home-snap-section:nth-of-type(odd) {
    background: color-mix(in srgb, var(--color-surface) 74%, transparent) !important;
    backdrop-filter: blur(16px);
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin: 0 auto 1rem;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.section-head h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.65rem);
    line-height: 1.3;
    letter-spacing: -.025em;
}

.section-head p {
    font-size: 1rem;
    line-height: 1.85;
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card,
.feature-card,
.news-card,
.product-module,
.about-card,
.about-products,
.about-founder,
.contact-card,
.download-table,
.download-app-card {
    border-color: color-mix(in srgb, var(--color-primary) 13%, var(--color-border));
    box-shadow: var(--shadow-sm);
}

.product-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card::after {
    content: "";
    position: absolute;
    inset-inline: 1.25rem;
    inset-block-end: 0;
    height: 3px;
    border-radius: 99px 99px 0 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.product-card:hover,
.product-card:focus-visible {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--color-primary) 42%, var(--color-border));
    box-shadow: var(--shadow-md);
}

.product-card:hover::after,
.product-card:focus-visible::after {
    transform: scaleX(1);
}

.product-card__media {
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 85% 10%, rgba(232, 138, 34, .14), transparent 38%),
        linear-gradient(145deg, var(--color-primary-light), var(--color-surface));
}

.product-card__media img {
    padding: clamp(.8rem, 3vw, 1.5rem);
    transition: transform 360ms cubic-bezier(.2, .8, .2, 1);
}

.product-card:hover .product-card__media img {
    transform: scale(1.045);
}

.product-card__body {
    padding: 1.35rem 1.4rem 1.5rem;
}

.product-card__title {
    font-size: 1.12rem;
    line-height: 1.55;
}

.product-card__desc {
    font-size: .93rem;
    line-height: 1.75;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--color-primary-dark);
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.feature-card {
    padding: 1.7rem;
    text-align: start;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 0 1.15rem;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: 15px;
    color: var(--color-primary-dark);
    background: linear-gradient(145deg, var(--color-primary-light), var(--color-surface));
}

.feature-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.05rem;
}

.feature-card p {
    font-size: .92rem;
    line-height: 1.75;
}

.news-card {
    padding: 1.35rem;
    border-radius: 22px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-card__image-link {
    margin: -1.35rem -1.35rem 1.2rem;
    overflow: hidden;
    border-radius: 21px 21px 0 0;
}

.news-card__image {
    height: 210px;
    border-radius: 0;
    transition: transform 360ms ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.035);
}

.customers-impact {
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .16), transparent 38%),
        linear-gradient(155deg, #2563a6, #122f56);
}

.top-customer-logo {
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.cta-banner {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, .17), transparent 35%),
        linear-gradient(135deg, #173b68, #2563a6 58%, #2b72bc);
}

.cta-banner .btn-primary {
    background: linear-gradient(135deg, #ffb455, #e88a22);
    color: var(--color-on-accent);
}

/* Inner pages */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 12% 20%, rgba(232, 138, 34, .12), transparent 24rem),
        radial-gradient(circle at 88% 30%, rgba(37, 99, 166, .16), transparent 28rem),
        linear-gradient(180deg, var(--color-surface), var(--color-bg));
}

.page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline-end: -80px;
    inset-block-start: -130px;
    width: 330px;
    height: 330px;
    border: 60px solid color-mix(in srgb, var(--color-primary) 6%, transparent);
    border-radius: 50%;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.25;
    letter-spacing: -.035em;
}

.page-hero p,
.page-hero .lead,
.page-hero__lead {
    max-width: 760px;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.85;
}

.section {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.product-detail-hero__image,
.product-detail-hero__visual img {
    filter: drop-shadow(0 18px 34px rgba(23, 59, 104, .16));
}

.product-module,
.product-extended__about {
    border-radius: 20px;
}

.product-module {
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-module:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
    box-shadow: var(--shadow-md);
}

.product-detail-hero__content,
.product-extended__about,
.product-detail-page .content-page {
    text-wrap: pretty;
}

.product-detail-hero__lead {
    max-width: 66ch;
    margin: 0;
    line-height: 1.72;
}

.product-extended__about {
    max-width: 860px;
}

.product-extended__about p {
    max-width: 70ch;
    margin: 0 0 .75rem;
    line-height: 1.72;
}

.product-detail-page .content-page {
    max-width: 900px;
}

.product-detail-page .content-page > h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.4;
}

.product-detail-page .content-page > h3 {
    margin: 1.4rem 0 .4rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--color-primary-dark);
}

.product-detail-page .content-page > p {
    max-width: 72ch;
    margin: 0 0 .7rem;
    line-height: 1.72;
}

@media (min-width: 1200px) {
    .page-hero--product {
        padding-top: 3.25rem;
    }

    .product-detail-hero {
        padding-bottom: 2rem;
    }

    .section--product-about,
    .section--product-modules,
    .product-detail-page > .section:not(.section--product-features):not(.section--product-cta) {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }

    .product-detail-page .section--product-features {
        padding-top: 3.25rem;
        padding-bottom: 3.5rem;
    }

    .product-modules {
        gap: 1rem;
    }
}

.feature-list li {
    padding: 1rem 1.1rem;
    border-radius: 14px;
}

.about-content {
    max-width: 900px;
}

.about-card,
.about-products,
.about-founder,
.about-mission {
    border-radius: 22px;
}

.about-product-chip {
    min-height: 132px;
    border-radius: 16px;
}

.contact-grid {
    gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-card,
.contact-map {
    border-radius: 24px;
}

.contact-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-list li {
    padding: .8rem 0;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-map {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 3rem;
    background:
        radial-gradient(circle, rgba(37, 99, 166, .15), transparent 62%),
        var(--color-surface);
}

.contact-map img {
    width: min(240px, 70%);
}

/* Demo request */
.page-hero--demo {
    padding: 3.5rem 0 2.5rem;
}

.demo-page__inner {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 2rem;
}

.demo-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.demo-sidebar__card,
.demo-form,
.demo-state-panel {
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.demo-sidebar__card {
    padding: 1.5rem;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--color-primary-light) 80%, var(--color-surface)), var(--color-surface));
}

.demo-benefits li {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding-inline-start: 1.55rem;
    font-size: .9rem;
}

.demo-form {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.demo-form-wrap::before {
    height: 5px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.demo-fieldset {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

.demo-fieldset legend {
    margin-bottom: 1rem;
    font-size: .88rem;
    text-transform: none;
}

.demo-choice {
    min-height: 48px;
    border-radius: 13px;
}

.demo-form .form-grid--demo {
    gap: 1rem;
}

.form-input,
.demo-form .form-input {
    min-height: 48px;
    padding: .72rem .85rem;
    border-radius: 12px;
    border-color: color-mix(in srgb, var(--color-text-muted) 28%, var(--color-border));
}

.form-input:hover {
    border-color: color-mix(in srgb, var(--color-primary) 52%, var(--color-border));
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.demo-combobox__list {
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.demo-combobox__option {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(4rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 10% 0%, rgba(125, 185, 255, .18), transparent 28rem),
        var(--color-footer-bg);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.site-footer__grid {
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-bottom: 3rem;
}

.site-footer__brand {
    max-width: 540px;
}

.site-footer h4 {
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer li {
    margin-bottom: .3rem;
}

.site-footer li a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
}

.back-to-top {
    border-radius: 14px;
}

@media (max-width: 1180px) {
    .site-header__nav a:not(.btn) {
        padding-inline: .55rem;
        font-size: .82rem;
    }

    .site-header__brand-text {
        display: none;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 72px;
    }

    .site-header__brand {
        flex: 1 1 auto;
    }

    .site-header__logo {
        width: 46px;
        height: 46px;
    }

    .site-header__tools {
        order: 2;
    }

    .site-header__menu-btn {
        order: 3;
        display: flex;
        flex-shrink: 0;
    }

    .site-header__nav {
        top: var(--header-h);
        padding: 1rem max(24px, calc((100vw - 720px) / 2));
        gap: .2rem;
        background: color-mix(in srgb, var(--color-surface) 94%, transparent);
        backdrop-filter: blur(20px);
    }

    .site-header__nav a:not(.btn) {
        min-height: 48px;
        padding: .7rem .9rem;
        border: 0;
        border-radius: 12px;
        font-size: .95rem;
    }

    .site-header__nav a:not(.btn)::after {
        inset-inline: 0 auto;
        inset-block: .75rem;
        width: 3px;
        height: auto;
        transform: scaleY(0);
    }

    .site-header__nav a.is-current::after {
        transform: scaleY(1);
    }

    .site-header__toggle-input:checked ~ .site-header__menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .site-header__toggle-input:checked ~ .site-header__menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .site-header__toggle-input:checked ~ .site-header__menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .home-page .home-snap-section#hero {
        padding: 2.5rem 0;
    }

    .hero__inner--solo .hero__content {
        border-radius: 26px;
    }

    .hero__brand-mark {
        display: block;
        width: 84px;
        height: 84px;
    }

    .hero__title-block {
        flex-direction: row;
        gap: 1rem;
    }

    .hero__title {
        text-align: start;
    }

    .hero__inner--solo .hero__subtitle {
        text-align: start;
    }

    .hero-motion-toggle {
        inset-block-start: calc(var(--header-h) + 12px);
        width: 44px;
        height: 44px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .product-card__body {
        padding: 1rem;
    }

    .product-card__title {
        display: block;
        overflow: visible;
        font-size: .98rem;
    }

    .product-card__desc,
    .product-card__link {
        display: block;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card__icon {
        width: 48px;
        height: 48px;
        margin-bottom: .85rem;
    }

    .feature-card h3,
    .feature-card p {
        display: block;
        overflow: visible;
    }

    .feature-card h3 {
        font-size: .96rem;
    }

    .feature-card p {
        font-size: .86rem;
    }

    .demo-page__inner {
        grid-template-columns: 1fr;
    }

    .demo-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1240px);
    }

    .site-header__inner {
        gap: .5rem;
    }

    .site-header__tools {
        gap: .35rem;
    }

    .site-header__tools .theme-switcher {
        display: none;
    }

    .site-header__tools .lang-switcher__toggle {
        min-height: 44px;
        padding: .35rem .55rem;
    }

    .site-header__menu-btn {
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .hero__inner--solo .hero__content {
        padding: 1.35rem 1.1rem 1.5rem;
        border-radius: 22px;
    }

    .hero__eyebrow {
        margin-bottom: .8rem;
        font-size: .75rem;
    }

    .hero__title-block,
    .hero__inner--solo .hero__title-block {
        flex-direction: column;
        gap: .45rem;
        margin-bottom: .75rem;
    }

    .hero__brand-mark {
        width: 68px;
        height: 68px;
    }

    .hero__title {
        text-align: center;
        font-size: clamp(1.65rem, 8vw, 2.2rem);
    }

    .hero__inner--solo .hero__subtitle {
        text-align: center;
        line-height: 1.75;
    }

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

    .hero__actions .btn {
        width: 100%;
    }

    .hero__breeds-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .55rem;
    }

    .hero__breed-logo {
        min-height: 54px;
        padding: .25rem .35rem;
    }

    .hero__breed-logo img {
        max-height: 46px;
    }

    .hero-motion-toggle {
        display: none;
    }

    .home-scroll-nav {
        display: none;
    }

    .home-page .section.home-snap-section,
    .section {
        padding: 3.75rem 0;
    }

    .section-head {
        margin-bottom: 1.75rem;
    }

    .section-head h2,
    .section--features .section-head h2,
    .section--customers .section-head h2 {
        font-size: 1.6rem;
    }

    .section-head p,
    .section--features .section-head p,
    .section--customers .section-head p {
        font-size: .94rem;
    }

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

    .product-card__media {
        aspect-ratio: 16 / 9;
    }

    .product-card__media img {
        padding: 1rem;
    }

    .feature-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: .2rem .9rem;
        align-items: center;
        text-align: start;
    }

    .feature-card__icon {
        grid-row: 1 / 3;
        margin: 0;
    }

    .feature-card p {
        font-size: .84rem;
        line-height: 1.65;
    }

    .customers-impact {
        border-radius: 18px;
    }

    .top-customers-grid,
    .top-customers-grid--home,
    .top-customers-grid--page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-banner {
        padding: 2rem 1.25rem;
        border-radius: 22px;
    }

    .cta-banner__actions,
    .cta-banner__actions .btn {
        width: 100%;
    }

    .page-hero,
    .page-hero--demo {
        padding: 2.75rem 0 2.2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .demo-form {
        padding: 1.1rem;
    }

    .demo-customer-type,
    .demo-facility-grid,
    .demo-form .form-grid--demo {
        grid-template-columns: 1fr;
    }

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

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

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

    html.js-reveal .reveal:not(.is-visible) {
        opacity: 1;
        transform: none;
    }
}
