@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

:root {
    --ds-font-sans: 'Rubik', Arial, sans-serif;
    --ds-ink: #25282c;
    --ds-line: #dfe2e5;
    --ds-surface: #f6f7f8;
    --ds-canvas-dark: #0d0f11;
    --ds-accent: #ff8f00;
    --ds-page-gutter: 16px;
    --ds-content-wide: 1440px;
    --ds-content-shell: calc(var(--ds-content-wide) + var(--ds-page-gutter) + var(--ds-page-gutter));
    --ds-header-height: 62px;
}

@media (min-width: 768px) {
    :root { --ds-page-gutter: 50px; }
}

@media (min-width: 1024px) {
    :root { --ds-page-gutter: 90px; }
}

/* Isolate from Ghost/Casper global resets (html 62.5%, h2 2.8rem, ul disc, li+li margin…) */
.ds-header,
.ds-header *,
.ds-header *::before,
.ds-header *::after,
.ds-footer,
.ds-footer *,
.ds-footer *::before,
.ds-footer *::after,
.ds-mobile,
.ds-mobile *,
.ds-mobile *::before,
.ds-mobile *::after {
    box-sizing: border-box;
}

.ds-header,
.ds-footer,
.ds-mobile {
    font-family: var(--ds-font-sans);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

.ds-header :where(h1, h2, h3, h4, h5, h6),
.ds-footer :where(h1, h2, h3, h4, h5, h6),
.ds-mobile :where(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

.ds-header :where(ul, ol),
.ds-footer :where(ul, ol),
.ds-mobile :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: none;
}

.ds-header :where(li),
.ds-footer :where(li),
.ds-mobile :where(li) {
    margin: 0;
    padding: 0;
    line-height: inherit;
}

.ds-header :where(li + li),
.ds-footer :where(li + li),
.ds-mobile :where(li + li) {
    margin-top: 0;
}

.ds-header :where(p),
.ds-footer :where(p),
.ds-mobile :where(p) {
    margin: 0;
}

.ds-header :where(a),
.ds-footer :where(a),
.ds-mobile :where(a) {
    background: transparent;
    color: inherit;
    text-decoration: none;
}

.ds-header :where(button),
.ds-mobile :where(button) {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.ds-header :where(img),
.ds-footer :where(img),
.ds-mobile :where(img) {
    display: block;
    max-width: none;
    height: auto;
}

.ds-header :where(small),
.ds-footer :where(small),
.ds-mobile :where(small) {
    font-size: inherit;
}

.ds-header :where(strong),
.ds-footer :where(strong),
.ds-mobile :where(strong) {
    font-weight: inherit;
}

/* ========== Header ========== */
.ds-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    color: var(--ds-ink);
}

.ds-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(37, 40, 44, 0.06);
}

.ds-header__nav {
    width: 100%;
    max-width: var(--ds-content-shell);
    height: var(--ds-header-height);
    margin: 0 auto;
    padding: 0 var(--ds-page-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ds-header__logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.ds-header__logo img {
    width: 104px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0);
}

.ds-header[data-ds-chrome-variant="new"] .ds-header__logo img,
#ds-mobile-nav-new .ds-mobile__top img {
    width: 86px;
    height: 30px;
}

.ds-header__menus {
    display: none;
    height: 100%;
    align-items: center;
    gap: 20px;
}

