/* Stitch-inspired landing (AqoonDocs storefront) — no Tailwind CDN */

:root {
    --st-primary: #0f172a;
    --st-primary-container: #fa7317;
    --st-on-primary: #ffffff;
    --st-on-primary-container: rgba(255, 255, 255, 0.88);
    --st-secondary: #fa7317;
    --st-on-secondary: #0f172a;
    /* RGB helpers for rgba()/alpha colors */
    --st-primary-rgb: 15 23 42;
    --st-secondary-rgb: 250 115 23;
    --st-surface: #f7f9ff;
    --st-on-surface: #141c24;
    --st-on-surface-variant: #454652;
    --st-surface-low: #edf4ff;
    --st-surface-lowest: #ffffff;
    --st-surface-highest: #dbe3ef;
    --st-surface-high: #e1e9f4;
    --st-tertiary-container: #1e333c;
    --st-on-tertiary-container: #859ba6;
    --st-outline: #c6c5d4;
    --st-font-headline: "Manrope", system-ui, sans-serif;
    --st-font-body: "Inter", system-ui, sans-serif;
    --st-font-serif: "Playfair Display", Georgia, serif;
    --st-max: 80rem;
    --st-header-h: 4.5rem;
}

body.cu-public--stitch {
    font-family: var(--st-font-body);
    color: var(--st-on-surface-variant);
    background: var(--st-surface);
}

/* ===== Homepage redesign (hp-*) ===== */
.hp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hp-label {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.68);
}

.hp-label--dark {
    color: rgba(15, 23, 42, 0.68);
}

.hp-h2 {
    margin: 0 0 1rem;
    color: #0f172a;
    font-family: var(--st-font-headline);
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.hp-h2--center {
    text-align: center;
}

.hp-h2--light {
    color: rgba(255, 255, 255, 0.92);
}

.hp-p {
    margin: 0 0 1rem;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.75;
}

.hp-center-head {
    max-width: 54rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.hp-h2--nowrap {
    font-size: clamp(1.15rem, 2.4vw, 2.4rem);
}

@media (min-width: 992px) {
    .hp-h2--nowrap {
        white-space: nowrap;
    }
}

.hp-center-head--light .hp-label {
    color: rgba(255, 255, 255, 0.6);
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.35rem;
    border-radius: 9999px;
    font-family: var(--st-font-headline);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hp-btn:active {
    transform: scale(0.98);
}

.hp-btn--primary {
    background: rgb(var(--st-secondary-rgb) / 0.95);
    color: #0b1220;
    box-shadow: 0 12px 32px rgb(var(--st-secondary-rgb) / 0.28);
}

.hp-btn--primary:hover {
    background: rgb(var(--st-secondary-rgb) / 1);
    box-shadow: 0 18px 44px rgb(var(--st-secondary-rgb) / 0.3);
}

.hp-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.18);
}

.hp-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

/* Section 1 */
.hp-hero {
    background: radial-gradient(900px 600px at 20% 25%, rgb(var(--st-secondary-rgb) / 0.14) 0%, rgb(var(--st-primary-rgb) / 0) 60%),
        linear-gradient(180deg, #0b1020 0%, #070a12 100%);
    padding: 3.5rem 0 3.75rem;
    color: rgba(255, 255, 255, 0.78);
}

.hp-hero__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .hp-hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 2.25rem;
    }
}

.hp-hero__subnav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hp-hero__subnav a {
    font-size: 0.85rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0.3rem 0.55rem;
    border-radius: 9999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.hp-hero__subnav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991px) {
    .hp-hero__subnav a.hp-hero__subnav-link--desktop,
    .hp-hero__subnav a[href="#newsletter"] {
        display: none !important;
    }

    .hp-hero__subnav {
        display: inline-flex;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hp-hero__subnav::-webkit-scrollbar {
        display: none;
    }

    .hp-hero__subnav a {
        flex-shrink: 0;
        font-size: 0.78rem;
        padding: 0.28rem 0.48rem;
    }
}

.hp-hero__main {
    min-width: 0;
}

.hp-hero__title {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--st-font-headline);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-size: clamp(1.75rem, 3.8vw, 2.85rem);
    max-width: 20ch;
}

.hp-hero__title-italic {
    font-family: var(--st-font-serif);
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hp-hero__lead {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 56ch;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 500;
}

.hp-hero__desc {
    margin: 0 0 1.35rem;
    color: rgba(255, 255, 255, 0.68);
    max-width: 56ch;
    line-height: 1.7;
    font-size: 0.94rem;
}

.hp-hero__desc p {
    margin: 0 0 0.85rem;
}

.hp-hero__desc p:last-child {
    margin-bottom: 0;
}

.hp-hero__highlights {
    margin: 0.25rem 0 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-hero__benefits-title {
    margin: 0 0 0.55rem !important;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hp-hero__list {
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.74);
}

.hp-hero__list li {
    position: relative;
    margin-bottom: 0.45rem;
    padding-left: 1.1rem;
    line-height: 1.55;
}

.hp-hero__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 9999px;
    background: rgb(var(--st-secondary-rgb) / 0.95);
}

.hp-hero__list li:last-child {
    margin-bottom: 0;
}

.hp-hero__closing {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 500;
}

.hp-hero .hp-label {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: #fa7317;
    border: 1px solid rgb(250 115 23 / 0.85);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
}

.hp-hero__buy-text--mobile {
    display: none !important;
}

.hp-hero__buy-text--desktop {
    display: inline !important;
}

.hp-hero__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.25rem;
    width: 100%;
    max-width: 100%;
}

