:root {
    --ink: #111111;
    --cream: #fff0d8;
    --paper: #fffaf1;
    --lime: #63e13f;
    --violet: #8956ff;
    --yellow: #ffd51f;
    --cyan: #7bdcff;
    --coral: #ff684d;
    --mint: #b9ffd8;
    --line: #111111;
    --muted: #5f594f;
    --shadow: 8px 8px 0 #111111;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 14px clamp(18px, 5vw, 64px);
    background: var(--paper);
    border-bottom: 3px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    display: block;
    width: clamp(178px, 22vw, 260px);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    font-size: 0.95rem;
    font-weight: 800;
}

.site-nav a,
.site-nav button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-pill,
.primary-button,
.secondary-button,
.choice-button,
.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 3px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 950;
    text-align: center;
    box-shadow: 4px 4px 0 var(--line);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-pill,
.secondary-button,
.choice-button-alt {
    background: #ffffff;
}

.primary-button,
.choice-button,
.card-link {
    background: var(--yellow);
}

.nav-pill:hover,
.primary-button:hover,
.secondary-button:hover,
.choice-button:hover,
.card-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--line);
}

.hero-band {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(32px, 5vw, 62px) clamp(18px, 5vw, 64px) 26px;
    background: linear-gradient(180deg, var(--cream) 0%, #fff8ec 100%);
    border-bottom: 4px solid var(--line);
}

.hero-copy h1,
.sales-hero h1,
.course-hero h1,
.admin-login h1,
.admin-heading h1 {
    margin: 8px 0 12px;
    max-width: 820px;
    font-size: clamp(3.6rem, 9vw, 8.6rem);
    line-height: 0.87;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy p,
.sales-hero p,
.course-hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.5;
    font-weight: 650;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.hero-visual > img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-carousel {
    position: relative;
    display: block;
    min-height: 100%;
    aspect-ratio: 4 / 3;
    padding: clamp(12px, 2vw, 18px);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
        var(--mint);
    background-size: 24px 24px;
}

.hero-carousel-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 18px);
    height: 100%;
    transition: opacity 220ms ease, transform 240ms ease;
}

.hero-carousel-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
    transition: transform 260ms cubic-bezier(.2, .9, .25, 1.2), opacity 220ms ease;
}

.hero-carousel-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-label {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 2;
    max-width: calc(100% - 28px);
    padding: 7px 14px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--line);
    font-size: clamp(0.72rem, 1.4vw, 0.95rem);
    font-weight: 950;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 180ms ease, transform 180ms ease;
}

.hero-carousel.is-switching .hero-carousel-female {
    opacity: 0;
    transform: translateX(-118%) rotate(-8deg);
}

.hero-carousel.is-switching .hero-carousel-male {
    opacity: 0;
    transform: translateX(-118%) rotate(-8deg);
}

.hero-carousel-cta {
    position: absolute;
    inset: clamp(14px, 2.4vw, 22px);
    z-index: 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 4px solid var(--line);
    border-radius: 10px;
    background: var(--mint);
    box-shadow: 7px 7px 0 var(--line);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.88) rotate(-2deg);
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.2, .9, .25, 1.2);
}

.hero-carousel-cta img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel.is-cta .hero-carousel-stage {
    opacity: 0;
    transform: scale(0.96);
}

.hero-carousel.is-cta .hero-carousel-label {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
}

.hero-carousel.is-cta .hero-carousel-cta {
    opacity: 1;
    transform: scale(1) rotate(-1deg);
}

.mini-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.ticker {
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    background: var(--violet);
    color: #ffffff;
    border-bottom: 4px solid var(--line);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 950;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 24s linear infinite;
}

.ticker-group {
    display: flex;
    gap: 26px;
    padding-right: 26px;
}

.ticker span {
    flex: 0 0 auto;
}

.ticker span::after {
    content: " :)";
    color: var(--yellow);
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }

    .free-access-link {
        animation: none;
    }
}

.courses-section,
.impact-band,
.sales-hero,
.sales-grid,
.sales-value-band,
.checkout-hero,
.payment-hero,
.payment-options,
.user-hero,
.user-summary,
.user-referrals,
.user-security,
.user-courses,
.withdraw-hero,
.withdraw-content,
.course-hero,
.lesson-layout,
.admin-shell,
.admin-login,
.empty-state {
    padding-inline: clamp(18px, 5vw, 64px);
}

.aqua-detail {
    height: 14px;
    background: var(--mint);
    border-bottom: 4px solid var(--line);
}

.courses-section {
    padding-block: 70px;
}

.impact-band h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.4rem, 5.5vw, 5.7rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.course-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--course-bg, var(--cream));
    color: var(--course-text, var(--ink));
    box-shadow: var(--shadow);
}

.course-card-top,
.course-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.course-card h3 {
    margin: 48px 0 14px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.course-card p {
    color: var(--course-muted, #2d2a25);
    line-height: 1.5;
    font-weight: 700;
}

.home-community-section,
.home-bonus-section {
    padding-inline: clamp(18px, 5vw, 64px);
}

.home-community-section {
    padding-block: 0 34px;
}

.home-community-card,
.home-bonus-card {
    display: grid;
    gap: 24px;
    align-items: center;
    border: 4px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.home-community-card {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(22px, 4vw, 34px);
    background:
        radial-gradient(circle at 92% 14%, rgba(255, 212, 30, 0.92) 0 70px, transparent 72px),
        radial-gradient(circle at 12% 92%, rgba(137, 86, 255, 0.3) 0 96px, transparent 98px),
        linear-gradient(135deg, #ffffff 0%, #eafff1 58%, #fff8db 100%);
}

.home-community-card h2,
.home-bonus-card h2 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4.4vw, 4.4rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.home-community-card p,
.home-bonus-card p {
    max-width: 850px;
    margin: 0;
    color: #3f3a33;
    font-weight: 780;
    line-height: 1.5;
}

.home-card-actions {
    display: grid;
    gap: 12px;
    min-width: 230px;
}

.home-card-actions .primary-button,
.home-card-actions .secondary-button {
    width: 100%;
    justify-content: center;
}

.home-bonus-section {
    padding-block: 0 64px;
}

.home-bonus-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: clamp(20px, 3vw, 30px);
    background:
        linear-gradient(135deg, rgba(137, 86, 255, 0.96), rgba(40, 214, 214, 0.92)),
        #8956ff;
    color: #ffffff;
    text-decoration: none;
}

.home-bonus-card .mini-label {
    background: #ffffff;
    color: var(--ink);
}

.home-bonus-card p {
    color: #fff8df;
}

.home-bonus-icon {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border: 4px solid var(--line);
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 5px 5px 0 var(--line);
    font-size: 2.2rem;
}

.home-bonus-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--line);
    color: var(--ink);
    white-space: nowrap;
    text-transform: uppercase;
}

.home-community-hero {
    min-height: auto;
    background:
        radial-gradient(circle at 92% 18%, rgba(255, 212, 30, 0.96) 0 76px, transparent 78px),
        radial-gradient(circle at 10% 92%, rgba(40, 214, 214, 0.5) 0 110px, transparent 112px),
        linear-gradient(180deg, var(--mint) 0%, #f7fff3 100%);
}

.home-community-hero .community-rank-card {
    transform: rotate(1deg);
}

.community-guest-card strong {
    color: var(--purple);
}

.home-guest-community-cta,
.home-member-benefits,
.home-prompt-showcase {
    padding-inline: clamp(18px, 5vw, 64px);
}

.home-guest-community-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding-block: 28px;
    border-top: 4px solid var(--line);
    border-bottom: 4px solid var(--line);
    background: #7bdcff;
}

.home-guest-community-cta h2,
.home-member-benefits h2,
.home-prompt-copy h2 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4.6vw, 4.8rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.home-guest-community-cta p,
.home-benefit-card p,
.home-prompt-copy p {
    max-width: 820px;
    margin: 0;
    color: #3f3a33;
    font-weight: 780;
    line-height: 1.5;
}

.home-member-benefits {
    padding-block: 42px 22px;
    background: var(--paper);
}

.home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-benefit-card {
    display: grid;
    align-content: start;
    min-height: 260px;
    padding: 20px;
    color: var(--ink);
    text-decoration: none;
    border: 4px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 11px 11px 0 var(--line);
}

.home-benefit-card span {
    width: fit-content;
    margin-bottom: 22px;
    padding: 6px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.home-benefit-card h3 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.7vw, 2.45rem);
    line-height: 0.94;
    text-transform: uppercase;
}

.home-benefit-prompts {
    background: #ffd51f;
}

.home-benefit-courses {
    background: #a8ff5f;
}

.home-benefit-certificate {
    background: #7bdcff;
}

.home-benefit-bonus {
    background: #ffb6d5;
}

.home-prompt-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(300px, 0.85fr);
    gap: clamp(18px, 4vw, 42px);
    align-items: center;
    padding-block: 26px 34px;
    background: var(--cream);
    border-top: 4px solid var(--line);
}

.home-prompt-showcase .hero-carousel {
    width: min(100%, 760px);
    justify-self: center;
}

.home-prompt-showcase .home-prompt-copy h2 {
    max-width: 620px;
    font-size: clamp(2.4rem, 5.6vw, 5.7rem);
}

.home-prompt-showcase .home-prompt-copy p {
    max-width: 610px;
}

.home-prompt-copy {
    display: grid;
    gap: 16px;
    align-content: start;
}

.community-landing-hero,
.community-landing-section {
    padding-inline: clamp(18px, 5vw, 64px);
}