.ds-header__actions {
    display: none;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

@media (min-width: 1280px) {
    .ds-header__menus {
        gap: 24px;
    }
}

@media (min-width: 1025px) {
    .ds-header__menus,
    .ds-header__actions {
        display: flex;
    }

    .ds-header__burger {
        display: none !important;
    }
}

.ds-nav-item {
    position: static;
    display: flex;
    height: 100%;
    align-items: center;
}

.ds-nav-trigger,
.ds-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: rgba(37, 40, 44, 0.82);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.ds-nav-trigger:hover,
.ds-nav-link:hover,
.ds-nav-item.is-open .ds-nav-trigger {
    color: rgba(37, 40, 44, 0.82);
}

.ds-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ds-nav-item.is-open > .ds-nav-trigger > .ds-chevron {
    transform: rotate(180deg);
}

.ds-header__login {
    color: var(--ds-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.ds-header__login:hover {
    color: var(--ds-ink);
}

.ds-header__cta {
    display: inline-flex;
    min-height: 40px;
    height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 9999px;
    background: var(--ds-ink);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.ds-header__cta:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.ds-header__cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ds-header__burger {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--ds-ink);
    padding: 0;
    cursor: pointer;
}

/* Mega menu — full bleed under header */
.ds-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--ds-header-height);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
    /* clip 100vw feature bleed so closed/open menus don't create page-level horizontal scroll */
    overflow-x: clip;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ds-nav-item.is-open .ds-mega {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.ds-mega__panel {
    border-top: 1px solid var(--ds-line);
    background: #fff;
    box-shadow: 0 22px 44px -24px rgba(20, 24, 28, 0.3);
    color: var(--ds-ink);
}

.ds-mega__inner {
    width: 100%;
    max-width: var(--ds-content-shell);
    margin: 0 auto;
    padding: 0 var(--ds-page-gutter);
    display: grid;
    gap: 0;
}

.ds-mega__inner--why,
.ds-mega__inner--resource {
    grid-template-columns: 1fr 1fr 0.85fr;
}

.ds-mega__inner--integrations {
    grid-template-columns: 1fr 1fr 1fr;
}

.ds-mega__col {
    padding: 32px;
    min-width: 0;
}

.ds-mega__inner--why > .ds-mega__col:first-child,
.ds-mega__inner--resource > .ds-mega__col:first-child,
.ds-mega__inner--integrations > .ds-mega__col:first-child {
    padding-left: 0;
}

.ds-mega__inner--integrations > .ds-mega__col:last-child {
    padding-right: 0;
}

.ds-mega__inner--why > .ds-mega__col:first-child {
    display: grid;
    content: normal;
    align-content: start;
    gap: 4px;
}

.ds-mega__link,
.ds-why-group {
    display: flex;
    min-height: 48px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0 12px;
    color: var(--ds-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s ease;
}

.ds-mega__link:hover,
.ds-why-group:hover,
.ds-why-group.is-active {
    background: rgba(37, 40, 44, 0.035);
    color: var(--ds-ink);
}

.ds-why-group .ds-chevron {
    width: 16px;
    height: 16px;
}

.ds-why-group.is-active .ds-chevron {
    transform: rotate(-90deg);
}

.ds-mega__label {
    margin: 0 0 4px;
    padding: 0 12px;
    min-height: 20px;
    display: flex;
    align-items: center;
    color: rgba(37, 40, 44, 0.48);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.ds-mega__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    padding: 0 12px;
    min-height: 20px;
}

.ds-mega__label-row .ds-mega__label {
    margin: 0;
    padding: 0;
}

.ds-mega__view-all-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(37, 40, 44, 0.32);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.ds-mega__view-all-inline:hover {
    color: rgba(37, 40, 44, 0.32);
}

.ds-brand-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--ds-ink);
    transition: background 0.2s ease;
}

.ds-brand-link:hover {
    background: rgba(37, 40, 44, 0.045);
    color: var(--ds-ink);
}

.ds-brand-link > span:last-child {
    min-width: 0;
    flex: 1;
}

.ds-brand-link strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--ds-ink);
}

.ds-brand-link small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(37, 40, 44, 0.5);
    font-size: 12px;
    line-height: 20px;
}

.ds-brand-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f4f6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.ds-brand-icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.ds-brand-icon svg {
    display: block;
    width: 17px;
    height: 17px;
}

.ds-brand-icon--wix img {
    transform: scale(1.24);
}

.ds-brand-icon--walmart img {
    transform: scale(1.1);
}