.hp-hero__cta .hp-btn {
    width: 100%;
    max-width: 100%;
    padding: 0.72rem 1rem;
    font-size: 0.84rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    min-height: 2.65rem;
}

.hp-hero__cta .hp-btn--primary {
    box-shadow: 0 8px 22px rgb(var(--st-secondary-rgb) / 0.24);
}

@media (max-width: 991px) {
    .hp-hero__buy-text--mobile {
        display: inline !important;
    }

    .hp-hero__buy-text--desktop {
        display: none !important;
    }

    .hp-hero__cta .hp-btn {
        padding: 0.7rem 1rem;
        font-size: 0.82rem;
        min-height: 2.5rem;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .hp-hero__cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        max-width: 36rem;
    }

    .hp-hero__cta .hp-btn {
        width: auto;
        flex: 0 1 auto;
        min-width: 0;
        max-width: fit-content;
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
        white-space: normal;
        min-height: 0;
    }
}

.hp-btn--install {
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-family: inherit;
}

.hp-btn--install:hover {
    background: #fff;
    transform: translateY(-1px);
}

.hp-btn__icon {
    font-size: 1.15rem;
    line-height: 1;
}

.hp-pwa-hint {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.55);
}

.hp-pwa-hint[hidden] {
    display: none;
}

.hp-pwa-hint__card {
    width: min(22rem, 100%);
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.hp-pwa-hint__card h3 {
    margin: 0 0 0.65rem;
    font-family: var(--st-font-headline);
    font-size: 1.05rem;
}

.hp-pwa-hint__card p {
    margin: 0 0 1rem;
    color: rgba(15, 23, 42, 0.72);
    line-height: 1.6;
    font-size: 0.92rem;
}

.hp-pwa-hint__close {
    width: 100%;
    border: 0;
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.hp-hero__right {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .hp-hero__right {
        position: sticky;
        top: calc(var(--st-header-h) + 1rem);
    }
}

.hp-hero__authors-label {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.hp-owners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 520px) {
    .hp-owners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hp-owner-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.hp-owner-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    font-family: var(--st-font-headline);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
    background: radial-gradient(circle at 30% 30%, rgb(var(--st-secondary-rgb) / 0.85), rgb(var(--st-secondary-rgb) / 0.2));
    border: 1px solid rgb(var(--st-secondary-rgb) / 0.35);
}

.hp-owner-avatar--alt {
    background: radial-gradient(circle at 30% 30%, rgba(148, 163, 184, 0.75), rgba(148, 163, 184, 0.2));
    border-color: rgba(148, 163, 184, 0.3);
}

.hp-owner-photo-frame {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.65rem;
    background: transparent;
    border: none;
}

.hp-owner-photo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 0.65rem;
}

.hp-owner-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 0.75rem;
    min-height: 0;
}

.hp-owner-card h3 {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--st-font-headline);
    font-size: 0.98rem;
    line-height: 1.25;
}

.hp-owner-role {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
}

.hp-owner-quote {
    margin: 0.45rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.68);
    font-family: var(--st-font-serif);
    font-style: italic;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Section 2 */
.hp-about {
    background: #f2f1ed;
    padding: 3.5rem 0;
}

.hp-two-col {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .hp-two-col {
        grid-template-columns: 1fr 1.15fr;
        gap: 2.5rem;
    }
}

.hp-about__layout {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .hp-about__layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 3rem;
        align-items: center;
    }
}

.hp-about__copy {
    min-width: 0;
}

.hp-about__prose {
    display: grid;
    gap: 0;
    max-width: 38rem;
}

.hp-about__prose p {
    margin: 0;
    padding: 1.1rem 0;
    color: rgba(15, 23, 42, 0.74);
    line-height: 1.75;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.hp-about__prose p:first-child {
    padding-top: 0.15rem;
}

.hp-about__prose p:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hp-about__prose strong {
    color: #0f172a;
    font-weight: 750;
}

.hp-about__closing-line {
    color: #0f172a !important;
    font-family: var(--st-font-headline);
    font-weight: 700;
    font-size: 1rem !important;
}

.hp-about__books {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: calc(22rem - 70px);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hp-about__books {
        margin: 0;
        max-width: calc(100% - 70px);
    }
}

.hp-about-book {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-about-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.hp-about-book__cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(51, 65, 85, 0.82));
}

.hp-about-book__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-about-book__tag {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    z-index: 1;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.32rem 0.55rem;
    border-radius: 9999px;
}

.hp-about-book__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem 1rem;
}

.hp-about-book__info {
    min-width: 0;
}

.hp-about-book__title {
    margin: 0;
    font-family: var(--st-font-serif);
    font-size: 1.05rem;
    line-height: 1.25;
    color: #0f172a;
    font-weight: 700;
}

.hp-about-book__author {
    margin: 0.28rem 0 0;
    font-size: 0.84rem;
    color: rgba(15, 23, 42, 0.58);
    font-weight: 500;
}

.hp-about-book__price {
    flex-shrink: 0;
    font-family: var(--st-font-headline);
    font-size: 1rem;
    font-weight: 800;
    color: #c47a12;
    line-height: 1.2;
}

