:root {
    --slm-orange: #ff7a21;
    --slm-orange-soft: #ff9a4d;
    --slm-ink: #12100f;
    --slm-panel: rgba(255, 255, 255, .055);
    --slm-line: rgba(255, 255, 255, .14);
}

.slm-home-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    border-bottom: 1px solid var(--slm-line);
    background: rgba(18, 12, 8, .9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.admin-bar .slm-home-nav {
    top: 32px;
}

.slm-home-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 34px);
    width: min(1180px, calc(100% - 32px));
    min-height: 54px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.slm-home-nav__inner::-webkit-scrollbar {
    display: none;
}

.slm-home-nav a {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.slm-home-nav a:hover,
.slm-home-nav a:focus-visible,
.slm-home-nav a[aria-current="page"] {
    color: var(--slm-orange-soft);
}

.slm-home-nav a:focus-visible,
.slm-primary-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.lmt-home-section.slm-no-testimonials .lmt-empty {
    display: none;
}

.lmt-home-section.slm-no-testimonials {
    padding-block: clamp(26px, 4vw, 46px);
}

.lmt-home-section.slm-no-testimonials .lmt-section-head {
    margin-bottom: 18px;
}

.lm-form .slm-field-label {
    display: block;
    margin: 0 0 7px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.lm-form .slm-privacy {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    line-height: 1.5;
}

.slm-book-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(34px, 6vw, 82px) 0;
    color: #f7f2ed;
}

.slm-book-hero,
.slm-book-section,
.slm-book-grid {
    margin-bottom: clamp(24px, 4vw, 48px);
}

.slm-book-hero {
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    padding: clamp(26px, 5vw, 62px);
    overflow: hidden;
    border: 1px solid var(--slm-line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 122, 33, .16), transparent 34%),
        rgba(255, 255, 255, .04);
}

.slm-book-cover img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 28px 32px rgba(0, 0, 0, .42));
}

.slm-book-intro h1,
.slm-book-section h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(34px, 6vw, 72px);
    line-height: .98;
    text-transform: uppercase;
}

.slm-book-intro h2 {
    margin: 0 0 22px;
    color: var(--slm-orange-soft);
    font-size: clamp(22px, 3vw, 36px);
}

.slm-book-intro p,
.slm-book-section p {
    max-width: 760px;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.75;
}

.slm-eyebrow {
    margin: 0 0 14px !important;
    color: var(--slm-orange-soft) !important;
    font-size: 12px !important;
    font-weight: 900;
    letter-spacing: .22em;
}

.slm-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 10px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--slm-orange), var(--slm-orange-soft));
    color: #17100b;
    font-weight: 900;
    text-decoration: none;
}

.slm-book-section {
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--slm-line);
    border-radius: 28px;
    background: var(--slm-panel);
}

.slm-book-section h2 {
    max-width: 900px;
    font-size: clamp(30px, 5vw, 56px);
}

.slm-book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.slm-book-grid article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
    padding: 26px;
    border: 1px solid var(--slm-line);
    border-radius: 22px;
    background: var(--slm-panel);
}

.slm-book-grid strong {
    color: #fff;
    font-size: 19px;
}

.slm-book-grid span {
    color: rgba(255, 255, 255, .68);
    line-height: 1.6;
}

.slm-book-cta {
    text-align: center;
}

.slm-book-cta h2,
.slm-book-cta p {
    margin-inline: auto;
}

@media (max-width: 782px) {
    .admin-bar .slm-home-nav {
        top: 46px;
    }

    .slm-home-nav__inner {
        justify-content: flex-start;
        width: 100%;
        padding: 0 18px;
    }

    .slm-home-nav a {
        font-size: 12px;
    }

    .lm-photo-actions {
        grid-template-columns: 1fr !important;
    }

    .lm-actions {
        align-items: stretch;
    }

    .lm-actions .lm-btn {
        justify-content: center;
        text-align: center;
    }

    .slm-book-hero {
        grid-template-columns: 1fr;
    }

    .slm-book-cover {
        width: min(330px, 82%);
        margin: 0 auto;
    }

    .slm-book-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .slm-book-page {
        width: min(100% - 22px, 1180px);
    }

    .slm-book-hero,
    .slm-book-section {
        padding: 22px;
        border-radius: 22px;
    }

    .slm-book-grid {
        grid-template-columns: 1fr;
    }

    .slm-book-grid article {
        min-height: 0;
    }
}

