:root {
    --bg: #f1f8ff;
    --surface: rgba(246, 251, 255, 0.9);
    --surface-strong: #ffffff;
    --border: rgba(24, 78, 135, 0.16);
    --text: #0d285f;
    --muted: #4a638f;
    --accent: #1e7bc6;
    --accent-dark: #14569d;
    --accent-soft: #d9eefc;
    --olive: #45b8e8;
    --premium: #39b8eb;
    --premium-dark: #1e7bc6;
    --premium-soft: #d5f1fc;
    --nav-bg: rgba(255, 255, 255, 0.94);
    --nav-text: #071831;
    --nav-muted: #4a638f;
    --shadow: 0 24px 60px rgba(13, 40, 95, 0.14);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100% - 2rem));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(30, 123, 198, 0.14), transparent 28rem),
        radial-gradient(circle at top right, rgba(69, 184, 232, 0.12), transparent 26rem),
        linear-gradient(180deg, #f7fbff 0%, #e9f4ff 100%);
    overflow-x: hidden;
}

.site-shell {
    overflow-x: clip;
}

@media (min-width: 1680px) {
    .site-shell {
        max-width: 1560px;
        margin: 1.1rem auto;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 26px 70px rgba(13, 40, 95, 0.12);
        background: rgba(255, 255, 255, 0.42);
    }

    .site-header {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }

    .site-footer {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
}

html:has(.mobile-drawer-input:checked),
body:has(.mobile-drawer-input:checked) {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(20, 86, 157, 0.12);
    box-shadow: 0 12px 30px rgba(13, 40, 95, 0.08);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.mobile-drawer-input,
.mobile-drawer-toggle,
.mobile-drawer-backdrop,
.mobile-drawer-panel {
    display: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.brand strong,
h1,
h2,
h3,
h4 {
    font-family: "Fraunces", serif;
}

.brand small {
    display: block;
    color: var(--nav-muted);
}

.brand-logo {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.2rem;
    border-radius: 0.95rem;
    object-fit: contain;
    border: 1px solid rgba(20, 86, 157, 0.14);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 40, 95, 0.1);
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--olive));
    font-family: "Fraunces", serif;
    font-size: 1.3rem;
}

.main-nav,
.nav-actions,
.hero-actions,
.action-row,
.inline-form,
.chip-cloud,
.metric-row,
.summary-row,
.section-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-nav {
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a,
.nav-pill {
    color: var(--nav-text);
}

.main-nav a {
    position: relative;
    font-weight: 800;
}

.main-nav a::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.4rem;
    height: 2px;
    border-radius: 999px;
    content: "";
    background: linear-gradient(135deg, var(--accent), var(--premium));
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent-dark);
}

.main-nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-pill span {
    display: inline-grid;
    place-items: center;
    min-width: 1.7rem;
    min-height: 1.7rem;
    margin-left: 0.45rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    font-weight: 800;
}

.site-header .button-secondary,
.site-header .button-ghost {
    background: rgba(30, 123, 198, 0.08);
    color: var(--accent-dark);
    border: 1px solid rgba(30, 123, 198, 0.18);
}

.site-header .button-secondary:hover,
.site-header .button-ghost:hover {
    background: rgba(30, 123, 198, 0.14);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(30, 123, 198, 0.25);
}

.button-secondary,
.button-ghost {
    background: rgba(255, 255, 255, 0.66);
    color: var(--text);
    box-shadow: none;
    border: 1px solid var(--border);
}

.button-ghost {
    background: transparent;
}

.button-inactive {
    opacity: 0.58;
    cursor: not-allowed;
    box-shadow: none;
}

.mobile-drawer-head,
.mobile-drawer-nav,
.mobile-drawer-actions {
    display: grid;
    gap: 1rem;
}

.mobile-drawer-head small {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
}

.mobile-drawer-nav a,
.mobile-drawer-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    font-weight: 700;
}

.mobile-drawer-nav span {
    display: inline-grid;
    place-items: center;
    min-width: 1.8rem;
    min-height: 1.8rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.85rem;
}

.mobile-drawer-actions form,
.mobile-drawer-actions .button {
    width: 100%;
}

.full-width {
    width: 100%;
}

.panel {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-section,
.content-section,
.page-header {
    padding: 2.25rem 0;
}

.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(2.4rem, 5vw, 4.5rem) 0;
    color: #f8fbff;
    background:
        radial-gradient(circle at 12% 22%, rgba(57, 184, 235, 0.32), transparent 22rem),
        radial-gradient(circle at 88% 12%, rgba(184, 137, 23, 0.28), transparent 20rem),
        linear-gradient(135deg, #071831 0%, #0f3d72 52%, #14569d 100%);
}

.home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

.home-hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.5;
    animation: homeHeroFloat 9s ease-in-out infinite;
}

.home-hero-orb-one {
    right: 7%;
    top: 12%;
    width: 7rem;
    height: 7rem;
    background: rgba(57, 184, 235, 0.36);
}

.home-hero-orb-two {
    left: 4%;
    bottom: 8%;
    width: 10rem;
    height: 10rem;
    background: rgba(184, 137, 23, 0.22);
    animation-delay: -4s;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.92fr);
    gap: clamp(1.5rem, 4vw, 3.2rem);
    align-items: center;
}

.home-hero-copy {
    display: grid;
    gap: 0.85rem;
    animation: homeHeroReveal 0.9s ease both;
}

.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.11);
    color: #d9f2ff;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.73rem;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.home-hero-title {
    margin: 0;
    max-width: 12ch;
    color: #ffffff;
    font-size: clamp(2.2rem, 4.55vw, 4.15rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.home-hero-tagline {
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 700;
    color: #bfeaff;
}

.home-hero-statement {
    margin: 0;
    max-width: 39rem;
    color: #ffffff;
    font-family: "Fraunces", serif;
    font-size: clamp(0.98rem, 1.55vw, 1.25rem);
    line-height: 1.35;
    text-wrap: balance;
}

.home-hero-lead {
    margin: 0;
    color: rgba(248, 251, 255, 0.78);
    line-height: 1.58;
    font-size: 0.98rem;
    max-width: 40rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.home-hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #e8f7ff;
    font-size: 0.84rem;
    font-weight: 700;
    backdrop-filter: blur(14px);
}

.home-hero-chip-inactive {
    opacity: 0.5;
    background: rgba(226, 232, 240, 0.7);
    color: #64748b;
    border-color: rgba(148, 163, 184, 0.28);
    filter: grayscale(0.2);
}

.home-hero .button,
.home-hero .button-secondary {
    color: #071831;
    background: linear-gradient(135deg, #ffffff 0%, #bfeaff 100%);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 16px 36px rgba(4, 14, 31, 0.22);
}

.home-hero .button:hover,
.home-hero .button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(4, 14, 31, 0.3);
}

.home-hero-showcase {
    position: relative;
    display: grid;
    gap: 0.75rem;
    animation: homeHeroReveal 0.9s 0.15s ease both;
}

.home-hero-slider {
    position: relative;
    min-height: clamp(22rem, 38vw, 31rem);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 80px rgba(3, 13, 31, 0.42);
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s ease, transform 1.2s ease;
}

.home-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.home-hero-slide::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 35%, rgba(7, 24, 49, 0.92) 100%);
}

.home-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.home-hero-slide figcaption {
    position: absolute;
    left: clamp(1rem, 4vw, 2rem);
    right: clamp(1rem, 4vw, 2rem);
    bottom: clamp(1rem, 4vw, 2rem);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.35;
}

.home-hero-slide figcaption span {
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #bfeaff;
    font-size: 0.78rem;
    backdrop-filter: blur(12px);
}

.home-hero-navigator {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.home-hero-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.home-hero-nav span {
    color: #8ee0ff;
    font-size: 0.72rem;
}

.home-hero-nav.is-active,
.home-hero-nav:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #071831;
}

.home-hero-feature-card {
    position: absolute;
    right: 1.1rem;
    top: 1.1rem;
    z-index: 3;
    display: grid;
    gap: 0.15rem;
    max-width: 15rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 1rem;
    color: #ffffff;
    background: rgba(7, 24, 49, 0.68);
    box-shadow: 0 18px 38px rgba(3, 13, 31, 0.3);
    backdrop-filter: blur(18px);
}

.home-hero-feature-card span,
.home-hero-feature-card small {
    color: #bfeaff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-hero-feature-card strong {
    line-height: 1.2;
}

@keyframes homeHeroReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeHeroFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -18px, 0) scale(1.04);
    }
}

.home-purpose-section {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(57, 184, 235, 0.12), transparent 20rem),
        linear-gradient(180deg, #ffffff 0%, #f4faff 100%);
}

.home-purpose-section::before {
    position: absolute;
    inset: auto -8rem -12rem auto;
    width: 24rem;
    height: 24rem;
    border-radius: 999px;
    content: "";
    background: rgba(30, 123, 198, 0.08);
}

.home-purpose-head {
    display: grid;
    gap: 0.85rem;
    max-width: 52rem;
    margin-bottom: 2rem;
}

.home-purpose-head h2,
.home-impact-copy h2,
.home-pathway-copy h2 {
    margin: 0;
    color: #071831;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.home-purpose-head p,
.home-impact-copy p,
.home-pathway-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-purpose-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
    gap: 1rem;
    z-index: 1;
}

.home-purpose-card {
    display: grid;
    gap: 0.8rem;
    min-height: 18rem;
    padding: 1.4rem;
    border: 1px solid rgba(20, 86, 157, 0.13);
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 24px 54px rgba(13, 40, 95, 0.09);
}

.home-purpose-card-featured {
    color: #ffffff;
    background:
        linear-gradient(rgba(7, 24, 49, 0.72), rgba(7, 24, 49, 0.84)),
        url("/static/main/images/hero/WhatsApp Image 2026-04-26 at 18.57.51.baa9d945b631.jpeg") center/cover;
    border-color: rgba(255, 255, 255, 0.18);
}

.home-purpose-icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 900;
}

.home-purpose-card-featured .home-purpose-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #bfeaff;
}

.home-purpose-card h3 {
    margin: auto 0 0;
    color: inherit;
    font-size: 1.45rem;
    line-height: 1.12;
}

.home-purpose-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
}

.home-purpose-card-featured p {
    color: rgba(255, 255, 255, 0.78);
}

.home-purpose-card a {
    justify-self: start;
    color: var(--accent-dark);
    font-weight: 900;
}

.home-purpose-card-featured a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.24rem;
}

.home-impact-section {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #eef8ff 0%, #ffffff 48%, #f7fbff 100%);
}

.home-impact-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.home-impact-image-stack {
    position: relative;
    min-height: 31rem;
}

.home-impact-image {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 0.7rem solid #ffffff;
    box-shadow: 0 28px 62px rgba(13, 40, 95, 0.18);
}

.home-impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-impact-image-main {
    inset: 0 16% 10% 0;
    border-radius: 2.5rem 2.5rem 0.9rem 2.5rem;
}

.home-impact-image-float {
    right: 0;
    bottom: 0;
    width: 45%;
    height: 45%;
    border-radius: 1.6rem;
}

.home-impact-copy {
    display: grid;
    gap: 1rem;
}

.home-impact-list {
    display: grid;
    gap: 0.7rem;
    margin: 0.4rem 0;
}

.home-impact-list div {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(20, 86, 157, 0.12);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.74);
}

.home-impact-list strong {
    color: #071831;
}

.home-impact-list span {
    color: var(--muted);
    line-height: 1.5;
}

.home-impact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-pathway-section {
    padding: 4rem 0;
    background:
        radial-gradient(circle at 84% 20%, rgba(57, 184, 235, 0.14), transparent 20rem),
        linear-gradient(135deg, #071831 0%, #0f3d72 58%, #14569d 100%);
}

.home-pathway-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.3rem;
    align-items: stretch;
}

