html {
    scroll-behavior: smooth;
}

body.homepage-preview-body {
    --hp-bg: #efe8dc;
    --hp-surface: #f7f1e7;
    --hp-card: #f4ecdf;
    --hp-card-strong: #fffdf8;
    --hp-card-dark: #102430;
    --hp-card-dark-soft: #16313f;
    --hp-ink: #09141c;
    --hp-muted: #46535c;
    --hp-line: #dfd5c6;
    --hp-line-strong: #cabda9;
    --hp-accent: #6bea05;
    --hp-accent-dark: #418c08;
    --hp-navy: #0d2532;
    --hp-shadow: 0 20px 48px rgba(8, 20, 27, 0.08);
    margin: 0;
    color: var(--hp-ink);
    background: var(--hp-bg);
    font-family: "Urbanist", sans-serif;
}

body.homepage-preview-body * {
    box-sizing: border-box;
}

.homepage-preview-body img {
    max-width: 100%;
    display: block;
}

.homepage-preview-body a {
    text-decoration: none;
}

.homepage-preview-body a:not(.hp-preview-button):not(.hp-preview-link-button) {
    color: inherit;
}

.hp-preview-main {
    position: relative;
    overflow: clip;
}

.hp-preview-main::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 840px;
    background: linear-gradient(180deg, rgba(13, 37, 50, 0.98), rgba(13, 37, 50, 0.74));
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    z-index: -1;
}

.hp-preview-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 16px 0;
    background: rgba(8, 20, 27, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-preview-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.hp-preview-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    grid-column: 1;
    justify-self: start;
}

.hp-preview-brand img {
    width: 180px;
    max-width: 100%;
}

.hp-preview-brand__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(107, 234, 5, 0.14);
    border: 1px solid rgba(107, 234, 5, 0.24);
    color: #f6ffe8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-preview-header__panel {
    display: flex;
    grid-column: 2;
    justify-content: center;
    justify-self: center;
    min-width: 0;
}

.hp-preview-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
}

.hp-preview-nav__link,
.hp-preview-nav__link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: rgba(245, 248, 250, 0.9);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hp-preview-nav-menu {
    position: relative;
}

.hp-preview-nav-menu summary {
    list-style: none;
}

.hp-preview-nav-menu summary::-webkit-details-marker {
    display: none;
}

.hp-preview-nav-menu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: rgba(245, 248, 250, 0.9);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hp-preview-nav-menu__toggle:hover,
.hp-preview-nav-menu__toggle:focus-visible,
.hp-preview-nav-menu[open] .hp-preview-nav-menu__toggle {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.hp-preview-nav-menu__chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: currentColor;
    opacity: 0.78;
}

.hp-preview-nav-menu__panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 6;
    display: grid;
    gap: 6px;
    min-width: 240px;
    padding: 12px;
    border-radius: 18px;
    background: #fffdf8;
    border: 1px solid var(--hp-line);
    box-shadow: var(--hp-shadow);
}

.hp-preview-nav-menu--align-right .hp-preview-nav-menu__panel {
    right: 0;
    left: auto;
}

.hp-preview-nav-menu__panel-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--hp-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    transition: background-color 180ms ease, color 180ms ease;
}

.hp-preview-nav-menu__panel-link:hover,
.hp-preview-nav-menu__panel-link:focus-visible {
    color: var(--hp-ink);
    background: #f2ebdf;
}

.hp-preview-nav__link:hover,
.hp-preview-footer__links a:hover {
    color: var(--hp-accent);
}

.hp-preview-nav__link:hover,
.hp-preview-nav__link:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.hp-preview-header__utility {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: 3;
    justify-self: end;
}

.hp-preview-header__icon-link,
.hp-preview-header__icon-link:visited {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(247, 251, 253, 0.92);
    cursor: pointer;
    appearance: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hp-preview-header__icon-link:hover,
.hp-preview-header__icon-link:focus-visible {
    color: #ffffff;
    border-color: rgba(107, 234, 5, 0.46);
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-1px);
}

.hp-preview-header__icon-link svg {
    width: 20px;
    height: 20px;
}

.hp-preview-header__icon-link:not(.hp-preview-header__icon-link--notification) svg {
    fill: none;
}

.hp-preview-header__icon-link:not(.hp-preview-header__icon-link--notification) path {
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-preview-header__icon-link--notification svg {
    fill: currentColor;
}

.hp-preview-header__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--hp-accent);
    color: var(--hp-ink);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 3px rgba(8, 20, 27, 0.94);
}

.hp-preview-account-menu {
    position: relative;
}

.hp-preview-notification-menu {
    position: relative;
}

.hp-preview-account-menu summary {
    list-style: none;
}

.hp-preview-notification-menu summary {
    list-style: none;
}

