@font-face {
    font-family: "Lexend";
    src: url("/assets/storefront/fonts/Lexend-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --sf-bg: #f6f4ef;
    --sf-surface: #fffdf8;
    --sf-ink: #171715;
    --sf-muted: #68665f;
    --sf-line: #dcd8ce;
    --sf-accent: #ff5a36;
    --sf-accent-dark: #d93c1e;
    --sf-lime: #d9ff55;
    --sf-blue: #1f49ff;
    --sf-radius-small: 10px;
    --sf-radius-medium: 16px;
    --sf-radius-large: 24px;
    --sf-radius: var(--sf-radius-large);
    --sf-shadow: 0 18px 50px rgba(35, 31, 23, .09);
    color-scheme: light;
    font-family: "Lexend", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sf-bg); color: var(--sf-ink); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, input, select, a { outline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sf-blue); }

.storefront-shell { width: min(1380px, calc(100% - 32px)); margin-inline: auto; }
.storefront-skip { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--sf-ink); color: white; transform: translateY(-150%); }
.storefront-skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.storefront-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(23, 23, 21, .1); background: rgba(246, 244, 239, .92); backdrop-filter: blur(14px); }
.storefront-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.storefront-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.04em; }
.storefront-brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: var(--sf-radius-small); background: var(--sf-accent); color: white; font-size: 1.3rem; transform: rotate(-5deg); }
.storefront-brand small { display: block; color: var(--sf-muted); font-size: .66rem; font-weight: 650; letter-spacing: .02em; }
.storefront-nav { display: flex; align-items: center; gap: 6px; }
.storefront-nav a { padding: 9px 14px; border-radius: var(--sf-radius-small); color: var(--sf-muted); font-size: .92rem; font-weight: 700; }
.storefront-nav a:hover, .storefront-nav a[aria-current="page"] { background: var(--sf-ink); color: white; }
.storefront-nav-divider { width: 1px; height: 22px; margin: 0 3px; background: var(--sf-line); }
.storefront-nav a.storefront-nav-accent { background: var(--sf-accent); color: white; }
.storefront-nav-form { margin: 0; }
.storefront-nav-form button { padding: 9px 14px; border: 0; border-radius: var(--sf-radius-small); background: transparent; color: var(--sf-muted); cursor: pointer; font-size: .92rem; font-weight: 700; }
.storefront-nav-form button:hover { background: var(--sf-ink); color: white; }

