.frontend-new-home-landing {
    --nh-ink: #24312a;
    --nh-muted: #677168;
    --nh-line: #dfe7db;
    --nh-paper: #fbfaf4;
    --nh-soft: #eef5ec;
    --nh-green: #2f7d5c;
    --nh-green-dark: #1f5f46;
    --nh-clay: #c7774f;
    --nh-clay-dark: #9e5537;
    --nh-danger: #b74444;
    --nh-danger-dark: #963434;
    --nh-cream: #fffdf7;
    --nh-ink-rgb: 36, 49, 42;
    --nh-line-rgb: 223, 231, 219;
    --nh-paper-rgb: 251, 250, 244;
    --nh-primary-rgb: 47, 125, 92;
    --nh-primary-dark-rgb: 31, 95, 70;
    --nh-hero-background:
        linear-gradient(116deg, rgba(251, 250, 244, .99) 0%, rgba(246, 242, 231, .97) 48%, rgba(226, 238, 219, .94) 100%),
        linear-gradient(180deg, #fbfaf4 0%, #eef5ec 100%);
    --nh-demo-overlay: linear-gradient(118deg, rgba(251, 250, 244, .96) 0%, rgba(246, 242, 231, .93) 50%, rgba(226, 238, 219, .94) 100%);
    --nh-differentials-background: linear-gradient(100deg, #1f5f46 0%, #2f7d5c 54%, #8b5a3c 100%);
    --nh-steps-background: linear-gradient(120deg, #24312a 0%, #315340 58%, #7a563f 100%);
    --nh-bottom-cta-space: 92px;
    --nh-body-font: "Nunito Sans", "Segoe UI", Helvetica, sans-serif;
    --nh-heading-font: "Lora", Georgia, serif;
    background: var(--nh-paper);
    color: var(--nh-ink);
    font-family: var(--nh-body-font);
}

.frontend-new-home-landing.nh-palette-terracotta {
    --nh-ink: #3c2922;
    --nh-muted: #765f55;
    --nh-line: #ead6c8;
    --nh-paper: #fffaf5;
    --nh-soft: #f6e9dc;
    --nh-green: #a94f36;
    --nh-green-dark: #7e3525;
    --nh-clay: #d49a45;
    --nh-clay-dark: #a96f24;
    --nh-cream: #fff8f1;
    --nh-ink-rgb: 60, 41, 34;
    --nh-line-rgb: 234, 214, 200;
    --nh-paper-rgb: 255, 250, 245;
    --nh-primary-rgb: 169, 79, 54;
    --nh-primary-dark-rgb: 126, 53, 37;
    --nh-hero-background:
        linear-gradient(116deg, rgba(255, 250, 245, .99) 0%, rgba(250, 239, 229, .97) 48%, rgba(244, 218, 197, .94) 100%),
        linear-gradient(180deg, #fffaf5 0%, #f6e9dc 100%);
    --nh-demo-overlay: linear-gradient(118deg, rgba(255, 250, 245, .96) 0%, rgba(250, 239, 229, .93) 50%, rgba(244, 218, 197, .94) 100%);
    --nh-differentials-background: linear-gradient(100deg, #7e3525 0%, #a94f36 54%, #d49a45 100%);
    --nh-steps-background: linear-gradient(120deg, #3c2922 0%, #734434 58%, #9c672d 100%);
}

[v-cloak] {
    display: none;
}

.nh-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 14px clamp(18px, 5vw, 72px) 8px;
    background: var(--nh-paper);
}

.nh-brand,
.nh-demo-cta-preview {
    color: inherit;
    text-decoration: none;
}

.nh-brand img {
    width: clamp(108px, 11vw, 144px);
    height: auto;
    object-fit: contain;
}

.nh-btn-primary,
.nh-btn-primary:focus {
    color: #fff;
    background: var(--nh-green);
    border-color: var(--nh-green);
    border-radius: 8px;
    font-weight: 900;
}

.nh-btn-primary:hover {
    color: #fff;
    background: var(--nh-green-dark);
    border-color: var(--nh-green-dark);
}

a.nh-btn-primary,
a.nh-btn-primary:focus,
a.nh-btn-primary:hover {
    color: #fff;
    text-decoration: none;
}

.nh-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nh-cta-gift-icon {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 1.16em;
    line-height: 1;
    transform-origin: 50% 82%;
    animation: nh-cta-gift-attention 2s ease-in-out infinite;
    will-change: transform;
}

@keyframes nh-cta-gift-attention {
    0%,
    48%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    58% {
        transform: rotate(-11deg) scale(1.13);
    }

    68% {
        transform: rotate(9deg) scale(1.13);
    }

    78% {
        transform: rotate(-6deg) scale(1.08);
    }

    89% {
        transform: rotate(4deg) scale(1.04);
    }
}

.nh-btn-secondary,
.nh-btn-secondary:focus {
    color: var(--nh-ink);
    background: #fff;
    border-color: var(--nh-line);
    border-radius: 8px;
    font-weight: 900;
}

.nh-btn-secondary:hover {
    color: var(--nh-ink);
    background: var(--nh-soft);
    border-color: var(--nh-line);
}

.nh-btn-lg {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 22px;
    padding-left: 22px;
}

.nh-hero {
    min-height: clamp(520px, calc(100svh - 220px), 620px);
    display: flex;
    align-items: center;
    padding: 24px clamp(18px, 5vw, 72px) 34px;
    background: var(--nh-hero-background);
}

.nh-hero-grid,
.nh-section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.nh-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 38px;
    align-items: center;
}

.nh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 0 9px 0 12px;
    color: var(--nh-green-dark);
    border: 1px solid #ccdcbf;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
}

.nh-eyebrow-dark {
    color: #fff;
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .32);
}

.nh-hero-copy h1,
.nh-section-title h2,
.nh-demo-cta h2,
.nh-signup-step h2 {
    font-family: var(--nh-heading-font);
    letter-spacing: 0;
}

.nh-hero-copy h1 {
    max-width: 700px;
    margin: 14px 0;
    color: var(--nh-ink);
    font-size: clamp(34px, 3.2vw, 42px);
    line-height: 1.08;
    font-weight: 700;
}

.nh-hero-copy h1 strong {
    color: var(--nh-green-dark);
}

.nh-hero-copy p {
    max-width: 590px;
    margin: 0 0 22px;
    color: var(--nh-muted);
    font-size: 18px;
    line-height: 1.46;
}

.nh-hero-actions,
.nh-signup-actions,
.nh-demo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.nh-hero-preview {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-hero-preview img {
    width: min(338px, 100%);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 10px solid #fffdf7;
    border-radius: 999px 999px 22px 22px;
    box-shadow: 0 28px 72px rgba(var(--nh-ink-rgb), .2);
}

.nh-hero-badges {
    position: absolute;
    left: 0;
    bottom: 28px;
    display: grid;
    gap: 10px;
    max-width: 310px;
}

.nh-hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    color: var(--nh-ink);
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--nh-line);
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(var(--nh-ink-rgb), .12);
    font-size: 13px;
    font-weight: 900;
}

.nh-differentials-band {
    padding: 44px clamp(18px, 5vw, 72px);
    color: #fff;
    background: var(--nh-differentials-background);
}

.nh-differentials-grid {
    width: min(760px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
}

.nh-differentials-grid h2 {
    margin: 12px 0 8px;
    font-family: var(--nh-heading-font);
    font-size: 34px;
    line-height: 1.16;
    font-weight: 700;
}

.nh-differentials-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.55;
}

.nh-differentials-features {
    margin-top: 28px;
}

.nh-differential-card,
.nh-step {
    height: 100%;
    min-height: 188px;
    padding: 22px;
    border-radius: 8px;
}

.nh-differential-card {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 16px 42px rgba(22, 36, 28, .14);
}

.nh-differential-card i {
    display: inline-flex;
    margin-bottom: 14px;
    color: #d7efcf;
    font-size: 30px;
}

.nh-differential-card h3,
.nh-step h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
}