.hp-preview-account-menu summary::-webkit-details-marker {
    display: none;
}

.hp-preview-notification-menu summary::-webkit-details-marker {
    display: none;
}

.hp-preview-account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 6px 14px 6px 6px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hp-preview-account-toggle:hover,
.hp-preview-account-toggle:focus-visible,
.hp-preview-account-menu[open] .hp-preview-account-toggle {
    border-color: rgba(107, 234, 5, 0.46);
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-1px);
}

.hp-preview-account-toggle__avatar,
.hp-preview-header__icon-link--avatar {
    overflow: hidden;
    border-radius: 14px;
}

.hp-preview-account-toggle__avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.hp-preview-account-toggle__avatar img,
.hp-preview-header__icon-link--avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-preview-account-toggle__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.hp-preview-account-toggle__copy small {
    color: rgba(247, 251, 253, 0.66);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.hp-preview-account-toggle__copy strong {
    max-width: 160px;
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-preview-account-toggle__chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: currentColor;
    opacity: 0.78;
}

.hp-preview-account-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 5;
    display: grid;
    gap: 2px;
    min-width: 228px;
    padding: 8px;
    border-radius: 14px;
    background: #fffdf8;
    border: 1px solid var(--hp-line);
    box-shadow: var(--hp-shadow);
}

.hp-preview-account-panel__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--hp-ink);
    transition: background-color 180ms ease, color 180ms ease;
}

.hp-preview-account-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #979ca1;
    font-size: 18px;
    line-height: 1;
}

.hp-preview-account-panel__icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hp-preview-account-panel__icon .fa {
    font-size: 18px;
    line-height: 1;
}

.hp-preview-account-panel__label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.hp-preview-account-panel__link:hover,
.hp-preview-account-panel__link:focus-visible {
    color: var(--hp-ink);
    background: #f2ebdf;
}

.hp-preview-account-panel__link:hover .hp-preview-account-panel__icon,
.hp-preview-account-panel__link:focus-visible .hp-preview-account-panel__icon {
    color: #7f8790;
}

.hp-preview-account-panel__divider {
    width: calc(100% + 16px);
    margin: 6px -8px 4px;
    border: 0;
    border-top: 1px solid #d4c7b6;
}

.hp-preview-account-panel__divider--strong {
    margin-top: 8px;
    border-top-color: #c7b8a2;
}

.hp-preview-account-panel__link--logout {
    color: #428e09;
}

.hp-preview-account-panel__link--logout .hp-preview-account-panel__icon {
    color: #5aa11b;
}

.hp-preview-account-panel__link--logout:hover,
.hp-preview-account-panel__link--logout:focus-visible {
    color: #356f08;
    background: #eef8df;
}

.hp-preview-account-panel__link--logout:hover .hp-preview-account-panel__icon,
.hp-preview-account-panel__link--logout:focus-visible .hp-preview-account-panel__icon {
    color: #428e09;
}

.hp-preview-notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 5;
    width: min(360px, calc(100vw - 32px));
    padding: 12px;
    border-radius: 20px;
    background: #fffdf8;
    border: 1px solid var(--hp-line);
    box-shadow: var(--hp-shadow);
}

.hp-preview-notification-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 6px 12px;
    border-bottom: 1px solid #ece2d4;
}

.hp-preview-notification-panel__head p,
.hp-preview-notification-panel__head strong {
    margin: 0;
}