.storefront-hero { overflow: hidden; padding: 72px 0 62px; }
.storefront-hero-grid { min-height: 520px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.storefront-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--sf-accent-dark); font-size: .74rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.storefront-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.storefront-hero h1, .catalog-hero h1, .resource-detail-copy h1 { margin: 18px 0; font-size: clamp(2.8rem, 6.5vw, 5.9rem); line-height: .95; letter-spacing: -.075em; }
.storefront-hero-copy > p { max-width: 600px; color: var(--sf-muted); font-size: 1.08rem; }
.storefront-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.storefront-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid transparent; border-radius: var(--sf-radius-medium); cursor: pointer; font-weight: 800; transition: transform .18s ease, background .18s ease, color .18s ease; }
.storefront-button:hover { transform: translateY(-2px); }
.storefront-button-primary { background: var(--sf-accent); color: white; }
.storefront-button-primary:hover { background: var(--sf-accent-dark); }
.storefront-button-secondary { border-color: var(--sf-ink); background: transparent; color: var(--sf-ink); }
.storefront-button-secondary:hover { background: var(--sf-ink); color: white; }
.storefront-button-ghost { background: white; box-shadow: 0 8px 24px rgba(35, 31, 23, .08); }
.storefront-button-disabled, .storefront-button:disabled { border-color: var(--sf-line); background: #ebe8df; color: #77746c; cursor: not-allowed; transform: none; }

.storefront-hero-art { position: relative; min-height: 470px; }
.hero-card { position: absolute; border: 2px solid var(--sf-ink); box-shadow: 12px 12px 0 var(--sf-ink); }
.hero-card-main { inset: 45px 40px 40px 28px; padding: 42px; background: var(--sf-lime); transform: rotate(3deg); }
.hero-card span { font-size: .75rem; font-weight: 900; letter-spacing: .18em; }
.hero-card strong { display: block; margin-top: 80px; font-size: clamp(2.7rem, 5vw, 4.9rem); line-height: .83; letter-spacing: -.08em; }
.hero-chip { position: absolute; z-index: 2; border: 2px solid var(--sf-ink); border-radius: 999px; padding: 10px 18px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; box-shadow: 5px 5px 0 var(--sf-ink); }
.hero-chip-free { top: 20px; right: 4px; background: white; transform: rotate(-8deg); }
.hero-chip-member { bottom: 26px; left: 0; background: var(--sf-blue); color: white; transform: rotate(6deg); }
.hero-orbit { position: absolute; border: 1px solid rgba(23, 23, 21, .2); border-radius: 50%; }
.hero-orbit-one { width: 430px; height: 430px; top: 0; left: 5px; }
.hero-orbit-two { width: 320px; height: 320px; right: -80px; bottom: -40px; }

.storefront-section { padding: 88px 0 110px; background: var(--sf-ink); color: white; }
.section-heading { max-width: 720px; }
.section-heading h2 { margin: 15px 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.055em; }
.section-heading p { color: #aaa89f; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feature-grid article { min-height: 250px; padding: 28px; border: 1px solid #3c3b37; border-radius: var(--sf-radius); background: #20201e; }
.feature-grid article:nth-child(2) { background: var(--sf-accent); color: white; }
.feature-grid article:nth-child(3) { background: var(--sf-lime); color: var(--sf-ink); }
.feature-grid span { font-size: .76rem; font-weight: 900; }
.feature-grid h3 { margin: 72px 0 8px; font-size: 1.38rem; }
.feature-grid p { margin: 0; opacity: .76; }

.catalog-hero { padding: 38px 0 28px; border-bottom: 1px solid var(--sf-line); }
.catalog-hero h1 { max-width: 850px; margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.catalog-hero p { margin: 0; color: var(--sf-muted); }
.catalog-section { padding: 38px 0 100px; }
.discovery-links {
    display: flex;
    gap: 8px;
    margin: -18px 0 18px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: #fff;
}
.discovery-links a {
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--sf-muted);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.discovery-links a:hover,
.discovery-links a[aria-current="page"] {
    border-color: var(--sf-ink);
    color: var(--sf-ink);
    background: var(--sf-lime);
}
.related-resources { padding-top: 62px; }
.related-resource-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-first { padding: 28px 0 96px; }
.catalog-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.catalog-intro h1 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.1; letter-spacing: -.045em; }
.catalog-intro p { margin: 0; color: var(--sf-muted); font-size: .88rem; }
.catalog-filter-bar {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) minmax(180px, .42fr) minmax(155px, .36fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-large);
    background: #fff;
    box-shadow: 0 8px 28px rgba(35, 31, 23, .04);
}
.catalog-filter-bar .access-tabs { flex-wrap: nowrap; }
.catalog-filter-bar .storefront-button { height: 48px; min-height: 48px; }
.catalog-home-sections { display: grid; gap: 52px; margin-top: 40px; }
.catalog-home-section { min-width: 0; }
.catalog-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.catalog-section-heading h2,
.catalog-result-heading h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.045em; }
.catalog-section-heading p,
.catalog-result-heading p { margin: 5px 0 0; color: var(--sf-muted); font-size: .84rem; }
.catalog-section-heading > a { flex: 0 0 auto; color: var(--sf-accent-dark); font-size: .84rem; font-weight: 800; }
.catalog-section-heading > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.catalog-section-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-result-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 32px 0 18px; }
.resource-card-actions { position: relative; z-index: 2; margin-top: auto; padding-top: 10px; }
.resource-card-actions:empty { display: none; }
.access-service { border: 1px solid var(--sf-ink); background: #fff0eb; color: var(--sf-ink); }
.digital-service-card .resource-card-body > p { margin-top: auto; }
.feature-grid h3 a { color: inherit; text-decoration: none; }
.feature-grid h3 a:hover { text-decoration: underline; }
.catalog-controls { display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; gap: 12px; }
.catalog-search, .catalog-select { height: 48px; min-height: 48px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-medium); background: var(--sf-surface); }
.catalog-search { padding: 0 16px; }
.catalog-search svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.catalog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--sf-ink); }
.catalog-select { position: relative; }
.catalog-select::after {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--sf-muted);
    border-bottom: 2px solid var(--sf-muted);
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}
.catalog-select select {
    width: 100%;
    min-height: 46px;
    padding: 0 48px 0 15px;
    border: 0;
    outline: 0;
    appearance: none;
    background: transparent;
    color: var(--sf-ink);
}
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; }
.catalog-toolbar p { margin: 0; color: var(--sf-muted); font-size: .9rem; }
.access-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.access-tabs a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-small); color: var(--sf-muted); font-size: .86rem; font-weight: 750; }
.access-tabs a[aria-current="page"] { border-color: var(--sf-ink); background: var(--sf-ink); color: white; }