.community-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
    padding-block: clamp(34px, 6vw, 74px);
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 212, 30, 0.92) 0 86px, transparent 88px),
        radial-gradient(circle at 13% 88%, rgba(137, 86, 255, 0.18) 0 110px, transparent 112px),
        linear-gradient(135deg, var(--mint) 0%, #ffffff 58%, #fff5d8 100%);
    border-bottom: 4px solid var(--line);
}

.community-landing-hero h1 {
    max-width: 980px;
    margin: 8px 0 14px;
    font-size: clamp(3.1rem, 7.8vw, 7.4rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.community-landing-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.32rem);
    font-weight: 750;
    line-height: 1.5;
}

.community-landing-panel {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.community-landing-panel > span {
    width: fit-content;
    padding: 6px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-landing-panel strong {
    color: var(--purple);
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: 0.86;
    text-transform: uppercase;
}

.community-landing-panel p {
    margin: 0;
    color: #3f3a33;
    font-size: 1rem;
}

.community-landing-section {
    padding-block: 42px;
    background: var(--paper);
}

.community-landing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.community-landing-grid article {
    min-height: 230px;
    padding: 20px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.community-landing-grid article:nth-child(1) {
    background: #ffd51f;
}

.community-landing-grid article:nth-child(2) {
    background: #a8ff5f;
}

.community-landing-grid article:nth-child(3) {
    background: #7bdcff;
}

.community-landing-grid article:nth-child(4) {
    background: #ffb6d5;
}

.community-landing-grid span {
    display: inline-flex;
    margin-bottom: 28px;
    padding: 6px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-landing-grid h3 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 2.6vw, 2.3rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.community-landing-grid p {
    margin: 0;
    color: #3f3a33;
    font-weight: 780;
    line-height: 1.45;
}

.community-landing-forums {
    background: #7bdcff;
    border-block: 4px solid var(--line);
}

.community-landing-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.community-landing-category-list span {
    display: inline-flex;
    padding: 10px 14px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 3px 3px 0 var(--line);
    font-size: 0.9rem;
    font-weight: 950;
}

.community-landing-benefits {
    background: var(--cream);
}

.community-landing-final {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.community-landing-final-actions {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.community-landing-final-actions p {
    margin: 0;
}

.bonus-hero,
.bonus-content {
    padding-inline: clamp(18px, 5vw, 64px);
}

.bonus-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(24px, 5vw, 48px);
    align-items: center;
    padding-block: clamp(34px, 6vw, 76px);
    background:
        radial-gradient(circle at 86% 10%, rgba(255, 212, 30, 0.9) 0 92px, transparent 94px),
        linear-gradient(135deg, var(--mint) 0%, #ffffff 54%, var(--cyan) 100%);
    border-bottom: 4px solid var(--line);
    color: var(--ink);
}

.bonus-hero .mini-label {
    background: #ffffff;
    color: var(--ink);
}

.bonus-hero h1 {
    max-width: 920px;
    margin: 12px 0;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.bonus-hero p {
    max-width: 760px;
    margin: 0;
    color: #2d2a25;
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    font-weight: 760;
    line-height: 1.5;
}

.bonus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.bonus-hero aside,
.bonus-content article {
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

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

.bonus-item-card .primary-button {
    white-space: nowrap;
}

.bonus-hero aside {
    transform: rotate(1deg);
}

.bonus-hero aside span,
.bonus-hero aside p {
    color: #4a433b;
    font-weight: 850;
}

.bonus-hero aside strong {
    display: block;
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.bonus-content {
    display: grid;
    gap: 18px;
    padding-block: 42px 64px;
}

.bonus-content h2 {
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.bonus-content p {
    max-width: 900px;
    color: #3f3a33;
    font-weight: 760;
    line-height: 1.55;
}

.completed-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 var(--line);
}

.course-hero-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.card-link {
    width: fit-content;
    margin-top: auto;
    cursor: pointer;
}

.course-lime { background: var(--lime); }
.course-violet { background: var(--violet); color: #ffffff; }
.course-yellow { background: var(--yellow); }
.course-cyan { background: var(--cyan); }
.course-coral { background: var(--coral); color: #ffffff; }
.course-cream { background: var(--cream); }

.course-violet p,
.course-coral p {
    color: #fff7ed;
}

.impact-band {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 520px);
    gap: 34px;
    align-items: end;
    padding-block: 76px;
    background: var(--violet);
    color: #ffffff;
    border-top: 4px solid var(--line);
    border-bottom: 4px solid var(--line);
}

.impact-band p {
    margin: 0;
    color: #f7ecff;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 700;
}

.impact-band-actions {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.impact-band-actions div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.progress-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 26px;
    align-items: center;
    padding: 36px clamp(18px, 5vw, 64px);
    background: var(--cyan);
    border-bottom: 4px solid var(--line);
}

.progress-panel-account {
    margin: 30px clamp(18px, 5vw, 64px) 0;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.progress-panel-copy h2 {
    margin: 10px 0;
    max-width: 880px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.progress-panel-copy p {
    max-width: 760px;
    margin: 0;
    color: #2d2a25;
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    font-weight: 750;
    line-height: 1.5;
}

.progress-meter-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.user-upgrade-card {
    display: grid;
    gap: 16px;
    max-width: 760px;
    padding: 28px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--yellow);
    box-shadow: var(--shadow);
}

.user-upgrade-card h3 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.user-upgrade-card p {
    margin: 0;
    max-width: 620px;
    color: #2d2a25;
    font-weight: 800;
    line-height: 1.5;
}

.user-upgrade-card .primary-button {
    justify-self: start;
}

.user-plan-card small {
    justify-self: start;
    padding: 6px 12px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.progress-meter-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
}

.progress-meter-head strong {
    font-size: clamp(3.2rem, 6vw, 5.2rem);
    line-height: 0.82;
}

.progress-meter-head span,
.progress-meter-card small {
    color: var(--muted);
    font-weight: 900;
}

.progress-meter {
    overflow: hidden;
    height: 30px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
}

.progress-meter span {
    display: block;
    height: 100%;
    min-width: 10px;
    border-right: 3px solid var(--line);
    background: linear-gradient(90deg, var(--lime), var(--yellow));
}

.progress-certificate-button {
    width: 100%;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 44px clamp(18px, 5vw, 64px);
    background: #0f0f0f;
    color: #ffffff;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.site-footer p {
    color: #cfcfcf;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
    color: #cfcfcf;
    font-size: 0.94rem;
    font-weight: 850;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-see-also {
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-see-also h2 {
    margin: 0 0 12px;
    font-size: clamp(0.63rem, 0.9vw, 0.81rem);
    line-height: 1;
    text-transform: uppercase;
}

.footer-banners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 190px));
    gap: 12px;
    max-width: 620px;
}

.footer-banners a {
    display: block;
    height: 58px;
    overflow: hidden;
    border: 2px solid #ffffff;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-banners a:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.22);
}

.footer-banners img {
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(1) brightness(0.72);
    object-fit: cover;
    object-position: center;
    transition: filter 160ms ease;
}

.footer-banners a:hover img {
    filter: none;
}

.social-link {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #0f0f0f;
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.legal-hero,
.legal-content {
    padding-inline: clamp(18px, 5vw, 64px);
}

.legal-hero {
    padding-block: 42px 30px;
    background: var(--mint);
    border-bottom: 4px solid var(--line);
}

.legal-hero h1 {
    margin: 10px 0 14px;
    max-width: 1000px;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.legal-hero p {
    max-width: 860px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    font-weight: 800;
    line-height: 1.5;
}

.legal-content {
    display: grid;
    gap: 18px;
    padding-block: 42px 72px;
}

.legal-content article {
    max-width: 980px;
    padding: 22px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.legal-content h2 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    line-height: 1;
    text-transform: uppercase;
}

.legal-content p,
.legal-content li {
    color: #3c372f;
    font-size: 1.02rem;
    font-weight: 750;
    line-height: 1.55;
}

.legal-content p {
    margin: 0 0 12px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 22px;
}

.legal-content a {
    color: #0b2f66;
    font-weight: 950;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    place-items: center;
    overflow-y: auto;
    padding: clamp(10px, 2.4vw, 20px);
}

.modal.is-open {
    display: grid;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal-card {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 26px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    box-shadow: 10px 10px 0 var(--line);
    overscroll-behavior: contain;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    font-weight: 950;
    cursor: pointer;
}

.modal-head h2 {
    margin: 14px 42px 18px 0;
    font-size: clamp(1.75rem, 4.8vw, 3.35rem);
    line-height: 0.96;
    text-transform: uppercase;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.login-box {
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
}

.login-box.is-visible {
    display: grid;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 900;
}

input {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

textarea {
    width: 100%;
    min-height: 160px;
    resize: vertical;
    padding: 12px 13px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
    line-height: 1.45;
}

select {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
}

.notice {
    margin: 22px clamp(18px, 5vw, 64px) 0;
    padding: 16px 18px;
    border: 3px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
    box-shadow: 5px 5px 0 var(--line);
}

.notice-error {
    background: #ffd8d2;
}

.notice-success {
    background: #d8ffd9;
}

.sales-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
    padding-block: clamp(34px, 5vw, 58px);
    background: var(--yellow);
    border-bottom: 4px solid var(--line);
}

.sales-hero h1 {
    margin: 8px 0 12px;
    max-width: 880px;
    font-size: clamp(2.8rem, 5.8vw, 5.8rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.sales-hero p {
    max-width: 720px;
    color: #2d2a25;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    line-height: 1.5;
    font-weight: 750;
}

.sales-checklist {
    display: grid;
    gap: 10px;
    max-width: 700px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.sales-checklist li {
    position: relative;
    padding: 13px 14px 13px 46px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--line);
    color: #2d2a25;
    font-weight: 850;
    line-height: 1.35;
}

.sales-checklist li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: var(--lime);
    transform: translateY(-50%);
}

.checkout-hero {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 72px);
    padding-block: 42px;
    background: var(--mint);
    border-bottom: 4px solid var(--line);
}

.checkout-card {
    display: grid;
    gap: 16px;
    width: min(100%, 520px);
    padding: 24px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.checkout-card > span {
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.checkout-card .notice {
    margin: 0;
}

.checkout-form {
    display: grid;
    gap: 14px;
}

.checkout-form .primary-button {
    width: 100%;
}

.price-card,
.sales-grid article,
.admin-card,
.admin-login {
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.price-card {
    padding: 26px;
    transform: rotate(1deg);
}

.plan-card {
    display: grid;
    gap: 14px;
    padding: clamp(24px, 3.5vw, 34px);
}

.price-card span {
    font-weight: 950;
    text-transform: uppercase;
}

.price-card strong {
    display: block;
    margin: 10px 0;
    font-size: clamp(4rem, 8vw, 6.5rem);
    line-height: 0.9;
}

.price-card p {
    color: var(--muted);
    font-weight: 700;
}

.price-card small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.35;
}

.daily-price {
    margin: 0;
    padding: 14px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
    box-shadow: 4px 4px 0 var(--line);
    color: var(--ink) !important;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.plan-cta {
    width: 100%;
    min-height: 68px;
    padding-inline: 26px;
    background: var(--lime);
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    text-transform: uppercase;
    box-shadow: 6px 6px 0 var(--line);
}

.free-access-link {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 12px 14px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: linear-gradient(90deg, #ffffff 0%, #fff7bf 45%, #ffffff 100%);
    background-size: 220% 100%;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 950;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--line);
    animation: freeAccessGlow 2.3s ease-in-out infinite;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.free-access-link:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--line);
}

@keyframes freeAccessGlow {
    0%,
    100% {
        background-position: 0% 50%;
        transform: translateY(0);
    }

    50% {
        background-position: 100% 50%;
        transform: translateY(-1px);
    }
}

.free-access-hero,
.free-access-content {
    padding-inline: clamp(18px, 5vw, 64px);
}

.free-access-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
    padding-block: clamp(34px, 6vw, 76px);
    background:
        radial-gradient(circle at 88% 16%, rgba(255, 212, 30, 0.94) 0 86px, transparent 88px),
        radial-gradient(circle at 10% 90%, rgba(40, 214, 214, 0.5) 0 108px, transparent 110px),
        linear-gradient(135deg, var(--mint) 0%, #ffffff 62%, #fff4d8 100%);
    border-bottom: 4px solid var(--line);
}

.free-access-hero h1 {
    margin: 8px 0 14px;
    max-width: 920px;
    font-size: clamp(3.1rem, 8vw, 7.2rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.free-access-hero p,
.free-access-card p,
.free-access-content p {
    color: var(--muted);
    font-weight: 760;
    line-height: 1.5;
}

.free-access-hero p {
    max-width: 720px;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.free-access-card,
.free-access-content article {
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.free-access-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    transform: rotate(1deg);
}

.free-access-card span,
.free-access-content span {
    width: fit-content;
    padding: 6px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.free-access-card strong {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.free-access-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-block: 50px;
    background: var(--paper);
}

.free-access-content article {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 260px;
    padding: 22px;
}

.free-access-content article:nth-child(1) {
    background: #ffd51f;
}

.free-access-content article:nth-child(2) {
    background: #7bdcff;
}

.free-access-content article:nth-child(3) {
    background: #b8ffd8;
}

.free-access-content h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 0.95;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    padding-block: 56px;
}

.sales-grid article {
    min-height: 250px;
    padding: 22px;
}

.sales-grid span {
    font-size: 3rem;
    font-weight: 950;
    color: var(--violet);
}

.sales-grid h2,
.payment-card h2,
.lesson-list h2,
.course-gallery h2,
.prompt-panel h2,
.admin-card h2 {
    margin: 12px 0;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.sales-value-band {
    padding-block: clamp(52px, 8vw, 86px);
    background: var(--violet);
    color: #ffffff;
    border-top: 4px solid var(--line);
    border-bottom: 4px solid var(--line);
    text-align: center;
}

.sales-value-band span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 14px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.sales-value-band h2 {
    max-width: 980px;
    margin: 20px auto 16px;
    font-size: clamp(2.6rem, 6vw, 6rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.sales-value-band p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: #f7ecff;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    font-weight: 750;
    line-height: 1.5;
}

.sales-value-band .plan-cta {
    max-width: 520px;
    margin-inline: auto;
}

.sales-comparison {
    display: grid;
    gap: 28px;
    padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 64px);
    background: var(--cream);
    border-bottom: 4px solid var(--line);
}

.sales-comparison-head {
    display: grid;
    gap: 12px;
    max-width: 980px;
}

.sales-comparison-head h2 {
    margin: 0;
    font-size: clamp(2.4rem, 5.5vw, 5.6rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.sales-comparison-head p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-weight: 850;
    line-height: 1.45;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.comparison-grid article {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 260px;
    padding: 0;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.comparison-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom: 3px solid var(--line);
}

.comparison-grid article:nth-child(2) img,
.comparison-grid article:nth-child(5) img {
    object-position: center;
}

.comparison-grid article:nth-child(4) img,
.comparison-grid article:nth-child(10) img {
    object-position: center center;
}

.comparison-grid span {
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 86px;
    padding: 14px;
    color: #2d2a25;
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    font-weight: 950;
    line-height: 1.25;
}

.sales-comparison .plan-cta {
    width: min(100%, 520px);
}

.sales-comparison .plan-cta-pink {
    background: #ff5fb7;
    color: var(--ink);
}

.ai-courses-hero {
    background:
        radial-gradient(circle at 88% 16%, rgba(255, 212, 30, 0.94) 0 92px, transparent 94px),
        radial-gradient(circle at 10% 90%, rgba(40, 214, 214, 0.44) 0 116px, transparent 118px),
        linear-gradient(135deg, var(--cream) 0%, #ffffff 58%, #eafff1 100%);
}

.ai-courses-certificate {
    background:
        radial-gradient(circle at 90% 12%, rgba(255, 95, 183, 0.5) 0 76px, transparent 78px),
        var(--violet);
}

.ai-payment-hero {
    padding-top: 44px;
}

.payment-hero {
    padding-block: 30px 20px;
    background: var(--cyan);
    border-bottom: 4px solid var(--line);
}

.payment-hero h1 {
    margin: 8px 0;
    max-width: 900px;
    font-size: clamp(2.9rem, 7.2vw, 6.3rem);
    line-height: 0.87;
    text-transform: uppercase;
}

.payment-hero p {
    max-width: 760px;
    color: #202020;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.5;
    font-weight: 750;
}

.payment-options {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding-block: 54px 70px;
    background: var(--paper);
}

.payment-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 440px;
    padding: clamp(22px, 3vw, 32px);
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.payment-card-featured {
    background: var(--yellow);
    transform: rotate(-1deg);
}

.payment-kicker,
.payment-badge,
.pix-copy-box span {
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.payment-badge {
    position: absolute;
    top: -18px;
    right: 18px;
    padding: 8px 13px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 4px 4px 0 var(--line);
}

.payment-card strong {
    display: block;
    font-size: clamp(4rem, 8vw, 6.8rem);
    line-height: 0.82;
}

.payment-card p {
    margin: 0;
    color: #36322b;
    font-size: 1.08rem;
    line-height: 1.5;
    font-weight: 750;
}

.payment-card small {
    color: var(--muted);
    font-weight: 800;
}

.payment-button-disabled {
    opacity: 0.72;
    pointer-events: none;
}

.pix-copy-box {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding: 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.pix-copy-box code {
    display: block;
    overflow-wrap: anywhere;
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    font-weight: 950;
}

.payment-after-note {
    margin-top: 4px;
    padding: 12px 14px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: var(--cyan);
    box-shadow: 4px 4px 0 var(--line);
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1.35;
}

.payment-after-note a {
    font-weight: 950;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.payment-referral-note {
    width: fit-content;
    max-width: 760px;
    margin-top: 20px;
    padding: 13px 15px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
    color: var(--ink);
    font-weight: 850;
    line-height: 1.4;
}

.user-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 32px;
    align-items: center;
    padding-block: 36px;
    background: var(--mint);
    border-bottom: 4px solid var(--line);
}

.user-hero h1 {
    margin: 8px 0 12px;
    max-width: 900px;
    font-size: clamp(3rem, 7.5vw, 6.6rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.user-hero p {
    max-width: 720px;
    color: #2d2a25;
    font-size: clamp(1.06rem, 1.8vw, 1.28rem);
    line-height: 1.5;
    font-weight: 750;
}

.user-plan-card {
    padding: 24px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.user-plan-card span,
.user-summary span {
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.user-plan-card strong {
    display: block;
    margin: 10px 0;
    font-size: clamp(3.6rem, 7vw, 5.8rem);
    line-height: 0.82;
}

.user-plan-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 800;
}

.username-current-card {
    align-self: center;
    min-width: min(100%, 320px);
    padding: 20px 22px;
}

.username-current-card strong {
    margin: 8px 0 0;
    max-width: 100%;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.05;
    text-transform: none;
    word-break: break-word;
}

.user-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-block: 46px;
}

.user-summary article {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.user-summary span {
    color: var(--violet);
    font-size: 3rem;
}

.user-summary h2,
.user-section-head h2 {
    margin: 12px 0;
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.user-summary p {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.5;
}

.user-summary .card-link {
    margin-top: auto;
}

.user-community-callout {
    padding: 20px clamp(18px, 5vw, 64px);
}

.user-community-callout article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: clamp(18px, 3vw, 24px);
    border: 4px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 16%, rgba(255, 212, 30, 0.9) 0 68px, transparent 70px),
        radial-gradient(circle at 10% 88%, rgba(40, 214, 214, 0.75) 0 88px, transparent 90px),
        linear-gradient(135deg, #ffffff 0%, #effff5 55%, #fff8db 100%);
    box-shadow: var(--shadow);
}

.user-community-callout h2 {
    max-width: 940px;
    margin: 8px 0;
    font-size: clamp(1.8rem, 3.2vw, 3.1rem);
    line-height: 0.94;
    text-transform: uppercase;
}

.user-community-callout p {
    max-width: 820px;
    margin: 0;
    color: #3f3a33;
    font-weight: 780;
    line-height: 1.5;
}

.user-community-actions {
    display: grid;
    gap: 9px;
    justify-items: stretch;
    min-width: 230px;
}

.user-community-actions .primary-button,
.user-community-actions .secondary-button {
    width: 100%;
    justify-content: center;
}

.user-security {
    padding-block: 0 30px;
}

.user-referrals {
    padding-block: 0 30px;
}

.user-referral-card {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
    gap: 22px;
    align-items: start;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--yellow);
    box-shadow: var(--shadow);
}

.user-referral-card h2 {
    margin: 12px 0;
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.user-referral-card p {
    margin: 0;
    color: #38322a;
    font-weight: 750;
    line-height: 1.5;
}

.referral-panel {
    display: grid;
    gap: 16px;
}

.referral-copy-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.referral-copy-box input {
    font-size: 0.95rem;
    font-weight: 850;
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.referral-stats div {
    padding: 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--line);
}

.referral-stats span,
.withdraw-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.referral-stats strong {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 0.95;
}

.referral-pending {
    padding: 11px 13px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.94rem;
}

.user-password-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
    gap: 22px;
    align-items: start;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    box-shadow: var(--shadow);
}

.user-password-card h2 {
    margin: 12px 0;
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.user-password-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.5;
}

.user-password-card .notice {
    grid-column: 1 / -1;
    margin: 0;
}

.user-password-form {
    display: grid;
    gap: 14px;
}

.user-password-form .primary-button {
    justify-self: start;
}

.user-courses {
    padding-block: 20px 76px;
}

.user-image-prompts-card {
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 95, 183, 0.72) 0 50px, transparent 52px),
        linear-gradient(135deg, var(--yellow) 0%, #fff5b7 48%, var(--cyan) 100%);
}

.user-section-head {
    margin-bottom: 22px;
}

.course-hero {
    position: relative;
    padding-block: 36px;
    border-bottom: 4px solid var(--line);
}

.course-hero h1 {
    font-size: clamp(3rem, 8vw, 7rem);
}

.lesson-layout {
    display: block;
    padding-block: 52px;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 46px clamp(18px, 5vw, 64px) 76px;
    background: var(--paper);
}

.guide-toc {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.guide-toc::-webkit-scrollbar {
    width: 10px;
}

.guide-toc::-webkit-scrollbar-track {
    background: #ffffff;
    border-left: 2px solid var(--line);
}

.guide-toc::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border: 2px solid var(--line);
    border-radius: 999px;
}

.guide-toc > span,
.guide-chapter-kicker {
    font-size: 0.8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.guide-toc nav {
    display: grid;
    gap: 8px;
}

.guide-toc a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.25;
    text-decoration: none;
}

.guide-toc a:hover {
    color: var(--line);
}

.guide-content {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 1380px;
}

.guide-chapter {
    padding: clamp(20px, 3vw, 34px);
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.guide-chapter h2 {
    margin: 8px 0 16px;
    max-width: 1120px;
    font-size: clamp(2.25rem, 4.6vw, 4.8rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.guide-chapter p,
.guide-list,
.guide-steps {
    max-width: 1120px;
    color: var(--muted);
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.65;
}

.guide-list,
.guide-steps {
    display: grid;
    gap: 8px;
    padding-left: 22px;
}

.guide-examples,
.guide-callout,
.guide-links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    max-width: 1120px;
    padding: 16px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
}

.guide-examples h3,
.guide-callout strong,
.guide-links h3 {
    margin: 0;
    color: var(--line);
    font-size: 1rem;
    font-weight: 950;
    text-transform: uppercase;
}

.guide-examples p,
.guide-callout p {
    margin: 0;
    color: var(--line);
}

.guide-links a {
    width: fit-content;
    color: var(--line);
    font-size: 0.98rem;
    font-weight: 950;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.guide-tools {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.guide-tool-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--line);
}

.guide-tool-card h3 {
    margin: 0 0 6px;
    color: var(--line);
    font-size: 1.25rem;
    line-height: 1.05;
}

.guide-tool-card p {
    margin: 0;
    color: var(--muted);
}

.guide-tool-card small {
    display: block;
    margin-top: 8px;
    color: #6b6258;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.35;
}

.guide-tool-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--line);
    color: var(--line);
    font-size: 0.9rem;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

.guide-prompts {
    max-width: 1120px;
}

.lesson-list {
    display: grid;
    gap: 16px;
    max-width: 980px;
    margin-inline: auto;
}

.lesson-list article {
    padding: 20px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.lesson-list article h3 {
    margin: 0 0 10px;
    font-size: 1.82rem;
    line-height: 1.05;
}

.lesson-list article p,
.prompt-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.55;
}

.course-public-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 70px;
    padding: 0 18px;
}

.course-preview-main,
.course-preview-access {
    border: 4px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.course-preview-main {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 4vw, 34px);
    background: #ffffff;
}

.course-preview-main h2,
.course-preview-access h2 {
    margin: 0;
    color: var(--line);
    font-size: clamp(2.1rem, 4.4vw, 4.7rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.course-preview-main > p,
.course-preview-access p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.55;
}

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

.course-preview-columns article {
    padding: 18px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
}

.course-preview-columns article:nth-child(2) {
    background: var(--yellow);
}

.course-preview-columns h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    text-transform: uppercase;
}

.course-preview-columns ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
}

.course-preview-columns li {
    color: #2d2a25;
    font-weight: 850;
    line-height: 1.35;
}

.course-preview-access {
    align-self: start;
    display: grid;
    gap: 16px;
    padding: 22px;
    background: var(--blue);
}

.course-preview-access h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.lesson-prompts {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.lesson-prompts h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 950;
    text-transform: uppercase;
}

.lesson-prompt-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
}

.lesson-prompt-card p {
    color: var(--line);
    font-size: 0.96rem;
}

.prompt-custom-note {
    display: block;
    margin: -4px 2px 2px;
    color: #817a70;
    font-size: 0.73rem;
    font-weight: 500;
    line-height: 1.35;
}

.prompt-custom-note strong {
    font-weight: 950;
}

.lesson-prompt-card .copy-button {
    justify-self: start;
    min-height: 38px;
    padding: 9px 14px;
    font-size: 0.82rem;
}

.course-completion-panel {
    display: grid;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto 70px;
    padding: 24px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--yellow);
    box-shadow: var(--shadow);
}

.course-completion-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.course-completion-panel p {
    max-width: 780px;
    margin: 0;
    color: #2d2a25;
    font-weight: 800;
    line-height: 1.5;
}

.course-completion-form {
    display: grid;
    gap: 16px;
}

.course-check {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 14px 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--line);
    cursor: pointer;
}

.course-check input {
    width: 22px;
    min-height: 22px;
    accent-color: var(--lime);
}

.course-check span {
    font-weight: 950;
}

.course-gallery {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.course-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.course-gallery figure {
    margin: 0;
    padding: 12px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.course-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 8 / 9;
    object-fit: cover;
    object-position: left center;
    border: 2px solid var(--line);
    border-radius: 6px;
    background: #111111;
}

.course-gallery figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
}

.prompt-panel {
    position: sticky;
    top: 96px;
}

.admin-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    margin: 34px clamp(18px, 5vw, 64px);
    padding: clamp(22px, 4vw, 42px);
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 212, 30, 0.9) 0 58px, transparent 60px),
        radial-gradient(circle at 14% 82%, rgba(40, 214, 214, 0.8) 0 72px, transparent 74px),
        linear-gradient(135deg, #ffffff 0%, var(--mint) 58%, #f6eeff 100%);
}

.admin-login-copy {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.admin-login-copy h1 {
    max-width: 760px;
    margin-bottom: 0;
}

.admin-login-copy p {
    max-width: 720px;
    margin: 0;
    color: #3f3a33;
    font-size: clamp(1rem, 1.7vw, 1.26rem);
    font-weight: 800;
    line-height: 1.5;
}

.admin-login-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-login-badges span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 5px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--line);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-login-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.admin-login-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-lock-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 3px solid var(--line);
    border-radius: 14px;
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--line);
    font-weight: 950;
}

.admin-login-card-head div {
    display: grid;
    gap: 4px;
}

.admin-login-card-head strong {
    font-size: 1.14rem;
    line-height: 1;
    text-transform: uppercase;
}

.admin-login-card-head small,
.admin-login-card > p {
    color: var(--muted);
    font-weight: 850;
}

.admin-login-card > p {
    margin: 0;
    font-size: 0.9rem;
}

.admin-login-card .notice {
    margin: 0;
}

.admin-login-card .primary-button {
    width: 100%;
}

.admin-form,
.user-form,
.password-form,
.balance-form {
    display: grid;
    gap: 14px;
}

.admin-shell {
    padding-block: 34px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.admin-heading h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.admin-card {
    padding: 22px;
    margin-top: 24px;
}

.admin-card-note {
    max-width: 900px;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.5;
}

.admin-table-button {
    min-height: 36px;
    padding-inline: 12px;
    box-shadow: 3px 3px 0 var(--line);
    white-space: nowrap;
}

.admin-card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.admin-log-post-content {
    display: grid;
    gap: 5px;
    min-width: 220px;
    max-width: 360px;
}

.admin-log-post-content strong {
    width: fit-content;
    padding: 3px 8px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #ff8a8a;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.admin-log-post-content small {
    color: var(--muted);
    font-weight: 850;
}

.admin-log-post-content p {
    max-height: 110px;
    margin: 0;
    overflow: auto;
    color: #2d2a25;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.admin-inline-table {
    margin-top: 20px;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
}

.admin-pagination span {
    font-weight: 950;
}

.user-form {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
}

.password-form,
.balance-form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 14px;
    border-bottom: 2px solid #ded8cc;
    text-align: left;
}

th {
    font-size: 0.82rem;
    text-transform: uppercase;
}

.withdraw-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 32px;
    align-items: center;
    padding-block: 30px;
    background: var(--mint);
    border-bottom: 4px solid var(--line);
}

.withdraw-hero h1 {
    margin: 8px 0 12px;
    max-width: 900px;
    font-size: clamp(3rem, 7.5vw, 6.6rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.withdraw-hero p,
.withdraw-content p {
    color: var(--muted);
    font-size: clamp(1.06rem, 1.8vw, 1.28rem);
    font-weight: 750;
    line-height: 1.5;
}

.withdraw-card,
.withdraw-content article {
    padding: 24px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.withdraw-card strong {
    display: block;
    margin: 10px 0;
    font-size: clamp(3.6rem, 7vw, 5.8rem);
    line-height: 0.82;
}

.withdraw-content {
    padding-block: 52px 76px;
}

.withdraw-content article {
    max-width: 920px;
}

.withdraw-content h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.certificate-request,
.certificate-public {
    padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 64px) 76px;
    background: var(--cream);
}

.certificate-request {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 32px;
    align-items: start;
    min-height: calc(100vh - 72px);
}

.certificate-request h1,
.certificate-paper h1 {
    margin: 10px 0 16px;
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.certificate-request p {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 750;
    line-height: 1.55;
}

.certificate-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.certificate-form p {
    margin: 0;
    color: #6b6258;
    font-size: 0.95rem;
}

.certificate-public {
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.certificate-confetti {
    position: fixed;
    inset: 0;
    z-index: 60;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.certificate-paper {
    position: relative;
    z-index: 1;
    width: min(100%, 1060px);
    padding: clamp(24px, 5vw, 54px);
    border: 5px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        var(--mint);
    background-size: 26px 26px;
    box-shadow: 12px 12px 0 var(--line);
    text-align: center;
}

.certificate-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
}

.certificate-top img {
    width: min(260px, 48vw);
    height: auto;
}

.certificate-seal {
    display: grid;
    place-items: center;
    width: 140px;
    height: 140px;
    padding: 16px;
    border: 4px solid var(--line);
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 6px 6px 0 var(--line);
    font-size: 0.88rem;
    font-weight: 950;
    line-height: 1.05;
    text-transform: uppercase;
    transform: rotate(5deg);
}

.certificate-statement {
    margin: 18px auto 10px;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
}

.certificate-name {
    display: block;
    margin: 12px auto;
    color: #0b2f66;
    font-size: clamp(2.6rem, 6vw, 6.2rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.certificate-completion-date {
    color: #0b2f66;
    font-weight: 950;
}

.certificate-paper p {
    max-width: 820px;
    margin-inline: auto;
    color: #2d2a25;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 800;
    line-height: 1.55;
}

.certificate-workload {
    display: inline-grid;
    gap: 6px;
    min-width: min(100%, 360px);
    margin: 18px auto 24px;
    padding: 14px 18px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.certificate-workload span,
.certificate-issued span,
.certificate-validation span {
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.certificate-workload strong {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 0.9;
}

.certificate-topics {
    max-width: 860px;
    margin: 26px auto;
    padding: 20px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
    text-align: left;
}

.certificate-topics h2 {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
    line-height: 1;
    text-transform: uppercase;
}

.certificate-topics ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 22px;
    color: #2d2a25;
    font-weight: 850;
    line-height: 1.45;
}

.certificate-note {
    padding-top: 4px;
    color: #4a433b !important;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem) !important;
}

.certificate-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    max-width: 860px;
    margin: 28px auto 0;
}

.certificate-signature,
.certificate-issued {
    display: grid;
    gap: 4px;
    align-content: center;
    min-height: 112px;
    padding: 12px 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    box-shadow: 5px 5px 0 var(--line);
}

.certificate-signature img {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto;
    mix-blend-mode: multiply;
}

.certificate-signature span,
.certificate-issued span {
    color: var(--muted);
    font-weight: 900;
}

.certificate-issued strong {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.1;
}

.certificate-validation {
    display: grid;
    grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1.38fr);
    gap: 18px;
    margin: 28px auto 0;
    max-width: 860px;
    padding: 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
    text-align: left;
}

.certificate-validation div {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.certificate-validation code {
    overflow-x: auto;
    white-space: nowrap;
    font-size: clamp(0.84rem, 1.35vw, 1.02rem);
    font-weight: 900;
}

.empty-state {
    min-height: 52vh;
    display: grid;
    place-content: center;
    gap: 18px;
    text-align: center;
}

.community-hero,
.community-section {
    padding-inline: clamp(18px, 5vw, 64px);
}

.community-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 30px;
    align-items: center;
    padding-block: 30px 26px;
    background: linear-gradient(180deg, var(--mint) 0%, #f7fff3 100%);
    border-bottom: 4px solid var(--line);
}

.community-hero-small {
    grid-template-columns: 1fr;
}

.community-hero h1,
.community-section h2 {
    margin: 8px 0 12px;
    font-size: clamp(1.4rem, 2.94vw, 3.08rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.community-hero p,
.community-section-head p {
    max-width: 850px;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 750;
    line-height: 1.5;
}

.community-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    font-weight: 950;
}

.community-rank-card,
.community-empty-card,
.community-form,
.community-post,
.community-category-card,
.community-topic-row {
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.community-rank-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    background: #fffdf7;
}

.community-rank-card span,
.community-rank-card p {
    margin: 0;
    color: #4a433b;
    font-weight: 850;
}

.community-rank-current-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.community-rank-current-head > span {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.community-rank-current-head b {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--line);
    font-size: 0.9rem;
    font-weight: 950;
}

.community-rank-card strong {
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: 0.86;
    text-transform: uppercase;
}

.community-rank-card .card-link {
    width: fit-content;
    margin-top: 4px;
}

.community-search-section {
    padding-block: 22px 0;
}

.community-forums-head {
    align-items: center;
    padding: 14px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--yellow);
    box-shadow: var(--shadow);
}

.community-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    max-width: none;
    padding: 14px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
}

.community-search-form-inline {
    width: min(760px, 100%);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.community-search-form-inline input {
    background: #ffffff;
}

.community-about-section {
    padding-block: 8px 42px;
}

.community-search-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 950;
}

.community-search-form input {
    min-height: 48px;
}

.community-search-form .primary-button {
    min-height: 48px;
}

.community-rank-progress {
    display: grid;
    gap: 12px;
    margin-top: 10px;
    padding: 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.community-rank-progress div:first-child {
    display: grid;
    gap: 4px;
}

.community-rank-progress div:first-child strong {
    font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.community-progress-bar {
    height: 24px;
    overflow: hidden;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #f3efe8;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.08);
}

.community-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--lime), var(--yellow), #ff5fb7);
}

.community-ranking-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 22px;
    align-items: stretch;
}

.community-rank-levels,
.community-ranking-row {
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.community-ranking-summary .community-rank-card {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px);
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 212, 30, 0.95) 0 70px, transparent 72px),
        radial-gradient(circle at 12% 92%, rgba(40, 214, 214, 0.75) 0 82px, transparent 84px),
        linear-gradient(135deg, #ffffff 0%, #fff8d8 52%, #e8fff2 100%);
}

.community-rank-levels {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: #fffdf7;
}

.community-rank-levels div {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.community-rank-levels p {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 9px 10px;
    border-bottom: 2px solid rgba(15, 15, 15, 0.12);
    color: #2d2a25;
    font-weight: 850;
}

.community-rank-levels p:last-child {
    border-bottom: 0;
}

.community-rank-levels b {
    display: inline-flex;
    justify-content: center;
    min-width: 58px;
    padding: 3px 8px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 2px 2px 0 var(--line);
}

.community-ranking-list {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
}

.community-ranking-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 0;
    border-bottom: 2px solid rgba(15, 15, 15, 0.14);
    border-radius: 0;
    box-shadow: none;
}

.community-ranking-row:last-child {
    border-bottom: 0;
}

.community-ranking-row.is-current-user {
    background: #eafff1;
    box-shadow: inset 6px 0 0 var(--lime);
}

.community-ranking-row:nth-child(1) .community-ranking-position {
    background: #ffd41e;
}

.community-ranking-row:nth-child(2) .community-ranking-position {
    background: #dfe8ff;
}

.community-ranking-row:nth-child(3) .community-ranking-position {
    background: #ffc18a;
}

.community-ranking-position {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 3px solid var(--line);
    border-radius: 16px;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--line);
    font-weight: 950;
}

.community-ranking-row div,
.community-ranking-member span {
    display: grid;
    gap: 5px;
}

.community-ranking-member {
    display: inline-grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.community-ranking-row strong {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1;
}

.community-ranking-row small,
.community-ranking-row p {
    color: #5b554d;
    font-weight: 850;
}

.community-ranking-row p {
    margin: 0;
    white-space: nowrap;
}

.community-rank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.community-profile-portfolio {
    padding: 28px clamp(18px, 5vw, 64px) 42px;
    background: var(--paper);
}

.community-profile-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    min-height: 48px;
    margin-bottom: 26px;
    padding: 8px 20px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #fffdf7;
    box-shadow: 4px 4px 0 var(--line);
    color: #34302b;
    font-weight: 950;
    text-transform: uppercase;
}

.community-profile-strip strong {
    font-size: 0.98rem;
}

.community-profile-board {
    display: grid;
    grid-template-columns: minmax(210px, 0.85fr) minmax(260px, 1.05fr) minmax(210px, 0.85fr);
    grid-template-areas:
        "left portrait social"
        "rank portrait verify";
    gap: 20px;
    align-items: stretch;
}

.community-profile-board-no-ad {
    grid-template-areas:
        "left portrait social"
        "rank portrait social";
}

.community-profile-tile,
.community-profile-portrait,
.community-profile-name-pill {
    border: 3px solid var(--line);
    border-radius: 8px;
    box-shadow: 5px 5px 0 var(--line);
}

.community-profile-tile {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 152px;
    padding: 18px;
    background: #fffdf7;
}

.community-profile-left-info {
    grid-area: left;
}

.community-profile-left-info ul {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.community-profile-left-info li {
    display: grid;
    gap: 5px;
}

.community-profile-left-info b {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1;
}

.community-profile-left-info span {
    display: -webkit-box;
    overflow: hidden;
    color: #3f3a33;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.community-profile-rank {
    grid-area: rank;
    color: var(--line);
    background:
        radial-gradient(circle at 90% 18%, rgba(255, 212, 30, 0.9) 0 42px, transparent 44px),
        #fffdf7;
}

.community-profile-rank span,
.community-profile-rank small {
    font-weight: 900;
}

.community-profile-rank strong {
    max-width: 100%;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.community-profile-rank p {
    margin: 0;
    color: #3f3a33;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.35;
}

.community-profile-rank-meter {
    width: 100%;
    height: 16px;
    overflow: hidden;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

.community-profile-rank-meter span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--lime), var(--yellow), #ff8abf);
}

.community-profile-centerpiece {
    grid-area: portrait;
    display: grid;
    gap: 18px;
    align-content: start;
}

.community-profile-portrait {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 390px;
    padding: clamp(18px, 3vw, 28px);
    background:
        radial-gradient(circle at 50% 46%, rgba(123, 220, 255, 0.25) 0 110px, transparent 112px),
        #fffdf7;
}

.community-profile-portrait::after {
    content: "♥";
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: var(--line);
    font-size: 1.3rem;
    font-weight: 950;
}

.community-profile-portrait img,
.community-profile-portrait > span {
    width: min(260px, 70vw);
    height: min(260px, 70vw);
    border: 4px solid var(--line);
    border-radius: 50%;
}

.community-profile-portrait img {
    object-fit: cover;
}

.community-profile-portrait > span {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--yellow), var(--purple));
    color: #ffffff;
    font-size: clamp(4rem, 11vw, 7rem);
    font-weight: 950;
}

.community-profile-portrait .community-avatar-edit-link {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: auto;
    min-height: 38px;
    background: var(--yellow);
}

.community-profile-name-pill {
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--line);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 950;
    text-align: center;
}

.community-profile-social-card {
    grid-area: social;
    background: #7bdcff;
}

.community-profile-verify-card {
    grid-area: verify;
    min-height: 132px;
    background:
        radial-gradient(circle at 90% 12%, rgba(255, 212, 30, 0.78) 0 46px, transparent 48px),
        #ffffff;
}

.community-profile-verify-card strong {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1;
}

.community-profile-verify-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.35;
}

.community-profile-verify-card .primary-button {
    width: fit-content;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.86rem;
}

.community-profile-hero {
    grid-template-columns: minmax(0, 1fr) auto;
}

.community-profile-avatar-card {
    display: grid;
    gap: 12px;
    place-items: center;
    width: 240px;
    min-height: 276px;
    padding: 16px;
    border: 4px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.community-avatar-edit-link {
    width: 100%;
    min-height: 38px;
    padding: 7px 12px;
    font-size: 0.85rem;
}

.community-profile-avatar-card img,
.community-profile-avatar-card span {
    width: 200px;
    height: 200px;
    border: 4px solid var(--line);
    border-radius: 50%;
}

.community-profile-avatar-card img {
    object-fit: cover;
}

.community-profile-avatar-card span {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--yellow), var(--purple));
    color: #ffffff;
    font-size: 4rem;
    font-weight: 950;
}

.community-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 18px;
}

.community-profile-card {
    min-height: 230px;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 14%, rgba(255, 212, 30, 0.52) 0 48px, transparent 50px),
        #ffffff;
    box-shadow: var(--shadow);
}

.community-profile-card dl {
    display: grid;
    gap: 14px;
    margin: 16px 0 0;
}

.community-profile-card dt {
    font-size: 0.8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-profile-card dd {
    margin: 4px 0 0;
    color: #3f3a33;
    font-weight: 760;
    line-height: 1.55;
}

.community-profile-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
    gap: 10px;
    margin-top: 16px;
}

.community-profile-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 14px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--line);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 950;
    text-decoration: none;
}

.community-profile-form {
    gap: 16px;
}

.community-profile-editor-section {
    padding-top: 10px;
}

.community-profile-editor {
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.community-profile-editor summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 16px;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    background:
        radial-gradient(circle at 96% 12%, rgba(137, 86, 255, 0.22) 0 54px, transparent 56px),
        linear-gradient(135deg, var(--mint), #ffffff);
}

.community-profile-editor summary::-webkit-details-marker {
    display: none;
}

.community-profile-editor summary::after {
    content: "+";
    grid-row: 1 / span 2;
    grid-column: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--line);
    color: var(--line);
    font-size: 1.6rem;
    font-weight: 950;
}

.community-profile-editor[open] summary::after {
    content: "-";
}

.community-profile-editor summary .mini-label,
.community-profile-editor summary strong,
.community-profile-editor summary small {
    grid-column: 2;
}

.community-profile-editor summary strong {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1;
    text-transform: uppercase;
}

.community-profile-editor summary small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.35;
}

.community-profile-editor .community-profile-form {
    padding: 20px;
    border-top: 4px solid var(--line);
}

.community-profile-edit-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 16px;
    align-items: stretch;
}

.community-avatar-editor {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #fff8db;
}

.community-avatar-editor-preview,
.community-avatar-editor-preview img,
.community-avatar-editor-preview span {
    width: 78px;
    height: 78px;
}

.community-avatar-editor-preview img,
.community-avatar-editor-preview span {
    border: 3px solid var(--line);
    border-radius: 50%;
}

.community-avatar-editor-preview img {
    object-fit: cover;
}

.community-avatar-editor-preview span {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--yellow), var(--purple));
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 950;
}

.community-avatar-editor strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-avatar-editor p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 780;
    line-height: 1.35;
}

.community-file-button {
    width: fit-content;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 0.82rem;
    cursor: pointer;
}

.community-file-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.community-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.community-section {
    padding-block: 28px;
}

.community-category-tools {
    padding-block: 20px 10px;
}

.community-topic-board {
    padding-block-start: 12px;
}

.community-tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.community-section-head {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: end;
    margin-bottom: 14px;
    padding: 12px 16px;
    border: 4px solid var(--line);
    border-radius: 8px 8px 0 0;
    background: var(--yellow);
    box-shadow: 6px 6px 0 var(--line);
}

.community-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 4px solid var(--line);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
}

.community-forum-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    gap: 18px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 3px solid var(--line);
    background: #161616;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.community-category-grid .community-forum-head {
    grid-template-columns: minmax(0, 1fr) 150px;
}

.community-forum-head span:last-child {
    justify-self: end;
    text-align: right;
}

.community-category-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 24px;
    min-height: 0;
    padding: 16px 18px;
    border: 0;
    border-bottom: 2px solid rgba(15, 15, 15, 0.16);
    border-radius: 0;
    box-shadow: none;
    color: var(--ink);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.community-category-card:nth-child(3n + 1) {
    background: #ffffff;
}

.community-category-card:nth-child(3n + 2) {
    background: #f7fff3;
}

.community-category-card:nth-child(3n + 3) {
    background: #f8fbff;
}

.community-category-card:last-child {
    border-bottom: 0;
}

.community-category-card:hover,
.community-topic-row:hover {
    transform: none;
    background: #fff7cb;
    box-shadow: inset 6px 0 0 var(--purple);
}

.community-category-card.community-category-locked {
    position: relative;
    overflow: hidden;
    background: #2f2f2f;
    color: #ffffff;
    filter: grayscale(0.35) brightness(0.82);
}

.community-category-card.community-category-locked p,
.community-category-card.community-category-locked small {
    color: #e9e2d8;
}

.community-category-card.community-category-locked:hover {
    background: #242424;
    box-shadow: inset 6px 0 0 var(--yellow);
}

.community-category-card span,
.community-topic-row strong,
.community-empty-card h3 {
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    font-weight: 950;
    line-height: 1.1;
    text-transform: none;
}

.community-category-card p,
.community-empty-card p {
    margin: 0;
    color: #2d2a25;
    font-weight: 750;
    line-height: 1.45;
}

.community-category-card small,
.community-topic-row span,
.community-topic-row small,
.community-post small {
    color: #5b554d;
    font-weight: 850;
}

.community-category-card small {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    min-width: 150px;
    padding: 8px 10px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    text-align: center;
}

.community-topic-list {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
}

.community-topic-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 14px 16px;
    border: 0;
    border-bottom: 2px solid rgba(15, 15, 15, 0.14);
    border-radius: 0;
    box-shadow: none;
    color: var(--ink);
}

.community-topic-row:last-child {
    border-bottom: 0;
}

.community-topic-row div {
    display: grid;
    gap: 5px;
}

.community-topic-row > small {
    justify-self: end;
    text-align: right;
}

.community-topic-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.community-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 4px 10px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.community-badge-closed {
    background: #ff8a8a;
}

.community-empty-card {
    padding: 18px;
}

.community-form {
    display: grid;
    gap: 14px;
    max-width: none;
    padding: 18px;
}

.community-new-topic {
    flex: 0 1 auto;
    max-width: 980px;
}

.community-new-topic summary,
.community-latest-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: fit-content;
    padding: 8px 18px;
    border: 4px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 5px 5px 0 var(--line);
    color: var(--ink);
    cursor: pointer;
    font-weight: 950;
    list-style: none;
}

.community-latest-button {
    background: var(--cyan);
}

.community-new-topic summary::-webkit-details-marker {
    display: none;
}

.community-new-topic[open] summary {
    margin-bottom: 14px;
    background: var(--cyan);
}

.community-new-topic[open] {
    flex: 1 1 100%;
    width: min(100%, 980px);
}

.community-new-topic .community-form {
    width: 100%;
    box-sizing: border-box;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
}

.community-new-topic .community-form input,
.community-new-topic .community-form textarea {
    width: 100%;
}

.community-new-topic .community-form textarea {
    min-height: 220px;
    resize: vertical;
}

.community-post-feed {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
}

.community-feed-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    gap: 18px;
    align-items: start;
    padding: 14px 16px;
    border-bottom: 2px solid rgba(15, 15, 15, 0.14);
}

.community-feed-row:last-child {
    border-bottom: 0;
}

.community-feed-row > div {
    display: grid;
    gap: 7px;
}

.community-feed-row a {
    color: var(--ink);
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    font-weight: 950;
    line-height: 1.1;
}

.community-feed-row p {
    max-width: 900px;
    max-height: 82px;
    margin: 0;
    overflow: hidden;
    color: #2d2a25;
    font-weight: 700;
    line-height: 1.45;
}

.community-feed-row small,
.community-feed-row time {
    color: #5b554d;
    font-weight: 850;
}

.community-feed-row time {
    justify-self: end;
    text-align: right;
}

.community-category-tag {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-form .primary-button {
    width: fit-content;
}

.community-posts {
    display: grid;
    gap: 14px;
}

.community-post {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    overflow: hidden;
    box-shadow: 6px 6px 0 var(--line);
}

.community-post aside {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 16px;
    background: #f2f2f2;
    border-right: 4px solid var(--line);
}

.community-author-card {
    display: grid;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.community-name-with-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    vertical-align: middle;
}

.community-verified-badge {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    object-fit: contain;
    vertical-align: -3px;
}

.community-profile-quick-actions,
.user-community-actions {
    flex-wrap: wrap;
}

.community-profile-quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.community-username-note,
.user-community-name {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 0;
    padding: 10px 12px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
    color: var(--line);
    font-weight: 850;
}

.community-username-note .secondary-button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.82rem;
}

.user-community-name {
    margin-top: 14px;
}

.username-change-layout {
    padding: 28px clamp(18px, 5vw, 64px) 76px;
}

.username-change-card,
.verified-hero {
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 6px 6px 0 var(--line);
}

.username-change-card {
    display: grid;
    gap: 16px;
    max-width: 780px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 34px);
}