.nh-differential-card p {
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.5;
}

.nh-section {
    padding: 58px clamp(18px, 5vw, 72px);
}

.nh-section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.nh-section-title-centered {
    width: min(760px, 100%);
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 1fr;
    text-align: center;
}

.nh-section-title h2,
.nh-demo-cta h2 {
    margin: 0;
    color: var(--nh-ink);
    font-size: 36px;
    line-height: 1.16;
    font-weight: 700;
}

.nh-section-title p,
.nh-step p,
.nh-demo-cta p,
.nh-signup-step p {
    margin: 0;
    color: var(--nh-muted);
    font-size: 16px;
    line-height: 1.56;
}

.nh-cta-band {
    color: var(--nh-ink);
    background:
        var(--nh-demo-overlay),
        url("/imgs/frontend/new-home/banner-devices-v4.png") center / cover no-repeat;
}

.nh-demo-cta {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 520px);
    gap: clamp(24px, 5vw, 52px);
    align-items: center;
}

.nh-demo-cta-copy {
    display: grid;
    justify-items: start;
}

.nh-demo-cta h2 {
    max-width: 620px;
    margin: 14px 0 12px;
}

.nh-demo-cta p {
    max-width: 620px;
}

.nh-demo-cta-preview {
    display: block;
    overflow: hidden;
    background: #fffdf7;
    border: 3px solid var(--nh-clay);
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(var(--nh-ink-rgb), .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nh-demo-cta-preview:hover,
.nh-demo-cta-preview:focus {
    transform: translateY(-3px);
    box-shadow: 0 30px 74px rgba(var(--nh-ink-rgb), .22);
}

.nh-demo-cta-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 19 / 12;
    object-fit: cover;
}

.nh-steps-band {
    color: #fff;
    background: var(--nh-steps-background);
}

.nh-steps-band .nh-section-title h2 {
    color: #fff;
}

.nh-steps-band .nh-section-title p {
    color: rgba(255, 255, 255, .78);
}

.nh-step {
    color: var(--nh-ink);
    background: #fff;
    border: 1px solid var(--nh-line);
    box-shadow: 0 16px 42px rgba(22, 36, 28, .12);
}

.nh-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    color: #fff;
    background: var(--nh-green-dark);
    border-radius: 50%;
    font-weight: 900;
}

