/* Shop4Helps v0.5.3 — ePN-style + seamless landing art */

:root {
    --s4h-primary: #23A6DB;
    --s4h-accent: #FF5E4D;
    --s4h-header: #ffffff;
    --s4h-bg: #f5f6f8;
    --s4h-bg-2: #eef1f5;
    --s4h-surface: #ffffff;
    --s4h-ink: #0a0e17;
    --s4h-text: #1f2937;
    --s4h-muted: #6b7280;
    --s4h-border: #e5e7eb;
    --s4h-radius: 12px;
    --s4h-radius-sm: 8px;
    --s4h-shadow: 0 8px 30px rgba(10, 14, 23, 0.06);
    --s4h-shadow-sm: 0 2px 8px rgba(10, 14, 23, 0.04);
    --s4h-font: "Inter", system-ui, -apple-system, sans-serif;
    --s4h-display: "Inter", system-ui, -apple-system, sans-serif;
    --s4h-wrap: 1180px;
    --s4h-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --s4h-hero-bg: #0a0e17;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font: 16px/1.6 var(--s4h-font);
    color: var(--s4h-text);
    background: var(--s4h-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--s4h-primary); text-decoration-thickness: 1px; }

.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.s4h-wrap {
    width: min(100% - 40px, var(--s4h-wrap));
    margin-inline: auto;
}

/* Pills & labels */
.s4h-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.s4h-pill--light {
    background: #fff;
    border-color: var(--s4h-border);
    color: var(--s4h-muted);
}

.s4h-cat {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--s4h-accent);
}

/* Header */
.s4h-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--s4h-header);
    border-bottom: 1px solid var(--s4h-border);
    transition: box-shadow .25s var(--s4h-ease);
}

.s4h-header.is-scrolled {
    box-shadow: var(--s4h-shadow-sm);
}

.s4h-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.s4h-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.s4h-brand__lockup {
    height: 34px;
    width: auto;
    max-width: min(62vw, 248px);
    flex-shrink: 0;
    display: block;
}

.s4h-brand__mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: block;
}

.s4h-brand__word {
    display: flex;
    align-items: baseline;
    gap: 0;
    font-family: var(--s4h-font);
    font-weight: 700;
    font-size: 1.22rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--s4h-ink);
    white-space: nowrap;
}

.s4h-brand__four { color: var(--s4h-primary); }

.s4h-brand__tld {
    color: var(--s4h-muted);
    font-size: .88em;
    font-weight: 600;
    margin-left: 1px;
}

.s4h-brand__logo-full {
    height: 34px;
    width: auto;
    max-width: min(58vw, 280px);
    flex-shrink: 0;
}

.s4h-brand__logo-icon {
    display: none;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.s4h-brand__mark,
.s4h-brand__custom img {
    width: 44px;
    height: 44px;
    border-radius: var(--s4h-radius-sm);
    flex-shrink: 0;
}

.s4h-brand__custom .custom-logo-link { display: block; line-height: 0; }

.s4h-brand__name {
    font-family: var(--s4h-display);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.1;
    color: var(--s4h-ink);
}

.s4h-brand__tag {
    font-size: .76rem;
    color: var(--s4h-muted);
    margin-top: 2px;
}

.s4h-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--s4h-border);
    border-radius: 14px;
    background: var(--s4h-surface);
    cursor: pointer;
}

.s4h-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--s4h-ink);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.s4h-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.s4h-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.s4h-nav__list a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--s4h-radius-sm);
    text-decoration: none;
    color: var(--s4h-text);
    font-weight: 500;
    font-size: .92rem;
    transition: color .2s, background .2s;
}

.s4h-nav__list a:hover,
.s4h-nav__list .current-menu-item > a,
.s4h-nav__list .current_page_item > a {
    background: var(--s4h-bg);
    color: var(--s4h-ink);
}

.s4h-header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--s4h-radius-sm);
    background: var(--s4h-accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: .88rem;
    transition: opacity .2s, transform .2s var(--s4h-ease);
}

.s4h-header-cta:hover {
    opacity: .92;
    transform: translateY(-1px);
}

