.home-redesign {
    --home-ink: #142621;
    --home-paper: #f5f8f5;
    --home-mint: #b9f7d8;
    --home-dark: #142c27;
    background: var(--home-paper);
}

.home-redesign .container {
    max-width: 1336px;
}

.home-redesign .pub-topbar {
    background: #fff;
}

.home-redesign .brand-mark {
    gap: 9px;
    color: var(--home-ink);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.035em;
}

.home-redesign .brand-logo-box {
    background: var(--home-dark) url("../assets/bestsell-mark.svg") center/cover no-repeat;
    border-radius: 11px;
}

.home-redesign .brand-logo-box i,
.home-redesign .brand-tag,
.home-redesign .pub-header-row-nav .pill,
.home-redesign .pub-actions > .pill {
    display: none;
}

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

.home-redesign .pub-nav-link.active {
    color: #255441;
    background: #edf6ef;
}

@media (min-width: 1250px) {
    .home-redesign .pub-topbar-inner {
        min-height: 74px;
        gap: 20px;
    }

    .home-redesign .home-compact-nav {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .home-redesign .pub-header-row-nav {
        display: none;
    }
}

.home-redesign .hero-section {
    padding: 0;
    border: 0;
    background: transparent;
}

.home-redesign .hero-split {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 5.5vw, 88px);
    max-width: 1288px;
    width: calc(100% - 48px);
    margin: 26px auto 0;
    padding: clamp(40px, 6vw, 88px);
    border-radius: 26px;
    background: radial-gradient(ellipse at 90% 12%, #315447 0%, transparent 62%), var(--home-dark);
    color: #fff;
}

.home-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--home-mint);
    font-size: .86rem;
    font-weight: 700;
}

.home-kicker > span:first-child {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-mint);
}

.home-redesign .hero-h1 {
    color: #fff;
    font-size: clamp(2.6rem, 4.6vw, 4.65rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.055em;
    margin: 0 0 19px;
}

.home-redesign .hero-desc {
    max-width: 36ch;
    margin-bottom: 26px;
    color: #d1e3d9;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    line-height: 1.6;
}

.home-redesign .hero-cta-row {
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 27px;
}

.home-primary,
.home-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    font-weight: 750;
    text-decoration: none;
}

.home-primary {
    padding: 10px 17px;
    border-radius: 10px;
    background: var(--home-mint);
    color: #122a27;
}

.home-primary:hover {
    background: #d4ffe9;
    color: #122a27;
}

.home-secondary,
.home-secondary:hover {
    color: #fff;
}

.home-secondary:hover {
    text-decoration: underline;
}

.home-prompt {
    max-width: 500px;
    padding-top: 18px;
    border-top: 1px solid #a3c3b35c;
}

.home-prompt label {
    display: block;
    margin-bottom: 7px;
    color: #d1e3d9;
    font-size: .82rem;
    font-weight: 650;
}

.home-prompt-row {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid #cce1d34d;
    border-radius: 12px;
    background: #10241f;
}

.home-prompt input,
.home-prompt button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: .85rem;
}

.home-prompt input {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    background: transparent;
    color: #fff;
}

.home-prompt input::placeholder {
    color: #a6c0b2;
}

.home-prompt button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 0 9px;
    background: #294c3e;
    color: #e0faea;
    font-weight: 700;
    cursor: pointer;
}

.home-prompt button:hover {
    background: #365e4e;
}

.home-product {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #729586;
    border-radius: 16px;
    background: #10241f;
    color: #d1e3d9;
    box-shadow: 0 22px 55px #081a1470;
}

.home-studio-image {
    display: block;
    width: 100%;
    height: auto;
}

.home-product figcaption {
    padding: 9px 13px;
    font-size: .76rem;
}
.home-redesign .page-section {
    padding-block: clamp(40px, 6vw, 76px);
}

.home-redesign .h2-section {
    color: var(--home-ink);
    font-size: clamp(1.6rem, 3vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.home-redesign .page-section .card {
    border-radius: 16px;
}

.home-redesign :is(a, button, input):focus-visible {
    outline: 3px solid #40a978;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .home-redesign .hero-split {
        width: calc(100% - 24px);
        margin-top: 12px;
        padding: clamp(24px, 6vw, 48px);
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .home-redesign .hero-h1 {
        font-size: clamp(2.2rem, 10vw, 3.6rem);
    }

    .home-redesign .lang-btn,
    .home-redesign .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .home-redesign .pub-topbar .brand-mark {
        min-height: 44px;
    }
}

.home-redesign .pub-actions a[href="builder.html"],
.home-redesign #pubMobileDrawer a[href="builder.html"] {
    background: #183b30;
    border-color: #183b30;
    color: #fff;
}

.home-redesign .pub-actions a[href="builder.html"]:hover,
.home-redesign #pubMobileDrawer a[href="builder.html"]:hover {
    background: #275544;
}

.home-redesign .pub-actions button[onclick="window.toggleThemeBar()"],
.home-redesign #pubMobileDrawer > div:has(> div > .theme-swatch) {
    display: none !important;
}

@media (max-width: 480px) {
    .home-prompt-row {
        flex-direction: column;
        gap: 6px;
    }

    .home-prompt input,
    .home-prompt button {
        width: 100%;
        min-height: 44px;
    }

    .home-prompt button {
        justify-content: center;
    }
}

.home-section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.home-section-heading p,
.home-case-copy p {
    margin-top: 10px;
    color: #485e54;
    line-height: 1.65;
}

.home-feature-grid {
    gap: 16px;
}

.home-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid #dae7df;
    border-radius: 16px;
    background: #fff;
}

.home-feature > i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 12px;
    color: #24533d;
    background: #e6f4eb;
}

.home-feature h3 {
    color: var(--home-ink);
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 8px;
}

.home-feature p {
    color: #485e54;
    line-height: 1.6;
    margin-bottom: 16px;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    min-height: 44px;
    color: #255441;
    font-weight: 750;
}

.home-text-link::after {
    content: "↗";
}

.home-text-link:hover {
    color: #173d2d;
    text-decoration: underline;
}

.home-redesign #demos .ind-chip.active,
.home-redesign #demos .sub-chip.active,
.home-redesign #demos .btn-primary {
    color: #fff;
    background: #24533d;
    border-color: #24533d;
}

.home-redesign #demos .demo-filter-box {
    border-color: #dae7df;
    box-shadow: none;
}

.home-case {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    overflow: hidden;
    border: 1px solid #dae7df;
    border-radius: 20px;
    background: #fff;
}

.home-case img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.home-case-copy {
    align-self: center;
    padding: clamp(24px, 5vw, 65px);
}

.home-case-copy .home-case-kicker {
    margin: 0 0 9px;
    color: #255441;
    font-weight: 700;
}

.home-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: clamp(24px, 4vw, 48px);
    margin-top: 24px;
    border-radius: 20px;
    background: var(--home-dark);
}

.home-bottom-cta .h2-section {
    color: #fff;
    margin: 0;
}

.home-redesign .pub-footer {
    margin-top: 0;
    background: #edf4ef;
}

.home-redesign .footer-grid > div:nth-child(4),
.home-redesign .footer-bottom .mono,
.home-redesign .footer-grid .pill {
    display: none;
}

@media (min-width: 901px) {
    .home-redesign .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-feature-grid,
    .home-case {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-case img {
        aspect-ratio: 16/10;
    }
}