.username-change-card h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.98;
    text-transform: uppercase;
}

.username-change-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.55;
}

.pix-instructions {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: var(--yellow);
}

.pix-instructions span {
    font-size: 0.8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.pix-instructions strong {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1;
}

.verified-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: center;
    margin: 28px clamp(18px, 5vw, 64px);
    padding: clamp(22px, 5vw, 44px);
    background: linear-gradient(135deg, #fff9d6 0%, #ffffff 55%, var(--mint) 100%);
}

.verified-hero h1 {
    max-width: 920px;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
}

.verified-hero p {
    max-width: 780px;
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.5;
}

.verified-hero aside {
    display: grid;
    place-items: center;
}

.verified-hero aside img {
    width: min(180px, 45vw);
    height: auto;
    filter: drop-shadow(5px 5px 0 rgba(20, 20, 20, 0.22));
}

.verified-preview {
    display: inline-flex;
    width: fit-content;
    padding: 10px 14px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

.community-avatar {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 3px solid var(--line);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 3px 3px 0 var(--line);
}

.community-avatar-placeholder {
    background: linear-gradient(135deg, var(--lime), var(--aqua));
    color: var(--ink);
    font-weight: 950;
}

.community-post aside strong {
    font-size: 1.06rem;
    line-height: 1;
}

.community-post aside > span {
    width: fit-content;
    padding: 6px 10px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-post > div {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.community-post header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(15, 15, 15, 0.1);
    color: #5b554d;
    font-size: 0.88rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-post p {
    margin: 0;
    color: #2d2a25;
    font-weight: 700;
    line-height: 1.6;
    white-space: normal;
}

.community-post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.community-post-reply-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--line);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 950;
    cursor: pointer;
}

.community-post-reply-button:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--line);
}