/* Hero — ePN dark block */
.s4h-hero {
    position: relative;
    padding: 64px 0 72px;
    overflow: hidden;
    background: var(--s4h-hero-bg);
}

.s4h-hero__mesh {
    display: none;
}

.s4h-hero--photo .s4h-hero__mesh {
    display: block;
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 14, 23, 0.92), rgba(10, 14, 23, 0.78)),
        var(--s4h-hero-photo) center/cover no-repeat;
    z-index: 0;
}

.s4h-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    color: #fff;
}

.s4h-hero__title {
    margin: 16px 0 16px;
    font-family: var(--s4h-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 16ch;
}

.s4h-hero__title .s4h-hero__accent {
    color: var(--s4h-accent);
}

.s4h-hero__subtitle {
    margin: 0 0 28px;
    font-size: 1.05rem;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.s4h-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.s4h-hero-search {
    display: flex;
    max-width: 440px;
    background: #fff;
    border: 1px solid var(--s4h-border);
    border-radius: var(--s4h-radius-sm);
    padding: 4px 4px 4px 16px;
    box-shadow: var(--s4h-shadow-sm);
}

.s4h-hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--s4h-ink);
    font: inherit;
    outline: none;
}

.s4h-hero-search input::placeholder { color: var(--s4h-muted); }

.s4h-hero-search button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: var(--s4h-radius-sm);
    background: var(--s4h-accent);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity .2s;
}

.s4h-hero-search button:hover { opacity: .9; }

.s4h-hero__visual { display: flex; justify-content: flex-end; }

.s4h-hero__card {
    width: min(100%, 340px);
    padding: 24px;
    border-radius: var(--s4h-radius);
    background: #fff;
    border: 1px solid var(--s4h-border);
    box-shadow: var(--s4h-shadow);
    color: var(--s4h-text);
    text-align: left;
}

.s4h-hero__card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--s4h-border);
}

.s4h-hero__card-head img {
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: var(--s4h-radius-sm);
}

.s4h-hero__card-head strong {
    display: block;
    font-size: .95rem;
    color: var(--s4h-ink);
}

.s4h-hero__card-head span {
    font-size: .8rem;
    color: var(--s4h-muted);
}

.s4h-hero__card > p {
    margin: 0 0 16px;
    font-size: .88rem;
    color: var(--s4h-muted);
}

.s4h-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.s4h-hero__stats div {
    padding: 14px;
    border-radius: var(--s4h-radius-sm);
    background: var(--s4h-bg);
    border: 1px solid var(--s4h-border);
}

.s4h-hero__stats strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--s4h-ink);
    letter-spacing: -0.02em;
}

.s4h-hero__stats span {
    font-size: .75rem;
    color: var(--s4h-muted);
}

/* Trust bar — dashboard widgets */
.s4h-trust {
    margin-top: -36px;
    position: relative;
    z-index: 2;
    padding-bottom: 8px;
}

.s4h-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.s4h-trust__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px 22px;
    background: var(--s4h-surface);
    border: 1px solid var(--s4h-border);
    border-radius: var(--s4h-radius);
    box-shadow: var(--s4h-shadow-sm);
}

.s4h-trust__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--s4h-radius-sm);
    background: var(--s4h-bg);
    color: var(--s4h-accent);
    font-weight: 700;
    font-size: .9rem;
}

.s4h-trust__item strong {
    display: block;
    font-size: .95rem;
    color: var(--s4h-ink);
    margin-bottom: 4px;
}

.s4h-trust__item p {
    margin: 0;
    font-size: .85rem;
    color: var(--s4h-muted);
    line-height: 1.45;
}

/* Buttons */
.s4h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--s4h-radius-sm);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: opacity .2s, transform .2s var(--s4h-ease);
    cursor: pointer;
}

.s4h-btn:hover { transform: translateY(-1px); }

.s4h-btn--accent {
    background: var(--s4h-accent);
    color: #fff !important;
}

.s4h-btn--outline {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
}

.s4h-btn--outline:hover { background: rgba(255, 255, 255, 0.06); }

.s4h-btn--soft {
    background: #fff;
    color: var(--s4h-ink) !important;
    border-color: var(--s4h-border);
}

/* Sections */
.s4h-main { padding-bottom: 64px; }