.hp-preview-notification-panel__head p {
    color: var(--hp-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hp-preview-notification-panel__head strong {
    display: block;
    margin-top: 4px;
    color: var(--hp-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.hp-preview-notification-panel__head a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--hp-ink);
    background: #f4ecdf;
    border: 1px solid var(--hp-line);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hp-preview-notification-panel__head a:hover,
.hp-preview-notification-panel__head a:focus-visible {
    color: var(--hp-ink);
    background: #eee4d5;
}

.hp-preview-notification-panel__list {
    display: grid;
    gap: 8px;
    max-height: 340px;
    margin-top: 12px;
    overflow-y: auto;
}

.hp-preview-notification-panel__item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--hp-ink);
    background: #f9f4eb;
    border: 1px solid #ece2d4;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.hp-preview-notification-panel__item:hover,
.hp-preview-notification-panel__item:focus-visible {
    color: var(--hp-ink);
    background: #f2ebdf;
    border-color: var(--hp-line-strong);
}

.hp-preview-notification-panel__item strong {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.hp-preview-notification-panel__item p,
.hp-preview-notification-panel__item span {
    margin: 0;
}

.hp-preview-notification-panel__item p {
    color: var(--hp-muted);
    font-size: 13px;
    line-height: 1.45;
    text-wrap: pretty;
}

.hp-preview-notification-panel__item span {
    color: #6c7982;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.hp-preview-notification-panel__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 16px;
    border-radius: 14px;
    color: var(--hp-muted);
    background: #f9f4eb;
    border: 1px solid #ece2d4;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.hp-preview-header__icon-link--avatar,
.hp-preview-header__mobile-sections,
.hp-preview-header__guest-actions {
    display: none;
}

.hp-preview-header__signin {
    min-height: 48px;
    padding: 0 18px;
}

.hp-preview-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    justify-content: center;
    align-items: center;
}

.hp-preview-nav-toggle span {
    width: 18px;
    height: 2px;
    background: #ffffff;
    transition: transform 180ms ease, opacity 180ms ease;
}

.hp-preview-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hp-preview-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hp-preview-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hp-preview-button,
.hp-preview-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hp-preview-button:hover,
.hp-preview-link-button:hover {
    transform: translateY(-1px);
}

.hp-preview-nav__link:focus-visible,
.hp-preview-nav-menu__toggle:focus-visible,
.hp-preview-header__icon-link:focus-visible,
.hp-preview-account-toggle:focus-visible,
.hp-preview-button:focus-visible,
.hp-preview-link-button:focus-visible,
.hp-preview-nav-toggle:focus-visible,
.hp-preview-search-modal__close:focus-visible,
.hp-preview-search-modal__quick-link:focus-visible {
    outline: 2px solid var(--hp-accent);
    outline-offset: 3px;
}

.hp-preview-button--primary {
    color: var(--hp-ink);
    background: var(--hp-accent);
    border: 1px solid var(--hp-accent);
    box-shadow: 0 14px 28px rgba(107, 234, 5, 0.22);
}

.hp-preview-button--primary:hover {
    background: #86f92c;
    border-color: #86f92c;
}

.hp-preview-button--secondary {
    color: #ffffff;
    background: var(--hp-navy);
    border: 1px solid var(--hp-navy);
}

.hp-preview-button--secondary:hover {
    color: #ffffff;
    background: #133443;
    border-color: #133443;
}

.hp-preview-button--ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-preview-button--ghost:hover {
    border-color: rgba(107, 234, 5, 0.56);
    color: var(--hp-accent);
}

.hp-preview-link-button {
    color: var(--hp-ink);
    border: 1px solid var(--hp-line-strong);
    background: #ffffff;
}

.hp-preview-link-button:hover {
    color: #ffffff;
    border-color: var(--hp-navy);
    background: var(--hp-navy);
}

.hp-preview-link-button--inverse {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
}

.hp-preview-link-button--inverse:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.18);
}

.homepage-preview-body a.hp-preview-button--primary,
.homepage-preview-body a.hp-preview-button--primary:visited {
    color: var(--hp-ink);
}

.homepage-preview-body a.hp-preview-button--secondary,
.homepage-preview-body a.hp-preview-button--secondary:visited,
.homepage-preview-body a.hp-preview-button--ghost,
.homepage-preview-body a.hp-preview-button--ghost:visited,
.homepage-preview-body a.hp-preview-link-button--inverse,
.homepage-preview-body a.hp-preview-link-button--inverse:visited {
    color: #ffffff;
}

.homepage-preview-body a.hp-preview-link-button:not(.hp-preview-link-button--inverse),
.homepage-preview-body a.hp-preview-link-button:not(.hp-preview-link-button--inverse):visited {
    color: var(--hp-ink);
}

.homepage-preview-body .hp-preview-header a.hp-preview-link-button--inverse,
.homepage-preview-body .hp-preview-header a.hp-preview-link-button--inverse:visited {
    color: #ffffff;
}

body.homepage-preview-body.hp-preview-search-open {
    overflow: hidden;
}

body.homepage-preview-body.hp-preview-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.hp-preview-search-modal[hidden] {
    display: none !important;
}

.hp-preview-search-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 88px 24px 24px;
}

.hp-preview-search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 27, 0.74);
}

.hp-preview-search-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    padding: 28px;
    border-radius: 28px;
    background: #fffdf8;
    border: 1px solid var(--hp-line);
    box-shadow: 0 28px 72px rgba(8, 20, 27, 0.18);
}

.hp-preview-search-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--hp-line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--hp-ink);
    cursor: pointer;
    appearance: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hp-preview-search-modal__close:hover,
.hp-preview-search-modal__close:focus-visible {
    border-color: var(--hp-line-strong);
    background: #f3ece0;
}

.hp-preview-search-modal__close svg {
    width: 18px;
    height: 18px;
    fill: none;
}

.hp-preview-search-modal__close path {
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.hp-preview-search-modal__dialog h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
}

.hp-preview-search-modal__copy {
    max-width: 520px;
    margin: 14px 0 0;
    color: var(--hp-muted);
    font-size: 17px;
    line-height: 1.65;
    text-wrap: pretty;
}

.hp-preview-search-modal__form {
    margin-top: 24px;
}