.home-pathway-copy,
.home-pathway-steps article {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.home-pathway-copy {
    display: grid;
    align-content: center;
    gap: 0.9rem;
    padding: 2rem;
    border-radius: 2rem;
}

.home-pathway-copy .eyebrow,
.home-pathway-copy h2 {
    color: #ffffff;
}

.home-pathway-copy p {
    color: rgba(255, 255, 255, 0.76);
}

.home-pathway-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-pathway-steps article {
    display: grid;
    align-content: end;
    gap: 0.6rem;
    min-height: 18rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
    color: #ffffff;
}

.home-pathway-steps article:nth-child(2) {
    transform: translateY(1.4rem);
}

.home-pathway-steps article:nth-child(3) {
    transform: translateY(2.8rem);
}

.home-pathway-steps span {
    color: #8ee0ff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-pathway-steps h3,
.home-pathway-steps p {
    margin: 0;
}

.home-pathway-steps h3 {
    font-size: 1.5rem;
}

.home-pathway-steps p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.hero-grid,
.detail-layout,
.detail-lower-grid,
.checkout-layout,
.catalog-layout,
.split-showcase,
.dashboard-grid,
.dual-section {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: 1.45fr 0.85fr;
}

.catalog-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
}

.catalog-layout--wide {
    grid-template-columns: 1fr;
}

.detail-layout,
.detail-lower-grid,
.checkout-layout,
.split-showcase,
.dual-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-layout {
    align-items: start;
}

.dashboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-copy h1,
.page-header h1,
.detail-panel h1,
.auth-panel h1 {
    margin: 0.5rem 0 1rem;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 0.98;
}

.page-header h1,
.detail-panel h1,
.auth-panel h1 {
    font-size: clamp(2rem, 3vw, 3.4rem);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.login-panel h1 {
    font-size: clamp(1.6rem, 2.3vw, 2.5rem);
    line-height: 1.08;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.featured-section-head .eyebrow,
.featured-section-head h2 {
    color: #b88917;
}

.featured-section {
    padding: 3.5rem 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 255, 0.98)),
        #ffffff;
}

.featured-app-promo {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(30, 123, 198, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7, 24, 49, 0.96), rgba(18, 95, 142, 0.92) 58%, rgba(33, 132, 111, 0.9)),
        #071831;
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(13, 40, 95, 0.16);
    overflow: hidden;
}

.featured-app-copy {
    position: relative;
    z-index: 1;
}

.featured-app-copy .eyebrow {
    color: #9fe9d4;
}

.featured-app-copy h2 {
    max-width: 48rem;
    margin: 0.65rem 0 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    line-height: 1.02;
}

.featured-app-copy p {
    max-width: 43rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.03rem;
    line-height: 1.65;
}

.featured-app-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.featured-app-benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.5rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
}

.featured-app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.6rem;
}

.featured-app-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    background: #ffffff;
    color: #0d285f;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-app-cta:hover,
.featured-app-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.featured-app-actions p {
    max-width: 22rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.45;
}

.featured-app-preview {
    display: flex;
    justify-content: center;
}

.featured-phone {
    width: min(100%, 15.5rem);
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 50px rgba(0, 0, 0, 0.22);
}