.nh-bottom-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    justify-content: center;
    padding: 12px clamp(14px, 4vw, 28px);
    background: rgba(var(--nh-paper-rgb), .94);
    border-top: 1px solid rgba(var(--nh-line-rgb), .92);
    box-shadow: 0 -18px 42px rgba(var(--nh-ink-rgb), .14);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
}

.nh-bottom-cta.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.nh-bottom-cta-inner {
    width: min(960px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 34px);
}

.nh-bottom-cta-value {
    color: var(--nh-ink);
    font-size: clamp(15px, 1.45vw, 17px);
    font-weight: 900;
    line-height: 1.3;
}

.nh-bottom-cta-button,
.nh-bottom-cta-button:focus {
    width: auto;
    min-width: 220px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--nh-green);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(var(--nh-primary-dark-rgb), .28);
    font-size: 16px;
    font-weight: 900;
}

.nh-bottom-cta-button:hover {
    color: #fff;
    background: var(--nh-green-dark);
}

@media (max-width: 767px) {
    .nh-bottom-cta-value {
        display: none;
    }

    .nh-bottom-cta-button,
    .nh-bottom-cta-button:focus {
        width: min(420px, 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nh-cta-gift-icon {
        animation: none;
    }

    .nh-bottom-cta {
        transition: none;
    }
}

.nh-signup-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--nh-paper);
    box-shadow: 0 30px 90px rgba(var(--nh-ink-rgb), .28);
}

.nh-signup-modal .modal-body {
    padding: 34px;
}

.nh-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.nh-signup-progress {
    display: flex;
    gap: 8px;
    margin: 0 42px 28px 0;
}

.nh-signup-progress span {
    height: 6px;
    flex: 1;
    border-radius: 999px;
    background: var(--nh-line);
}

.nh-signup-progress span.active {
    background: var(--nh-green);
}

.nh-signup-step h2 {
    margin: 14px 0 10px;
    color: var(--nh-ink);
    font-size: 32px;
    line-height: 1.18;
    font-weight: 700;
}

.nh-signup-step p {
    max-width: 620px;
    margin: 0 0 12px;
}

.nh-signup-modal .form-label {
    color: var(--nh-ink);
    font-size: 14px;
    font-weight: 900;
}