.s4h-section { padding: 56px 0; }

.s4h-section--products { padding-top: 32px; }

.s4h-section--alt { background: var(--s4h-bg-2); }

.s4h-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.s4h-section__kicker {
    margin: 0 0 6px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--s4h-muted);
}

.s4h-section__title {
    margin: 0;
    font-family: var(--s4h-display);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--s4h-ink);
}

.s4h-section__more {
    text-decoration: none;
    font-weight: 700;
    color: var(--s4h-primary);
    white-space: nowrap;
    padding: 10px 0;
    border-bottom: 2px solid color-mix(in srgb, var(--s4h-primary) 25%, transparent);
    transition: border-color .2s;
}

.s4h-section__more:hover { border-color: var(--s4h-primary); }

/* Bento catalog */
.s4h-bento {
    display: grid;
    gap: 20px;
}

.s4h-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--s4h-surface);
    border-radius: var(--s4h-radius);
    overflow: hidden;
    border: 1px solid var(--s4h-border);
    box-shadow: var(--s4h-shadow-sm);
}

.s4h-spotlight__media {
    display: block;
    min-height: 280px;
    background: var(--s4h-bg-2);
}

.s4h-spotlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--s4h-ease);
}

.s4h-spotlight:hover .s4h-spotlight__media img { transform: scale(1.04); }

.s4h-spotlight__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 40px);
    gap: 12px;
}

.s4h-spotlight__title {
    margin: 0;
    font-family: var(--s4h-display);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.2;
}

.s4h-spotlight__title a {
    color: var(--s4h-ink);
    text-decoration: none;
}

.s4h-spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.s4h-bento__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Magazine blog */
.s4h-magazine {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: start;
}

.s4h-feature--post {
    background: var(--s4h-surface);
    border-radius: calc(var(--s4h-radius) + 4px);
    overflow: hidden;
    border: 1px solid var(--s4h-border);
    box-shadow: var(--s4h-shadow);
}

.s4h-feature__media {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.s4h-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--s4h-ease);
}

.s4h-feature--post:hover .s4h-feature__media img { transform: scale(1.04); }

.s4h-feature__label {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--s4h-accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.s4h-feature__body { padding: 28px; }

.s4h-feature__title {
    margin: 8px 0 12px;
    font-family: var(--s4h-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    line-height: 1.15;
}

.s4h-feature__title a {
    color: var(--s4h-ink);
    text-decoration: none;
}

.s4h-feature__excerpt {
    margin: 0 0 20px;
    color: var(--s4h-muted);
    line-height: 1.6;
}

.s4h-magazine__side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Cards */
.s4h-card {
    display: flex;
    flex-direction: column;
    background: var(--s4h-surface);
    border: 1px solid var(--s4h-border);
    border-radius: var(--s4h-radius);
    overflow: hidden;
    box-shadow: var(--s4h-shadow-sm);
    transition: transform .25s var(--s4h-ease), box-shadow .25s;
}

.s4h-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--s4h-shadow);
}

.s4h-card--compact {
    flex-direction: row;
    align-items: stretch;
}

.s4h-card--compact .s4h-card__thumb {
    width: 120px;
    min-width: 120px;
    aspect-ratio: auto;
    min-height: 100px;
}

.s4h-card--compact .s4h-card__body {
    padding: 14px 16px;
    justify-content: center;
}

.s4h-card--compact .s4h-card__title { font-size: .92rem; }

.s4h-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--s4h-bg-2);
}

.s4h-card__thumb--post { aspect-ratio: 16/10; }

.s4h-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--s4h-ease);
}

.s4h-card:hover .s4h-card__thumb img { transform: scale(1.05); }

.s4h-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--s4h-bg-2), #fff);
}

.s4h-card__placeholder--post {
    background: linear-gradient(145deg, color-mix(in srgb, var(--s4h-primary) 15%, white), var(--s4h-bg-2));
}

.s4h-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--s4h-ink);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}

.s4h-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
    gap: 8px;
}

.s4h-card__title {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
}

.s4h-card__title a {
    color: var(--s4h-ink);
    text-decoration: none;
}

.s4h-card__title a:hover { color: var(--s4h-primary); }