.ds-brand-icon--network { background: #ff7a00; }
.ds-brand-icon--wholesale { background: #ff8f00; }
.ds-brand-icon--shopify { background: #7ab55c; }
.ds-brand-icon--ebay { background: linear-gradient(135deg, #e53238 0 25%, #0064d2 25% 50%, #f5af02 50% 75%, #86b817 75%); }
.ds-brand-icon--dark { background: #111; }
.ds-brand-icon--paypal { background: #003087; }
.ds-brand-icon--stripe { background: #635bff; }
.ds-brand-icon--bank { background: #60656f; }

.ds-resource-link {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 12px;
    color: var(--ds-ink);
    transition: background 0.2s ease;
}

.ds-resource-link:hover {
    background: rgba(37, 40, 44, 0.035);
    color: var(--ds-ink);
}

.ds-resource-link__arrow {
    flex-shrink: 0;
    color: rgba(37, 40, 44, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ds-resource-link:hover .ds-resource-link__arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.ds-resource-link strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: var(--ds-ink);
}

.ds-resource-link small {
    display: block;
    margin-top: 2px;
    color: rgba(37, 40, 44, 0.5);
    font-size: 12px;
    line-height: 20px;
}

.ds-mega__feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--ds-surface);
    padding: 32px;
    color: var(--ds-ink);
    min-width: 0;
}

.ds-mega__feature::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100vw;
    background: var(--ds-surface);
    pointer-events: none;
}

.ds-mega__eyebrow {
    display: block;
    color: var(--ds-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ds-mega__quick {
    display: grid;
    gap: 0;
    margin-top: 12px;
}

.ds-mega__quick a {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    color: rgba(37, 40, 44, 0.7);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.ds-mega__quick a:hover {
    color: rgba(37, 40, 44, 0.7);
}

.ds-mega__quick svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ds-why-feature {
    overflow: hidden;
    border-radius: 16px;
    background: var(--ds-surface);
}

.ds-why-feature__media {
    position: relative;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    background: #e8eaec;
}

.ds-why-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-why-feature__body {
    padding: 16px 20px;
}

.ds-why-feature__body strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ds-ink);
}

.ds-why-feature__body p {
    margin: 4px 0 0;
    max-width: 42ch;
    color: rgba(37, 40, 44, 0.58);
    font-size: 14px;
    line-height: 20px;
}

.ds-mega__col--why-detail {
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.ds-why-item__btn,
.ds-mega__plain {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    color: var(--ds-ink);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    border-radius: 0;
}

.ds-why-item__btn:hover,
.ds-mega__plain:hover {
    background: rgba(37, 40, 44, 0.035);
    color: var(--ds-ink);
}

.ds-why-item__btn .ds-chevron {
    width: 14px;
    height: 14px;
}

.ds-why-item__btn[aria-expanded="true"] .ds-chevron {
    transform: rotate(180deg);
}

.ds-why-children {
    display: grid;
    gap: 4px;
    padding: 8px 0 8px 20px;
}

.ds-why-children a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: rgba(37, 40, 44, 0.52);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.ds-why-children a:hover {
    color: rgba(37, 40, 44, 0.52);
}

.ds-why-children span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ds-accent);
    flex-shrink: 0;
}

.ds-mega__view-all {
    display: inline-flex;
    align-self: flex-end;
    margin-top: 20px;
    padding: 4px 12px;
    color: rgba(37, 40, 44, 0.42);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.ds-mega__view-all[hidden] {
    display: none !important;
}

.ds-mega__view-all:hover {
    color: rgba(37, 40, 44, 0.42);
}

.ds-why-panel {
    display: block;
    min-height: 0;
}

.ds-why-panel[hidden],
.ds-why-feature[hidden],
.ds-why-children[hidden] {
    display: none !important;
}

/* Integrations column padding matches live: py-7 px-5 */
.ds-mega__inner--integrations > .ds-mega__col {
    padding: 28px 20px;
}

.ds-mega__inner--integrations > .ds-mega__col:first-child {
    padding-left: 0;
}

.ds-mega__inner--integrations > .ds-mega__col:last-child {
    padding-right: 0;
}

/* ========== Mobile ========== */
.ds-mobile[hidden] {
    display: none !important;
}

.ds-mobile {
    position: fixed;
    inset: 0;
    z-index: 1100;
    color: var(--ds-ink);
}

.ds-mobile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.ds-mobile__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.ds-mobile__top {
    display: flex;
    height: var(--ds-header-height);
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--ds-line);
    padding: 0 20px;
}

.ds-mobile__top img {
    width: 104px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0);
}

.ds-mobile__close {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: var(--ds-ink);
    padding: 0;
    cursor: pointer;
}

.ds-mobile__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
}

.ds-mobile__section {
    border-bottom: 1px solid rgba(223, 226, 229, 0.7);
}

.ds-mobile__section > summary,
.ds-mobile__direct {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    color: var(--ds-ink);
    font-size: 16px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(223, 226, 229, 0.7);
}

.ds-mobile__direct {
    border-bottom: 1px solid rgba(223, 226, 229, 0.7);
}

.ds-mobile__section > summary::-webkit-details-marker,
.ds-mobile__links summary::-webkit-details-marker {
    display: none;
}

.ds-mobile__links {
    display: grid;
    gap: 4px;
    padding: 0 0 12px 12px;
}

.ds-mobile__links > a,
.ds-mobile__links > details > summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    color: rgba(37, 40, 44, 0.7);
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
}

.ds-mobile__links > a:hover,
.ds-mobile__links > details > summary:hover {
    background: rgba(37, 40, 44, 0.035);
    color: rgba(37, 40, 44, 0.7);
}

.ds-mobile__sublinks {
    display: grid;
    gap: 2px;
    padding: 0 0 8px 16px;
}

.ds-mobile__sublinks a {
    display: flex;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: rgba(37, 40, 44, 0.52);
    font-size: 13px;
}

.ds-mobile__sublinks a:hover {
    background: rgba(37, 40, 44, 0.035);
    color: rgba(37, 40, 44, 0.52);
}

.ds-mobile__sublinks span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ds-accent);
    flex-shrink: 0;
}

.ds-mobile__dev {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px !important;
    min-height: auto !important;
    height: auto !important;
    padding: 12px !important;
}
.ds-mobile__dev-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(37, 40, 44, 0.7);
    font-size: 14px;
    font-weight: 500;
}
.ds-mobile__dev small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(37, 40, 44, 0.55);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.ds-mobile__foot {
    flex-shrink: 0;
    border-top: 1px solid var(--ds-line);
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
}

.ds-mobile__login,
.ds-mobile__cta {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
}

.ds-mobile__login {
    border: 1px solid var(--ds-ink);
    color: var(--ds-ink);
}

.ds-mobile__cta {
    background: var(--ds-ink);
    color: #fff !important;
    font-weight: 700;
}

/* ========== Footer (match dev.dsers.com) ========== */
.ds-footer {
    background: var(--ds-canvas-dark);
    padding: 56px var(--ds-page-gutter) 32px;
    color: #fff;
}

.ds-footer__inner {
    width: 100%;
    max-width: var(--ds-content-wide);
    margin: 0 auto;
}

.ds-footer__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 56px;
}