.nh-form-control {
    min-height: 50px;
    border-color: var(--nh-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
}

.nh-form-control:focus {
    border-color: var(--nh-green);
    box-shadow: 0 0 0 .2rem rgba(var(--nh-primary-rgb), .14);
}

.nh-palette-fieldset {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
}

.nh-palette-fieldset legend {
    margin: 0;
    color: var(--nh-ink);
    font-size: 15px;
    font-weight: 900;
}

.nh-palette-fieldset > p {
    margin: 2px 0 10px;
    color: var(--nh-muted);
    font-size: 13px;
}

.nh-palette-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nh-palette-option {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 12px;
    border: 2px solid var(--nh-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nh-palette-option:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--nh-primary-rgb), .52);
}

.nh-palette-option.selected {
    border-color: var(--nh-green);
    box-shadow: 0 0 0 3px rgba(var(--nh-primary-rgb), .12);
}

.nh-palette-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.nh-palette-option:focus-within {
    outline: 3px solid rgba(var(--nh-primary-rgb), .18);
    outline-offset: 2px;
}

.nh-palette-swatches {
    height: 54px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(var(--nh-ink-rgb), .15);
}

.nh-palette-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.nh-palette-copy strong {
    color: var(--nh-ink);
    font-size: 14px;
    line-height: 1.2;
}

.nh-palette-copy small {
    color: var(--nh-muted);
    font-size: 12px;
    line-height: 1.35;
}

.nh-palette-check {
    color: var(--nh-green);
    font-size: 19px;
    opacity: 0;
    transform: scale(.75);
    transition: opacity .2s ease, transform .2s ease;
}

.nh-palette-option.selected .nh-palette-check {
    opacity: 1;
    transform: scale(1);
}

.nh-terms-check {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 18px;
    padding: 14px;
    color: var(--nh-ink);
    background: #fff;
    border: 1px solid var(--nh-line);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
}

.nh-terms-check .form-check-input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border-color: var(--nh-green);
}

.nh-terms-check .form-check-input:checked {
    background-color: var(--nh-green);
    border-color: var(--nh-green);
}

.nh-terms-check label {
    min-width: 0;
}

.nh-account-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
}

.nh-link-button {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: var(--nh-green-dark);
    font-size: 14px;
    font-weight: 900;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nh-link-button:hover,
.nh-link-button:focus {
    color: var(--nh-clay-dark);
}

.nh-signup-loading,
.nh-signup-success {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.nh-signup-loading p,
.nh-signup-success p {
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
}

.nh-loading-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    margin-bottom: 18px;
    padding: 0 14px;
    color: var(--nh-green-dark);
    background: #fff;
    border: 1px solid var(--nh-line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
}

.nh-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(var(--nh-primary-rgb), .22);
    border-top-color: var(--nh-green);
    border-radius: 50%;
    animation: nh-spin .8s linear infinite;
}

.nh-loading-mark {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nh-green-dark);
    background: #fff;
    border: 1px solid var(--nh-line);
    border-radius: 50%;
    box-shadow: 0 16px 36px rgba(var(--nh-primary-dark-rgb), .12);
    font-size: 28px;
}

.nh-loading-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.nh-loading-steps span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    color: var(--nh-muted);
    background: #fff;
    border: 1px solid var(--nh-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.nh-loading-steps span.active {
    color: var(--nh-green-dark);
    border-color: rgba(var(--nh-primary-rgb), .38);
}

.nh-loading-steps span.done {
    color: #fff;
    background: var(--nh-green);
    border-color: var(--nh-green);
}

.nh-success-mark {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--nh-green);
    border-radius: 50%;
    font-size: 28px;
}

.nh-signup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
}

.nh-signup-actions-stacked {
    display: grid;
    width: min(220px, 100%);
    margin-left: auto;
}

.nh-create-site-step {
    width: 100%;
}

.nh-signup-actions-stacked.nh-create-site-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.nh-create-site-button {
    width: min(240px, 100%);
    min-height: 54px;
    padding: 0 28px;
    font-size: 17px;
}

.nh-create-site-actions .nh-btn-secondary {
    width: min(140px, 100%);
}

.nh-login-list-actions {
    justify-content: center;
}