.hp-preview-search-modal__field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.hp-preview-search-modal__input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--hp-line-strong);
    border-radius: 16px;
    background: #ffffff;
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 600;
}

.hp-preview-search-modal__input::placeholder {
    color: #77838b;
}

.hp-preview-search-modal__input:focus-visible {
    outline: 2px solid var(--hp-accent);
    outline-offset: 2px;
    border-color: var(--hp-accent-dark);
}

.hp-preview-search-modal__hint,
.hp-preview-search-modal__error {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.hp-preview-search-modal__hint {
    color: var(--hp-muted);
}

.hp-preview-search-modal__error {
    color: #b02e1f;
    font-weight: 700;
}

.hp-preview-search-modal__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hp-preview-search-modal__quick-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--hp-line);
    background: #f5eee2;
    color: var(--hp-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.hp-preview-search-modal__quick-link:hover,
.hp-preview-search-modal__quick-link:focus-visible {
    color: var(--hp-ink);
    border-color: var(--hp-line-strong);
    background: #eee4d5;
}

.hp-preview-section {
    position: relative;
    padding: 80px 0;
}

.hp-preview-section + .hp-preview-section {
    border-top: 1px solid rgba(9, 20, 28, 0.08);
}

.hp-preview-eyebrow-row,
.hp-preview-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.hp-preview-section-heading {
    margin-bottom: 36px;
}

.hp-preview-section-heading h2,
.hp-preview-footer__cta h2,
.hp-preview-gallery-copy h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
}

.hp-preview-section-heading p,
.hp-preview-footer__cta p,
.hp-preview-gallery-note,
.hp-preview-footer__copy,
.hp-preview-footer__note {
    max-width: 520px;
    margin: 0;
    color: var(--hp-muted);
    font-size: 17px;
    line-height: 1.65;
    text-wrap: pretty;
}

.hp-preview-section-heading--compact {
    margin-bottom: 24px;
}

.hp-preview-section-heading--compact h2 {
    max-width: 520px;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 0.96;
}

.hp-preview-kicker,
.hp-preview-microcopy,
.hp-preview-story-card__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--hp-accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hp-preview-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    color: #f3f9eb;
    background: rgba(107, 234, 5, 0.12);
    border: 1px solid rgba(107, 234, 5, 0.22);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hp-preview-hero-section {
    padding-top: 52px;
    padding-bottom: 64px;
    color: #ffffff;
}

.hp-preview-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.9fr);
    gap: 38px;
    align-items: center;
    margin-top: 0;
}

.hp-preview-hero-copy {
    position: relative;
    z-index: 1;
}

.hp-preview-hero-title {
    margin-bottom: 26px;
}

.hp-preview-hero-title h1 {
    margin: 0;
    font-size: clamp(3.3rem, 9vw, 7.6rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 900;
    text-wrap: balance;
}

.hp-preview-hero-title h1 span {
    color: var(--hp-accent);
}

.hp-preview-hero-description,
.hp-preview-rich-copy {
    color: rgba(255, 255, 255, 0.84);
}

.hp-preview-hero-description {
    margin-top: 0;
}

.hp-preview-rich-copy,
.hp-preview-hero-description,
.hp-preview-hero-supporting-copy {
    font-size: 18px;
    line-height: 1.75;
    text-wrap: pretty;
}

.hp-preview-rich-copy p:last-child,
.hp-preview-hero-description p:last-child {
    margin-bottom: 0;
}

.hp-preview-hero-supporting-copy {
    max-width: 640px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.hp-preview-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0 28px;
}

.hp-preview-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hp-preview-metric-card,
.hp-preview-highlight-card,
.hp-preview-generation-card,
.hp-preview-platform-card,
.hp-preview-prop-card,
.hp-preview-community-panel,
.hp-preview-event-panel,
.hp-preview-story-card,
.hp-preview-generation-panel {
    background: var(--hp-card-strong);
    border: 1px solid var(--hp-line);
    box-shadow: var(--hp-shadow);
}

.hp-preview-metric-card {
    padding: 18px 20px;
    border-radius: 20px;
    min-width: 0;
    overflow: hidden;
}

.hp-preview-metric-card p {
    margin: 0 0 8px;
    color: var(--hp-muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.hp-preview-metric-card h2 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.85rem, 4.6vw, 2.9rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--hp-ink);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.hp-preview-hero-visual {
    position: relative;
    min-height: 680px;
}

.hp-preview-hero-lead-media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 680px;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.22);
}

.hp-preview-hero-lead-media img {
    width: 100%;
    height: 100%;
    min-height: 680px;
    object-fit: cover;
    transform: scale(1.02);
}

.hp-preview-hero-lead-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 37, 50, 0.12), transparent 45%),
        linear-gradient(180deg, transparent 48%, rgba(9, 20, 28, 0.68) 100%);
}