.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.resource-card { position: relative; min-width: 0; height: 100%; display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-large); background: var(--sf-surface); box-shadow: 0 8px 28px rgba(35, 31, 23, .04); transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--sf-shadow); }
.resource-card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e9e4d9; }
.resource-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.resource-card:hover .resource-card-media img { transform: scale(1.025); }
.resource-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--sf-lime), #83ffd7); font-size: 1rem; font-weight: 900; letter-spacing: .12em; }
.resource-card-body { display: flex; min-height: 178px; flex: 1 1 auto; flex-direction: column; padding: 18px; }
.resource-card-meta { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.access-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border-radius: 999px; font-size: .69rem; font-weight: 900; letter-spacing: .025em; }
.access-free { background: var(--sf-lime); color: #283000; }
.access-membership { background: #e8ebff; color: #1734b6; }
.resource-category { overflow: hidden; color: var(--sf-muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.resource-card h2 { min-height: 2.5em; display: -webkit-box; overflow: hidden; margin: 14px 0 8px; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.03em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.resource-card-link::after { position: absolute; z-index: 1; inset: 0; content: ""; }
.resource-card h2 a:hover { color: var(--sf-accent-dark); }
.resource-card-body > p { margin: 0; color: var(--sf-muted); font-size: .8rem; }
.resource-download-count { display: flex; align-items: center; gap: 6px; }
.resource-download-count span { font-weight: 900; }
.resource-card .storefront-button { width: 100%; }

.storefront-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.storefront-pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--sf-line); border-radius: 12px; background: var(--sf-surface); font-weight: 750; }
.storefront-pagination a[aria-current="page"] { border-color: var(--sf-ink); background: var(--sf-ink); color: white; }
.storefront-state { max-width: 650px; margin: 70px auto; padding: 54px 28px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); background: var(--sf-surface); text-align: center; }
.storefront-state > span { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--sf-lime); font-weight: 900; }
.storefront-state h1, .storefront-state h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.04em; }
.storefront-state p { color: var(--sf-muted); }
.storefront-state .storefront-button { margin-top: 12px; }

.resource-detail { padding: 38px 0 100px; }
.storefront-breadcrumb { display: flex; align-items: center; gap: 9px; overflow: hidden; margin-bottom: 30px; color: var(--sf-muted); font-size: .83rem; white-space: nowrap; }
.storefront-breadcrumb span:last-child { overflow: hidden; color: var(--sf-ink); text-overflow: ellipsis; }
.resource-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: start; gap: 58px; }
.resource-detail-media { overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-large); background: #e9e4d9; box-shadow: var(--sf-shadow); }
.resource-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.resource-detail-copy { padding-top: 12px; }
.resource-detail-copy h1 { margin: 18px 0 26px; font-size: clamp(2.5rem, 5vw, 4.6rem); overflow-wrap: anywhere; }
.resource-facts { margin: 0 0 30px; }
.resource-facts div { display: flex; justify-content: space-between; gap: 30px; padding: 13px 0; border-top: 1px solid var(--sf-line); border-bottom: 1px solid var(--sf-line); }
.resource-facts dt { color: var(--sf-muted); }
.resource-facts dd { margin: 0; font-weight: 750; text-align: right; }
.resource-description h2, .resource-demo h2 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -.03em; }
.resource-description p { margin: 0; color: var(--sf-muted); overflow-wrap: anywhere; white-space: normal; }
.resource-access-note { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--sf-accent); border-radius: 0 12px 12px 0; background: #fff0eb; }
.resource-access-note p { margin: 5px 0 0; color: #6d4339; font-size: .9rem; }
.resource-demo { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin-top: 58px; padding: 32px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); background: var(--sf-surface); }
.resource-demo p { margin: 0; color: var(--sf-muted); }
.resource-demo-player { grid-column: 1 / -1; }
.resource-demo-player iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; border-radius: 14px; background: #111; }
.detail-state-section { padding: 40px 0 90px; }