.community-moderation-panel {
    padding-block-end: 0;
}

.community-mod-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    align-items: end;
    max-width: 960px;
}

.community-mod-actions form {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.community-post-mod-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
    border-top: 2px solid rgba(15, 15, 15, 0.12);
}

.community-hide-form {
    display: grid;
    gap: 8px;
    min-width: min(100%, 360px);
}

.community-hide-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.community-hide-form input {
    min-height: 38px;
    padding: 8px 10px;
    border-width: 2px;
    font-size: 0.9rem;
}

.prompts-hero,
.prompt-catalog {
    padding-inline: clamp(18px, 5vw, 64px);
}

.prompts-hero {
    padding-block: 34px 24px;
    background: var(--cream);
    border-bottom: 4px solid var(--line);
}

.prompts-hero h1 {
    margin: 8px 0 12px;
    max-width: 1050px;
    font-size: clamp(3rem, 8vw, 7.4rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.prompts-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 750;
    line-height: 1.55;
}

.prompt-catalog {
    display: grid;
    gap: 28px;
    padding-block: 34px 70px;
}

.prompt-row {
    padding: 18px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
    box-shadow: var(--shadow);
}

.prompt-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.prompt-tag {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 6px 16px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    font-weight: 950;
    text-transform: uppercase;
}

.prompt-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.prompt-visual,
.prompt-text-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.prompt-visual {
    position: relative;
}

.prompt-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.prompt-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 18px;
    background: repeating-linear-gradient(
        -45deg,
        #fffaf1,
        #fffaf1 12px,
        #fff0d8 12px,
        #fff0d8 24px
    );
    color: var(--muted);
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
}