.hp-preview-hero-side-stack {
    position: absolute;
    right: -18px;
    bottom: 110px;
    display: grid;
    gap: 14px;
}

.hp-preview-hero-side-media {
    width: 164px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hp-preview-hero-side-media img {
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.hp-preview-hero-floating-card {
    position: absolute;
    left: -32px;
    max-width: 290px;
    padding: 20px 22px;
    border-radius: 20px;
    background: #fffdf7;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--hp-ink);
    box-shadow: 0 20px 44px rgba(8, 20, 27, 0.16);
}

.hp-preview-hero-floating-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--hp-accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-preview-hero-floating-card strong {
    display: block;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hp-preview-hero-floating-card p {
    margin: 10px 0 0;
    color: var(--hp-muted);
    font-size: 15px;
    line-height: 1.55;
}

.hp-preview-hero-floating-card--top {
    top: 30px;
}

.hp-preview-hero-floating-card--bottom {
    bottom: 26px;
}

.hp-preview-proof-grid,
.hp-preview-gallery-grid,
.hp-preview-community-grid {
    display: grid;
    gap: 26px;
}

.hp-preview-proof-intro {
    max-width: 860px;
    margin-bottom: 30px;
}

.hp-preview-proof-intro__main {
    max-width: none;
    display: grid;
    gap: 12px;
}

.hp-preview-proof-intro__main h2 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
}

.hp-preview-proof-intro__main p:last-child {
    margin: 0;
    color: var(--hp-muted);
    font-size: 17px;
    line-height: 1.6;
    text-wrap: pretty;
}

.hp-preview-proof-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    margin-bottom: 28px;
}

.hp-preview-story-card,
.hp-preview-generation-panel,
.hp-preview-community-panel,
.hp-preview-event-panel {
    padding: 30px;
    border-radius: 24px;
}

.hp-preview-story-card h3,
.hp-preview-generation-panel h3,
.hp-preview-platform-card h3,
.hp-preview-prop-card h3,
.hp-preview-board-card h3,
.hp-preview-event-card h3,
.hp-preview-gallery-copy h2,
.hp-preview-community-panel h2,
.hp-preview-event-panel h2 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hp-preview-story-card h3,
.hp-preview-generation-panel h3,
.hp-preview-platform-card h3,
.hp-preview-prop-card h3,
.hp-preview-board-card h3,
.hp-preview-event-card h3 {
    font-size: 28px;
    line-height: 1.08;
}

.hp-preview-story-card .hp-preview-rich-copy {
    margin-top: 20px;
    color: var(--hp-muted);
}

.hp-preview-story-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.hp-preview-story-card__actions > * {
    width: 100%;
    min-width: 0;
}

.hp-preview-generation-panel {
    background: var(--hp-surface);
}

.hp-preview-generation-panel__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.hp-preview-generation-panel__summary {
    max-width: 520px;
    margin: 0;
    color: var(--hp-muted);
    font-size: 16px;
    line-height: 1.6;
    text-wrap: pretty;
}

.hp-preview-generation-grid,
.hp-preview-card-grid,
.hp-preview-platform-grid,
.hp-preview-community-stat-grid,
.hp-preview-footer__grid {
    display: grid;
    gap: 16px;
}

.hp-preview-generation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hp-preview-generation-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 6px;
    align-content: start;
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: #fffdfa;
    border: 1px solid #d9ccba;
    box-shadow: none;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.hp-preview-generation-card::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 18px;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: #6bea05;
}

.hp-preview-generation-card p,
.hp-preview-generation-card small {
    margin: 0;
}

.hp-preview-generation-card p {
    margin-top: 10px;
    color: #53606b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hp-preview-generation-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-preview-generation-card strong {
    display: block;
    max-width: 100%;
    font-size: clamp(2.15rem, 2.6vw, 2.9rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--hp-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hp-preview-generation-card span,
.hp-preview-generation-card small {
    color: var(--hp-muted);
    font-size: 14px;
    line-height: 1.35;
}

.hp-preview-generation-card small {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(107, 234, 5, 0.1);
    color: #355b17;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.hp-preview-platform-card,
.hp-preview-prop-card {
    padding: 24px;
    border-radius: 22px;
}

.hp-preview-platform-card p,
.hp-preview-prop-card p,
.hp-preview-board-card p,
.hp-preview-event-card p,
.hp-preview-event-empty p {
    margin: 14px 0 0;
    color: var(--hp-muted);
    font-size: 16px;
    line-height: 1.65;
}

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

.hp-preview-prop-card {
    min-height: 250px;
    background: #f8f3ea;
}

.hp-preview-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin: 0 auto;
}

.hp-preview-platform-section {
    color: #ffffff;
    background: linear-gradient(180deg, #132732 0%, #0b1921 100%);
}

.hp-preview-platform-section .hp-preview-section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.hp-preview-platform-section .hp-preview-kicker {
    color: #b7ff7c;
}

.hp-preview-platform-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.hp-preview-platform-card h3 {
    color: #ffffff;
}

.hp-preview-platform-card p {
    color: rgba(255, 255, 255, 0.72);
}

.hp-preview-platform-card span,
.hp-preview-event-card span,
.hp-preview-gallery-slide span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-preview-platform-card span {
    color: #b7ff7c;
}

.hp-preview-platform-card .hp-preview-link-button {
    margin-top: 18px;
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.26);
}

.homepage-preview-body .hp-preview-platform-card a.hp-preview-link-button,
.homepage-preview-body .hp-preview-platform-card a.hp-preview-link-button:visited {
    color: #ffffff;
}

.hp-preview-platform-card .hp-preview-link-button:hover {
    color: var(--hp-ink);
    background: var(--hp-accent);
    border-color: var(--hp-accent);
}

.hp-preview-community-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
}

.hp-preview-community-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 24px 0;
}