.featured-phone-top {
    width: 4.5rem;
    height: 0.35rem;
    margin: 0 auto 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.featured-phone-screen {
    min-height: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(13, 40, 95, 0.84)),
        linear-gradient(135deg, #f8d77a, #45b8e8 48%, #0d285f);
    color: #ffffff;
}

.featured-phone-label {
    align-self: flex-start;
    margin-bottom: auto;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-phone-screen strong {
    margin-top: 4.5rem;
    font-size: 1.35rem;
    line-height: 1.08;
}

.featured-phone-screen p {
    margin: 0.55rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    line-height: 1.45;
}

.featured-phone-progress {
    height: 0.45rem;
    margin-top: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.featured-phone-progress span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: #9fe9d4;
}

.featured-phone-screen small {
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.filter-panel-context {
    display: block;
    margin-bottom: 0.35rem;
    white-space: nowrap;
}

.page-header--with-filter .container {
    display: grid;
    gap: 1.5rem;
}

.page-header-top {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.page-header--with-filter .page-header-top {
    grid-template-columns: 1fr;
}

.catalog-hero-filter {
    padding: 0.9rem 1rem;
}

.catalog-hero-filter h2,
.filter-panel h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.catalog-hero-filter h2 {
    margin-bottom: 0.6rem;
}

.catalog-hero-filter .stack-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.catalog-hero-filter .stack-form label {
    flex: 1 1 180px;
}

.catalog-hero-filter .stack-form .button {
    width: auto;
    flex: 0 0 auto;
}

.lead,
.muted,
.site-footer p,
.site-footer a {
    color: var(--muted);
}

.accent-panel {
    background: linear-gradient(180deg, rgba(69, 184, 232, 0.12), rgba(30, 123, 198, 0.12));
}

.feature-list,
.list-stack,
.review-stack,
.publisher-list,
.stack-form {
    display: grid;
    gap: 1rem;
}

.feature-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

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

.book-grid-mosaic {
    grid-auto-flow: dense;
}

.book-grid-featured-thumbs {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    gap: 1rem;
    justify-content: center;
}

.hero-section .container > div > * {
    opacity: 0;
    animation: hero-rise 0.8s ease forwards;
}

.hero-section .container > div > h1 {
    animation-delay: 0.1s;
}

.hero-section .container > div > p:first-of-type {
    animation-delay: 0.22s;
}

.hero-section .container > div > p:last-of-type {
    animation-delay: 0.34s;
}

.hero-section .container > div > div {
    animation-delay: 0.46s;
}

.hero-section .container > div > div img {
    animation: hero-float 4.8s ease-in-out 1s infinite;
    transform-origin: center center;
}

.book-grid-featured-thumbs .featured-thumb-card {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    animation: shelf-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.book-grid-featured-thumbs .featured-thumb-card:nth-child(1) {
    animation-delay: 0.08s;
}

.book-grid-featured-thumbs .featured-thumb-card:nth-child(2) {
    animation-delay: 0.16s;
}

.book-grid-featured-thumbs .featured-thumb-card:nth-child(3) {
    animation-delay: 0.24s;
}

.book-grid-featured-thumbs .featured-thumb-card:nth-child(4) {
    animation-delay: 0.32s;
}

.book-grid-featured-thumbs .featured-thumb-card:nth-child(5) {
    animation-delay: 0.4s;
}

.book-grid-featured-thumbs .featured-thumb-card:nth-child(6) {
    animation-delay: 0.48s;
}

.new-books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-card--open {
    background:
        linear-gradient(180deg, rgba(252, 249, 243, 0.96), rgba(244, 236, 223, 0.92)),
        rgba(255, 255, 255, 0.72);
}

.new-books-grid .open-book-cover {
    width: calc(100% - 2rem);
    margin: 1rem auto 0;
    border-radius: 18px;
    overflow: hidden;
}

.new-books-grid .open-book-panel {
    padding: 0;
}

.new-books-grid .open-book-panel img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.open-book-cover {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(2.8rem, 8%, 3.6rem) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    aspect-ratio: 1.5;
    background: linear-gradient(135deg, rgba(30, 123, 198, 0.12), rgba(69, 184, 232, 0.12));
}

.detail-open-book {
    display: block;
    width: min(100%, 28rem);
    margin: 0 auto;
    aspect-ratio: 0.68;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 22px 48px rgba(42, 22, 10, 0.16);
}

.open-book-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 2.6rem 0.85rem 0.85rem;
    background: linear-gradient(135deg, rgba(30, 123, 198, 0.18), rgba(69, 184, 232, 0.18));
}

.open-book-panel img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.open-book-panel .cover-face {
    max-width: 100%;
    max-height: 100%;
}

.detail-open-book .open-book-panel {
    padding: 0;
    height: 100%;
}

.detail-open-book .cover-face {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
}

.detail-open-book .open-book-panel--front {
    border-left: 0;
}

.open-book-panel--back {
    border-right: 1px solid rgba(9, 30, 74, 0.12);
}

.open-book-panel--front {
    border-left: 1px solid rgba(9, 30, 74, 0.12);
}

.open-book-spine {
    position: relative;
    display: grid;
    place-items: center;
    padding: 1rem 0.35rem;
    background:
        linear-gradient(180deg, rgba(20, 86, 157, 0.96), rgba(14, 54, 106, 0.96)),
        rgba(9, 30, 74, 0.94);
    color: white;
    text-align: center;
    overflow: hidden;
}

.detail-open-book-spine {
    padding: 1.25rem 0.45rem;
}

.open-book-spine::before,
.open-book-spine::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.open-book-spine::before {
    left: 0;
}

.open-book-spine::after {
    right: 0;
}

.open-book-spine-title,
.open-book-spine-author {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.08em;
}

.open-book-spine-title {
    font-family: "Fraunces", serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
    max-height: 82%;
    overflow: hidden;
}

.open-book-spine-author {
    margin-top: 0.55rem;
    font-size: 0.66rem;
    text-transform: uppercase;
    opacity: 0.72;
}

.open-book-label {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 3;
    padding: 0.35rem 0.58rem;
    border-radius: 999px;
    background: rgba(9, 30, 74, 0.8);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.open-book-label--spine {
    top: 0.55rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.new-books-grid .book-meta {
    gap: 0.45rem;
    padding: 0.9rem 1rem;
}

.new-books-grid .book-meta h3 {
    min-height: 2rem;
    font-size: 1.1rem;
}

.new-books-grid .book-summary {
    min-height: 2.8rem;
    -webkit-line-clamp: 2;
}

.book-grid-compact-cards .book-cover {
    aspect-ratio: 0.66;
    width: calc(100% - 2.2rem);
    margin: 0.45rem auto 0;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.book-grid-compact-cards {
    gap: 0.95rem;
}

.book-grid-compact-cards .book-meta {
    gap: 0.35rem;
    padding: 0.75rem 0.7rem 0.85rem;
}

.book-grid-compact-cards .book-meta h3 {
    min-height: auto;
    font-size: 1rem;
    line-height: 1.25;
}

.book-grid-compact-cards .book-summary {
    min-height: auto;
    line-height: 1.4;
    -webkit-line-clamp: 2;
}

.book-grid-compact-cards .book-taxonomy {
    gap: 0.45rem;
    font-size: 0.76rem;
}

.book-grid-compact-cards .muted {
    margin: 0;
    font-size: 0.92rem;
}

.featured-thumb-card {
    flex: 0 0 240px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 40px rgba(60, 33, 16, 0.08);
    scroll-snap-align: start;
    padding: 0;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.featured-thumb-link {
    position: relative;
    display: block;
    aspect-ratio: 0.72;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(30, 123, 198, 0.18), rgba(69, 184, 232, 0.18));
}

.featured-thumb-card:hover,
.featured-thumb-card:focus-within {
    transform: translateY(-10px) rotate(-1deg);
    border-color: rgba(30, 123, 198, 0.24);
    box-shadow: 0 24px 44px rgba(60, 33, 16, 0.16);
}

.featured-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 320ms ease;
}

.featured-thumb-card:hover .featured-thumb-link img,
.featured-thumb-card:focus-within .featured-thumb-link img {
    transform: scale(1.05);
}

.featured-thumb-price {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(9, 30, 74, 0.84);
    color: white;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1.2deg);
    }
}

@keyframes shelf-rise {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section .container > div > *,
    .book-grid-featured-thumbs .featured-thumb-card {
        opacity: 1;
        animation: none;
        transform: none;
    }

    .hero-section .container > div > div img,
    .featured-thumb-card,
    .featured-thumb-link img {
        animation: none;
        transition: none;
        transform: none;
    }
}

.compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 40px rgba(60, 33, 16, 0.08);
    height: 100%;
}

.book-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.book-cover,
.open-book-cover,
.book-taxonomy a,
.book-meta h3 a {
    position: relative;
    z-index: 2;
}

.book-card--wide {
    grid-column: span 2;
}

.book-grid-mosaic .book-card--wide .book-cover {
    aspect-ratio: 1.45;
}

.book-grid-mosaic .book-card--compact .book-cover {
    aspect-ratio: 0.72;
}

.book-grid-mosaic .book-card--compact .book-meta {
    gap: 0.55rem;
    padding: 0.95rem;
}

.book-grid-mosaic .book-card--compact .book-meta h3 {
    font-size: 1.05rem;
    min-height: auto;
}

.book-grid-mosaic .book-card--compact .book-summary {
    min-height: auto;
    -webkit-line-clamp: 2;
}

.home-bookshelf .book-meta {
    gap: 0.5rem;
}

.home-section {
    position: relative;
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.home-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(10rem, 28%);
    height: 1px;
    background: linear-gradient(90deg, rgba(18, 70, 133, 0.34), rgba(18, 70, 133, 0));
}

.section-separator {
    width: min(1180px, calc(100% - 2rem));
    height: 1px;
    margin: 0.5rem auto;
    background: linear-gradient(
        90deg,
        rgba(13, 40, 95, 0),
        rgba(13, 40, 95, 0.28) 20%,
        rgba(13, 40, 95, 0.28) 80%,
        rgba(13, 40, 95, 0)
    );
}

.home-bookshelf .book-meta h3 {
    min-height: 2.2rem;
    font-size: 1.15rem;
}

.home-bookshelf .book-summary {
    min-height: 3.3rem;
    line-height: 1.45;
}

.home-bookshelf .book-cover img {
    object-fit: cover;
}

.home-all-books-grid {
    gap: 1rem;
    align-items: start;
}

.home-all-books-grid .book-card {
    height: auto;
    padding: 1.15rem 0.85rem 1.05rem;
}

.home-all-books-grid .book-cover {
    display: block;
    aspect-ratio: 0.72;
    width: calc(100% - 2.4rem);
    margin: 0 auto 1rem;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.home-all-books-grid .book-cover img {
    object-fit: contain;
}

.home-all-books-grid .book-meta {
    gap: 0.4rem;
    padding: 0;
}

.home-all-books-grid .book-meta h3 {
    min-height: auto;
    font-size: 1.05rem;
    line-height: 1.3;
}

.home-all-books-grid .book-summary {
    min-height: auto;
    line-height: 1.4;
    -webkit-line-clamp: 2;
}

.home-all-books-grid .book-card-footer {
    margin-top: 0.35rem;
    align-items: center;
}

.book-cover {
    position: relative;
    aspect-ratio: 0.82;
    background: linear-gradient(135deg, rgba(30, 123, 198, 0.18), rgba(69, 184, 232, 0.18));
}

.book-cover img,
.detail-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.book-cover-placeholder,
.detail-cover.placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: "Fraunces", serif;
    font-size: 3rem;
    color: rgba(9, 30, 74, 0.55);
}

.detail-cover-panel {
    display: grid;
    gap: 1rem;
    min-height: auto;
    height: fit-content;
}

.cover-stack-stage {
    position: relative;
    min-height: 34rem;
}

.preview-panel {
    display: grid;
    gap: 1rem;
}

.workspace-reader-panel {
    gap: 0.65rem;
}

.workspace-reader-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.workspace-reader-head-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.workspace-reader-head-divider {
    color: var(--muted);
}

.workspace-reader-head-text {
    font-weight: 700;
    color: var(--ink);
}

.workspace-reader-head-compact {
    gap: 0.5rem;
}

.workspace-page-meta,
.workspace-toolbar-page-meta,
.workspace-bookmark-meta {
    margin: 0;
    font-size: 0.92rem;
}

.workspace-toolbar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    padding: 0.65rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
}

.workspace-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.2rem;
}

.workspace-bottom-page-meta {
    display: none;
    margin: 0;
    white-space: nowrap;
}

.workspace-toolbar .button,
.workspace-bottom-nav .button {
    padding: 0.62rem 0.9rem;
}

.workspace-pdf-zoom {
    margin-left: auto;
}

.workspace-pdf-width-field {
    margin-left: auto;
}

.workspace-pdf-width-field + .workspace-pdf-zoom {
    margin-left: 0;
}

.preview-panel-inline {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.preview-dialog-trigger {
    width: 100%;
}

.preview-scroll-shell {
    width: 100%;
    max-height: 24rem;
    overflow-y: auto;
    padding-right: 0.3rem;
    display: grid;
    gap: 0.9rem;
}

.preview-scroll-shell-dialog {
    max-height: min(70vh, 52rem);
    padding-right: 0.6rem;
}

.preview-dialog {
    width: min(72rem, calc(100% - 2rem));
    max-width: 100%;
    max-height: calc(100vh - 2rem);
    padding: 0;
    border: 0;
    border-radius: 26px;
    background: transparent;
    box-shadow: none;
}

.preview-dialog.preview-dialog-pdf {
    width: min(40rem, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: hidden;
}

.preview-dialog::backdrop {
    background: rgba(9, 30, 74, 0.58);
    backdrop-filter: blur(4px);
}

.preview-dialog-shell {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(234, 245, 255, 0.98));
    box-shadow: 0 28px 70px rgba(9, 30, 74, 0.24);
}

.preview-dialog.preview-dialog-pdf .preview-dialog-shell {
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.preview-dialog.preview-dialog-pdf .preview-scroll-shell-dialog {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 0.35rem;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
}

.preview-dialog.preview-dialog-pdf .preview-scroll-shell-dialog::-webkit-scrollbar {
    width: 12px;
}

.preview-dialog.preview-dialog-pdf .preview-scroll-shell-dialog::-webkit-scrollbar-track {
    background: rgba(30, 123, 198, 0.08);
    border-radius: 999px;
}

.preview-dialog.preview-dialog-pdf .preview-scroll-shell-dialog::-webkit-scrollbar-thumb {
    background: rgba(30, 123, 198, 0.5);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.preview-dialog-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.preview-dialog-head h2 {
    margin: 0.1rem 0 0;
}

.preview-dialog.preview-dialog-pdf > .preview-dialog-shell > .muted,
.preview-dialog.preview-dialog-pdf .preview-pdf-toolbar .muted {
    margin: 0;
}

.preview-dialog.preview-dialog-pdf > .preview-dialog-shell > .muted {
    margin-top: -0.15rem;
}

.preview-dialog-close {
    display: inline-grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.preview-reader-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.preview-reader-toolbar .muted {
    margin: 0;
}

.preview-pdf-toolbar {
    align-items: center;
    margin-top: -0.2rem;
}

.preview-pdf-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.preview-pdf-actions .button {
    min-width: 7.5rem;
}

.preview-pdf-zoom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.preview-pdf-zoom .button {
    min-width: 2.5rem;
    padding: 0.55rem 0.8rem;
}

.preview-pdf-zoom-value {
    min-width: 3.5rem;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.preview-pdf-page-label {
    white-space: nowrap;
}

.preview-reader-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.preview-reader-field {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.preview-reader-label {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.preview-reader-select {
    min-width: 6.5rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    padding: 0.45rem 2rem 0.45rem 0.85rem;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.preview-scroll-shell-epub {
    transition: background 0.2s ease, color 0.2s ease;
}

.preview-scroll-shell-pdf {
    position: relative;
    justify-items: center;
    gap: 0;
    padding: 1rem 0;
    border: 1px solid rgba(30, 123, 198, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 255, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    width: 100%;
    max-width: 100%;
}

.preview-scroll-shell-pdf .preview-page-frame {
    width: 100%;
    display: block;
    overflow: visible;
}

.preview-scroll-shell-epub[data-preview-width="narrow"] .preview-section-card,
.preview-scroll-shell-epub[data-preview-width="narrow"] .preview-unlock-card {
    max-width: 38rem;
    margin-inline: auto;
}

.preview-scroll-shell-epub[data-preview-width="medium"] .preview-section-card,
.preview-scroll-shell-epub[data-preview-width="medium"] .preview-unlock-card {
    max-width: 48rem;
    margin-inline: auto;
}

.preview-scroll-shell-epub[data-preview-width="wide"] .preview-section-card,
.preview-scroll-shell-epub[data-preview-width="wide"] .preview-unlock-card {
    max-width: 100%;
    margin-inline: 0;
}

.preview-scroll-shell-epub[data-preview-size="small"] .preview-section-body {
    font-size: 0.96rem;
}

.preview-scroll-shell-epub[data-preview-size="medium"] .preview-section-body {
    font-size: 1.05rem;
}

.preview-scroll-shell-epub[data-preview-size="large"] .preview-section-body {
    font-size: 1.15rem;
}

.preview-scroll-shell-epub[data-preview-theme="light"] .preview-section-card,
.preview-scroll-shell-epub[data-preview-theme="light"] .preview-unlock-card {
    background: rgba(255, 252, 248, 0.92);
    color: var(--text);
}

.preview-scroll-shell-epub[data-preview-theme="sepia"] .preview-section-card,
.preview-scroll-shell-epub[data-preview-theme="sepia"] .preview-unlock-card {
    background: #f4ecdd;
    color: #4a3725;
    border-color: rgba(126, 88, 53, 0.2);
}

.preview-scroll-shell-epub[data-preview-theme="dark"] .preview-section-card,
.preview-scroll-shell-epub[data-preview-theme="dark"] .preview-unlock-card {
    background: #162033;
    color: #e8eefc;
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: none;
}

.preview-scroll-shell-epub[data-preview-theme="dark"] .preview-section-meta,
.preview-scroll-shell-epub[data-preview-theme="dark"] .preview-unlock-card .eyebrow {
    color: #b8c7e6;
}

.preview-scroll-shell-epub[data-preview-theme="dark"] .preview-section-body,
.preview-scroll-shell-epub[data-preview-theme="dark"] .preview-unlock-card p,
.preview-scroll-shell-epub[data-preview-theme="dark"] .preview-unlock-card h3 {
    color: #e8eefc;
}

.preview-page-frame {
    display: block;
}

.preview-scroll-shell[data-preview-panel-width="narrow"] .preview-page-frame {
    width: min(100%, 34rem);
    margin-inline: auto;
}

.preview-scroll-shell[data-preview-panel-width="medium"] .preview-page-frame {
    width: 100%;
    margin-inline: auto;
}

.preview-scroll-shell[data-preview-panel-width="wide"] .preview-page-frame {
    width: min(100%, 58rem);
    margin-inline: auto;
}

.preview-page-frame {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
}

.preview-scroll-shell-pdf .preview-page-frame + .preview-page-frame {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(30, 123, 198, 0.08);
}

.preview-page-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    border: 0;
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 20px rgba(42, 22, 10, 0.06);
}

.preview-section-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 252, 248, 0.92);
    padding: 1.1rem 1rem;
    box-shadow: 0 12px 28px rgba(42, 22, 10, 0.08);
}

.preview-section-card h3 {
    margin: 0.15rem 0 0.7rem;
}

.preview-section-meta {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.preview-section-body {
    color: var(--text);
    line-height: 1.75;
}

.preview-section-body p,
.preview-section-body div,
.preview-section-body blockquote,
.preview-section-body ul,
.preview-section-body ol {
    margin: 0 0 1rem;
}

.preview-section-body li + li,
.preview-section-body p + p,
.preview-section-body div + div,
.preview-section-body p + div,
.preview-section-body div + p,
.preview-section-body blockquote + p,
.preview-section-body p + blockquote {
    margin-top: 0.9rem;
}

.preview-section-body br {
    display: block;
    content: "";
    margin-top: 0.45rem;
}

.preview-section-body li {
    margin-bottom: 0.45rem;
}

.reader-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.reader-tools.is-hidden {
    display: none;
}

.reader-tools-label {
    color: var(--muted);
    font-size: 0.88rem;
    margin-right: 0.25rem;
}

.reader-tool-btn {
    min-width: 3.2rem;
    padding: 0.5rem 0.75rem;
}

.reader-highlight {
    background: #ffeb66;
    color: inherit;
    border-radius: 0.2rem;
    padding: 0 0.06rem;
}

.preview-section-body > :first-child {
    margin-top: 0;
}

.preview-section-body > :last-child {
    margin-bottom: 0;
}

.preview-unlock-card {
    display: grid;
    gap: 0.9rem;
    padding: 1.35rem;
    border: 1px solid rgba(30, 123, 198, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(30, 123, 198, 0.1), rgba(69, 184, 232, 0.08));
    box-shadow: 0 14px 32px rgba(42, 22, 10, 0.08);
}

.preview-unlock-popover {
    position: absolute;
    inset: 50% 1rem auto;
    z-index: 3;
    transform: translateY(-50%) scale(0.96);
    width: auto;
    max-width: min(24rem, calc(100% - 2rem));
    margin-inline: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 246, 255, 0.98));
    box-shadow: 0 22px 50px rgba(9, 30, 74, 0.24);
}

.preview-unlock-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(30, 123, 198, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.preview-scroll-shell [data-preview-unlock-card] {
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    opacity: 0;
    transform: translateY(0.75rem);
    pointer-events: none;
    overflow: hidden;
    transition:
        max-height 0.2s ease,
        margin 0.2s ease,
        padding 0.2s ease,
        border-width 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.preview-scroll-shell [data-preview-unlock-card].is-revealed {
    max-height: 28rem;
    margin-top: 0;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
    border-width: 1px;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
    box-shadow: 0 18px 38px rgba(30, 123, 198, 0.18);
}

.preview-unlock-card h3,
.preview-unlock-card p {
    margin: 0;
}

.preview-unlock-card form {
    margin: 0;
}

.cover-face {
    width: 100%;
    height: 100%;
}

.cover-st.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.banner-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-carousel-slide {
    flex: 0 0 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.banner-carousel-slide.active {
    opacity: 1;
    display: block;
}

.banner-carousel-card {
    color: white;
    padding: 2rem 2rem 3.5rem;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.banner-carousel-content {
    max-width: 700px;
}

.banner-carousel-content h2 {
    color: white;
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.banner-carousel-content h3 {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.banner-carousel-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.banner-carousel-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.banner-carousel-prev,
.banner-carousel-next {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.9);
    color: #1a1a2e;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.banner-carousel-prev:hover,
.banner-carousel-next:hover {
    background: var(--premium);
}

.banner-carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.banner-carousel-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s;
}

.banner-carousel-dot.active {
    background: var(--premium);
}

.banner-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 760px) {
    .banner-carousel-card {
        padding: 1.5rem 1.5rem 4.5rem;
        padding: 1.5rem 1.5rem 6rem;
        min-height: 160px;
    }
    .banner-carousel-content h2 {
        font-size: 1.4rem;
    }
    .banner-carousel-nav {
        bottom: 0.75rem;
        margin-top: 1rem;
    }
    .banner-cta {
        margin-top: 1.5rem;
    }
}

.home-bottom-ad-shell {
    position: fixed;
    inset: 0;
    z-index: 70;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-bottom-ad-shell.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.home-bottom-ad-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(4px);
}

.home-bottom-ad-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(40rem, calc(100vw - 2rem));
    aspect-ratio: 4 / 3;
    max-height: calc(100vh - 2rem);
    transform: translate(-50%, -50%);
    overflow: hidden;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-bottom-ad {
    display: none;
    margin: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.96);
}

.home-bottom-ad.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-bottom-ad img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-bottom-ad-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 760px) {
    .home-bottom-ad-frame {
        width: calc(100vw - 1.5rem);
        border-radius: 18px;
    }
}

.cover-stack-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 48px rgba(42, 22, 10, 0.16);
}

.cover-stack-front,
.cover-stack-back {
    position: absolute;
    width: 72%;
    max-width: 26rem;
    aspect-ratio: 0.72;
}

.cover-stack-front {
    left: 9%;
    top: 2.5rem;
    z-index: 2;
    transform: rotate(-6deg);
}

.cover-stack-back {
    right: 7%;
    top: 0.5rem;
    z-index: 1;
    transform: rotate(8deg);
}

.cover-stack-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(9, 30, 74, 0.8);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.book-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(9, 30, 74, 0.8);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.book-badge.alt {
    top: auto;
    bottom: 1rem;
    background: rgba(31, 123, 198, 0.88);
}

.book-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    justify-content: flex-end;
}

.book-badge-row .book-badge {
    position: static;
}

.book-meta-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.book-meta-top .book-taxonomy {
    flex: 1 1 auto;
    min-width: 0;
}

.book-meta-top .book-badge-row {
    flex: 0 0 auto;
}

.book-meta {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem;
    flex: 1;
    align-content: start;
}

.book-meta h3 {
    margin: 0;
    font-size: 1.25rem;
    min-height: 3rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.book-summary {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    min-height: 4.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-taxonomy,
.book-card-footer,
.cart-item,
.review-head,
.footer-grid,
.publisher-list {
    display: flex;
    gap: 1rem;
}

.book-taxonomy {
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--accent-dark);
}

.book-card-footer,
.cart-item,
.review-head,
.section-head {
    justify-content: space-between;
}

.book-card-footer {
    margin-top: auto;
    align-items: end;
}

.strikethrough {
    margin-left: 0.35rem;
    color: var(--muted);
    text-decoration: line-through;
}

.rating,
.highlight {
    color: var(--accent-dark);
    font-weight: 700;
}

.muted-section {
    background: rgba(255, 255, 255, 0.28);
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.tag-card,
.list-card {
    display: grid;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.66);
}

.chip {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(30, 123, 198, 0.12);
    color: var(--accent-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.chip.secondary {
    background: rgba(69, 184, 232, 0.14);
    color: var(--olive);
}

.metric-card {
    display: grid;
    gap: 0.35rem;
}

.metric-card strong {
    font-size: 2.1rem;
    font-family: "Fraunces", serif;
}

.stack-form label,
.stack-form p {
    display: grid;
    gap: 0.45rem;
    margin: 0;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(24, 78, 135, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    font: inherit;
    color: var(--text);
}

textarea {
    resize: vertical;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.detail-meta-grid span {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.detail-price-row strong {
    font-size: 2.2rem;
    font-family: "Fraunces", serif;
}

.detail-panel .action-row + .info-strip,
.detail-panel .action-row + .quote-block {
    margin-top: 1rem;
}

.detail-panel .info-strip + .quote-block {
    margin-top: 0.85rem;
}

.info-strip,
.quote-block,
.empty-state,
.message {
    padding: 1rem 1.1rem;
    border-radius: 16px;
}

.info-strip,
.quote-block {
    background: rgba(69, 184, 232, 0.1);
}

.quote-block {
    border-left: 4px solid var(--accent);
    font-family: "Fraunces", serif;
    font-size: 1.1rem;
}

.review-card,
.cart-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-actions {
    display: grid;
    gap: 0.75rem;
    justify-items: end;
}

.cart-actions form {
    margin: 0;
}

.cart-item-details {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
}

.cart-item-total {
    font-size: 1.1rem;
}

.cart-item:first-child,
.review-card:first-child {
    padding-top: 0;
}

.cart-item:last-child,
.review-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.order-summary {
    position: sticky;
    top: 7rem;
}

.delivery-status {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
}

.delivery-status strong {
    font-size: 0.98rem;
}

.delivery-status p {
    margin: 0;
    line-height: 1.55;
    color: var(--muted);
}

.delivery-status-pending {
    border: 1px solid rgba(184, 137, 23, 0.22);
    background: rgba(255, 248, 231, 0.9);
}

.delivery-status-ready {
    border: 1px solid rgba(30, 123, 198, 0.16);
    background: rgba(233, 244, 255, 0.9);
}

.summary-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.summary-row span,
.summary-row strong {
    min-width: 0;
}

.summary-row span {
    overflow-wrap: anywhere;
}

.summary-row strong {
    flex: 0 0 auto;
    text-align: right;
}

.summary-row.total {
    font-size: 1.1rem;
    border-bottom: 0;
}

.message-stack {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.message {
    border: 1px solid rgba(69, 184, 232, 0.22);
    background: rgba(69, 184, 232, 0.09);
}

.message-error {
    border-color: rgba(20, 86, 157, 0.2);
    background: rgba(30, 123, 198, 0.08);
}

.delivery-zone-tip {
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(30, 123, 198, 0.14);
    background: rgba(233, 244, 255, 0.72);
}

.delivery-zone-tip strong {
    display: block;
    margin-bottom: 0.25rem;
}

.delivery-zone-tip p {
    color: #516780;
    line-height: 1.55;
}

.empty-state {
    border: 1px dashed rgba(63, 39, 24, 0.18);
    background: rgba(255, 255, 255, 0.5);
    color: var(--muted);
}

.narrow-container {
    max-width: 760px;
}

.auth-panel {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.35rem;
}

.login-panel h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.auth-panel .stack-form {
    gap: 0.75rem;
}

.auth-panel input,
.auth-panel select,
.auth-panel textarea {
    padding: 0.72rem 0.82rem;
    border-radius: 10px;
}

.auth-panel .muted {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    stroke: #4c6692;
    stroke-width: 2;
    fill: none;
    pointer-events: none;
    z-index: 2;
}

.input-with-icon input {
    padding-left: 2.45rem;
    position: relative;
    z-index: 1;
}

.input-with-icon.password-field input {
    padding-right: 2.7rem;
}

.password-toggle {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #4c6692;
    cursor: pointer;
    width: 1.9rem;
    height: 1.9rem;
    display: inline-grid;
    place-items: center;
    z-index: 3;
}

.toggle-icon {
    width: 1.05rem;
    height: 1.05rem;
    stroke: #4c6692;
    stroke-width: 2;
    fill: none;
}

.field-error {
    color: #b3261e;
    font-size: 0.9rem;
}

.reader-dialog {
    width: min(860px, calc(100% - 2rem));
    border: 0;
    border-radius: 20px;
    padding: 0;
    background: #f5efe3;
    color: #1d2638;
}

.reader-dialog::backdrop {
    background: rgba(5, 10, 20, 0.55);
    backdrop-filter: blur(4px);
}

.reader-dialog-shell {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.reader-dialog-head,
.reader-dialog-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.reader-dialog-head p {
    margin: 0.25rem 0 0;
}

.reader-progress-track {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(29, 38, 56, 0.14);
    overflow: hidden;
}

.reader-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #1e7bc6, #45b8e8);
    transition: width 180ms ease-in-out;
}

.reader-dialog-content {
    min-height: 60vh;
    max-height: 70vh;
    overflow: auto;
    border: 1px solid rgba(29, 38, 56, 0.12);
    border-radius: 16px;
    background: #fffdf7;
    padding: 1.2rem;
}

.reader-pdf-image {
    width: min(100%, 760px);
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.reader-epub-article {
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 1.08rem;
    color: #2a3344;
}

.reader-epub-article h2 {
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 2rem 0 2.25rem;
    align-items: start;
}

.footer-grid > div {
    width: 100%;
    min-width: 0;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.46);
}

.site-footer h4,
.site-footer h3 {
    margin-bottom: 0.75rem;
}

.site-footer a {
    display: block;
    margin-bottom: 0.45rem;
}

.site-footer .footer-email {
    display: inline;
    margin-bottom: 0;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.footer-social a {
    color: inherit;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    opacity: 0.75;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.legal-document {
    line-height: 1.75;
}

.legal-document p {
    margin: 0 0 1rem;
}

@media (max-width: 1100px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-purpose-grid,
    .home-impact-grid,
    .home-pathway-shell {
        grid-template-columns: 1fr;
    }

    .home-purpose-card {
        min-height: 15rem;
    }

    .home-impact-image-stack {
        min-height: 28rem;
        max-width: 42rem;
    }

    .home-pathway-steps article:nth-child(2),
    .home-pathway-steps article:nth-child(3) {
        transform: none;
    }

    .hero-grid,
    .catalog-layout,
    .detail-layout,
    .detail-lower-grid,
    .checkout-layout,
    .split-showcase,
    .dashboard-grid,
    .dual-section {
        grid-template-columns: 1fr;
    }

    .book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .book-grid-featured-thumbs {
        gap: 0.85rem;
    }

    .featured-app-promo {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .featured-app-copy h2 {
        font-size: 2rem;
    }

    .featured-app-actions,
    .featured-app-cta {
        width: 100%;
    }

    .featured-app-actions p {
        max-width: none;
        text-align: center;
    }

    .featured-app-preview {
        justify-content: flex-start;
    }

    .featured-phone {
        width: min(100%, 18rem);
    }

    .featured-thumb-card {
        flex-basis: 170px;
    }

    .new-books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-hero-filter .stack-form label,
    .catalog-hero-filter .stack-form .button {
        flex-basis: 100%;
    }

    .open-book-cover {
        aspect-ratio: 1.35;
    }

    .detail-open-book {
        width: min(100%, 22rem);
        aspect-ratio: 0.68;
        background: linear-gradient(135deg, rgba(30, 123, 198, 0.12), rgba(69, 184, 232, 0.12));
    }

    .detail-open-book .cover-face {
        object-fit: contain;
    }

    .book-card--wide {
        grid-column: span 1;
    }

    .compact-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1101px) {
    .featured-thumb-link {
        aspect-ratio: 0.86;
    }
}

@media (max-width: 760px) {
    .brand {
        gap: 0.7rem;
    }

    .brand-logo {
        width: 3.15rem;
        height: 3.15rem;
    }

    .brand small {
        display: none;
    }

    .home-hero {
        padding: 2.25rem 0;
    }

    .home-hero-grid {
        gap: 1.6rem;
    }

    .home-hero-title {
        max-width: 100%;
        font-size: clamp(2.05rem, 10.6vw, 3rem);
    }

    .home-hero-statement {
        font-size: 0.96rem;
    }

    .home-hero-actions .button,
    .home-hero .button-secondary {
        width: 100%;
    }

    .home-hero-chip-row {
        flex-wrap: nowrap;
        gap: 0.65rem;
        margin-inline: -1rem;
        padding: 0 1rem 0.35rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .home-hero-chip-row::-webkit-scrollbar {
        display: none;
    }

    .home-hero-chip {
        flex: 0 0 9.75rem;
        min-height: 4.1rem;
        align-items: flex-start;
        justify-content: flex-end;
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.75rem 0.85rem;
        border-radius: 8px;
        scroll-snap-align: start;
        white-space: normal;
        line-height: 1.15;
    }

    .home-hero-chip::before {
        content: attr(data-chip-index);
        color: #9fe9d4;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.08em;
    }

    .home-hero-slider {
        min-height: 21.5rem;
        border-radius: 1.35rem;
    }

    .home-hero-navigator {
        gap: 0.5rem;
    }

    .home-hero-nav {
        min-height: 2.55rem;
        padding: 0 0.65rem;
        font-size: 0.78rem;
    }

    .home-hero-nav span {
        display: none;
    }

    .home-hero-feature-card {
        display: none;
    }

    .home-purpose-section,
    .home-impact-section,
    .home-pathway-section {
        padding: 2.8rem 0;
    }

    .home-purpose-head {
        margin-bottom: 1.2rem;
    }

    .home-purpose-grid,
    .home-pathway-steps {
        grid-template-columns: 1fr;
    }

    .home-purpose-card {
        min-height: auto;
        padding: 1.2rem;
        border-radius: 1.4rem;
    }

    .home-purpose-card h3 {
        margin-top: 1rem;
        font-size: 1.28rem;
    }

    .home-impact-image-stack {
        min-height: 23rem;
    }

    .home-impact-image {
        border-width: 0.45rem;
    }

    .home-impact-image-main {
        inset: 0 10% 13% 0;
        border-radius: 1.6rem 1.6rem 0.8rem 1.6rem;
    }

    .home-impact-image-float {
        width: 48%;
        height: 42%;
        border-radius: 1.1rem;
    }

    .home-impact-actions .button {
        width: 100%;
    }

    .home-pathway-copy {
        padding: 1.35rem;
        border-radius: 1.4rem;
    }

    .home-pathway-steps article {
        min-height: auto;
        padding: 1.2rem;
    }

    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--nav-bg);
    }

    .main-nav,
    .nav-actions,
    .hero-actions,
    .action-row,
    .inline-form,
    .metric-row,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-row {
        flex-direction: row;
        align-items: center;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-copy {
        min-width: 0;
    }

    .brand strong,
    .brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cart-actions {
        justify-items: stretch;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .main-nav,
    .nav-actions {
        display: none;
    }

    .mobile-drawer-toggle {
        display: inline-grid;
        gap: 0.3rem;
        width: 3rem;
        height: 3rem;
        padding: 0.75rem 0.65rem;
        border: 1px solid rgba(20, 86, 157, 0.14);
        border-radius: 1rem;
        background: rgba(30, 123, 198, 0.08);
        box-shadow: 0 12px 24px rgba(13, 40, 95, 0.1);
        cursor: pointer;
    }

    .mobile-drawer-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: var(--accent-dark);
    }

    .mobile-drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 11;
        background: rgba(7, 24, 49, 0.58);
        opacity: 0;
        pointer-events: none;
        touch-action: none;
    }

    .mobile-drawer-panel {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 12;
        width: min(24rem, calc(100% - 1.5rem));
        max-width: 100%;
        height: 100dvh;
        padding: 1.15rem;
        background:
            linear-gradient(180deg, rgba(7, 24, 49, 0.99), rgba(13, 40, 95, 0.985) 58%, rgba(20, 86, 157, 0.98)),
            #071831;
        border-left: 1px solid rgba(191, 234, 255, 0.16);
        box-shadow: -18px 0 42px rgba(13, 40, 95, 0.26);
        transform: translate3d(100%, 0, 0);
        transition: transform 180ms ease, opacity 180ms ease;
        opacity: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        display: grid;
        align-content: start;
        gap: 1rem;
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
    }

    .mobile-drawer-input:checked ~ .mobile-drawer-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-drawer-input:checked ~ .mobile-drawer-panel {
        display: grid;
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .mobile-drawer-head small {
        color: #bfeaff;
    }

    .mobile-drawer-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.8rem;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mobile-drawer-nav a,
    .mobile-drawer-close {
        border: 1px solid rgba(191, 234, 255, 0.18);
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    .mobile-drawer-nav a:hover,
    .mobile-drawer-nav a:focus-visible,
    .mobile-drawer-close:hover,
    .mobile-drawer-close:focus-visible {
        background: rgba(30, 123, 198, 0.28);
        border-color: rgba(191, 234, 255, 0.32);
    }

    .mobile-drawer-close {
        justify-content: center;
        min-width: 2.9rem;
        width: 2.9rem;
        height: 2.9rem;
        padding: 0;
        font-size: 1.5rem;
        line-height: 1;
        font-weight: 700;
        white-space: nowrap;
        border-radius: 999px;
    }

    .mobile-drawer-nav span {
        background: #d9eefc;
        color: #14569d;
    }

    .mobile-drawer-nav {
        margin-top: 0.25rem;
    }

    .mobile-drawer-actions .button {
        border-color: rgba(191, 234, 255, 0.28);
        background: #1e7bc6;
        color: #ffffff;
    }

    .mobile-drawer-actions {
        margin-top: 0.35rem;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .book-grid,
    .tag-grid,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .new-books-grid {
        grid-template-columns: 1fr;
    }

    .home-all-books-grid .book-card {
        flex-direction: row;
        align-items: stretch;
        gap: 0.9rem;
        padding: 0.85rem;
    }

    .home-all-books-grid .book-cover {
        flex: 0 0 6.5rem;
        width: 6.5rem;
        margin: 0;
        aspect-ratio: 0.72;
    }

    .home-all-books-grid .book-meta {
        flex: 1 1 auto;
        min-width: 0;
    }

    .home-all-books-grid .book-meta h3 {
        font-size: 1rem;
    }

    .home-all-books-grid .book-summary {
        -webkit-line-clamp: 3;
    }

    .home-all-books-grid .book-card-footer {
        margin-top: auto;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
    }

    .catalog-results .book-grid-compact-cards .book-card {
        flex-direction: row;
        align-items: stretch;
        gap: 0.85rem;
        padding: 0.8rem;
    }

    .catalog-results .book-grid-compact-cards .book-cover {
        flex: 0 0 6.25rem;
        width: 6.25rem;
        margin: 0;
        aspect-ratio: 0.72;
    }

    .book-meta-top {
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .book-meta-top .book-badge-row {
        justify-content: flex-start;
    }

    .catalog-results .book-grid-compact-cards .book-meta {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0;
    }

    .catalog-results .book-grid-compact-cards .book-meta h3 {
        font-size: 1rem;
    }

    .catalog-results .book-grid-compact-cards .book-summary {
        -webkit-line-clamp: 3;
    }

    .catalog-results .book-grid-compact-cards .book-card-footer {
        margin-top: auto;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
    }

    .book-grid-featured-thumbs {
        gap: 0.75rem;
    }

    .featured-thumb-card {
        flex-basis: 42vw;
    }

    .open-book-cover {
        grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr);
        aspect-ratio: 1.15;
    }

    .detail-open-book {
        width: min(100%, 20rem);
        aspect-ratio: 0.68;
    }

    .detail-open-book .cover-face {
        object-fit: contain;
    }

    .open-book-label {
        top: 0.55rem;
        left: 0.55rem;
        padding: 0.28rem 0.48rem;
        font-size: 0.62rem;
    }

    .open-book-label--spine {
        left: 50%;
    }

    .open-book-spine-title {
        font-size: 0.82rem;
    }

    .open-book-spine-author {
        font-size: 0.58rem;
    }

    .hero-copy h1,
    .page-header h1,
    .detail-panel h1,
    .auth-panel h1 {
        font-size: 2.3rem;
    }

    .login-panel h1 {
        font-size: 1.7rem;
        line-height: 1.12;
    }

    .cover-stack-stage {
        min-height: auto;
    }

    .cover-stack:not(.has-back-cover) .cover-stack-stage {
        display: grid;
        gap: 1rem;
    }

    .cover-stack:not(.has-back-cover) .cover-stack-front,
    .cover-stack:not(.has-back-cover) .cover-stack-back {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: none;
        transform: none;
    }

    .cover-stack.has-back-cover .cover-stack-stage {
        display: block;
        min-height: 24rem;
    }

    .cover-stack.has-back-cover .cover-stack-front,
    .cover-stack.has-back-cover .cover-stack-back {
        position: absolute;
        width: 74%;
        max-width: none;
    }

    .cover-stack.has-back-cover .cover-stack-front {
        left: 4%;
        top: 2.15rem;
        z-index: 2;
        transform: rotate(-5deg);
    }

    .cover-stack.has-back-cover .cover-stack-back {
        right: 4%;
        top: 0;
        z-index: 1;
        transform: rotate(7deg);
    }

    .cover-stack.has-back-cover .cover-stack-label {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.35rem 0.6rem;
        font-size: 0.68rem;
    }

    .detail-cover.placeholder,
    .cover-stack-back {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: none;
        transform: none;
    }

    .panel {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .workspace-reader-head {
        align-items: flex-start;
    }

    .workspace-reader-panel {
        min-width: 0;
    }

    .workspace-reader-head-title {
        min-width: 0;
    }

    .workspace-reader-head-text {
        overflow-wrap: anywhere;
    }

    .workspace-reader-head .workspace-page-meta {
        display: none;
    }

    .workspace-toolbar,
    .workspace-bottom-nav {
        width: 100%;
    }

    .workspace-toolbar {
        align-items: stretch;
        gap: 0.55rem;
    }

    .workspace-toolbar .button,
    .workspace-bottom-nav .button {
        flex: 1 1 9rem;
    }

    .workspace-bottom-nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.45rem;
    }

    .workspace-bottom-nav .button {
        flex: 1 1 0;
        min-width: 0;
        padding-inline: 0.55rem;
    }

    .workspace-bottom-page-meta {
        display: inline-flex;
        flex: 0 0 auto;
        justify-content: center;
        font-size: 0.82rem;
    }

    .workspace-bookmark-meta {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .workspace-toolbar-page-meta {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        white-space: nowrap;
    }

    .workspace-pdf-width-field {
        flex: 1 1 0;
        width: auto;
        margin-left: 0;
        justify-content: space-between;
        min-width: 0;
    }

    .workspace-pdf-zoom {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        margin-left: 0;
        justify-content: space-between;
    }

    .workspace-pdf-zoom .button {
        flex: 0 0 auto;
        min-width: 2rem;
        padding: 0.42rem 0.45rem;
        font-size: 0.82rem;
    }

    .workspace-pdf-zoom .preview-pdf-zoom-value {
        min-width: 2.35rem;
        font-size: 0.78rem;
    }

    .workspace-pdf-width-field .preview-reader-select {
        width: min(7rem, 100%);
    }

    .workspace-toolbar > #workspace-mark-stop {
        order: 1;
        flex: 1 1 calc(50% - 0.3rem);
    }

    .workspace-toolbar > .workspace-pdf-width-field {
        order: 2;
        flex: 1 1 calc(50% - 0.3rem);
    }

    .workspace-toolbar > .workspace-bookmark-meta {
        order: 3;
    }

    .workspace-toolbar > .workspace-toolbar-page-meta {
        order: 4;
    }

    .workspace-toolbar > .workspace-pdf-zoom {
        order: 5;
        flex: 1 1 8.5rem;
    }

    .workspace-reader-panel > .preview-scroll-shell {
        overflow-x: auto;
        padding-right: 0;
    }

    .workspace-reader-panel > .preview-scroll-shell-pdf .preview-page-image {
        min-width: 100%;
        max-width: none;
    }

    .reader-tools .preview-reader-controls {
        align-items: stretch;
    }

    .action-row {
        width: 100%;
        flex-wrap: wrap;
    }

    .action-row .button,
    .action-row > .button,
    .action-row > a.button,
    .action-row > span.button,
    .action-row > button.button {
        width: 100%;
    }

    .preview-dialog {
        width: calc(100% - 1rem);
        max-height: calc(100dvh - 1rem);
        margin-block: 0.5rem;
    }

    .preview-dialog-shell {
        padding: 0.75rem;
        border-radius: 20px;
    }

    .preview-dialog.preview-dialog-pdf {
        width: calc(100% - 1rem);
        height: auto;
        max-height: calc(100dvh - 1rem);
    }

    .preview-dialog.preview-dialog-pdf .preview-dialog-shell {
        gap: 0.35rem;
        height: auto;
        max-height: calc(100dvh - 1rem);
        padding: 0.45rem;
    }

    .preview-dialog.preview-dialog-pdf .preview-scroll-shell-dialog {
        height: auto;
        max-height: none;
    }

    .preview-dialog-head {
        align-items: flex-start;
    }

    .preview-reader-toolbar,
    .reader-tools.preview-reader-toolbar {
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .preview-pdf-actions {
        width: 100%;
        margin-left: 0;
        justify-content: center;
        column-gap: 0.35rem;
        row-gap: 0.55rem;
        flex-wrap: wrap;
    }

    .preview-pdf-actions .button {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.52rem 0.45rem;
        font-size: 0.82rem;
    }

    .preview-pdf-zoom {
        width: 100%;
        flex: 0 0 100%;
        justify-content: space-between;
        gap: 0.22rem;
        padding: 0.12rem;
        order: 0;
    }

    .preview-pdf-zoom .button {
        flex: 0 0 auto;
        min-width: 1.8rem;
        padding: 0.42rem 0.45rem;
        font-size: 0.82rem;
    }

    .preview-pdf-zoom-value {
        min-width: 2.4rem;
        font-size: 0.78rem;
    }

    .preview-pdf-page-label {
        flex: 0 0 auto;
        font-size: 0.78rem;
        text-align: center;
    }

    .preview-reader-controls {
        width: 100%;
        gap: 0.6rem;
    }

    .preview-reader-field {
        flex: 1 1 100%;
        justify-content: space-between;
    }

    .preview-reader-select {
        min-width: 0;
        width: min(11rem, 100%);
    }

    .preview-scroll-shell-pdf {
        padding: 0;
        border-radius: 16px;
    }

    .preview-page-image {
        border-radius: 10px;
    }

    .reader-tool-btn {
        width: 100%;
    }

    .preview-ratio-controls {
        gap: 0.5rem;
    }

    .preview-ratio-label {
        width: 100%;
    }

    .preview-ratio-option {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
        text-align: center;
    }

    .preview-scroll-shell {
        max-height: 28rem;
    }

    .preview-dialog.preview-dialog-pdf .preview-scroll-shell,
    .preview-dialog.preview-dialog-pdf .preview-scroll-shell-dialog {
        flex: 1 1 0;
        height: auto;
        min-height: 0;
        max-height: none;
        padding-left: 0;
        padding-right: 0;
        overflow-x: auto;
        scrollbar-gutter: auto;
    }

    .preview-dialog.preview-dialog-pdf [data-preview-free-pdf] .preview-page-frame {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .preview-dialog.preview-dialog-pdf [data-preview-free-pdf] {
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        max-height: none;
        align-self: stretch;
    }

    .preview-dialog.preview-dialog-pdf [data-preview-free-pdf] .preview-page-image {
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;
        object-fit: initial;
    }
}

@media (max-width: 430px) {
    .workspace-toolbar,
    .preview-reader-toolbar {
        gap: 0.5rem;
    }

    .workspace-toolbar > #workspace-mark-stop,
    .workspace-toolbar > .workspace-pdf-width-field {
        flex: 1 1 calc(50% - 0.25rem);
    }

    .workspace-toolbar > .workspace-bookmark-meta {
        flex: 1 1 100%;
    }

    .workspace-toolbar > .workspace-toolbar-page-meta {
        flex: 0 0 auto;
    }

    .workspace-toolbar > .workspace-pdf-zoom {
        flex: 1 1 7rem;
    }

    .workspace-pdf-zoom .button {
        min-width: 1.75rem;
        padding-inline: 0.32rem;
    }

    .workspace-pdf-zoom .preview-pdf-zoom-value {
        min-width: 2rem;
        font-size: 0.72rem;
    }

    .workspace-pdf-width-field .preview-reader-select {
        width: min(5.8rem, 100%);
    }

    .workspace-bottom-nav .button {
        flex: 1 1 0;
        flex-basis: 0;
    }

    .preview-pdf-actions .button {
        flex: 1 1 0;
        flex-basis: 0;
        padding-inline: 0.35rem;
    }

    .preview-pdf-zoom .button {
        min-width: 1.65rem;
        padding-inline: 0.35rem;
    }

    .preview-pdf-zoom-value {
        min-width: 2.05rem;
        font-size: 0.72rem;
    }

    .preview-pdf-page-label {
        font-size: 0.72rem;
    }

    .preview-dialog-head h2 {
        font-size: 1.25rem;
    }

    .preview-dialog-close {
        width: 2.35rem;
        height: 2.35rem;
    }
}

/* Format selection styles */
.format-selection {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    display: grid;
    gap: 0.7rem;
}

.format-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0;
}

.format-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.format-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
    min-height: 4.5rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.format-choice:hover {
    border-color: rgba(30, 123, 198, 0.28);
    box-shadow: 0 12px 24px rgba(42, 22, 10, 0.08);
    transform: translateY(-1px);
}

.format-choice input[type="radio"] {
    margin: 0.2rem 0 0;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.format-choice-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.format-choice-copy strong {
    font-size: 0.96rem;
    line-height: 1.2;
    color: var(--text);
}

.format-choice-copy small {
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--muted);
}

.format-choice:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(30, 123, 198, 0.1), rgba(30, 123, 198, 0.04));
    box-shadow: 0 10px 24px rgba(30, 123, 198, 0.1);
}

.format-choice:has(input[type="radio"]:checked) .format-choice-copy strong {
    color: var(--accent-dark);
}

@media (max-width: 768px) {
    .format-choice-list {
        grid-template-columns: 1fr;
    }

    .format-choice {
        width: 100%;
        min-height: 0;
    }

    .format-choice-copy strong {
        font-size: 0.92rem;
    }

    .format-choice-copy small {
        font-size: 0.78rem;
    }
}

/* Cart format styles */
.format-label-inline {
    font-size: 0.85rem;
    color: var(--muted);
    margin-right: 0.5rem;
}

.format-switch-form {
    display: inline-flex;
    align-items: center;
    margin: 0.5rem 0;
}

.format-switch-form select {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-strong);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.format-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0.5rem 0;
}

.format-tag {
    color: var(--accent);
    font-weight: 500;
}

/* Checkout form styles */
.stack-form h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-strong);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group .error {
    font-size: 0.85rem;
    color: #c0392b;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.75rem 1rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease;
    overflow-wrap: anywhere;
}

.payment-options label:hover {
    border-color: var(--accent-soft);
}

.payment-options input[type="radio"] {
    flex: 0 0 auto;
    margin: 0;
}

.payment-options label:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: rgba(30, 123, 198, 0.08);
}

.preorder-banner-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.preorder-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    background: #28a745;
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.preorder-text {
    color: var(--muted);
}

.preorder-savings {
    padding: 0.2rem 0.5rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Home pre-order banner compact */
.home-preorder-compact .home-preorder-banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #17324d 0%, #0f766e 100%);
    color: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.12);
}

.home-preorder-badge {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-preorder-banner-content h2 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.home-preorder-banner-content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    flex: 1 1 auto;
    min-width: 200px;
}

.home-preorder-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: white;
    color: #17324d;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Banner styles */
.banner-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--premium) 0%, var(--premium-dark) 100%);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a2e;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--premium) 0%, var(--premium-dark) 100%);
    color: #1a1a2e;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
}

.solvis-page {
    position: relative;
    padding: 3rem 0 4.5rem;
}

.solvis-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 34rem;
    background:
        radial-gradient(circle at top left, rgba(30, 123, 198, 0.2), transparent 28rem),
        radial-gradient(circle at top right, rgba(69, 184, 232, 0.18), transparent 26rem),
        linear-gradient(180deg, rgba(244, 250, 255, 0.94), rgba(244, 250, 255, 0));
    pointer-events: none;
}

.solvis-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.6rem;
}

.solvis-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 2rem;
    align-items: center;
    padding: 1.2rem 0 0.5rem;
}

.solvis-hero-copy h1,
.solvis-story-intro h2,
.solvis-focus-copy h2,
.solvis-cta h2 {
    margin: 0.35rem 0 1rem;
}

.solvis-hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.solvis-lead {
    max-width: 42rem;
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--text);
}

.solvis-hero-copy p,
.solvis-story-card p,
.solvis-focus-copy p,
.solvis-principle-card p,
.solvis-belief-copy p,
.solvis-cta p {
    color: var(--muted);
    line-height: 1.8;
}

.solvis-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.solvis-hero-points span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(30, 123, 198, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 800;
}

.solvis-hero-media {
    display: flex;
    justify-content: center;
}

.solvis-portrait-card {
    position: relative;
    width: min(100%, 29rem);
    padding: 1rem;
    border: 1px solid rgba(30, 123, 198, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7, 24, 49, 0.96), rgba(20, 86, 157, 0.9)),
        #071831;
    box-shadow: 0 28px 60px rgba(13, 40, 95, 0.16);
}

.solvis-portrait-card img {
    width: 100%;
    height: 40rem;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
}

.solvis-portrait-note {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    gap: 0.18rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    background: rgba(7, 24, 49, 0.82);
    backdrop-filter: blur(10px);
    color: white;
}

.solvis-portrait-note span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.solvis-story,
.solvis-focus,
.solvis-principles,
.solvis-belief,
.solvis-cta {
    position: relative;
}

.solvis-story-intro h2,
.solvis-focus-copy h2,
.solvis-belief h2,
.solvis-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.solvis-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    align-items: start;
}

.solvis-story-card {
    display: grid;
    gap: 0.9rem;
}

.solvis-story-card:first-child {
    max-width: 34rem;
}

.solvis-story-card-accent {
    background:
        linear-gradient(180deg, rgba(7, 24, 49, 0.96), rgba(13, 40, 95, 0.94)),
        rgba(255, 255, 255, 0.08);
    color: white;
}

.solvis-story-card-accent p,
.solvis-story-card-accent blockquote {
    color: rgba(255, 255, 255, 0.9);
}

.solvis-story-card-accent blockquote {
    margin: 0.4rem 0 0;
    padding-left: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    font-family: "Fraunces", serif;
    font-size: 1.35rem;
    line-height: 1.4;
}

.solvis-focus-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.8fr);
    gap: 1.25rem;
    align-items: center;
}