.prompt-visual figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 5px 9px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.prompt-text-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.prompt-text-card span {
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.prompt-text-card p {
    flex: 1;
    margin: 12px 0 16px;
    color: #2d2a25;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.48;
}

.prompt-copy-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.prompt-copy-panel p {
    margin: 0;
    color: #2d2a25;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.48;
}

.prompt-copy-locked {
    background: var(--cream);
}

.copy-button {
    min-height: 42px;
    padding: 0 14px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--violet);
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--line);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.copy-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--line);
}

.prompt-actions {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.alternate-prompt-link {
    min-height: 34px;
    padding: 0 12px;
    border: 2px solid var(--line);
    border-radius: 6px;
    background: var(--cyan);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 950;
    box-shadow: 3px 3px 0 var(--line);
    cursor: pointer;
    text-align: center;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.alternate-prompt-link:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--line);
}

.prompt-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 clamp(18px, 5vw, 64px) 70px;
}

.prompt-pagination a,
.prompt-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 42px;
    padding: 0 14px;
    border: 3px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 950;
    box-shadow: 4px 4px 0 var(--line);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.pagination-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pagination-pages a {
    background: #ffffff;
}

.pagination-pages span {
    background: var(--yellow);
}

.pagination-arrow {
    width: fit-content;
    min-width: 156px;
}