.hp-stats {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hp-stat {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

.hp-stat__num {
    display: block;
    font-family: var(--st-font-headline);
    color: #0f172a;
    font-weight: 850;
    font-size: 1.35rem;
    line-height: 1.05;
}

.hp-stat__label {
    display: block;
    margin-top: 0.2rem;
    color: rgba(15, 23, 42, 0.65);
    font-size: 0.85rem;
    font-weight: 650;
}

.hp-carousel {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.hp-carousel__card {
    text-decoration: none;
    color: inherit;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.7);
    width: min(18.5rem, 100%);
    max-width: 18.5rem;
    margin: 0 auto;
}

.hp-carousel__cover {
    min-height: 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.625rem; /* ~10px (p-2.5) */
    border-radius: 0.9rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

.hp-carousel__cover-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 0.6rem;
}

.hp-carousel__genre {
    position: absolute;
    z-index: 1;
    left: 0.85rem;
    bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.35rem 0.55rem;
    border-radius: 9999px;
}

.hp-carousel__meta {
    padding: 0.75rem 0.9rem 0.9rem;
}

.hp-carousel__title {
    font-weight: 800;
    color: #0f172a;
    font-family: var(--st-font-headline);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hp-carousel__author {
    margin-top: 0.25rem;
    color: rgba(15, 23, 42, 0.62);
    font-size: 0.9rem;
    font-weight: 600;
}

.hp-carousel__controls {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hp-icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.14);
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

.hp-icon-btn:hover {
    background: rgba(255, 255, 255, 0.95);
}

.hp-icon-btn:active {
    transform: scale(0.96);
}

.hp-dots {
    display: inline-flex;
    gap: 0.4rem;
}

.hp-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: rgba(15, 23, 42, 0.15);
    cursor: pointer;
}

.hp-dot.is-active {
    background: rgb(var(--st-secondary-rgb) / 0.9);
    border-color: rgb(var(--st-secondary-rgb) / 0.95);
}

.hp-carousel__empty {
    padding: 1rem;
    color: rgba(15, 23, 42, 0.7);
}

/* Section 3 */
.hp-purchase {
    background: #f6f2e7;
    padding: 3.75rem 0 4.5rem;
    scroll-margin-top: var(--st-header-h);
}

.hp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin: 1rem 0 1.6rem;
}

.hp-filter {
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: rgba(255, 255, 255, 0.55);
    color: rgba(15, 23, 42, 0.8);
    padding: 0.55rem 0.9rem;
    border-radius: 9999px;
    font-family: var(--st-font-headline);
    font-weight: 750;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hp-filter:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hp-filter.is-active {
    background: rgba(15, 23, 42, 0.92);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.92);
}

.hp-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .hp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hp-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hp-book {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 1.1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-book:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.hp-book__cover {
    height: 270px;

    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0.85rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65));
}

.hp-book__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    filter: saturate(1.05) contrast(1.02);
}

.hp-book__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.hp-book__cover--rust {
    background: linear-gradient(135deg, rgba(250, 115, 23, 0.92), rgba(15, 23, 42, 0.78));
}

.hp-book__cover--sage {
    background: linear-gradient(135deg, rgba(113, 163, 115, 0.92), rgba(15, 23, 42, 0.75));
}

.hp-book__cover--navy {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(51, 65, 85, 0.85));
}

.hp-book__cover--cream {
    background: linear-gradient(135deg, rgba(240, 231, 214, 1), rgba(15, 23, 42, 0.7));
}

.hp-book__genre {
    position: relative;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.55rem;
    border-radius: 9999px;
}

.hp-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-badge--rust {
    background: rgb(var(--st-secondary-rgb) / 0.95);
    color: #0b1220;
}

.hp-badge--sage {
    background: rgba(113, 163, 115, 0.92);
    color: #0b1220;
}

.hp-book__body {
    padding: 0.95rem 0.95rem 1rem;
}

.hp-book__title {
    margin: 0;
    font-family: var(--st-font-headline);
    font-size: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: rgba(15, 23, 42, 0.92);
}

.hp-book__author {
    margin: 0.3rem 0 0.75rem;
    color: rgba(15, 23, 42, 0.62);
    font-weight: 650;
    font-size: 0.9rem;
}

.hp-book__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.hp-book__stars {
    letter-spacing: 0.04em;
    color: rgb(var(--st-secondary-rgb) / 0.95);
    font-size: 0.95rem;
}

.hp-book__price {
    font-family: var(--st-font-headline);
    font-weight: 850;
    color: rgba(15, 23, 42, 0.92);
}

.hp-add {
    width: 100%;
    border: none;
    border-radius: 9999px;
    padding: 0.7rem 0.9rem;
    background: rgba(15, 23, 42, 0.92);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--st-font-headline);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.hp-add:hover {
    opacity: 0.95;
}

.hp-add:active {
    transform: scale(0.98);
}

/* Skeleton loading */
.hp-skel {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1.1rem;
    overflow: hidden;
    padding: 0.9rem;
    position: relative;
}

.hp-skel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-60%);
    animation: hp-shimmer 1.2s ease-in-out infinite;
}

@keyframes hp-shimmer {
    0% { transform: translateX(-60%); }
    100% { transform: translateX(60%); }
}

.hp-skel__cover {
    height: 155px;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.08);
}