@media (min-width: 640px) {
    .ds-footer__columns {
        grid-template-columns: 1fr 1fr;
    }
}

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

.ds-footer__col h2 {
    margin: 0 !important;
    padding: 0;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

.ds-footer__col ul {
    margin: 20px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid;
    gap: 12px;
}

.ds-footer__col li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 20px !important;
}

.ds-footer__col a {
    display: inline-flex;
    padding: 2px 0;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 20px !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ds-footer__col a:hover {
    color: #fff !important;
    transform: translateX(4px);
}

.ds-footer__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 32px;
    padding: 32px 0;
    align-items: center;
}

@media (min-width: 768px) {
    .ds-footer__bottom {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ds-footer__social,
    .ds-footer__legal {
        justify-self: end;
    }

    .ds-footer__legal {
        text-align: right;
        align-items: flex-end;
    }
}

.ds-footer__brand {
    display: flex;
    max-width: 448px; /* 28rem @ 16px — Casper html is 62.5%/10px so rem ≠ website */
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.ds-footer__brand a {
    display: inline-flex;
    line-height: 0;
}

.ds-footer__brand img {
    width: 104px;
    height: 33px;
    object-fit: contain;
}

.ds-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ds-footer__social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: #fff;
    color: var(--ds-canvas-dark) !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ds-footer__social a:hover {
    background: var(--ds-accent);
    color: #fff !important;
    transform: translateY(-2px);
}

.ds-footer__social svg {
    width: 17px;
    height: 17px;
    display: block;
}

.ds-footer__tagline {
    margin: 0 !important;
    max-width: 448px; /* 28rem @ 16px — Casper html is 62.5%/10px so rem ≠ website */
    align-self: start;
    color: rgba(255, 255, 255, 0.42);
    font-size: 14px;
    line-height: 20px;
}

.ds-footer__legal {
    margin: 0;
    display: flex;
    max-width: 448px; /* 28rem @ 16px — Casper html is 62.5%/10px so rem ≠ website */
    flex-direction: column;
    gap: 8px;
    align-self: start;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    line-height: 20px;
}

.ds-footer__legal span {
    display: block;
}

/* --- site chrome AB extras --- */
/* Pre-paint gate: html[data-ds-site-chrome] set in <head> by chrome-boot (no FOUC). */
.ds-chrome-root > [data-ds-chrome] { display: none !important; }
html[data-ds-site-chrome="old"] .ds-chrome-root > [data-ds-chrome="old"],
html[data-ds-site-chrome="new"] .ds-chrome-root > [data-ds-chrome="new"] {
  display: block !important;
}
.ds-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff1dc;
  color: #c96500;
  font-size: 10px;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
}
.ds-footer__logo-invert {
  filter: brightness(0) invert(1);
}
.ds-mega__inner--developers {
  grid-template-columns: 1.1fr 1fr 0.85fr;
}
.ds-dev-link small {
  display: block;
  max-width: 42ch;
}


/* NavigationHighlights — match website SiteHeaderNew */
.ds-linkup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #eee8f2 0%, #fff9ed 100%);
    color: var(--ds-ink);
    text-decoration: none !important;
    white-space: nowrap;
    font-weight: 600;
    font-size: 12px;
    box-sizing: border-box;
}
.ds-linkup-badge img {
    height: 16px;
    width: auto;
    display: block;
}
.ds-linkup-badge__year {
    margin-left: auto;
    border-radius: 999px;
    background: #14181c;
    color: #fff;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
}
.ds-linkup-badge--mobile {
    margin-top: 16px;
    min-height: 64px;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
}
.ds-linkup-badge--mobile img {
    height: 24px;
}
@media (min-width: 1536px) {
    .ds-linkup-badge {
        font-size: 14px;
    }
    .ds-linkup-badge img {
        height: 18px;
    }
}