.pagination-prev {
    justify-self: end;
    background: var(--cyan);
}

.pagination-next {
    justify-self: start;
    background: var(--lime);
}

.prompt-pagination a:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--line);
}

@media (max-width: 1280px) {
    :root {
        --shadow: 6px 6px 0 #111111;
    }

    .site-header {
        gap: 16px;
        min-height: 66px;
        padding-block: 10px;
    }

    .brand-logo {
        width: clamp(158px, 18vw, 220px);
    }

    .site-nav {
        gap: 14px;
        font-size: 0.88rem;
    }

    .hero-band {
        grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
        gap: clamp(20px, 3.2vw, 42px);
        min-height: auto;
        padding-block: clamp(28px, 4vw, 44px) 24px;
    }

    .hero-copy h1,
    .sales-hero h1,
    .course-hero h1,
    .admin-login h1,
    .admin-heading h1 {
        font-size: clamp(3.1rem, 7.1vw, 6.8rem);
    }

    .hero-copy p,
    .sales-hero p,
    .course-hero p {
        font-size: clamp(1rem, 1.6vw, 1.22rem);
    }

    .sales-hero h1 {
        font-size: clamp(2.7rem, 5.4vw, 5rem);
    }

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

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

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

    .course-card {
        min-height: 320px;
    }

    .course-card h3 {
        margin-top: 34px;
        font-size: clamp(1.85rem, 3.2vw, 2.8rem);
    }

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

    .prompt-tag {
        font-size: clamp(1.05rem, 2vw, 1.65rem);
    }

    .course-public-preview,
    .course-preview-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 780px) and (min-width: 981px) {
    .hero-band {
        padding-block: 30px 26px;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 6.4vw, 5.9rem);
        margin-bottom: 14px;
    }

    .hero-actions {
        margin-top: 20px;
    }

}