.hp-skel__line {
    height: 12px;
    margin-top: 0.8rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.08);
}

.hp-skel__line--short { width: 75%; }
.hp-skel__line--shorter { width: 55%; }

/* Section 4 */
.hp-testimonials {
    background: radial-gradient(900px 600px at 80% 10%, rgb(var(--st-secondary-rgb) / 0.12) 0%, rgb(var(--st-primary-rgb) / 0) 55%),
        linear-gradient(180deg, #0b1020 0%, #070a12 100%);
    padding: 3.75rem 0 4.25rem;
    color: rgba(255, 255, 255, 0.78);
}

.hp-test-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

@media (min-width: 900px) {
    .hp-test-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 56rem;
        margin: 0 auto;
    }
}

.hp-test-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.1rem;
    padding: 1.25rem 1.25rem 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hp-quote {
    font-size: 2.4rem;
    line-height: 1;
    color: rgb(var(--st-secondary-rgb) / 0.9);
    margin-bottom: 0.5rem;
    font-family: var(--st-font-serif);
}

.hp-test-text {
    margin: 0 0 0.85rem;
    font-family: var(--st-font-serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
}

.hp-stars {
    letter-spacing: 0.06em;
    color: rgb(var(--st-secondary-rgb) / 0.92);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hp-test-foot {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.hp-mini-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 850;
    letter-spacing: 0.05em;
}

.hp-test-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
    font-family: var(--st-font-headline);
}

.hp-test-date {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Section 5 */
.hp-newsletter {
    background: rgb(var(--st-secondary-rgb) / 0.92);
    padding: 3.25rem 0;
    color: rgba(15, 23, 42, 0.9);
}

.hp-newsletter__inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hp-newsletter__desc {
    margin: 0 auto 1.25rem;
    max-width: 48ch;
    color: rgba(15, 23, 42, 0.78);
    line-height: 1.7;
}

.hp-newsletter__form {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.hp-newsletter__form input {
    width: min(480px, 100%);
    padding: 0.95rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.22);
    background: rgba(255, 255, 255, 0.72);
    font-family: var(--st-font-body);
    font-size: 1rem;
}

.hp-newsletter__form input:focus {
    outline: 2px solid rgba(15, 23, 42, 0.55);
    outline-offset: 2px;
}

.hp-btn--newsletter {
    background: rgb(var(--st-primary-rgb) / 0.96);
    color: #fff;
    border-color: rgb(var(--st-primary-rgb) / 1);
    box-shadow: 0 12px 28px rgb(var(--st-primary-rgb) / 0.28);
}

.hp-btn--newsletter:hover {
    background: #1e293b;
    color: #fff;
    box-shadow: 0 16px 36px rgb(var(--st-primary-rgb) / 0.35);
}

.hp-newsletter__note {
    margin: 0.85rem 0 0;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.72);
    font-weight: 600;
}

/* Footer */
.st-footer {
    background: #070a12;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.st-footer__grid {
    padding: 3.25rem 2rem;
    display: grid;
    gap: 1.8rem;
}

@media (min-width: 960px) {
    .st-footer__grid {
        grid-template-columns: 1.6fr 1fr 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

.st-footer__brandmark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
}

.st-footer__logo {
    max-height: 34px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.st-footer__name {
    font-family: var(--st-font-headline);
    font-weight: 850;
    letter-spacing: -0.03em;
    font-size: 1.05rem;
}

.st-footer__tagline {
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.72;
    max-width: 36rem;
    font-size: 0.92rem;
}

.st-footer__col h3 {
    margin: 0 0 0.75rem;
    font-family: var(--st-font-headline);
    font-weight: 850;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.st-footer__col a {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    padding: 0.25rem 0;
    font-weight: 600;
    font-size: 0.92rem;
}

.st-footer__col a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.st-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.st-footer__bar-inner {
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.st-footer__legal {
    display: grid;
    gap: 0.35rem;
}

.st-footer__credit {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.52);
}

.st-footer__credit a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 650;
}

.st-footer__credit a:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.st-footer__social {
    display: inline-flex;
    gap: 1rem;
}

.st-footer__social a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 650;
}

.st-footer__social a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Back to top button */
.st-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.82);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--st-font-headline);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 120;
}

.st-to-top:hover {
    background: rgba(15, 23, 42, 0.92);
}

.st-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    font-size: 1.25rem;
    line-height: 1;
    vertical-align: middle;
}

.st-icon-fill {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.st-icon-xl {
    font-size: 2.25rem !important;
}

/* —— Fixed frosted header —— */
.cu-stitch-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.cu-stitch-nav-inner {
    max-width: var(--st-max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--st-header-h);
}

.cu-stitch-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    white-space: nowrap;
    color: #0f172a;
}

.cu-stitch-brand__logo {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.cu-stitch-brand__name {
    font-family: var(--st-font-headline);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.cu-stitch-brand:hover .cu-stitch-brand__name {
    color: var(--st-primary);
}

.cu-stitch-desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-family: var(--st-font-headline);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cu-stitch-nav-link {
    color: #64748b;
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.cu-stitch-nav-link:hover {
    color: var(--st-primary);
}

.cu-stitch-nav-link.is-active {
    color: #0f172a;
    border-bottom-color: var(--st-primary);
}

.cu-stitch-nav-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cu-stitch-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 650;
    color: #64748b;
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.72);
}

.cu-stitch-cart-link:hover {
    color: var(--st-primary);
    border-color: rgba(15, 23, 42, 0.16);
}

.cu-stitch-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    background: rgb(var(--st-secondary-rgb) / 0.95);
}