.pricing-hero { padding: 42px 0 38px; border-bottom: 1px solid var(--sf-line); text-align: center; }
.pricing-hero h1 { max-width: 1100px; margin: 0 auto; font-size: clamp(1.85rem, 2.65vw, 2.35rem); line-height: 1.2; letter-spacing: -.045em; text-wrap: balance; }
.pricing-section { padding: 48px 0 100px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-card { min-width: 0; min-height: 520px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--sf-line); border-radius: 24px; background: var(--sf-surface); box-shadow: 0 8px 28px rgba(35,31,23,.04); }
.pricing-card-featured { border: 2px solid var(--sf-blue); }
.pricing-card-heading { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pricing-code { color: var(--sf-accent-dark); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.pricing-saving { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--sf-lime); color: #283000; font-size: .7rem; font-weight: 850; white-space: nowrap; }
.pricing-card h2 { margin: 18px 0 10px; font-size: 2rem; letter-spacing: -.05em; }
.pricing-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 26px; }
.pricing-price { font-size: clamp(1.85rem, 3vw, 2.55rem); font-weight: 900; letter-spacing: -.045em; }
.pricing-old-price { color: var(--sf-muted); font-size: .92rem; font-weight: 650; }
.pricing-benefits { margin: 0 0 28px; padding: 0; color: var(--sf-muted); list-style: none; }
.pricing-benefits li { position: relative; margin: 12px 0; padding-left: 27px; }
.pricing-benefits li::before { position: absolute; top: 0; left: 0; color: var(--sf-accent-dark); content: "✓"; font-weight: 900; }
.pricing-card .storefront-button { width: 100%; }
.pricing-card > .storefront-button { margin-top: auto; }

.storefront-footer { border-top: 1px solid var(--sf-line); background: var(--sf-surface); }
.storefront-footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.storefront-footer strong { font-size: 1.25rem; }
.storefront-footer p { margin: 4px 0 0; color: var(--sf-muted); font-size: .86rem; }
.storefront-footer-links { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.storefront-social-link {
    min-width: 148px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px 8px 9px;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-medium);
    background: #fff;
    box-shadow: 0 6px 18px rgba(35, 31, 23, .06);
    transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}
.storefront-social-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
}
.storefront-social-icon svg { width: 22px; height: 22px; fill: currentColor; }
.storefront-social-telegram .storefront-social-icon { background: #229ed9; }
.storefront-social-discord .storefront-social-icon { background: #5865f2; }
.storefront-social-link:hover {
    border-color: var(--sf-ink);
    box-shadow: 0 10px 24px rgba(35, 31, 23, .12);
    color: var(--sf-accent-dark);
    transform: translateY(-2px);
}

.auth-section { min-height: calc(100vh - 226px); padding: 64px 0 92px; }
.auth-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, .7fr); align-items: center; gap: 80px; }
.auth-shell-centered { grid-template-columns: minmax(0, 620px); justify-content: center; }
.auth-intro h1, .auth-card > h1, .account-heading h1 { margin: 18px 0; font-size: clamp(2.5rem, 6vw, 5.1rem); line-height: .96; letter-spacing: -.07em; }
.auth-intro p, .auth-muted, .account-heading p { color: var(--sf-muted); }
.auth-card { min-width: 0; padding: 34px; border: 1px solid var(--sf-line); border-radius: 24px; background: var(--sf-surface); box-shadow: var(--sf-shadow); }
.auth-card h2 { margin: 0 0 24px; font-size: 1.7rem; letter-spacing: -.04em; }
.auth-card > h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.auth-form { display: grid; gap: 18px; }
.auth-field { display: grid; gap: 7px; font-size: .9rem; font-weight: 750; }
.auth-field > span:first-child { display: flex; justify-content: space-between; gap: 15px; }
.auth-field > span > small { color: var(--sf-muted); font-weight: 600; }
.auth-field input { min-width: 0; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--sf-line); border-radius: 13px; background: white; color: var(--sf-ink); }
.auth-field input:focus { border-color: var(--sf-blue); box-shadow: 0 0 0 3px rgba(31, 73, 255, .12); }
.password-control { position: relative; display: flex; }
.password-control input { padding-right: 74px; }
.password-control button { position: absolute; top: 7px; right: 7px; min-width: 57px; height: 36px; border: 0; border-radius: 9px; background: #eeebe3; cursor: pointer; color: var(--sf-ink); font-size: .78rem; font-weight: 800; }
.auth-check { display: flex; align-items: flex-start; gap: 10px; color: var(--sf-muted); font-size: .86rem; }
.auth-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sf-accent); }
.auth-submit { width: 100%; margin-top: 3px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--sf-muted); font-size: .78rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--sf-line); }
.google-auth-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border: 1px solid var(--sf-line); border-radius: 999px; background: white; font-weight: 800; }
.google-auth-button span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #f2f2f2; color: #1f49ff; }
.google-auth-button:hover { border-color: var(--sf-ink); }
.auth-card-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; color: var(--sf-muted); font-size: .88rem; }
.auth-card-links a, .auth-text-link { color: var(--sf-blue); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.auth-alert { margin: 0 0 20px; padding: 13px 15px; border-radius: 12px; font-size: .88rem; }
.auth-alert-error { border: 1px solid #f0b8ab; background: #fff0eb; color: #7b2e1c; }
.auth-alert-success { border: 1px solid #afce6d; background: #f2ffce; color: #354700; }
.field-error { color: #a42812; font-size: .78rem; font-weight: 700; }
.auth-card-state { text-align: center; }
.auth-card-state .auth-form { margin-top: 24px; }
.auth-state-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--sf-lime); font-size: 2rem; font-weight: 900; }

.account-section {
    min-height: calc(100vh - 226px);
    padding: 64px 0 92px;
    font-family: "Lexend", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.account-heading { max-width: 820px; margin-bottom: 42px; }
.account-heading h1 { overflow-wrap: anywhere; }
.account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.account-card { min-width: 0; min-height: 285px; padding: 28px; border: 1px solid var(--sf-line); border-radius: 22px; background: var(--sf-surface); }
.account-card:nth-child(2) { background: var(--sf-lime); }
.account-card-number { font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.account-card h2 { margin: 70px 0 20px; font-size: 1.35rem; letter-spacing: -.035em; }
.account-card p { color: var(--sf-muted); overflow-wrap: anywhere; }
.account-card dl { margin: 0; }
.account-card dl div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid rgba(23, 23, 21, .14); }
.account-card dt { color: var(--sf-muted); }
.account-card dd { margin: 0; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.account-note { font-size: .8rem; }
.account-provider-action { margin-top: 16px; }
.account-provider-action .storefront-button { width: 100%; }
.identity-provider { padding: 16px 0; border-top: 1px solid rgba(23, 23, 21, .14); }
.identity-provider > div { display: flex; justify-content: space-between; gap: 18px; }
.identity-provider > div span { color: var(--sf-muted); text-align: right; overflow-wrap: anywhere; }
.storefront-button-danger { border-color: #c5523b; color: #8b2d1d; background: #fff3ef; }
.storefront-button-danger:hover { border-color: #8b2d1d; background: #ffe4dc; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; font-weight: 850; white-space: nowrap; }
.status-pill::before { content: "•"; font-size: .9em; }
.status-ok, .status-active, .status-succeeded { background: #e6ff9c; color: #314300; }
.status-expired, .status-cancelled, .status-revoked, .status-failed { background: #fff0eb; color: #7b2e1c; }
.status-pending, .status-processing, .status-needs_review, .status-missing { background: #eef0ff; color: #263ea7; }
.account-logout { margin-top: 28px; }

.account-summary-grid { align-items: start; }
.account-summary-grid .account-card { min-height: 100%; }
.account-summary-grid .account-card h2 { margin-top: 40px; }
.account-membership > .storefront-button { width: 100%; margin-top: 18px; }
.account-panel {
    min-width: 0;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--sf-line);
    border-radius: 22px;
    background: var(--sf-surface);
}
.account-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.account-panel-heading h2 { margin: 7px 0 0; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.045em; }
.account-panel-heading > span { color: var(--sf-muted); font-size: .82rem; text-align: right; }
.account-empty { padding: 28px; border: 1px dashed var(--sf-line); border-radius: 16px; background: #f8f6f0; text-align: center; }
.account-empty p { margin: 6px 0 0; color: var(--sf-muted); }
.account-list { display: grid; gap: 12px; }
.account-list-item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(210px, 1.2fr) minmax(270px, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 20px;
    border: 1px solid var(--sf-line);
    border-radius: 16px;
    background: #fbfaf6;
}
.account-list-main { min-width: 0; }
.account-list-main h3 { margin: 6px 0 3px; font-size: 1rem; overflow-wrap: anywhere; }
.account-list-main p { margin: 0; color: var(--sf-muted); font-size: .78rem; overflow-wrap: anywhere; }
.account-type-label { color: var(--sf-accent-dark); font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.account-list-item dl { min-width: 0; margin: 0; }
.account-list-item dl div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; }
.account-list-item dt { color: var(--sf-muted); font-size: .76rem; }
.account-list-item dd { margin: 0; font-size: .8rem; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.account-list-action { min-width: 130px; text-align: right; }
.account-list-action .storefront-button { width: 100%; }
.account-muted-action { color: var(--sf-muted); font-size: .78rem; font-weight: 700; }
.account-table-wrap { width: 100%; overflow: hidden; border: 1px solid var(--sf-line); border-radius: 16px; }
.account-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.account-table th, .account-table td { padding: 14px 16px; border-bottom: 1px solid var(--sf-line); text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.account-table th { background: #f0ede5; color: var(--sf-muted); font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; }
.account-table td { font-size: .82rem; }
.account-table tr:last-child td { border-bottom: 0; }
.account-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 22px; }
.account-pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--sf-line); border-radius: 11px; font-weight: 750; }
.account-pagination a[aria-current="page"] { border-color: var(--sf-ink); background: var(--sf-ink); color: white; }
.account-session-list { display: grid; gap: 12px; }
.account-session { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fbfaf6; }
.account-session h3 { margin: 0 0 5px; font-size: 1rem; }
.account-session p { margin: 2px 0; color: var(--sf-muted); font-size: .78rem; }
.account-link-report { position: relative; }
.account-link-report summary {
    display: inline-flex;
    cursor: pointer;
    border: 1px solid var(--sf-line);
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--sf-ink);
    font-size: .75rem;
    font-weight: 700;
    list-style: none;
    white-space: nowrap;
}
.account-link-report summary::-webkit-details-marker { display: none; }
.account-link-report[open] { min-width: 220px; }
.account-link-report form { display: grid; gap: 8px; margin-top: 9px; text-align: left; }
.account-link-report label { display: grid; gap: 5px; color: var(--sf-muted); font-size: .72rem; font-weight: 650; }
.account-link-report textarea {
    width: 100%;
    min-height: 78px;
    resize: vertical;
    border: 1px solid var(--sf-line);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    color: var(--sf-ink);
    font: inherit;
}
.account-link-report .storefront-button { width: 100%; min-height: 38px; border-radius: 999px; }

.resource-card-actions { display: flex; align-items: stretch; gap: 8px; margin-top: auto; }
.resource-card-actions > .storefront-button { flex: 1 1 auto; }
.favorite-control { flex: 0 0 auto; margin: 0; }
.favorite-button {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    background: #fff;
    color: var(--sf-ink);
    font: 750 .78rem/1 "Lexend", ui-sans-serif, system-ui, sans-serif;
    cursor: pointer;
    white-space: nowrap;
}
.favorite-button::before { content: "♡"; margin-right: 6px; font-size: 1rem; }
.favorite-button.is-active {
    border-color: var(--sf-ink);
    background: var(--sf-lime);
}
.favorite-button.is-active::before { content: "♥"; }
.favorite-control-detail { width: 100%; }
.favorite-control-detail .favorite-button { width: 100%; min-height: 48px; }
.growth-panel { font-family: "Lexend", ui-sans-serif, system-ui, sans-serif; }
.account-favorite-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.growth-referral-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 16px;
}
.growth-referral-grid > div {
    min-width: 0;
    padding: 19px;
    border: 1px solid var(--sf-line);
    border-radius: 16px;
    background: #fbfaf6;
}
.growth-referral-grid h3 { margin: 0 0 7px; }
.growth-referral-grid p { color: var(--sf-muted); font-size: .84rem; }
.growth-copy-field { display: grid; gap: 7px; color: var(--sf-muted); font-size: .75rem; font-weight: 750; }
.growth-copy-field input {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--sf-line);
    border-radius: 13px;
    background: white;
    color: var(--sf-ink);
    font: 650 .77rem/1.4 "Lexend", ui-sans-serif, system-ui, sans-serif;
}
.growth-preferences { display: grid; gap: 10px; }
.growth-preferences > label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid var(--sf-line);
    border-radius: 15px;
    background: #fbfaf6;
}
.growth-preferences input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--sf-blue); }
.growth-preferences span, .growth-preferences strong, .growth-preferences small { display: block; min-width: 0; }
.growth-preferences small { margin-top: 4px; color: var(--sf-muted); }
.growth-preferences .storefront-button { justify-self: start; }

.membership-checkout,
.membership-payment-page {
    font-family: "Lexend", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.membership-checkout { padding: 64px 0 96px; }
.membership-checkout-shell { max-width: 980px; }
.membership-checkout-heading { max-width: 800px; margin-bottom: 32px; }
.membership-checkout-heading h1 { margin: 16px 0; font-size: clamp(2.35rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.06em; }
.membership-checkout-heading p { max-width: 720px; color: var(--sf-muted); }
.membership-checkout-card,
.membership-payment-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    background: var(--sf-surface);
    box-shadow: var(--sf-shadow);
}
.membership-checkout-card fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.membership-checkout-card legend { margin-bottom: 14px; font-size: 1.06rem; font-weight: 800; }
.membership-plan-options,
.membership-method-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.membership-method-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.membership-plan-options label,
.membership-method-options label {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--sf-line);
    border-radius: 16px;
    background: white;
    cursor: pointer;
}
.membership-plan-options label:has(input:checked),
.membership-method-options label:has(input:checked) { border-color: var(--sf-blue); box-shadow: inset 0 0 0 1px var(--sf-blue); }
.membership-plan-options input,
.membership-method-options input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--sf-blue); }
.membership-plan-options span,
.membership-method-options span { min-width: 0; }
.membership-plan-options strong,
.membership-method-options strong { display: block; }
.membership-plan-options small,
.membership-method-options small { display: block; margin-top: 5px; color: var(--sf-muted); overflow-wrap: anywhere; }
.membership-checkout-notice { display: grid; gap: 4px; margin: 4px 0 22px; padding: 17px 18px; border: 1px solid #e8b54f; border-radius: 16px; background: #fff7dd; }
.membership-checkout-notice span { color: #68531f; font-size: .88rem; }
.membership-checkout-submit { width: 100%; border-radius: 16px; }

.membership-payment-page { padding: 58px 0 96px; }
.membership-payment-shell { max-width: 980px; }
.membership-payment-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    background: white;
}
.membership-payment-banner strong,
.membership-payment-banner span { display: block; }
.membership-payment-banner span { margin-top: 2px; color: var(--sf-muted); }
.membership-payment-status-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid !important;
    place-items: center;
    margin: 0 !important;
    border: 2px solid currentColor;
    border-radius: 14px;
    color: var(--sf-ink) !important;
    font-size: 1.15rem;
    font-weight: 900;
}
.membership-payment-banner.is-pending { border-style: dashed; background: #fff7dd; }
.membership-payment-banner.is-processing { border-left: 6px solid var(--sf-blue); background: #edf1ff; }
.membership-payment-banner.is-success { border-left: 6px solid #34782d; background: #efffea; }
.membership-payment-banner.is-failed { border-left: 6px solid #a53125; background: #fff0ed; }
.membership-payment-banner.is-expired { border-style: double; border-width: 3px; background: #f0eee8; }
.membership-payment-banner.is-cancelled { opacity: .78; background: #efede7; }
.membership-payment-banner.is-review { border: 3px dotted #946512; background: #fff3cf; }
.membership-payment-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.membership-payment-card header { display: grid; gap: 5px; margin-bottom: 22px; }
.membership-payment-card header span,
.membership-payment-instructions > span { color: var(--sf-muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.membership-payment-card header strong,
.membership-payment-instructions code,
.membership-transfer-content { overflow-wrap: anywhere; word-break: break-word; }
.membership-payment-card dl { margin: 0; }
.membership-payment-card dl div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--sf-line); }
.membership-payment-card dt { color: var(--sf-muted); }
.membership-payment-card dd { margin: 0; font-weight: 750; text-align: right; }
.membership-payment-instructions code {
    display: block;
    margin: 14px 0 22px;
    padding: 18px;
    border: 1px dashed var(--sf-ink);
    border-radius: 16px;
    background: #f3f0e8;
    font: 700 .82rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.membership-payment-instructions label { display: grid; gap: 7px; color: var(--sf-muted); }
.membership-transfer-content { display: block; padding: 14px; border: 2px solid var(--sf-ink); border-radius: 14px; background: var(--sf-lime); color: var(--sf-ink); font-size: 1.12rem; letter-spacing: .04em; }
.membership-payment-instructions p { color: var(--sf-muted); }
.membership-payment-cancel { display: inline-block; margin: 0 8px 12px 0; }

@media (max-width: 900px) {
    .storefront-hero-grid, .resource-detail-grid { grid-template-columns: 1fr; }
    .storefront-hero-grid { gap: 28px; }
    .storefront-hero-art { min-height: 430px; }
    .feature-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resource-detail-grid { gap: 30px; }
    .auth-shell { grid-template-columns: 1fr; gap: 34px; }
    .auth-intro { max-width: 650px; }
    .account-grid { grid-template-columns: 1fr 1fr; }
    .account-card:last-child { grid-column: 1 / -1; }
    .account-list-item { grid-template-columns: minmax(0, 1fr) minmax(240px, .9fr); }
    .account-list-action { grid-column: 1 / -1; text-align: left; }
    .account-list-action .storefront-button { width: auto; }
    .account-favorite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .membership-plan-options { grid-template-columns: 1fr; }
    .catalog-filter-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .catalog-filter-bar .access-tabs { grid-column: 1 / -1; }
    .catalog-filter-bar .catalog-search { grid-column: 1 / -1; }
    .catalog-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .storefront-shell { width: min(100% - 30px, 1380px); }
    .storefront-header-inner { min-height: 66px; }
    .storefront-header-inner { align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px 0; }
    .storefront-brand small { display: none; }
    .storefront-nav { width: 100%; flex-wrap: wrap; gap: 2px; padding-bottom: 2px; }
    .storefront-nav a, .storefront-nav-form button { flex: 0 0 auto; padding: 7px 8px; font-size: .76rem; white-space: nowrap; }
    .storefront-nav-divider { flex: 0 0 1px; }
    .storefront-hero { padding: 48px 0 36px; }
    .storefront-hero-grid { min-height: auto; }
    .storefront-hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
    .storefront-hero-art { min-height: 350px; }
    .hero-card-main { inset: 38px 18px 26px 15px; padding: 28px; }
    .hero-card strong { margin-top: 65px; font-size: 3.25rem; }
    .hero-orbit-one { width: 340px; height: 340px; }
    .hero-chip-free { right: 0; }
    .feature-grid, .resource-grid { grid-template-columns: 1fr; }
    .storefront-section { padding: 68px 0; }
    .feature-grid article { min-height: 210px; }
    .feature-grid h3 { margin-top: 45px; }
    .catalog-hero { padding: 52px 0 36px; }
    .catalog-first { padding-top: 18px; }
    .catalog-intro { align-items: flex-start; flex-direction: column; gap: 5px; }
    .catalog-filter-bar { grid-template-columns: minmax(0, 1fr); padding: 10px; border-radius: var(--sf-radius-medium); }
    .catalog-filter-bar .access-tabs,
    .catalog-filter-bar .catalog-search { grid-column: auto; }
    .catalog-filter-bar .access-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .catalog-filter-bar .access-tabs a { display: grid; place-items: center; padding-inline: 5px; text-align: center; }
    .catalog-home-sections { gap: 48px; margin-top: 28px; }
    .catalog-section-heading,
    .catalog-result-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .catalog-section-grid { grid-template-columns: minmax(0, 1fr); }
    .catalog-controls { grid-template-columns: 1fr; }
    .catalog-select select, .catalog-controls .storefront-button { width: 100%; }
    .catalog-toolbar { align-items: flex-start; flex-direction: column; }
    .resource-card-body > p { min-height: auto; }
    .resource-card-actions { flex-direction: column; }
    .favorite-control, .favorite-button { width: 100%; }
    .resource-detail { padding-top: 24px; }
    .resource-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .resource-detail-copy h1 { font-size: clamp(2.35rem, 13vw, 3.7rem); }
    .resource-detail-copy .storefront-actions .storefront-button { width: 100%; }
    .resource-demo { grid-template-columns: 1fr; padding: 22px; }
    .resource-demo .storefront-button { width: 100%; }
    .resource-demo-player { grid-column: auto; }
    .storefront-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
    .storefront-footer-links { width: 100%; }
    .storefront-social-link { min-width: 0; flex: 1 1 0; padding-right: 10px; }
    .auth-section, .account-section { padding: 38px 0 68px; }
    .auth-card { padding: 24px 20px; border-radius: 18px; }
    .auth-intro h1, .account-heading h1 { font-size: clamp(2.5rem, 13vw, 3.7rem); }
    .auth-card-links { align-items: flex-start; flex-direction: column; }
    .account-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-hero { padding: 34px 0 30px; }
    .pricing-hero h1 { font-size: clamp(1.65rem, 7.5vw, 2rem); line-height: 1.16; }
    .pricing-section { padding: 30px 0 68px; }
    .pricing-card { min-height: 0; padding: 24px 20px; }
    .account-card:last-child { grid-column: auto; }
    .account-card { min-height: 240px; }
    .account-card h2 { margin-top: 45px; }
    .account-panel { padding: 20px 16px; border-radius: 18px; }
    .account-panel-heading { align-items: flex-start; flex-direction: column; }
    .account-panel-heading > span { text-align: left; }
    .account-panel-heading form,
    .account-panel-heading .storefront-button { width: 100%; }
    .account-list-item { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 17px; }
    .account-list-action { grid-column: auto; }
    .account-list-action .storefront-button { width: 100%; }
    .account-table-wrap { overflow: visible; border: 0; }
    .account-table, .account-table tbody { display: block; }
    .account-table thead { display: none; }
    .account-table tr { display: block; margin-bottom: 12px; padding: 13px 16px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fbfaf6; }
    .account-table td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--sf-line); text-align: right; }
    .account-table td::before { content: attr(data-label); color: var(--sf-muted); font-weight: 650; text-align: left; }
    .account-table tr:last-child td { border-bottom: 1px solid var(--sf-line); }
    .account-table td:last-child,
    .account-table tr:last-child td:last-child { border-bottom: 0; }
    .account-link-report { width: 100%; text-align: right; }
    .account-link-report form { text-align: left; }
    .account-session { align-items: flex-start; flex-direction: column; }
    .account-session form,
    .account-session .storefront-button { width: 100%; }
    .account-favorite-grid,
    .growth-referral-grid { grid-template-columns: minmax(0, 1fr); }
    .growth-preferences .storefront-button { width: 100%; }
    .membership-checkout,
    .membership-payment-page { padding: 36px 0 68px; }
    .membership-checkout-card,
    .membership-payment-card { padding: 21px 18px; border-radius: 18px; }
    .membership-method-options,
    .membership-payment-grid { grid-template-columns: minmax(0, 1fr); }
    .membership-payment-card dl div { align-items: flex-start; flex-direction: column; gap: 4px; }
    .membership-payment-card dd { max-width: 100%; text-align: left; overflow-wrap: anywhere; }
    .membership-payment-cancel,
    .membership-payment-shell > .storefront-button { width: 100%; margin-right: 0; }
    .membership-payment-cancel .storefront-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