.hp-preview-community-stat-grid article {
    padding: 18px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(9, 20, 28, 0.08);
    min-width: 0;
    overflow: hidden;
}

.hp-preview-community-stat-grid strong {
    display: block;
    max-width: 100%;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--hp-ink);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.hp-preview-community-stat-grid span {
    display: block;
    margin-top: 8px;
    color: var(--hp-muted);
    font-size: 13px;
    line-height: 1.4;
}

.hp-preview-board-list,
.hp-preview-event-list,
.hp-preview-footer__links {
    display: grid;
    gap: 14px;
}

.hp-preview-board-card,
.hp-preview-event-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(9, 20, 28, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hp-preview-board-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.hp-preview-event-card {
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: stretch;
}

.hp-preview-board-card:hover,
.hp-preview-event-card:hover,
.hp-preview-gallery-slide:hover {
    transform: translateY(-2px);
    border-color: rgba(107, 234, 5, 0.34);
    box-shadow: 0 18px 42px rgba(8, 20, 27, 0.08);
}

.hp-preview-board-card span:last-child {
    color: var(--hp-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-preview-event-card figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    min-height: 140px;
}

.hp-preview-event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-preview-event-card h3 {
    margin-top: 10px;
}

.hp-preview-event-empty {
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px dashed rgba(9, 20, 28, 0.18);
}

.hp-preview-gallery-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.hp-preview-gallery-note {
    margin-top: 18px;
}

.hp-preview-rich-copy--large {
    margin-top: 18px;
    color: var(--hp-muted);
}

.hp-preview-gallery-slider {
    min-width: 0;
}

.hp-preview-gallery-swiper {
    position: relative;
    overflow: hidden;
    padding-bottom: 72px;
}

.hp-preview-gallery-slide {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 520px;
    border-radius: 24px;
    background: var(--hp-card-strong);
    box-shadow: var(--hp-shadow);
}

.hp-preview-gallery-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-preview-gallery-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 22%, rgba(9, 20, 28, 0.82) 100%);
}

.hp-preview-gallery-slide span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hp-preview-gallery-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    pointer-events: none;
}

.hp-preview-gallery-pagination {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hp-preview-gallery-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 !important;
    opacity: 0.42;
    background: rgba(255, 255, 255, 0.86);
}

.hp-preview-gallery-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--hp-accent);
}

.hp-preview-gallery-nav {
    pointer-events: auto;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(9, 20, 28, 0.5);
    color: #ffffff;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hp-preview-gallery-nav::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.hp-preview-gallery-nav--prev::before {
    transform: rotate(-135deg);
}

.hp-preview-gallery-nav--next::before {
    transform: rotate(45deg);
}

.hp-preview-gallery-nav:hover,
.hp-preview-gallery-nav:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(107, 234, 5, 0.72);
    background: rgba(9, 20, 28, 0.7);
}

.hp-preview-gallery-nav:focus-visible {
    outline: 2px solid var(--hp-accent);
    outline-offset: 3px;
}

.hp-preview-footer {
    padding: 72px 0 62px;
    color: #eef4ee;
    background:
        linear-gradient(180deg, rgba(9, 20, 28, 0), rgba(9, 20, 28, 0.08)),
        linear-gradient(180deg, #0d2532 0%, #09141c 100%);
}

.hp-preview-footer__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    padding: 34px;
    margin-bottom: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(107, 234, 5, 0.16), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-preview-footer__cta .hp-preview-kicker {
    color: #b7ff7c;
}

.hp-preview-footer__cta p,
.hp-preview-footer__copy,
.hp-preview-footer__note {
    color: rgba(238, 244, 238, 0.72);
}

.hp-preview-footer__cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    min-width: 260px;
}