.cu-cart-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.cu-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cu-stitch-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    padding: 0.25rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
}

.cu-stitch-icon-btn:hover {
    color: var(--st-primary);
}

.cu-stitch-icon-btn:active {
    transform: scale(0.95);
}

.cu-stitch-admin-link {
    display: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.cu-stitch-admin-link:hover {
    color: var(--st-primary);
}

.cu-stitch-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
}

.cu-stitch-burger span {
    display: block;
    height: 2px;
    width: 1.35rem;
    margin: 0 auto;
    background: var(--st-primary);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

.cu-stitch-burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cu-stitch-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.cu-stitch-burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.cu-stitch-overlay {
    position: fixed;
    inset: 0;
    top: var(--st-header-h);
    background: rgba(15, 23, 42, 0.35);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.cu-stitch-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cu-stitch-drawer {
    position: fixed;
    top: var(--st-header-h);
    right: 0;
    width: min(100%, 320px);
    max-height: calc(100vh - var(--st-header-h));
    overflow-y: auto;
    background: var(--st-surface-lowest);
    border-left: 1px solid var(--st-outline);
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.08);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.cu-stitch-drawer.is-open {
    transform: translateX(0);
}

.cu-stitch-drawer-inner {
    padding: 1.25rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cu-stitch-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cu-stitch-drawer-nav .cu-stitch-nav-link {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--st-outline);
    font-size: 1rem;
}

.cu-stitch-drawer-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-primary);
    text-decoration: none;
}

.cu-stitch-drawer-link:hover {
    text-decoration: underline;
}

body.cu-nav-open {
    overflow: hidden;
}

.cu-stitch-main {
    padding-top: calc(var(--st-header-h) + 0.5rem);
}

@media (min-width: 769px) {
    .cu-stitch-desktop-nav {
        display: flex;
    }

    .cu-stitch-admin-link {
        display: inline;
    }

    .cu-stitch-burger {
        display: none;
    }

    .cu-stitch-drawer,
    .cu-stitch-overlay {
        display: none !important;
    }
}

/* —— Layout wrap —— */
.st-wrap {
    max-width: var(--st-max);
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* —— Hero —— */
.st-hero {
    position: relative;
    min-height: min(819px, calc(100vh - var(--st-header-h)));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--st-surface);
    padding: 4rem 0 5rem;
}

.st-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.st-hero-copy h1 {
    font-family: var(--st-font-headline);
    font-weight: 800;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--st-on-surface);
    margin: 0 0 1.5rem;
}

.st-text-primary-container {
    color: var(--st-primary-container);
}

.st-hero-lead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.55;
    color: var(--st-on-surface-variant);
    max-width: 36rem;
    margin: 0 0 3rem;
}

.st-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-family: var(--st-font-headline);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.st-btn:active {
    transform: scale(0.97);
}

.st-btn-primary {
    background: var(--st-primary);
    color: var(--st-on-primary);
}

.st-btn-primary:hover {
    background: var(--st-primary-container);
}

.st-btn-secondary {
    background: var(--st-surface-low);
    color: var(--st-primary);
}

.st-btn-secondary:hover {
    background: var(--st-surface-highest);
}

.st-hero-art {
    position: relative;
    z-index: 1;
}

.st-hero-blob {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: rgba(250, 115, 23, 0.12);
    filter: blur(48px);
    pointer-events: none;
}

.st-hero-card {
    position: relative;
    background: var(--st-surface-lowest);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.st-hero-card:hover {
    transform: rotate(0deg);
}

.st-hero-card img {
    width: 100%;
    height: 500px;
    max-height: 55vh;
    object-fit: cover;
    border-radius: 0.375rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    display: block;
}

.st-hero-placeholder {
    width: 100%;
    height: 500px;
    max-height: 55vh;
    border-radius: 0.375rem;
    background: linear-gradient(145deg, var(--st-primary-container), var(--st-primary));
    color: var(--st-on-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--st-font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    padding: 1.5rem;
}

.st-hero-badge-float {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--st-secondary);
    color: var(--st-on-secondary);
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 12px 30px rgba(250, 115, 23, 0.35);
    font-family: var(--st-font-headline);
    font-weight: 700;
    font-size: 1.125rem;
}

@media (min-width: 1024px) {
    .st-hero-grid {
        grid-template-columns: 7fr 5fr;
        gap: 3rem;
    }

    .st-hero-copy {
        z-index: 2;
    }
}

/* —— Featured —— */
.st-featured {
    background: var(--st-surface-low);
    padding: 6rem 0;
}

.st-featured-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .st-featured-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.st-featured-head h2 {
    font-family: var(--st-font-headline);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--st-on-surface);
    margin: 0 0 0.5rem;
}

.st-muted {
    margin: 0;
    color: var(--st-on-surface-variant);
    font-size: 1rem;
}

.st-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--st-font-headline);
    font-weight: 600;
    color: var(--st-primary);
    text-decoration: none;
    white-space: nowrap;
}

.st-link-arrow:hover .material-symbols-outlined {
    transform: translateX(4px);
}