.nh-login-list-options {
    display: grid;
    gap: 10px;
}

.nh-login-list-option {
    text-align: left;
    border: 1px solid var(--nh-line);
    border-radius: 8px;
    background: #fffdf7;
    padding: 14px;
}

.nh-login-list-option span {
    display: block;
    color: var(--nh-muted);
    font-size: 13px;
    word-break: break-all;
}

.nh-footer {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 8px;
    padding: 30px clamp(18px, 5vw, 72px) calc(30px + var(--nh-bottom-cta-space) + env(safe-area-inset-bottom));
    color: rgba(255, 255, 255, .72);
    background: var(--nh-ink);
    text-align: center;
}

.nh-footer img {
    width: 60px;
    height: auto;
}

.nh-footer strong {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.nh-footer p {
    max-width: 720px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.nh-footer-company {
    color: rgba(255, 255, 255, .82);
    font-size: 13px !important;
    font-weight: 800;
}

.nh-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
}

.nh-footer a {
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nh-footer a:hover,
.nh-footer a:focus {
    color: #fff;
}

@keyframes nh-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 960px) {
    .nh-hero {
        min-height: auto;
        padding-top: 34px;
    }

    .nh-hero-grid,
    .nh-section-title,
    .nh-differentials-grid,
    .nh-demo-cta {
        grid-template-columns: 1fr;
    }

    .nh-hero-copy h1 {
        font-size: 38px;
    }

    .nh-hero-copy {
        text-align: center;
    }

    .nh-hero-copy h1,
    .nh-hero-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .nh-hero-copy .nh-eyebrow {
        margin-right: auto;
        margin-left: auto;
    }

    .nh-hero-copy p {
        font-size: 17px;
    }

    .nh-hero-actions {
        justify-content: center;
    }

    .nh-hero-preview {
        min-height: auto;
    }

    .nh-hero-badges {
        left: 50%;
        bottom: 18px;
        width: min(300px, calc(100% - 36px));
        max-width: none;
        justify-items: center;
        transform: translateX(-50%);
    }

    .nh-hero-badges span {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .nh-section-title h2,
    .nh-demo-cta h2 {
        font-size: 28px;
    }

    .nh-demo-cta-copy {
        justify-items: center;
        text-align: center;
    }

    .nh-demo-cta p {
        margin-right: auto;
        margin-left: auto;
    }

    .nh-demo-cta-actions {
        justify-content: center;
    }

    .nh-differential-card,
    .nh-step {
        min-height: 0;
    }
}

@media (min-width: 961px) and (max-height: 760px) {
    .nh-topbar {
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 6px;
    }

    .nh-brand img {
        width: clamp(118px, 11vw, 150px);
    }

    .nh-hero {
        min-height: max(540px, calc(100svh - 104px));
        padding-top: 20px;
        padding-bottom: 28px;
    }

    .nh-hero-grid {
        gap: 30px;
    }

    .nh-hero-copy h1 {
        margin: 12px 0;
        font-size: clamp(36px, 3.3vw, 42px);
    }

    .nh-hero-copy p {
        margin-bottom: 18px;
        font-size: 17px;
    }

    .nh-hero-preview {
        min-height: 400px;
    }

    .nh-hero-preview img {
        width: min(330px, 100%);
        border-width: 8px;
    }

    .nh-hero-badges {
        bottom: 18px;
    }
}

@media (max-width: 520px) {
    .frontend-new-home-landing {
        --nh-bottom-cta-space: 104px;
    }

    .nh-topbar {
        min-height: 72px;
        padding: 14px 14px 8px;
    }

    .nh-brand img {
        width: 122px;
    }

    .nh-hero-actions,
    .nh-demo-cta-actions {
        display: grid;
    }

    .nh-btn-lg {
        width: 100%;
    }

    .nh-hero-badges {
        bottom: 14px;
        width: min(280px, calc(100% - 28px));
        gap: 8px;
    }

    .nh-hero-badges span {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .nh-signup-modal .modal-body {
        padding: 28px 20px;
    }

    .nh-signup-step h2 {
        font-size: 26px;
    }

    .nh-signup-actions {
        display: grid;
    }

    .nh-palette-options {
        grid-template-columns: 1fr;
    }
}