.s4h-card__date {
    font-size: .78rem;
    color: var(--s4h-muted);
}

.s4h-card__excerpt {
    margin: 0;
    font-size: .9rem;
    color: var(--s4h-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s4h-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--s4h-accent);
}

.s4h-price--lg { font-size: 1.5rem; }

.s4h-card__actions { margin-top: auto; padding-top: 6px; }

.s4h-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--s4h-radius-sm);
    background: var(--s4h-ink);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: .88rem;
    transition: background .2s, transform .2s;
}

.s4h-buy-btn:hover {
    background: var(--s4h-accent);
    transform: translateY(-1px);
}

.s4h-buy-btn--large {
    width: auto;
    min-width: 200px;
    min-height: 48px;
    border-radius: var(--s4h-radius-sm);
    padding: 0 24px;
}

.s4h-link {
    font-weight: 700;
    text-decoration: none;
    color: var(--s4h-primary);
}

.s4h-rate {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--s4h-accent) 12%, white);
    color: var(--s4h-accent);
    font-size: .82rem;
    font-weight: 700;
}

.s4h-empty {
    padding: 48px 32px;
    text-align: center;
    background: var(--s4h-surface);
    border: 2px dashed color-mix(in srgb, var(--s4h-primary) 20%, transparent);
    border-radius: var(--s4h-radius);
    color: var(--s4h-muted);
}

.s4h-grid__full { grid-column: 1 / -1; }

/* Grids (archive) */
.s4h-grid {
    display: grid;
    gap: 20px;
}

.s4h-grid--products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.s4h-grid--blog {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Pages */
.s4h-page-head {
    padding: 40px 0 12px;
}

.s4h-page-head h1 {
    margin: 0;
    font-family: var(--s4h-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--s4h-ink);
}

.s4h-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 0 56px;
}

.s4h-layout--with-sidebar {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.s4h-article {
    background: var(--s4h-surface);
    border: 1px solid var(--s4h-border);
    border-radius: calc(var(--s4h-radius) + 4px);
    padding: clamp(24px, 4vw, 44px);
    box-shadow: var(--s4h-shadow-sm);
}

.s4h-article h1 {
    margin: 0 0 16px;
    font-family: var(--s4h-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--s4h-ink);
}

.s4h-meta { margin-bottom: 20px; color: var(--s4h-muted); }

.s4h-thumb {
    width: 100%;
    border-radius: var(--s4h-radius-sm);
    margin-bottom: 24px;
}

.s4h-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.s4h-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.s4h-buy { margin: 20px 0 28px; }

.s4h-content { line-height: 1.8; font-size: 1.05rem; }
.s4h-content img { border-radius: var(--s4h-radius-sm); }

.s4h-disclosure {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-radius: var(--s4h-radius-sm);
    background: var(--s4h-bg-2);
    border: 1px solid var(--s4h-border);
    font-size: .85rem;
    color: var(--s4h-muted);
}

.s4h-sidebar .s4h-widget {
    background: var(--s4h-surface);
    border: 1px solid var(--s4h-border);
    border-radius: var(--s4h-radius);
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--s4h-shadow-sm);
}

.s4h-widget__title {
    margin: 0 0 12px;
    font-family: var(--s4h-display);
    font-size: 1.1rem;
}

.s4h-search {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.s4h-search input {
    flex: 1;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--s4h-border);
    border-radius: 999px;
    font: inherit;
    background: var(--s4h-surface);
}

.s4h-search button {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--s4h-ink);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* Pagination */
.navigation.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--s4h-border);
    background: var(--s4h-surface);
    text-decoration: none;
    color: var(--s4h-text);
    font-weight: 600;
}

.page-numbers.current {
    background: var(--s4h-ink);
    border-color: var(--s4h-ink);
    color: #fff;
}

/* Landing — intro, pillars, blog stories, CTA */
.s4h-landing-intro {
    max-width: 640px;
    margin-bottom: 40px;
}

.s4h-landing-intro--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.s4h-landing-intro__text {
    margin: 10px 0 0;
    font-size: 1.05rem;
    color: var(--s4h-muted);
    line-height: 1.6;
}