.solvis-focus-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.solvis-focus-list li {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(30, 123, 198, 0.1);
    font-weight: 700;
}

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

.solvis-principle-card h3 {
    margin: 0.6rem 0 0.75rem;
    font-size: 1.35rem;
}

.solvis-belief {
    display: grid;
    gap: 1rem;
}

.solvis-belief-copy {
    display: grid;
    gap: 0.95rem;
}

.solvis-belief-close {
    font-weight: 700;
    color: var(--text);
}

.solvis-cta {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.7rem;
    padding: 2rem;
    background:
        radial-gradient(circle at top center, rgba(30, 123, 198, 0.16), transparent 22rem),
        linear-gradient(135deg, rgba(245, 251, 255, 0.95), rgba(231, 244, 255, 0.95));
    border-radius: 8px;
}

.solvis-cta p {
    max-width: 40rem;
    margin: 0;
}

.mentorship-banner-section {
    position: relative;
    width: 100%;
    padding: 2.8rem 0;
    background-image:
        linear-gradient(120deg, rgba(9, 30, 74, 0.78), rgba(15, 78, 165, 0.55)),
        url("/static/main/images/menta.9f62339358f6.webp");
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background-attachment: fixed;
}

.mentorship-banner-content {
    color: #ffffff;
}

.mentorship-banner-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 18rem);
    gap: 1.25rem;
    align-items: center;
}