.st-link-arrow .material-symbols-outlined {
    transition: transform 0.2s;
}

/* Featured: 12-col grid, each card = col-4 (span 4) — matches Stitch md:grid-cols-12 */
.st-featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .st-featured-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 2rem;
    }

    .st-featured-grid > .st-book-card {
        grid-column: span 4;
    }
}

/* Card shell: bg-surface-container-lowest p-6 rounded-xl group hover:-translate-y-2 */
.st-book-card {
    background: var(--st-surface-lowest);
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.st-book-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* aspect-[3/4] mb-6 overflow-hidden rounded-lg */
.st-book-cover {
    aspect-ratio: 3 / 4;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.st-book-cover__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.st-book-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.st-book-card:hover .st-book-cover__img {
    transform: scale(1.1);
}

.st-book-cover__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: var(--st-surface-highest);
    font-family: var(--st-font-headline);
    font-weight: 800;
    font-size: 3rem;
    color: var(--st-primary-container);
    transition: transform 0.7s ease;
}

.st-book-card:hover .st-book-cover__fallback {
    transform: scale(1.1);
}

/* flex gap-2 mb-4 */
.st-book-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.st-tag {
    background: var(--st-tertiary-container);
    color: var(--st-on-tertiary-container);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.st-tag--sale {
    background: var(--st-secondary);
    color: var(--st-on-secondary);
}

/* font-headline text-xl font-bold text-on-surface mb-2 */
.st-book-card__title {
    font-family: var(--st-font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-on-surface);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.st-book-card__title a {
    color: inherit;
    text-decoration: none;
}

.st-book-card__title a:hover {
    color: var(--st-primary-container);
}

.st-book-card__author {
    font-family: var(--st-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--st-on-surface-variant);
    margin: 0 0 0.55rem;
    line-height: 1.35;
}

/* text-sm text-on-surface-variant mb-6 line-clamp-2 */
.st-book-card__desc {
    font-size: 0.875rem;
    color: var(--st-on-surface-variant);
    margin: 0 0 1.5rem;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* flex justify-between items-center */
.st-book-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
}

.st-book-card__price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
}

.st-book-card__checkout-note {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--st-on-surface-variant);
    line-height: 1.2;
}

.st-book-card__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
}

.st-book-card__price--was {
    font-family: var(--st-font-headline);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--st-on-surface-variant);
    text-decoration: line-through;
    opacity: 0.65;
}

/* text-lg font-bold text-primary */
.st-book-card__price {
    font-family: var(--st-font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--st-primary);
}

/* bg-secondary text-on-secondary p-3 rounded-lg hover:scale-105 */
.st-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background: var(--st-secondary);
    color: var(--st-on-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.st-cart-btn:hover {
    transform: scale(1.05);
}

.st-cart-btn--wide {
    width: auto;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--st-font-headline);
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1.2;
}

/* —— Journey —— */
.st-journey {
    padding: 6rem 0;
    background: var(--st-surface);
}

.st-journey-title-wrap {
    text-align: center;
    margin-bottom: 5rem;
}

.st-journey-title {
    font-family: var(--st-font-headline);
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--st-on-surface);
    margin: 0 0 1rem;
}

.st-journey-rule {
    width: 6rem;
    height: 0.25rem;
    background: var(--st-primary);
    border-radius: 9999px;
    margin: 0 auto;
}

.st-journey-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .st-journey-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
}

.st-journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.st-journey-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: var(--st-surface-high);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-primary);
    margin-bottom: 2rem;
    transition: transform 0.2s;
}

.st-journey-icon:hover {
    transform: scale(1.08);
}

.st-journey-step h4 {
    font-family: var(--st-font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-on-surface);
    margin: 0 0 1rem;
}

.st-journey-step p {
    margin: 0;
    color: var(--st-on-surface-variant);
    line-height: 1.6;
    max-width: 28ch;
}

/* —— Bento —— */
.st-bento {
    padding: 6rem 2rem;
}

.st-bento-grid {
    max-width: var(--st-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .st-bento-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .st-bento-newsletter {
        grid-column: span 8;
    }

    .st-bento-stats {
        grid-column: span 4;
    }
}

.st-bento-newsletter {
    background: var(--st-primary-container);
    border-radius: 0.75rem;
    padding: 3rem;
    color: var(--st-on-primary);
    background-image: linear-gradient(135deg, var(--st-primary) 0%, var(--st-secondary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-height: 280px;
}

.st-bento-newsletter h2 {
    font-family: var(--st-font-headline);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #fff;
}

.st-bento-newsletter > div > p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--st-on-primary-container);
    max-width: 28rem;
}

.st-bento-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .st-bento-form {
        flex-direction: row;
        align-items: stretch;
    }
}

.st-bento-form input {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--st-font-body);
    font-size: 1rem;
}

.st-bento-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.st-bento-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.st-bento-subscribe {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    background: #fff;
    color: var(--st-primary);
    font-family: var(--st-font-headline);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.st-bento-subscribe:hover {
    background: #f1f5f9;
}

.st-bento-stats {
    background: var(--st-surface-highest);
    border-radius: 0.75rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.st-bento-stat-num {
    font-family: var(--st-font-headline);
    font-size: 3rem;
    font-weight: 800;
    color: var(--st-primary);
    line-height: 1;
    margin: 0 0 1rem;
}

.st-bento-stat-label {
    font-family: var(--st-font-headline);
    font-weight: 700;
    color: var(--st-primary);
    margin: 0 0 1.5rem;
    font-size: 1.125rem;
}

.st-bento-stat-desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--st-on-surface-variant);
    max-width: 32ch;
}

