/*
 * Public home visual layer. Kept after home.css so the public copy, links,
 * form states and Bootstrap-fed content stay untouched while the presentation
 * can evolve independently from the legacy rules.
 */

:root {
    color-scheme: dark;
    --hx-night: #0b0914;
    --hx-night-raised: #100d1d;
    --hx-surface: rgba(20, 16, 33, 0.78);
    --hx-surface-solid: #171225;
    --hx-surface-soft: #211a35;
    --hx-text: #fbf9ff;
    --hx-text-soft: #b8b1c8;
    --hx-text-dim: #8d849e;
    --hx-line: rgba(233, 219, 255, 0.13);
    --hx-line-strong: rgba(243, 231, 255, 0.22);
    --hx-violet: #9d5cff;
    --hx-violet-bright: #bd7cff;
    --hx-pink: #f44cc8;
    --hx-cyan: #54d9e9;
    --hx-good: #66e4b7;
    --hx-danger: #ff83b1;
    --hx-radius-xl: 32px;
    --hx-radius-lg: 24px;
    --hx-radius-md: 18px;
    --hx-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    --hx-ring: 0 0 0 3px rgba(189, 124, 255, 0.44), 0 0 0 6px rgba(14, 10, 24, 0.92);
}

html {
    background: var(--hx-night);
}

body {
    min-width: 320px;
    color: var(--hx-text);
    background:
        radial-gradient(circle at 8% 16%, rgba(126, 66, 242, 0.17), transparent 27rem),
        radial-gradient(circle at 91% 38%, rgba(244, 76, 200, 0.12), transparent 28rem),
        radial-gradient(circle at 52% 78%, rgba(84, 217, 233, 0.08), transparent 28rem),
        var(--hx-night);
}

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.52;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.28) 74%, transparent 100%);
}

::selection {
    color: #fff;
    background: rgba(189, 124, 255, 0.52);
}

.topbar {
    top: 18px;
    width: min(calc(100% - 40px), 1200px);
    min-height: 68px;
    padding: 8px 10px 8px 14px;
    border-color: var(--hx-line);
    border-radius: 22px;
    background: rgba(15, 12, 25, 0.74);
    box-shadow: 0 14px 52px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(130%);
}

.brand,
.footer-brand {
    color: var(--hx-text);
}

.brand small,
.footer-brand small {
    color: var(--hx-text-dim);
    letter-spacing: 0.08em;
}

.brand img,
.footer-brand img {
    border-radius: 13px;
    box-shadow: 0 8px 22px rgba(164, 91, 255, 0.26);
}

.topbar-nav {
    gap: 2px;
    padding: 4px;
    border-color: rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.topbar-nav a {
    min-height: 40px;
    padding-inline: 14px;
    color: var(--hx-text-soft);
    border-radius: 10px;
}

.topbar-nav a:hover {
    color: var(--hx-text);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: none;
}

.nav-status {
    min-height: 38px;
    padding-inline: 12px;
    color: var(--hx-good);
    border-color: rgba(102, 228, 183, 0.22);
    border-radius: 12px;
    background: rgba(102, 228, 183, 0.08);
    letter-spacing: 0.05em;
}

.nav-action,
.btn,
.footer-cta {
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    isolation: isolate;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.nav-action::before,
.btn.primary::before,
.footer-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.3) 49%, transparent 70%);
    transform: translateX(-112%);
    transition: opacity 180ms ease, transform 420ms ease;
}