.mentorship-banner-content .eyebrow {
    color: rgba(255, 255, 255, 0.84);
}

.mentorship-banner-content h1 {
    color: #ffffff;
    margin: 0;
}

.mentorship-banner-content .lead {
    color: rgba(255, 255, 255, 0.92);
}

.mentorship-logo-wrap {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 15rem;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.mentorship-logo-blend {
    display: block;
    width: 100%;
    height: 19rem;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    mix-blend-mode: normal;
    opacity: 1;
    filter: none;
}

.mentorship-hero-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    background: rgba(7, 24, 49, 0.82);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.mentorship-hero-badge span {
    color: #bfeaff;
    font-size: 0.86rem;
    line-height: 1.35;
}

.mentorship-banner-section + .content-section .tag-grid {
    margin-top: 0;
}

.mentorship-banner-section + .content-section .tag-card {
    position: relative;
    overflow: hidden;
    min-height: 8.5rem;
    padding: 1.15rem;
    border-radius: 8px;
    border: 1px solid rgba(30, 123, 198, 0.12);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(13, 40, 95, 0.07);
}

.mentorship-banner-section + .content-section .tag-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.35rem;
    background: linear-gradient(180deg, #1e7bc6, #45b8e8);
}

.mentorship-banner-section + .content-section .tag-card p {
    margin: 0.25rem 0 0;
    color: #263b62;
    line-height: 1.55;
}

.mentorship-banner-overview {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(2px);
}

.mentorship-banner-overview h2 {
    margin: 0.25rem 0 0.45rem;
    color: #ffffff;
}

.mentorship-banner-overview p {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.94);
    max-width: 64rem;
}