.s4h-pillars {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.s4h-pillar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.s4h-pillar--reverse .s4h-pillar__media { order: 2; }
.s4h-pillar--reverse .s4h-pillar__body { order: 1; }

.s4h-pillar__media {
    position: relative;
    border-radius: var(--s4h-radius);
    overflow: hidden;
    border: none;
    box-shadow: none;
    aspect-ratio: 16/11;
    background: transparent;
}

.s4h-pillar__media img,
.s4h-pillar__media svg.s4h-illustration {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6%;
    display: block;
}

.s4h-pillar__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(35, 166, 219, 0.2);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--s4h-primary);
    backdrop-filter: blur(6px);
}

.s4h-pillar__slogan {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--s4h-ink);
    line-height: 1.2;
}

.s4h-pillar__text {
    margin: 0;
    font-size: 1rem;
    color: var(--s4h-muted);
    line-height: 1.65;
}

.s4h-stories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.s4h-story {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
    padding: 28px;
    background: var(--s4h-surface);
    border: 1px solid var(--s4h-border);
    border-radius: var(--s4h-radius);
    box-shadow: var(--s4h-shadow-sm);
}

.s4h-story--reverse .s4h-story__media { order: 2; }
.s4h-story--reverse .s4h-story__body { order: 1; }

.s4h-story__media {
    display: block;
    border-radius: var(--s4h-radius-sm);
    overflow: hidden;
    aspect-ratio: 16/11;
    background: var(--s4h-bg-2);
    border: none;
}

.s4h-story__media img,
.s4h-story__media svg.s4h-illustration {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8%;
    display: block;
    transition: transform .4s var(--s4h-ease);
}

.s4h-story__media:hover img,
.s4h-story__media:hover svg.s4h-illustration { transform: scale(1.03); }

.s4h-story__body .s4h-pill--light { margin-bottom: 10px; }