.hp-preview-footer__cta-actions .hp-preview-button--ghost {
    color: #eef4ee;
    border-color: rgba(255, 255, 255, 0.18);
}

.hp-preview-footer__grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 0.8fr;
    align-items: start;
}

.hp-preview-footer__logo {
    width: 180px;
    margin-bottom: 18px;
}

.hp-preview-footer h3 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hp-preview-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-preview-footer__links a {
    color: rgba(238, 244, 238, 0.82);
    font-size: 16px;
    line-height: 1.45;
}

.hp-preview-footer__email {
    color: #b7ff7c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 1199.98px) {
    .hp-preview-hero-grid,
    .hp-preview-proof-grid,
    .hp-preview-gallery-grid,
    .hp-preview-community-grid,
    .hp-preview-footer__cta,
    .hp-preview-footer__grid {
        grid-template-columns: 1fr;
    }

    .hp-preview-hero-visual {
        min-height: 560px;
    }

    .hp-preview-hero-lead-media,
    .hp-preview-hero-lead-media img {
        min-height: 560px;
    }

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

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

    .hp-preview-community-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-preview-proof-intro {
        max-width: 100%;
    }

    .hp-preview-proof-intro__main h2 {
        text-wrap: balance;
    }
}

@media (max-width: 1599.98px) {
    .hp-preview-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }

    .hp-preview-brand {
        grid-column: 1;
    }

    .hp-preview-nav-toggle {
        display: inline-flex;
    }

    .hp-preview-header__panel {
        position: fixed;
        top: var(--hp-preview-header-offset, 82px);
        right: 12px;
        left: 12px;
        z-index: 35;
        width: auto;
        display: none;
        flex-direction: column;
        gap: 14px;
        max-height: calc(100dvh - var(--hp-preview-header-offset, 82px) - 12px);
        padding: 20px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(8, 20, 27, 0.98);
        box-shadow: 0 24px 60px rgba(8, 20, 27, 0.32);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .hp-preview-header__panel.is-open {
        display: flex;
    }

    .hp-preview-nav {
        display: none;
    }

    .hp-preview-header__utility {
        gap: 8px;
        grid-column: 2;
        justify-self: end;
    }

    .hp-preview-header__icon-link,
    .hp-preview-nav-toggle {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .hp-preview-account-menu {
        display: block;
    }

    .hp-preview-header__signin {
        display: none;
    }

    .hp-preview-account-toggle {
        gap: 0;
        width: 46px;
        height: 46px;
        min-height: 46px;
        padding: 0;
        border-radius: 14px;
    }

    .hp-preview-account-toggle__avatar {
        width: 100%;
        height: 100%;
        border-radius: inherit;
    }

    .hp-preview-account-toggle__copy,
    .hp-preview-account-toggle__chevron,
    .hp-preview-header__icon-link--avatar {
        display: none;
    }

    .hp-preview-header__mobile-sections {
        display: grid;
        gap: 14px;
    }

    .hp-preview-header__mobile-section {
        display: grid;
        gap: 10px;
    }

    .hp-preview-header__mobile-section p {
        margin: 0;
        color: rgba(247, 251, 253, 0.82);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .hp-preview-header__mobile-links {
        display: grid;
        gap: 8px;
    }

    .hp-preview-header__mobile-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 14px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
    }

    .hp-preview-header__mobile-link:hover,
    .hp-preview-header__mobile-link:focus-visible {
        color: #ffffff;
        border-color: rgba(107, 234, 5, 0.42);
        background: rgba(255, 255, 255, 0.08);
    }

    .hp-preview-header__guest-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hp-preview-header__guest-actions .hp-preview-button,
    .hp-preview-header__guest-actions .hp-preview-link-button {
        width: 100%;
    }

    .hp-preview-account-panel,
    .hp-preview-notification-panel {
        position: fixed;
        top: calc(var(--hp-preview-header-offset, 82px) + 4px);
        right: auto;
        left: 50%;
        z-index: 40;
        width: min(420px, calc(100vw - 24px));
        max-height: calc(100dvh - var(--hp-preview-header-offset, 82px) - 16px);
        transform: translateX(-50%);
        overflow: hidden;
    }

    .hp-preview-notification-panel__list {
        max-height: calc(100dvh - var(--hp-preview-header-offset, 82px) - 160px);
    }

    .hp-preview-search-modal {
        padding: 82px 16px 16px;
    }

    .hp-preview-search-modal__dialog {
        padding: 24px;
        border-radius: 24px;
    }

    .hp-preview-search-modal__field-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .hp-preview-eyebrow-row,
    .hp-preview-section-heading {
        flex-direction: column;
    }

    .hp-preview-section {
        padding: 64px 0;
    }

    .hp-preview-hero-section {
        padding-top: 40px;
        padding-bottom: 56px;
    }

    .hp-preview-hero-visual {
        min-height: auto;
        padding-left: 0;
    }

    .hp-preview-hero-lead-media,
    .hp-preview-hero-lead-media img {
        min-height: 480px;
    }

    .hp-preview-hero-floating-card {
        position: static;
        max-width: none;
        margin-top: 16px;
    }

    .hp-preview-hero-side-stack {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 16px;
    }

    .hp-preview-hero-side-media {
        width: 100%;
    }

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

@media (max-width: 767.98px) {
    .hp-preview-brand {
        min-width: 0;
    }

    .hp-preview-brand img {
        width: 140px;
    }

    .hp-preview-header {
        padding: 12px 0;
    }

    .hp-preview-header__panel {
        right: 8px;
        left: 8px;
        max-height: calc(100dvh - var(--hp-preview-header-offset, 74px) - 8px);
        padding: 16px;
    }

    .hp-preview-header__utility {
        gap: 7px;
    }

    .hp-preview-header__icon-link,
    .hp-preview-nav-toggle {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .hp-preview-account-toggle {
        width: 42px;
        height: 42px;
        min-height: 42px;
        border-radius: 13px;
    }

    .hp-preview-account-panel,
    .hp-preview-notification-panel {
        top: calc(var(--hp-preview-header-offset, 74px) + 4px);
        width: min(420px, calc(100vw - 16px));
    }

    .hp-preview-notification-panel__head {
        gap: 10px;
    }

    .hp-preview-notification-panel__head strong {
        font-size: 14px;
    }

    .hp-preview-header__badge {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .hp-preview-section-heading h2,
    .hp-preview-footer__cta h2,
    .hp-preview-gallery-copy h2 {
        font-size: 2.4rem;
        line-height: 0.98;
    }

    .hp-preview-hero-title h1 {
        font-size: 3rem;
    }

    .hp-preview-hero-title {
        margin-bottom: 20px;
    }

    .hp-preview-rich-copy,
    .hp-preview-hero-description,
    .hp-preview-hero-supporting-copy,
    .hp-preview-section-heading p {
        font-size: 16px;
    }

    .hp-preview-metric-grid,
    .hp-preview-generation-grid,
    .hp-preview-card-grid,
    .hp-preview-platform-grid,
    .hp-preview-community-stat-grid {
        grid-template-columns: 1fr;
    }

    .hp-preview-story-card,
    .hp-preview-generation-panel,
    .hp-preview-community-panel,
    .hp-preview-event-panel,
    .hp-preview-footer__cta {
        padding: 24px;
    }

    .hp-preview-event-card,
    .hp-preview-board-card {
        grid-template-columns: 1fr;
    }

    .hp-preview-event-card figure {
        min-height: 200px;
    }

    .hp-preview-gallery-slide {
        min-height: 320px;
    }

    .hp-preview-gallery-controls {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .hp-preview-gallery-nav {
        width: 46px;
        height: 46px;
    }

    .hp-preview-search-modal__dialog {
        padding: 20px;
    }

    .hp-preview-search-modal__dialog h2 {
        font-size: 2rem;
    }

    .hp-preview-search-modal__quick-links {
        flex-direction: column;
    }

    .hp-preview-search-modal__quick-link {
        justify-content: center;
    }

    .hp-preview-footer {
        padding-top: 52px;
        padding-bottom: 42px;
    }
}

@media (max-width: 399.98px) {
    .hp-preview-story-card__actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hp-preview-button,
    .hp-preview-link-button,
    .hp-preview-board-card,
    .hp-preview-event-card,
    .hp-preview-gallery-slide,
    .hp-preview-gallery-nav {
        transition: none;
    }
}

.hp-preview-header .hp-preview-nav__link,
.hp-preview-header .hp-preview-nav__link:visited,
.hp-preview-header .hp-preview-nav-menu__toggle,
.homepage-preview-body .hp-preview-header a.hp-preview-header__icon-link,
.homepage-preview-body .hp-preview-header a.hp-preview-header__icon-link:visited,
.homepage-preview-body .hp-preview-header a.hp-preview-link-button--inverse,
.homepage-preview-body .hp-preview-header a.hp-preview-link-button--inverse:visited {
    color: #f7fbfd !important;
}

.hp-preview-header .hp-preview-nav__link:hover,
.hp-preview-header .hp-preview-nav-menu__toggle:hover,
.hp-preview-header .hp-preview-nav-menu__toggle:focus-visible,
.hp-preview-header .hp-preview-nav__link:focus-visible,
.homepage-preview-body .hp-preview-header a.hp-preview-link-button--inverse:hover,
.homepage-preview-body .hp-preview-header a.hp-preview-link-button--inverse:focus-visible {
    color: #ffffff !important;
}