/* SiteFooterNew parity — beat Ghost/Casper global styles */
#ds-chrome-footer-root {
    width: 100%;
    display: block;
}
.ds-footer--new {
    background: #0d0f11 !important;
    color: #fff !important;
    padding: 56px var(--ds-page-gutter) 32px !important;
    font-family: "Rubik", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
}
.ds-footer--new .ds-footer__inner {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.ds-footer--new .ds-footer__columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-gap: 40px !important;
    row-gap: 48px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 0 56px !important;
    margin: 0 !important;
}
@media (min-width: 640px) {
    .ds-footer--new .ds-footer__columns {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (min-width: 1024px) {
    .ds-footer--new .ds-footer__columns {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
.ds-footer--new .ds-footer__col h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.ds-footer--new .ds-footer__col ul {
    margin: 20px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    gap: 12px !important;
}
.ds-footer--new .ds-footer__col a {
    display: inline-flex !important;
    padding: 2px 0 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    text-decoration: none !important;
    background: transparent !important;
}
.ds-footer--new .ds-footer__col a:hover {
    color: #fff !important;
    transform: translateX(4px);
}
.ds-footer--new .ds-footer__bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-gap: 32px !important;
    row-gap: 16px !important;
    padding: 32px 0 !important;
    margin: 0 !important;
    align-items: center !important;
}
@media (min-width: 768px) {
    .ds-footer--new .ds-footer__bottom {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
    .ds-footer--new .ds-footer__social,
    .ds-footer--new .ds-footer__legal {
        justify-self: end !important;
    }
    .ds-footer--new .ds-footer__legal {
        text-align: right !important;
        align-items: flex-end !important;
    }
}
.ds-footer--new .ds-footer__brand {
    display: flex !important;
    max-width: 448px !important; /* 28rem @ 16px — avoid Casper 62.5% rem */
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 24px !important;
}
.ds-footer--new .ds-footer__logo-invert {
    width: 104px !important;
    height: 33px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
}
.ds-footer--new .ds-footer__social a {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9999px !important;
    background: #fff !important;
    color: #0d0f11 !important;
}
.ds-footer--new .ds-footer__social a:hover {
    background: #ff8f00 !important;
    color: #fff !important;
}
.ds-footer--new .ds-footer__tagline {
    margin: 0 !important;
    max-width: 448px !important; /* 28rem @ 16px — avoid Casper 62.5% rem */
    color: rgba(255, 255, 255, 0.42) !important;
    font-size: 14px !important;
    line-height: 20px !important;
}
.ds-footer--new .ds-footer__legal {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 12px !important;
    line-height: 20px !important;
}
.ds-footer--new .ds-footer__legal span {
    color: inherit !important;
}