@media (max-height: 720px) and (min-width: 781px) {
    .modal {
        place-items: start center;
        padding-block: 8px 18px;
    }

    .modal-card {
        width: min(520px, 100%);
        padding: 18px;
        box-shadow: 7px 7px 0 var(--line);
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .modal-head h2 {
        margin: 8px 40px 12px 0;
        font-size: clamp(1.55rem, 3.7vw, 2.55rem);
    }

    .modal-actions {
        gap: 8px;
    }

    .login-box {
        gap: 10px;
        margin-top: 14px;
    }

    .modal-card label {
        gap: 4px;
        font-size: 0.92rem;
    }

    .modal-card input {
        min-height: 42px;
    }

    .modal-card .primary-button,
    .modal-card .choice-button {
        min-height: 40px;
        padding-inline: 14px;
    }
}

@media (max-width: 980px) {
    .hero-band,
    .sales-hero,
    .progress-panel,
    .checkout-hero,
    .payment-options,
    .user-hero,
    .user-referral-card,
    .user-password-card,
    .user-community-callout article,
    .home-community-card,
    .home-bonus-card,
    .home-guest-community-cta,
    .home-prompt-showcase,
    .community-landing-hero,
    .community-landing-final,
    .free-access-hero,
    .free-access-content,
    .bonus-hero,
    .bonus-item-card,
    .impact-band,
    .lesson-layout,
    .guide-layout,
    .community-hero,
    .community-profile-hero,
    .community-profile-grid,
    .community-post,
    .community-ranking-summary,
    .community-mod-actions,
    .admin-login,
    .withdraw-hero {
        grid-template-columns: 1fr;
    }

    .certificate-request {
        grid-template-columns: 1fr;
    }

    .admin-login-card {
        transform: none;
    }

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

    .guide-toc {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .hero-band {
        padding-block: 28px 24px;
    }

    .hero-visual,
    .checkout-card,
    .payment-card-featured,
    .user-plan-card {
        transform: none;
    }

    .hero-visual {
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .course-grid,
    .sales-grid,
    .home-benefit-grid,
    .community-landing-grid,
    .free-access-content,
    .comparison-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-category-grid,
    .community-topic-row,
    .community-forum-head,
    .community-feed-row,
    .community-ranking-row {
        grid-template-columns: 1fr;
    }

    .community-category-card {
        grid-template-columns: 1fr;
    }

    .community-category-card small,
    .community-topic-row > small,
    .community-forum-head span:last-child,
    .community-feed-row time,
    .community-ranking-row p {
        grid-row: auto;
        grid-column: auto;
        justify-self: start;
        text-align: left;
    }

    .community-post aside {
        border-right: 0;
        border-bottom: 4px solid var(--line);
    }

    .community-profile-avatar-card {
        width: 220px;
        min-height: 256px;
        justify-self: start;
    }

    .community-profile-edit-head {
        grid-template-columns: 1fr;
    }

    .community-profile-board {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "portrait portrait"
            "left social"
            "rank verify";
    }

    .community-profile-board-no-ad {
        grid-template-areas:
            "portrait portrait"
            "left social"
            "rank social";
    }

    .community-profile-portrait {
        min-height: 340px;
    }

    .user-form,
    .password-form,
    .balance-form {
        grid-template-columns: 1fr 1fr;
    }

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

    .payment-card {
        min-height: auto;
    }

    .guide-tool-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .guide-tool-card a {
        width: fit-content;
    }

    .course-gallery-grid {
        grid-template-columns: 1fr;
    }

    .prompt-panel {
        position: static;
    }

    .home-card-actions {
        width: 100%;
    }

    .home-guest-community-cta .primary-button {
        width: fit-content;
    }

    .home-bonus-icon {
        width: 78px;
        height: 78px;
        font-size: 1.8rem;
    }
}

@media (max-width: 680px) {
    .verified-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .verified-hero aside {
        order: -1;
        justify-content: start;
    }

    .verified-hero aside img {
        width: 110px;
    }

    .community-profile-strip {
        grid-template-columns: 1fr;
        gap: 4px;
        border-radius: 18px;
        text-align: center;
    }

    .community-profile-board {
        grid-template-columns: 1fr;
        grid-template-areas:
            "portrait"
            "left"
            "rank"
            "social"
            "verify";
    }

    .community-profile-board-no-ad {
        grid-template-areas:
            "portrait"
            "left"
            "rank"
            "social";
    }

    .community-profile-portrait {
        min-height: 300px;
    }

    .community-profile-portrait::after {
        width: 38px;
        height: 38px;
    }

    .community-profile-portrait .community-avatar-edit-link {
        position: static;
        width: 100%;
        margin-top: 14px;
    }

    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-band {
        min-height: auto;
    }

    .hero-copy h1,
    .sales-hero h1,
    .payment-hero h1 {
        font-size: clamp(2.75rem, 15vw, 4.7rem);
    }

    .community-hero h1 {
        font-size: clamp(1.4rem, 7vw, 2.38rem);
    }

    .hero-copy p,
    .sales-hero p,
    .course-hero p,
    .payment-hero p,
    .impact-band p {
        font-size: 1rem;
    }

    .sales-hero h1 {
        font-size: clamp(2.45rem, 11vw, 4rem);
    }

    .plan-cta {
        min-height: 58px;
        font-size: 1.05rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .impact-band-actions div,
    .impact-band-actions a {
        width: 100%;
    }

    .certificate-top {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-visual {
        border-width: 3px;
        box-shadow: 5px 5px 0 var(--line);
    }

    .hero-carousel {
        padding: 10px;
    }

    .hero-carousel-card {
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--line);
    }

    .hero-carousel-label {
        bottom: 8px;
        padding: 6px 10px;
        border-width: 2px;
        font-size: 0.7rem;
    }

    .hero-carousel-cta {
        inset: 10px;
        border-width: 3px;
        box-shadow: 4px 4px 0 var(--line);
    }

    .course-grid,
    .sales-grid,
    .home-benefit-grid,
    .community-landing-grid,
    .free-access-content,
    .comparison-grid,
    .community-category-grid,
    .referral-stats,
    .referral-copy-box,
    .user-form,
    .password-form,
    .balance-form {
        grid-template-columns: 1fr;
    }

    .community-section-head,
    .community-topic-row,
    .community-post header,
    .community-ranking-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .community-search-form,
    .community-mod-actions {
        grid-template-columns: 1fr;
    }

    .community-search-form .primary-button,
    .community-form .primary-button {
        width: 100%;
    }

    .community-ranking-row {
        display: flex;
    }

    .community-profile-form-grid {
        grid-template-columns: 1fr;
    }

    .community-ranking-member {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .community-avatar {
        width: 48px;
        height: 48px;
    }

    .community-ranking-row p {
        white-space: normal;
    }

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

    .prompt-copy-panel {
        grid-template-columns: 1fr;
    }

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

    .copy-button,
    .alternate-prompt-link {
        width: 100%;
    }

    .prompt-row {
        padding: 14px;
    }

    .prompt-pagination {
        grid-template-columns: 1fr;
    }

    .pagination-prev,
    .pagination-next {
        justify-self: center;
    }

    .course-card {
        min-height: auto;
    }

    .payment-card strong,
    .price-card strong,
    .user-plan-card strong {
        font-size: clamp(3.2rem, 16vw, 4.8rem);
    }

    .footer-main,
    .admin-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-actions,
    .footer-links {
        justify-content: flex-start;
    }

    .footer-actions {
        flex-wrap: wrap;
    }

    .footer-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }

    .footer-banners a {
        height: 54px;
    }
}

@media (max-width: 430px) {
    .site-header,
    .hero-band,
    .courses-section,
    .home-community-section,
    .home-bonus-section,
    .impact-band,
    .sales-hero,
    .sales-grid,
    .progress-panel,
    .checkout-hero,
    .payment-hero,
    .payment-options,
    .user-hero,
    .user-community-callout,
    .user-referrals,
    .user-security,
    .user-courses,
    .bonus-hero,
    .bonus-content,
    .withdraw-hero,
    .withdraw-content,
    .course-hero,
    .lesson-layout,
    .guide-layout,
    .certificate-request,
    .certificate-public,
    .prompts-hero,
    .prompt-catalog {
        padding-inline: 14px;
    }

    .brand-logo {
        width: 168px;
    }

    .nav-pill,
    .primary-button,
    .secondary-button,
    .choice-button,
    .card-link {
        min-height: 44px;
        padding-inline: 16px;
    }

    .hero-carousel-stage,
    .prompt-grid {
        gap: 8px;
    }

    .prompt-visual figcaption {
        left: 6px;
        bottom: 6px;
        max-width: calc(100% - 12px);
        padding: 4px 7px;
        font-size: 0.62rem;
    }

    .prompt-tag {
        min-height: 36px;
        padding-inline: 12px;
        font-size: 0.98rem;
    }

    .prompt-pagination a,
    .prompt-pagination span {
        min-width: 40px;
        min-height: 38px;
        padding-inline: 12px;
    }

    .certificate-paper {
        padding: 20px;
        box-shadow: 7px 7px 0 var(--line);
    }

    .certificate-seal {
        width: 112px;
        height: 112px;
        font-size: 0.72rem;
    }

    .certificate-topics,
    .certificate-validation,
    .certificate-signature,
    .certificate-issued {
        padding: 14px;
    }
}