.st-bento-avatars {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
}

.st-bento-avatars > * {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-left: -1rem;
}

.st-bento-avatars > *:first-child {
    margin-left: 0;
}

.st-av-1 { background: #cbd5e1; }
.st-av-2 { background: #94a3b8; }
.st-av-3 { background: #64748b; }
.st-av-more {
    background: var(--st-primary);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* —— Footer —— */
.cu-stitch-footer {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.cu-stitch-footer-inner {
    max-width: var(--st-max);
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cu-stitch-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .cu-stitch-footer-brand {
        align-items: flex-start;
    }
}

.cu-stitch-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cu-stitch-footer-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--st-font-headline);
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
}

.cu-stitch-footer__logo {
    max-height: 28px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .cu-stitch-footer-name {
        justify-content: flex-start;
    }
}

.cu-stitch-footer-copy {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
}

.cu-stitch-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.cu-stitch-footer-links a {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.cu-stitch-footer-links a:hover {
    color: var(--st-primary);
}

.cu-stitch-footer-icon {
    display: flex;
    align-items: center;
}

/* —— Public search (shop) —— */
.cu-stitch-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cu-stitch-drawer-search {
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--st-outline);
}

.cu-stitch-drawer-search input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--st-outline);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.cu-stitch-drawer-search input[type="search"]:focus {
    outline: 2px solid var(--st-primary);
    outline-offset: 1px;
}

.cu-stitch-drawer-search-btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--st-font-headline);
    color: var(--st-on-primary);
    background: var(--st-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.cu-stitch-drawer-search-btn:hover {
    opacity: 0.92;
}

/* Shop page search block */
.cu-shop-search {
    margin: 1.25rem 0 1.75rem;
}

.cu-shop-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.cu-shop-search-input {
    flex: 1 1 12rem;
    min-width: 0;
    max-width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--st-outline);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.cu-shop-search-input:focus {
    outline: 2px solid var(--st-primary);
    outline-offset: 1px;
}

.cu-shop-search-clear {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--st-primary);
    text-decoration: none;
}

.cu-shop-search-clear:hover {
    text-decoration: underline;
}

.cu-shop-search-meta {
    margin: 0.65rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

.cu-shop-search-meta strong {
    color: #0f172a;
}

/* —— Homepage refresh —— */
.st-section {
    padding: 5rem 0;
}

.st-two-col {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .st-two-col {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.st-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--st-primary-container);
    text-transform: uppercase;
}

.st-col-copy h1,
.st-col-copy h2 {
    margin: 0 0 1rem;
    color: var(--st-on-surface);
    font-family: var(--st-font-headline);
    line-height: 1.15;
}

.st-col-copy h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.st-col-copy h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.st-col-copy p {
    margin: 0 0 1rem;
    color: var(--st-on-surface-variant);
    line-height: 1.7;
}

.st-owners {
    padding-top: 4.5rem;
}

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

.st-owner-card {
    background: var(--st-surface-lowest);
    border: 1px solid var(--st-outline);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.st-owner-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    background: linear-gradient(160deg, #0f172a, #334155);
}

.st-owner-avatar--alt {
    background: linear-gradient(160deg, #fa7317, #ef4444);
}

.st-owner-card h3 {
    margin: 0;
    color: var(--st-on-surface);
    font-family: var(--st-font-headline);
}

.st-owner-card p {
    margin: 0.4rem 0 0;
}

.st-my-books,
.st-testimonials {
    background: var(--st-surface-low);
}

.st-slider-wrap {
    width: 100%;
}

.st-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
}

.st-slide {
    scroll-snap-align: start;
}

.st-book-slide {
    background: var(--st-surface-lowest);
    border: 1px solid var(--st-outline);
    border-radius: 1rem;
    padding: 0.8rem;
}

.st-book-slide img,
.st-book-slide-fallback {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 0.75rem;
    object-fit: cover;
    display: block;
}

.st-book-slide-fallback {
    display: grid;
    place-items: center;
    background: var(--st-surface-highest);
    color: var(--st-primary);
    font-family: var(--st-font-headline);
    font-size: 2rem;
    font-weight: 800;
}

.st-book-slide h3 {
    margin: 0.75rem 0 0;
    color: var(--st-on-surface);
    font-size: 1rem;
}

.st-slider-controls {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
}

.st-slider-btn {
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--st-outline);
    background: #fff;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1.25rem;
}

.st-slider-btn:hover {
    background: var(--st-surface-high);
}

.st-featured {
    background: var(--st-surface);
}

.st-pagination-wrap {
    margin-top: 1.5rem;
}

.st-pagination-wrap nav {
    display: flex;
    justify-content: center;
}

.st-slider--testimonials {
    grid-auto-columns: minmax(280px, 1fr);
}

.st-testimonial {
    border: 1px solid var(--st-outline);
    border-radius: 1rem;
    background: var(--st-surface-lowest);
    padding: 1.2rem;
}

.st-testimonial p {
    margin: 0 0 0.8rem;
    color: var(--st-on-surface-variant);
    line-height: 1.7;
}

.st-testimonial h4 {
    margin: 0;
    color: var(--st-on-surface);
    font-family: var(--st-font-headline);
}

.st-trust {
    background: linear-gradient(180deg, var(--st-surface) 0%, #fff 100%);
    padding-top: 1rem;
}

.st-trust-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 900px) {
    .st-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.st-trust-card {
    background: var(--st-surface-lowest);
    border: 1px solid var(--st-outline);
    border-radius: 1rem;
    padding: 1.5rem;
}

.st-trust-card h3 {
    margin: 0 0 0.6rem;
    color: var(--st-on-surface);
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-family: var(--st-font-headline);
}

.st-trust-card p {
    margin: 0;
}

.st-trust-card--cta {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.st-trust-card--cta h3,
.st-trust-card--cta p {
    color: #fff;
}

.st-trust-card--cta .st-btn {
    margin-top: 1rem;
}

/* —— Curator reference layout —— */
.st-curator-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #8f8a84;
}

.st-curator-kicker--light {
    color: rgba(255, 255, 255, 0.68);
}

.st-curator-hero {
    background: #f6f5f2;
    padding: 4rem 0 3.5rem;
}

.st-curator-hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .st-curator-hero__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.st-curator-hero__copy h1 {
    margin: 0 0 1.25rem;
    max-width: 14ch;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.04;
    font-family: var(--st-font-headline);
}

.st-curator-hero__copy p {
    margin: 0 0 1.3rem;
    max-width: 56ch;
    color: #5f6368;
    line-height: 1.7;
}

.st-curator-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1rem;
}

.st-curator-signature {
    color: #8f8a84;
    font-size: 0.9rem;
    font-style: italic;
}

.st-curator-hero__media {
    position: relative;
    max-width: 430px;
    margin-inline: auto;
}

.st-curator-hero__media img,
.st-curator-hero__fallback {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.st-curator-hero__fallback {
    background: linear-gradient(145deg, #8d7e6a, #4a3f34);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.st-curator-hero__caption {
    position: absolute;
    left: -0.8rem;
    bottom: -0.9rem;
    background: #efc8ad;
    color: #5b4a3c;
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
    font-style: italic;
}

.st-library-strip {
    background: #eceef8;
    padding: 3.75rem 0;
}

.st-library-strip__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .st-library-strip__grid {
        grid-template-columns: 4fr 8fr;
        gap: 2.5rem;
    }
}

.st-library-strip__copy h2 {
    margin: 0 0 1rem;
    font-family: var(--st-font-headline);
    color: #0f172a;
}

.st-library-strip__copy p {
    margin: 0 0 1rem;
    line-height: 1.7;
}

.st-books-mini-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.st-books-mini-card {
    scroll-snap-align: start;
}

.st-books-mini-card__cover {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.st-books-mini-card__cover--fallback {
    display: grid;
    place-items: center;
    background: #d8dce8;
    color: #334155;
    font-weight: 800;
    font-size: 1.5rem;
}

.st-books-mini-card__title {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

.st-featured-books {
    background: #f7f7f5;
    padding: 4rem 0 4.5rem;
}

.st-featured-books__head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

@media (min-width: 768px) {
    .st-featured-books__head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.st-featured-books__head h2 {
    margin: 0 0 0.35rem;
    font-family: var(--st-font-headline);
    color: #0f172a;
}

.st-shop-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 1.15rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.st-shop-book {
    scroll-snap-align: start;
}

.st-shop-book__cover {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    display: block;
}

.st-shop-book__cover--fallback {
    display: grid;
    place-items: center;
    background: #d7dbe6;
    color: #334155;
    font-weight: 800;
    font-size: 1.7rem;
}

.st-shop-book h3 {
    margin: 0.65rem 0 0.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #111827;
}

.st-shop-book p {
    margin: 0 0 0.55rem;
    font-size: 0.84rem;
    color: #475569;
}

.st-shop-book__buy {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
}

.st-shop-book__buy:hover {
    text-decoration: underline;
}

.st-slider-controls--top {
    margin-top: 0;
}

.st-quote-band {
    background: #0d1b3a;
    padding: 3.25rem 0;
    color: #fff;
}

.st-quote-band__grid {
    display: grid;
    gap: 1.7rem;
    align-items: center;
}

@media (min-width: 992px) {
    .st-quote-band__grid {
        grid-template-columns: 6fr 6fr;
    }
}

.st-quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: #f6d59d;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.st-quote-band__copy h2 {
    margin: 0 0 0.9rem;
    font-family: var(--st-font-headline);
    color: #fff;
}

.st-quote-band__text {
    margin: 0 0 0.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
}

.st-quote-band__author {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.st-quote-band__image img,
.st-quote-band__fallback {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.st-quote-band__fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #2c3449, #49351f);
    color: #fff;
    font-family: var(--st-font-headline);
}

.st-home-stats {
    background: #f7f7f5;
    padding: 2.5rem 0 3rem;
}

.st-home-stats__grid {
    display: grid;
    gap: 0.9rem;
}

@media (min-width: 900px) {
    .st-home-stats__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.st-home-stats__card {
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 1.2rem;
    text-align: center;
}

.st-home-stats__card h3 {
    margin: 0 0 0.4rem;
    font-family: var(--st-font-headline);
    color: #0f172a;
    font-size: 1.7rem;
}

.st-home-stats__card p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}