.nav-action {
    color: #fff;
    background: linear-gradient(135deg, #32204b, #191326);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 8px 22px rgba(0, 0, 0, 0.2);
}

.btn.primary {
    min-height: 50px;
    padding-inline: 22px;
    background: linear-gradient(135deg, #8e4dff 0%, #bd57ff 48%, #ee48bb 100%);
    box-shadow: 0 16px 36px rgba(153, 83, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn.secondary {
    min-height: 50px;
    padding-inline: 22px;
    color: var(--hx-text);
    border-color: var(--hx-line-strong);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-action:hover,
.btn:hover,
.footer-cta:hover {
    transform: translateY(-2px);
}

.nav-action:hover::before,
.btn.primary:hover::before,
.footer-cta:hover::before {
    opacity: 1;
    transform: translateX(112%);
}

.nav-action:active,
.btn:active,
.footer-cta:active {
    transform: translateY(0) scale(0.98);
}

.hero {
    min-height: min(900px, 100svh);
    padding: 146px max(22px, calc((100% - 1200px) / 2)) 92px;
    border: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(160, 85, 255, 0.3), transparent 26%),
        radial-gradient(circle at 86% 58%, rgba(255, 78, 198, 0.18), transparent 29%),
        linear-gradient(133deg, #0d0a18 0%, #130d24 48%, #0a111d 100%);
}

.hero::before {
    opacity: 0.44;
    background:
        linear-gradient(90deg, rgba(191, 139, 255, 0.1) 0 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.8) 62%, transparent 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--hx-night));
}

.bg-ribbon {
    height: 232px;
    border-color: rgba(191, 139, 255, 0.17);
    filter: blur(1px);
}

.bg-ribbon-a {
    background: linear-gradient(90deg, transparent 0%, rgba(128, 65, 255, 0.11) 24%, rgba(244, 76, 200, 0.18) 61%, transparent 100%);
}

.bg-ribbon-b {
    background: linear-gradient(90deg, transparent 0%, rgba(84, 217, 233, 0.1) 28%, rgba(158, 92, 255, 0.18) 63%, transparent 100%);
}

.bg-lines {
    opacity: 0.46;
    background:
        repeating-linear-gradient(120deg, transparent 0 64px, rgba(189, 124, 255, 0.075) 65px, transparent 70px),
        repeating-linear-gradient(64deg, transparent 0 98px, rgba(84, 217, 233, 0.045) 99px, transparent 105px);
}

.bg-sheen {
    right: 1%;
    opacity: 0.5;
    background: linear-gradient(90deg, transparent, rgba(211, 163, 255, 0.13), rgba(255, 107, 213, 0.1), transparent);
}

.hero-grid {
    gap: clamp(36px, 6vw, 94px);
}

.hero-inner {
    max-width: 670px;
}

.eyebrow {
    width: fit-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    color: #e2c9ff;
    border: 1px solid rgba(211, 167, 255, 0.25);
    border-radius: 999px;
    background: rgba(163, 93, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.hero h1 {
    max-width: 620px;
    margin-top: 22px;
    color: var(--hx-text);
    font-size: clamp(68px, 9.1vw, 132px);
    line-height: 0.86;
    letter-spacing: -0.075em;
    text-wrap: balance;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.hero-copy {
    max-width: 620px;
    margin-top: 27px;
    color: var(--hx-text-soft);
    font-size: clamp(18px, 1.65vw, 22px);
    line-height: 1.57;
}

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

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

.hero-status span {
    min-height: 36px;
    padding-inline: 12px;
    color: var(--hx-text-soft);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(12, 9, 22, 0.38);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 750;
}

.hero-status span:first-child {
    color: var(--hx-good);
    border-color: rgba(102, 228, 183, 0.22);
    background: rgba(102, 228, 183, 0.075);
}

.hero-visual {
    position: relative;
    min-height: 570px;
    isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.hero-visual::before {
    width: min(82%, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(218, 185, 255, 0.25);
    border-radius: 38% 62% 56% 44% / 44% 42% 58% 56%;
    background: radial-gradient(circle at 50% 46%, rgba(236, 120, 255, 0.34), rgba(133, 76, 255, 0.17) 45%, transparent 69%);
    box-shadow: 0 0 90px rgba(177, 92, 255, 0.25);
    transform: rotate(-10deg);
}

.hero-visual::after {
    width: min(96%, 510px);
    aspect-ratio: 1;
    border: 1px solid rgba(204, 160, 255, 0.16);
    border-radius: 48% 52% 63% 37% / 42% 55% 45% 58%;
    transform: rotate(18deg);
}

.hero-mark {
    width: min(89%, 455px);
    max-height: min(66svh, 550px);
    border: 1px solid rgba(255, 225, 255, 0.34);
    border-radius: var(--hx-radius-xl);
    box-shadow:
        0 32px 70px rgba(0, 0, 0, 0.33),
        0 0 0 1px rgba(163, 93, 255, 0.12),
        0 0 68px rgba(241, 76, 197, 0.2);
    transform: rotate(4deg);
}

main > section:not(.hero) {
    width: min(calc(100% - 48px), 1200px);
}

.intro,
.contact-section {
    padding-top: 118px;
}

.section-copy {
    max-width: 790px;
}

.section-copy h2,
.comfort-panel h2,
.contact-copy h2 {
    max-width: 780px;
    margin-top: 18px;
    color: var(--hx-text);
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.section-copy p:not(.eyebrow),
.comfort-panel p,
.contact-copy p {
    max-width: 660px;
    margin-top: 21px;
    color: var(--hx-text-soft);
    font-size: 18px;
    line-height: 1.65;
}

.intro-points {
    gap: 16px;
    margin-top: 48px;
}

.intro-points article,
.comfort-list article {
    position: relative;
    min-height: 246px;
    overflow: hidden;
    padding: 30px;
    border-color: var(--hx-line);
    border-radius: var(--hx-radius-lg);
    background: linear-gradient(150deg, rgba(40, 31, 62, 0.85), rgba(18, 15, 30, 0.83));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), 0 15px 42px rgba(0, 0, 0, 0.17);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.intro-points article::after,
.comfort-list article::after {
    content: "";
    position: absolute;
    inset: auto -22% -45% auto;
    width: 180px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(188, 105, 255, 0.16), transparent 69%);
    pointer-events: none;
}

.intro-points article:nth-child(2)::after,
.comfort-list article:nth-child(2)::after {
    background: radial-gradient(circle, rgba(84, 217, 233, 0.14), transparent 69%);
}

.intro-points article:nth-child(3)::after,
.comfort-list article:nth-child(3)::after {
    background: radial-gradient(circle, rgba(244, 76, 200, 0.15), transparent 69%);
}

.intro-points article:hover,
.comfort-list article:hover {
    border-color: rgba(215, 179, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 52px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.intro-points span {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 9px;
    color: #ffd0ed;
    border: 1px solid rgba(244, 76, 200, 0.25);
    border-radius: 999px;
    background: rgba(244, 76, 200, 0.09);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.intro-points h3,
.comfort-list h3 {
    position: relative;
    z-index: 1;
    margin-top: 39px;
    color: var(--hx-text);
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.comfort-list h3 {
    margin-top: 0;
}

.intro-points p,
.comfort-list p {
    position: relative;
    z-index: 1;
    color: var(--hx-text-soft);
    line-height: 1.62;
}

.comfort {
    gap: clamp(28px, 5vw, 74px);
    margin-top: 112px;
    padding: clamp(28px, 5vw, 64px);
    border-color: var(--hx-line);
    border-radius: var(--hx-radius-xl);
    background:
        radial-gradient(circle at 8% 0%, rgba(165, 89, 255, 0.25), transparent 29%),
        radial-gradient(circle at 98% 94%, rgba(84, 217, 233, 0.12), transparent 31%),
        linear-gradient(145deg, rgba(35, 26, 54, 0.94), rgba(16, 13, 27, 0.94));
    box-shadow: var(--hx-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.comfort-list {
    gap: 12px;
}

.comfort-list article {
    min-height: 0;
    padding: 24px 26px;
    border-radius: var(--hx-radius-md);
    background: rgba(10, 8, 18, 0.31);
}

.contact-section {
    gap: clamp(28px, 5vw, 74px);
    margin-top: 112px;
    margin-bottom: 106px;
    padding: clamp(28px, 5vw, 64px);
    border-color: var(--hx-line);
    border-radius: var(--hx-radius-xl);
    background:
        radial-gradient(circle at 88% 6%, rgba(244, 76, 200, 0.16), transparent 27%),
        linear-gradient(145deg, rgba(27, 21, 43, 0.98), rgba(13, 11, 22, 0.98));
    box-shadow: var(--hx-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.contact-meta {
    gap: 0;
    margin-top: 30px;
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-radius-md);
    background: rgba(7, 6, 14, 0.23);
    overflow: hidden;
}

.contact-meta div {
    grid-template-columns: minmax(116px, 0.42fr) minmax(0, 1fr);
    gap: 16px;
    padding: 14px 16px;
    border-color: var(--hx-line);
}

.contact-meta div:first-child {
    border-top: 0;
}

.contact-meta dt {
    color: var(--hx-text-dim);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-meta dd {
    color: var(--hx-text);
}

.contact-meta a {
    color: #d8b5ff;
    text-decoration-color: rgba(216, 181, 255, 0.54);
}

.lead-form {
    gap: 14px;
    padding: 6px;
}

.lead-form label {
    gap: 8px;
}

.lead-form span {
    color: var(--hx-text-soft);
    font-size: 13px;
}

.lead-form input,
.lead-form textarea {
    min-height: 52px;
    padding: 14px 15px;
    color: var(--hx-text);
    border-color: rgba(233, 219, 255, 0.14);
    border-radius: 14px;
    background: rgba(5, 5, 12, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.lead-form textarea {
    min-height: 136px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: rgba(184, 177, 200, 0.58);
}

.lead-form input:hover,
.lead-form textarea:hover {
    border-color: rgba(233, 219, 255, 0.25);
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: rgba(189, 124, 255, 0.78);
    background: rgba(11, 8, 19, 0.6);
    box-shadow: 0 0 0 4px rgba(157, 92, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lead-form input:-webkit-autofill,
.lead-form input:-webkit-autofill:hover,
.lead-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--hx-text);
    -webkit-box-shadow: 0 0 0 1000px #151022 inset, 0 0 0 4px rgba(157, 92, 255, 0.16);
    caret-color: var(--hx-text);
}

.lead-form button {
    min-width: 192px;
    margin-top: 4px;
}

.form-status {
    min-height: 23px;
    padding: 1px 3px;
    color: var(--hx-text-dim);
    font-size: 14px;
    font-weight: 650;
}

.form-status.ok {
    color: var(--hx-good);
}

.form-status.error {
    color: var(--hx-danger);
}

.footer {
    margin-top: 0;
    padding: 1px 24px 36px;
    color: var(--hx-text);
    border-top: 1px solid var(--hx-line);
    background:
        radial-gradient(circle at 12% -8%, rgba(156, 83, 255, 0.18), transparent 25%),
        radial-gradient(circle at 87% 4%, rgba(244, 76, 200, 0.12), transparent 25%),
        #0b0914;
}

.footer-inner {
    gap: 64px;
    padding: 48px 0 32px;
}

.footer-main {
    gap: 19px;
}

.footer-main p {
    color: var(--hx-text-soft);
}

.footer-cta {
    color: var(--hx-text);
    background: linear-gradient(135deg, #35234e, #1f1830);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 30px rgba(0, 0, 0, 0.25);
}

.footer-links {
    gap: 48px;
}

.footer-links span {
    color: #e2c9ff;
    letter-spacing: 0.08em;
}

.footer-links a {
    color: var(--hx-text-soft);
}

.footer-links a:hover {
    color: var(--hx-text);
}

.footer-bottom {
    color: var(--hx-text-dim);
    border-color: var(--hx-line);
}

@media (hover: none), (pointer: coarse) {
    .nav-action:hover,
    .btn:hover,
    .footer-cta:hover,
    .intro-points article:hover,
    .comfort-list article:hover {
        transform: none;
    }

    .intro-points article:hover,
    .comfort-list article:hover {
        border-color: var(--hx-line);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), 0 15px 42px rgba(0, 0, 0, 0.17);
    }

    .nav-action:hover::before,
    .btn.primary:hover::before,
    .footer-cta:hover::before {
        opacity: 0;
        transform: translateX(-112%);
    }
}

.topbar a:focus-visible,
.hero a:focus-visible,
.contact-meta a:focus-visible,
.lead-form input:focus-visible,
.lead-form textarea:focus-visible,
.lead-form button:focus-visible,
.footer a:focus-visible {
    outline: 0;
    box-shadow: var(--hx-ring);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-visual::before {
        animation: home-orbit-soft 13s ease-in-out infinite alternate;
    }

    .hero-mark {
        animation: home-mark-float 7s ease-in-out infinite alternate;
    }
}

@keyframes home-orbit-soft {
    from {
        transform: rotate(-10deg) translate3d(-8px, -8px, 0) scale(0.96);
    }
    to {
        transform: rotate(5deg) translate3d(10px, 12px, 0) scale(1.04);
    }
}

@keyframes home-mark-float {
    from {
        transform: rotate(2deg) translate3d(-4px, 8px, 0);
    }
    to {
        transform: rotate(6deg) translate3d(5px, -10px, 0);
    }
}

@media (max-width: 980px) {
    .topbar {
        width: min(calc(100% - 32px), 760px);
    }

    .hero {
        min-height: auto;
        padding-top: 132px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-inner {
        margin-inline: auto;
    }

    .hero-visual {
        min-height: 410px;
    }

    .hero-mark {
        width: min(78%, 390px);
    }

    .intro,
    .contact-section {
        padding-top: 92px;
    }

    .comfort,
    .contact-section {
        margin-top: 86px;
    }

    .contact-section {
        margin-bottom: 88px;
    }
}

@media (max-width: 640px) {
    .topbar {
        top: 10px;
        width: calc(100% - 20px);
        min-height: 60px;
        padding: 8px 8px 8px 12px;
        border-radius: 18px;
    }

    .brand strong {
        font-size: 14px;
    }

    .nav-action {
        min-height: 42px;
        padding-inline: 15px;
        border-radius: 11px;
    }

    .hero {
        min-height: 0;
        padding: 108px 20px 54px;
    }

    .hero::before {
        mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    }

    .hero h1 {
        margin-top: 18px;
        font-size: clamp(56px, 18vw, 78px);
        line-height: 0.88;
    }

    .hero-copy {
        margin-top: 21px;
        font-size: 17px;
        line-height: 1.54;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 27px;
    }

    .btn {
        min-height: 52px;
    }

    .hero-status {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .hero-status span {
        justify-content: center;
        min-width: 0;
        padding-inline: 9px;
        text-align: center;
        font-size: 12px;
    }

    .hero-status span:first-child {
        grid-column: 1 / -1;
    }

    .hero-visual {
        min-height: 308px;
        margin-top: 4px;
    }

    .hero-visual::before {
        width: min(82%, 300px);
    }

    .hero-visual::after {
        width: min(94%, 350px);
    }

    .hero-mark {
        width: min(77%, 290px);
        border-radius: 24px;
    }

    main > section:not(.hero) {
        width: min(calc(100% - 28px), 1200px);
    }

    .intro,
    .contact-section {
        padding-top: 74px;
    }

    .section-copy h2,
    .comfort-panel h2,
    .contact-copy h2 {
        margin-top: 15px;
        font-size: clamp(35px, 10vw, 46px);
        line-height: 1.01;
    }

    .section-copy p:not(.eyebrow),
    .comfort-panel p,
    .contact-copy p {
        margin-top: 17px;
        font-size: 16px;
        line-height: 1.58;
    }

    .intro-points {
        gap: 12px;
        margin-top: 32px;
    }

    .intro-points article {
        min-height: 0;
        padding: 24px;
        border-radius: 20px;
    }

    .intro-points h3 {
        margin-top: 32px;
        font-size: 23px;
    }

    .comfort,
    .contact-section {
        gap: 28px;
        margin-top: 74px;
        padding: 26px 21px;
        border-radius: 24px;
    }

    .comfort-list {
        gap: 10px;
    }

    .comfort-list article {
        padding: 22px;
        border-radius: 16px;
    }

    .comfort-list h3 {
        font-size: 22px;
    }

    .contact-section {
        margin-bottom: 72px;
    }

    .contact-meta {
        margin-top: 25px;
    }

    .contact-meta div {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 14px;
    }

    .lead-form {
        gap: 13px;
        padding: 0;
    }

    .lead-form input,
    .lead-form textarea {
        min-height: 50px;
        border-radius: 13px;
    }

    .lead-form textarea {
        min-height: 128px;
    }

    .lead-form button {
        width: 100%;
        min-width: 0;
        margin-top: 2px;
    }

    .footer {
        padding: 1px 20px 30px;
    }

    .footer-inner {
        gap: 32px;
        padding: 38px 0 26px;
    }

    .footer-links {
        gap: 24px;
    }
}

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

    .topbar {
        grid-template-columns: auto auto;
    }

    .hero {
        padding-inline: 16px;
    }

    main > section:not(.hero) {
        width: calc(100% - 24px);
    }
}

@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;
    }
}