.s4h-story__title {
    margin: 8px 0 10px;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.s4h-story__title a {
    color: var(--s4h-ink);
    text-decoration: none;
}

.s4h-story__title a:hover { color: var(--s4h-primary); }

.s4h-story__excerpt {
    margin: 0 0 14px;
    color: var(--s4h-muted);
    line-height: 1.6;
    font-size: .95rem;
}

.s4h-story__link {
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    color: var(--s4h-accent);
}

.s4h-story__link:hover { text-decoration: underline; }

.s4h-landing-cta {
    margin-top: 16px;
    background: var(--s4h-hero-bg);
    color: #fff;
}

.s4h-landing-cta__inner {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 40px;
    align-items: center;
    padding: 56px 0;
}

.s4h-landing-cta__title {
    margin: 8px 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.s4h-landing-cta__title .s4h-hero__accent { color: var(--s4h-accent); }

.s4h-landing-cta__text {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    max-width: 42ch;
}

.s4h-landing-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.s4h-landing-cta__media {
    border-radius: var(--s4h-radius);
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: transparent;
}

.s4h-landing-cta__media img,
.s4h-landing-cta__media svg.s4h-illustration {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4%;
    display: block;
    aspect-ratio: 16/11;
}

.s4h-landing-cta .s4h-section__kicker {
    color: rgba(255, 255, 255, 0.55);
}

.s4h-landing-cta .s4h-btn--soft {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Footer */
.s4h-footer {
    margin-top: auto;
    background: var(--s4h-ink);
    color: #b8b4c4;
}

.s4h-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    padding: 48px 0 28px;
}

.s4h-footer__brand {
    display: flex;
    gap: 16px;
}

.s4h-footer__brand img { border-radius: 14px; }

.s4h-footer__brand strong {
    display: block;
    color: #fff;
    font-family: var(--s4h-display);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.s4h-footer__brand p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.55;
}

.s4h-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.s4h-footer__links a {
    color: #e8e4ef;
    text-decoration: none;
    font-size: .92rem;
}

.s4h-footer__links a:hover { color: #fff; }

.s4h-footer__bottom {
    padding: 22px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.s4h-footer .s4h-disclosure {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.s4h-footer__copy {
    margin: 12px 0 0;
    font-size: .84rem;
    color: #7a7588;
}

.s4h-404 {
    text-align: center;
    padding: 80px 0;
}

.s4h-404__code {
    font-family: var(--s4h-display);
    font-size: 5rem;
    font-weight: 700;
    color: var(--s4h-accent);
    line-height: 1;
    margin: 0 0 16px;
}

/* Responsive */
@media (max-width: 960px) {
    .s4h-hero__inner,
    .s4h-magazine,
    .s4h-spotlight,
    .s4h-product-layout,
    .s4h-layout--with-sidebar,
    .s4h-trust__grid,
    .s4h-footer__grid {
        grid-template-columns: 1fr;
    }

    .s4h-hero__visual { display: none; }

    .s4h-hero__title,
    .s4h-hero__subtitle { max-width: none; }

    .s4h-trust { margin-top: 0; padding-top: 24px; }
}

@media (max-width: 768px) {
    .s4h-nav-toggle { display: flex; }

    .s4h-nav {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 20px 24px;
        background: var(--s4h-surface);
        border-bottom: 1px solid var(--s4h-border);
        box-shadow: var(--s4h-shadow);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform .3s var(--s4h-ease), opacity .3s;
    }

    .s4h-header.is-nav-open .s4h-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .s4h-header.is-nav-open .s4h-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .s4h-header.is-nav-open .s4h-nav-toggle span:nth-child(2) { opacity: 0; }
    .s4h-header.is-nav-open .s4h-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .s4h-nav__list { flex-direction: column; align-items: stretch; }
    .s4h-header-cta { justify-content: center; width: 100%; }

    .s4h-pillar,
    .s4h-story,
    .s4h-landing-cta__inner {
        grid-template-columns: 1fr;
    }

    .s4h-pillar--reverse .s4h-pillar__media,
    .s4h-pillar--reverse .s4h-pillar__body,
    .s4h-story--reverse .s4h-story__media,
    .s4h-story--reverse .s4h-story__body {
        order: unset;
    }

    .s4h-landing-intro--row {
        flex-direction: column;
        align-items: flex-start;
    }

    .s4h-landing-cta__media {
        max-width: 280px;
        margin-inline: auto;
    }

    .s4h-section__head { flex-direction: column; align-items: flex-start; }

    .s4h-card--compact { flex-direction: column; }
    .s4h-card--compact .s4h-card__thumb { width: 100%; aspect-ratio: 16/9; }

    .s4h-brand__word { font-size: 1.05rem; }
    .s4h-brand__tag--solo { display: none; }
    .s4h-brand__logo-full { display: none; }
    .s4h-brand__logo-icon { display: none; }
}

@media (max-width: 480px) {
    .s4h-bento__grid,
    .s4h-grid--products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .s4h-card__body { padding: 12px; }
    .s4h-card__title { font-size: .86rem; }
    .s4h-buy-btn { font-size: .78rem; min-height: 38px; }
}

/* Reviews */
.s4h-grid--reviews {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.s4h-card--review .s4h-card__thumb--review { aspect-ratio: 4/5; }

.s4h-card__placeholder--review {
    background: linear-gradient(145deg, #e8f6fc, #fff0ee);
}

.s4h-card__badge--photos { right: 10px; left: auto; background: var(--s4h-accent); }

.s4h-stars { display: inline-flex; gap: 2px; font-size: .95rem; letter-spacing: 1px; }
.s4h-stars__on { color: #ffb020; }
.s4h-stars__off { color: #d5dde5; }

.s4h-review-author {
    margin: 0;
    font-size: .85rem;
    color: var(--s4h-muted);
    font-weight: 600;
}

.s4h-review-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.s4h-link--muted { color: var(--s4h-muted); }

.s4h-review-single__head { margin-bottom: 24px; }

.s4h-review-gallery { margin-bottom: 28px; }

.s4h-review-gallery__main {
    display: block;
    border-radius: var(--s4h-radius);
    overflow: hidden;
    margin-bottom: 12px;
}

.s4h-review-gallery__main img { width: 100%; }

.s4h-review-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.s4h-review-gallery__thumbs a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color .2s, transform .2s;
}

.s4h-review-gallery__thumbs a:hover {
    border-color: var(--s4h-primary);
    transform: scale(1.02);
}

.s4h-review-gallery__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.s4h-review-single__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}