.mentorship-banner-overview .mentorship-positioning-statement {
    margin-top: 0.85rem;
    padding-left: 0.85rem;
    border-left: 3px solid rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.mentorship-journey-dialog {
    width: min(30rem, calc(100% - 2rem));
}

.mentorship-journey-dialog .preview-dialog-shell {
    padding: 1.25rem;
}

@media (max-width: 900px) {
    .mentorship-banner-section {
        background-attachment: scroll;
    }

    .mentorship-banner-head {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .mentorship-logo-wrap {
        width: min(100%, 20rem);
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .mentorship-banner-section {
        padding: 1.65rem 0 1.85rem;
        background-position: center top;
    }

    .mentorship-banner-head {
        gap: 0.9rem;
    }

    .mentorship-banner-content h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .mentorship-banner-content .lead {
        font-size: 1rem;
        line-height: 1.5;
    }

    .mentorship-logo-wrap {
        width: 100%;
        max-width: 18rem;
        min-height: 0;
        padding: 0.45rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.16);
    }

    .mentorship-logo-blend {
        width: 100%;
        height: 13.5rem;
    }

    .mentorship-hero-badge {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        padding: 0.65rem 0.75rem;
    }

    .mentorship-banner-overview {
        margin-top: 1.05rem;
        padding: 1rem;
        border-radius: 8px;
        background: rgba(7, 24, 49, 0.52);
    }

    .mentorship-banner-overview h2 {
        font-size: 1.45rem;
        line-height: 1.16;
    }

    .mentorship-banner-overview p {
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .mentorship-banner-overview .mentorship-positioning-statement {
        padding-left: 0.75rem;
        font-size: 0.96rem;
    }

    .mentorship-banner-section + .content-section {
        padding-top: 1.45rem;
    }

    .tag-grid {
        gap: 0.75rem;
        margin-top: 0;
    }

    .tag-card {
        padding: 0.9rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.86);
        box-shadow: 0 12px 24px rgba(13, 40, 95, 0.06);
    }

    .tag-card p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .mentorship-audience-panel,
    .mentorship-cta-panel {
        border-radius: 8px;
        box-shadow: 0 16px 32px rgba(13, 40, 95, 0.08);
    }

    .mentorship-audience-list {
        display: grid;
        gap: 0.55rem;
        padding-left: 0 !important;
        list-style: none;
        line-height: 1.45 !important;
    }

    .mentorship-audience-list li {
        padding: 0.75rem 0.85rem;
        border: 1px solid rgba(30, 123, 198, 0.12);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.72);
        color: var(--text);
        font-weight: 700;
    }

    .mentorship-cta-panel .action-row {
        width: 100%;
        margin-top: 0.35rem;
    }

    .mentorship-cta-panel .button {
        width: 100%;
    }
}

@media (max-width: 960px) {
    .solvis-hero,
    .solvis-story-grid,
    .solvis-focus-panel,
    .solvis-principles {
        grid-template-columns: 1fr;
    }

    .solvis-portrait-card {
        width: min(100%, 26rem);
    }
}

@media (max-width: 760px) {
    .solvis-page {
        padding: 1.55rem 0 3rem;
    }

    .solvis-hero {
        gap: 1.1rem;
        padding-top: 0.2rem;
    }

    .solvis-hero-copy h1 {
        font-size: 2.25rem;
        line-height: 1.04;
        letter-spacing: 0;
    }

    .solvis-lead {
        font-size: 1rem;
        line-height: 1.55;
    }

    .solvis-hero-copy p,
    .solvis-story-card p,
    .solvis-focus-copy p,
    .solvis-principle-card p,
    .solvis-belief-copy p,
    .solvis-cta p {
        line-height: 1.62;
    }

    .solvis-portrait-card {
        padding: 0.65rem;
        border-radius: 8px;
    }

    .solvis-portrait-card img {
        height: 21rem;
        border-radius: 8px;
    }

    .solvis-portrait-note {
        left: 0.95rem;
        right: 0.95rem;
        bottom: 0.95rem;
        padding: 0.75rem 0.85rem;
        border-radius: 8px;
    }

    .solvis-portrait-note span {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .solvis-hero-points {
        gap: 0.55rem;
    }

    .solvis-hero-points span {
        width: 100%;
        justify-content: center;
        text-align: center;
        border-radius: 8px;
    }

    .solvis-story,
    .solvis-focus,
    .solvis-principles,
    .solvis-belief,
    .solvis-cta {
        margin-top: 0.15rem;
    }

    .solvis-story-card,
    .solvis-focus-panel,
    .solvis-principle-card,
    .solvis-belief {
        border-radius: 8px;
    }

    .solvis-focus-panel {
        gap: 1rem;
    }

    .solvis-focus-list {
        gap: 0.55rem;
    }

    .solvis-focus-list li {
        padding: 0.75rem 0.85rem;
        line-height: 1.45;
    }

    .solvis-cta {
        padding: 1.5rem 1.2rem;
    }

    .solvis-cta .button {
        width: 100%;
    }
}

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

.bleez-widget {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 40;
    display: grid;
    justify-items: end;
    gap: 0.9rem;
}

.floating-whatsapp {
    position: fixed;
    right: 1.2rem;
    bottom: 6.4rem;
    z-index: 39;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1fa855, #25d366);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(10, 61, 29, 0.24);
}

.floating-whatsapp i {
    font-size: 1.25rem;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    opacity: 0.92;
}

.bleez-launcher {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #114b8a, #0d7c86);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(11, 42, 77, 0.26);
    cursor: pointer;
}

.bleez-launcher-badge {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.bleez-launcher-copy {
    font-weight: 700;
}

.bleez-panel {
    width: min(24rem, calc(100vw - 1.6rem));
    max-height: min(38rem, calc(100vh - 7rem));
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    border-radius: 24px;
    border: 1px solid rgba(17, 75, 138, 0.12);
    background:
        radial-gradient(circle at top right, rgba(17, 75, 138, 0.12), transparent 15rem),
        linear-gradient(180deg, #fdfefe, #eef6f8);
    box-shadow: 0 28px 65px rgba(13, 45, 83, 0.28);
}

.bleez-panel[hidden] {
    display: none !important;
}

.bleez-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(13, 77, 138, 0.1);
}

.bleez-panel-head p {
    margin: 0.3rem 0 0;
    color: rgba(46, 36, 30, 0.76);
    font-size: 0.92rem;
}

.bleez-close {
    align-self: start;
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid rgba(17, 75, 138, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #1f5b96;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.bleez-thread {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    overflow-y: auto;
}

.bleez-message {
    max-width: 88%;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
}

.bleez-message p {
    margin: 0;
    line-height: 1.5;
}

.bleez-message ul,
.bleez-message ol {
    margin: 0;
    padding-left: 1.15rem;
}

.bleez-message li + li {
    margin-top: 0.35rem;
}

.bleez-message a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.bleez-message code {
    padding: 0.14rem 0.35rem;
    border-radius: 0.45rem;
    background: rgba(15, 63, 112, 0.08);
    font-size: 0.92em;
}

.bleez-message pre {
    margin: 0;
    padding: 0.85rem;
    overflow-x: auto;
    border-radius: 0.9rem;
    background: rgba(15, 63, 112, 0.08);
}

.bleez-message pre code {
    padding: 0;
    background: transparent;
}

.bleez-message blockquote {
    margin: 0;
    padding-left: 0.8rem;
    border-left: 3px solid rgba(17, 75, 138, 0.28);
    color: inherit;
}

.bleez-message-assistant {
    justify-self: start;
    background: #ffffff;
    color: #21313b;
    border: 1px solid rgba(13, 77, 138, 0.1);
}

.bleez-message-user {
    justify-self: end;
    background: linear-gradient(135deg, #114b8a, #167f88);
    color: #ffffff;
}

.bleez-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0 1rem 1rem;
}

.bleez-prompts[hidden] {
    display: none !important;
}

.bleez-prompts button {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 75, 138, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: #1a3b59;
    cursor: pointer;
}

.bleez-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
    padding: 0 1rem 1rem;
}

.bleez-form input {
    min-width: 0;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(17, 75, 138, 0.18);
    background: rgba(255, 255, 255, 0.98);
}

.bleez-form button {
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 14px;
    background: #153f70;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 760px) {
    .floating-whatsapp {
        right: 0.75rem;
        bottom: 5.9rem;
        padding: 0.72rem 0.9rem;
        font-size: 0.92rem;
    }

    .bleez-widget {
        left: auto;
        right: 0.75rem;
        bottom: 0.75rem;
        justify-items: end;
    }

    .bleez-launcher-copy {
        display: inline;
        font-size: 0.92rem;
    }

    .bleez-launcher {
        width: auto;
        max-width: min(100%, 15rem);
        justify-content: center;
        gap: 0.6rem;
        padding: 0.72rem 0.9rem;
    }

    .bleez-launcher-badge {
        width: 1.95rem;
        height: 1.95rem;
        font-size: 0.84rem;
    }

    .bleez-panel {
        width: 100%;
        max-height: min(72vh, calc(100vh - 5.75rem));
        border-radius: 22px;
    }

    .bleez-panel-head {
        padding: 0.95rem 0.95rem 0.8rem;
    }

    .bleez-thread {
        padding: 0.9rem;
    }

    .bleez-message {
        max-width: 100%;
    }

    .bleez-prompts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding: 0 0.9rem 0.9rem;
    }

    .bleez-prompts button {
        min-height: 2.8rem;
        border-radius: 16px;
        text-align: center;
    }

    .bleez-form {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 0 0.9rem 0.9rem;
    }

    .bleez-form button {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .bleez-launcher-copy {
        display: none;
    }

    .bleez-launcher {
        padding: 0.68rem;
        min-width: 3.1rem;
    }

    .bleez-launcher-badge {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.78rem;
    }

    .bleez-prompts {
        grid-template-columns: 1fr;
    }

    .bleez-panel {
        max-height: min(76vh, calc(100vh - 5rem));
    }
}

.about-author-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f4fcf8 0%, #e7f6ef 100%);
}

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

.about-author-image {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-author-title {
    margin: 0 0 1rem;
    font-size: 2rem;
}

.about-author-biography {
    margin: 0 0 1rem;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-author-announcement {
    display: inline-grid;
    gap: 0.3rem;
    margin: 0 0 1.25rem;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffe08a, #ff9f5a);
    color: #5b2d00;
    box-shadow: 0 14px 30px rgba(181, 97, 22, 0.18);
}

.about-author-announcement strong {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-author-announcement span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.about-author-quote {
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 4px solid #1e7bc6;
    color: #555;
    font-style: italic;
}

.about-author-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    background: #1e7bc6;
    color: #ffffff;
    text-decoration: none;
}

.about-author-mobile-dots {
    display: none;
}

.about-author-dot {
    width: 0.7rem;
    height: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(30, 123, 198, 0.24);
    cursor: pointer;
}

.about-author-dot.is-active {
    background: #1e7bc6;
    transform: scale(1.05);
}

.latest-release-section {
    padding: 4.5rem 0;
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(241, 248, 255, 0.9) 100%),
        #ffffff;
}

.latest-release-grid {
    display: grid;
    grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(30, 123, 198, 0.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(13, 40, 95, 0.12);
}

.latest-release-image-panel {
    position: relative;
    min-height: 31rem;
    padding: clamp(1.35rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(13, 40, 95, 0.96), rgba(30, 123, 198, 0.9) 58%, rgba(69, 184, 232, 0.84)),
        #0d285f;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

.latest-release-image-panel::before {
    content: "New";
    position: absolute;
    top: 1.35rem;
    left: 1.35rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.latest-release-image {
    display: block;
    width: min(78%, 19rem);
    max-height: 27rem;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.latest-release-copy-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.7rem, 4vw, 3.6rem);
}

.latest-release-inline-cover {
    display: none;
}

.latest-release-title {
    max-width: 38rem;
    margin: 0.75rem 0 0;
    color: #0d285f;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.04;
}

.latest-release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.latest-release-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 2.15rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(30, 123, 198, 0.09);
    color: #14569d;
    font-size: 0.88rem;
    font-weight: 900;
}

.latest-release-description {
    max-width: 42rem;
    margin: 1.25rem 0 0;
    color: #4a638f;
    font-size: 1.06rem;
    line-height: 1.72;
}

.latest-release-reviews {
    margin-top: 1.35rem;
    margin-bottom: 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(30, 123, 198, 0.12);
}

.latest-release-review-label {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #0d285f;
}

.latest-release-review-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.latest-release-stars {
    display: flex;
    color: #ffc107;
}

.latest-release-review-summary {
    color: #4a638f;
}

.latest-release-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.6rem;
}

.latest-release-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.82rem 1.45rem;
    border-radius: 6px;
    background: #1e7bc6;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(30, 123, 198, 0.22);
    text-decoration: none;
}

.latest-release-sample {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.82rem 1.25rem;
    border: 1px solid rgba(30, 123, 198, 0.18);
    border-radius: 6px;
    background: #ffffff;
    color: #14569d;
    font-weight: 900;
    text-decoration: none;
}

.latest-release-mobile-dots {
    display: none;
}

.latest-release-dot {
    width: 0.7rem;
    height: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(30, 123, 198, 0.24);
    cursor: pointer;
}

.latest-release-dot.is-active {
    background: #1e7bc6;
    transform: scale(1.05);
}

.testimonials-section {
    padding: 4rem 0;
    background: #ffffff;
}

.testimonials-head {
    margin-bottom: 3rem;
    text-align: center;
    justify-content: center;
}

.testimonials-title {
    margin: 0;
    font-size: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(14, 109, 89, 0.12);
}

.testimonial-stars {
    display: flex;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.testimonial-card-title {
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.testimonial-card-comment {
    margin: 0 0 1rem;
    color: #666;
    line-height: 1.6;
}

.testimonial-card-meta {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.88);
    }

    .cart-item + .cart-item {
        margin-top: 0.9rem;
    }

    .cart-item:first-child,
    .cart-item:last-child {
        padding: 1rem;
    }

    .cart-item h2 {
        margin: 0;
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .format-switch-form {
        display: grid;
        gap: 0.5rem;
    }

    .format-label-inline {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--muted);
    }

    .cart-item-total {
        font-size: 1.2rem;
    }

    .cart-actions {
        justify-items: stretch;
    }

    .cart-actions .inline-form {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0.65rem;
    }

    .cart-actions input[type="number"] {
        min-height: 3rem;
    }

    .cart-actions form,
    .cart-actions .button,
    .order-summary .button {
        width: 100%;
    }

    .order-summary {
        position: static;
        top: auto;
    }

    .order-summary h2 {
        margin-top: 0;
    }

    .testimonials-section {
        padding: 2.6rem 0;
    }

    .testimonials-head {
        margin-bottom: 1.6rem;
    }

    .testimonials-title {
        font-size: 1.65rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.2rem 1rem;
        border-radius: 18px;
    }

    .testimonial-card-title {
        font-size: 1rem;
    }

    .testimonial-card-comment {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .testimonial-card-meta {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .latest-release-section {
        padding: 2.5rem 0;
    }

    .latest-release-mobile-dots {
        display: none;
    }

    .latest-release-grid {
        display: block;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .latest-release-image-panel {
        display: none;
    }

    .latest-release-grid::-webkit-scrollbar {
        display: none;
    }

    .latest-release-copy-panel {
        min-width: 0;
        width: 100%;
    }

    .latest-release-copy-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.55rem 1.35rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.74);
        border: 1px solid rgba(203, 149, 79, 0.16);
        box-shadow: 0 16px 32px rgba(170, 118, 58, 0.1);
    }

    .latest-release-inline-cover {
        display: block;
        width: min(46%, 8.5rem);
        aspect-ratio: 2 / 3;
        object-fit: cover;
        border-radius: 14px;
        margin: 1rem auto 1.15rem;
        box-shadow: 0 16px 32px rgba(13, 40, 95, 0.18);
    }

    .latest-release-title {
        font-size: 1.7rem;
    }

    .latest-release-description {
        font-size: 1rem;
    }

    .latest-release-review-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .latest-release-cta {
        width: 100%;
        text-align: center;
    }

    .latest-release-sample {
        width: 100%;
        text-align: center;
    }

    .about-author-section {
        padding: 2.5rem 0;
    }

    .about-author-mobile-dots {
        display: none;
    }

    .about-author-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: center;
        justify-items: center;
    }

    .about-author-image-panel,
    .about-author-copy-panel {
        min-width: 0;
    }

    .about-author-image-panel {
        width: min(46vw, 10.5rem);
    }

    .about-author-copy-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        padding: 1.3rem 1.15rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(30, 123, 198, 0.12);
        box-shadow: 0 16px 32px rgba(17, 75, 138, 0.08);
    }

    .about-author-image {
        width: 100%;
        aspect-ratio: 1;
        height: auto;
        min-height: 0;
        object-fit: cover;
        object-position: top center;
        border-radius: 50%;
        border: 4px solid rgba(255, 255, 255, 0.92);
        box-shadow: 0 16px 34px rgba(17, 75, 138, 0.18);
    }

    .about-author-title {
        font-size: 1.5rem;
        line-height: 1.15;
    }

    .about-author-biography {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .about-author-announcement span {
        font-size: 0.95rem;
    }

    .about-author-quote {
        margin: 1.4rem 0;
    }

    .about-author-cta {
        width: 100%;
        text-align: center;
    }
}

.inline-link {
    color: var(--accent, #1e7bc6);
    text-decoration: underline;
    text-underline-offset: 0.18rem;
    font-weight: 600;
}
.inline-link:hover {
    color: var(--accent-dark, #14569d);
}
